summaryrefslogtreecommitdiff
path: root/turbo_adapter
diff options
context:
space:
mode:
authorAdam Shih <adamshih@google.com>2021-07-05 09:22:16 +0800
committerAdam Shih <adamshih@google.com>2021-07-12 09:28:48 +0800
commit46ca81b01aaa83efb529a2a32cb0a96488359ce9 (patch)
treefac6f75dfae18d28c2550aa1bb009685a684a7bb /turbo_adapter
parentcfda9b3490caaec0cc34698f1e46951f720a684a (diff)
downloadpixel-sepolicy-46ca81b01aaa83efb529a2a32cb0a96488359ce9.tar.gz
sync codebase
Bug: 162370942 Test: build pass Change-Id: I73af3d6fa79a2dbf70f855274383cbf3d2af1745 Merged-In: I68126a1e1ae6193c85f6e0d9baf92a83023f436f
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)