summaryrefslogtreecommitdiff
path: root/turbo_adapter
diff options
context:
space:
mode:
Diffstat (limited to 'turbo_adapter')
-rw-r--r--turbo_adapter/turbo_adapter.te12
1 files changed, 11 insertions, 1 deletions
diff --git a/turbo_adapter/turbo_adapter.te b/turbo_adapter/turbo_adapter.te
index b2f0202..ca9ad00 100644
--- a/turbo_adapter/turbo_adapter.te
+++ b/turbo_adapter/turbo_adapter.te
@@ -2,7 +2,7 @@
# this means that TurboAdapter doesn't get the platform_app permissions any more, so we need to
# list everything that it needs here.
-type turbo_adapter, domain, coredomain;
+type turbo_adapter, domain, coredomain, system_suspend_internal_server;
app_domain(turbo_adapter)
@@ -11,3 +11,13 @@ allow turbo_adapter app_api_service:service_manager find;
# To find and call hal_power_default so turbo can obtain the service extension (IPowerExt)
hal_client_domain(turbo_adapter, hal_power)
+
+# PAS: for PowerStatsHalDataProvider
+hal_client_domain(turbo_adapter, hal_power_stats)
+
+# PAS: for GoogleCpuTimeProvider
+r_dir_file(turbo_adapter, proc_uid_cputime_showstat);
+
+# PAS: for SuspendControlServiceDataProvider
+binder_call(turbo_adapter, system_suspend_internal_server)
+get_prop(turbo_adapter, suspend_prop)