summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-11-13 16:39:57 +0000
committerRichard Hughes <richard@hughsie.com>2008-11-13 16:39:57 +0000
commitd891912126a45a22184c694781830e8f8c90f014 (patch)
tree0b023899af711b50e05666b863acaeac2471833a /policy
parent3d232b8066cc71728326971c351406c7e8022d90 (diff)
feature: add in the interface file for QoS control
Diffstat (limited to 'policy')
-rw-r--r--policy/org.freedesktop.devicekit.power.policy.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/policy/org.freedesktop.devicekit.power.policy.in b/policy/org.freedesktop.devicekit.power.policy.in
index d74e16c..3185c97 100644
--- a/policy/org.freedesktop.devicekit.power.policy.in
+++ b/policy/org.freedesktop.devicekit.power.policy.in
@@ -39,4 +39,44 @@ file are instantly applied.
</defaults>
</action>
+ <action id="org.freedesktop.devicekit.power.latency.request-latency">
+ <_description>Set the required latency of an application</_description>
+ <_message>Authentication is required to set the required latency of an application</_message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.devicekit.power.latency.request-latency-persistent">
+ <_description>Set a persistent latency setting</_description>
+ <_message>Authentication is required to set a persistent latency setting</_message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.devicekit.power.latency.set-minimum-latency">
+ <_description>Set administrator settings for latency control</_description>
+ <_message>Authentication is required to set administrator settings for latency control</_message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.devicekit.power.latency.cancel-request">
+ <_description>Cancel a latency request</_description>
+ <_message>Authentication is required to cancel a latency request</_message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+ </action>
+
</policyconfig>