Yiwei Zhang
1f990facdb
sepolicy: allow hal_power_stats_client to access IPowerStats AIDL
...
Bug: 178219601
Change-Id: I25f19939c69c225771e534cbd446eec8c7769f13
2021-03-08 22:19:47 +00:00
Steven Moreland
bc2624a041
hal_power_stats: use hal_attribute_service
...
This macro creates the necessary neverallow to assert the
hal_power_stats_{client,server} attribute has exclusive ownership of
the service.
Bug: 176180039
Test: build/TH
Change-Id: I710eadc4c4f4642937aa16a25fe559e1cd3c9224
2020-12-23 01:38:03 +00:00
Benjamin Schwartz
af8b21a6d2
Create Power Stats AIDL interface
...
Bug: 162472196
Test: m
Merged-In: I948ef2959b25d776d3b01985fea5eb695fd4fc1e
Change-Id: I12dc33ce055c7275559cce33142cfb2aacc5471f
2020-09-10 22:34:49 -07:00
Benjamin Schwartz
6b5deb1e3f
Revert "Create Power Stats AIDL interface"
...
Revert "Fix sepolicy for con_monitor"
Revert submission 1404976-bs_ps_aidl
Reason for revert: Caused build breakages b/165908363
Reverted Changes:
I17883a16f:Fix sepolicy for con_monitor
Icd029f58a:Create Power Stats AIDL interface
Change-Id: Iab2a7ef6fcef40c59275db37b6fca090b304e9da
2020-08-21 15:35:25 +00:00
Benjamin Schwartz
ba876ef1b3
Create Power Stats AIDL interface
...
Bug: 162472196
Test: m
Merged-In: I948ef2959b25d776d3b01985fea5eb695fd4fc1e
(cherry picked from commit 550e376769
)
Change-Id: Icd029f58a7babee0ad8249087b76683d104736d5
2020-08-20 23:25:55 +00:00
Benjamin Schwartz
e7040eada0
Add power.stats HAL 1.0 sepolicy
...
Also giving statsd permission to access it. This change copies the internal sepolicy to AOSP.
Bug: 111185513
Bug: 120551881
Test: make
Change-Id: I7e0386777e05580299caf9b97cb7804459f1a9d0
2018-12-11 00:11:08 +00:00