sepolicy: Serve suspend AIDL hal from system_suspend am: 0e903620a5
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1772908 Change-Id: If424997bdb78a1b14b78b6ffcaf0d7f3cc2c8380
This commit is contained in:
commit
599387666b
4 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
( new_objects
|
||||
artd_service
|
||||
camera2_extensions_prop
|
||||
hal_system_suspend_service
|
||||
power_stats_service
|
||||
tare_service
|
||||
transformer_service
|
||||
|
|
|
@ -21,6 +21,7 @@ android.hardware.vibrator.IVibratorManager/default u:object_r:
|
|||
android.hardware.weaver.IWeaver/default u:object_r:hal_weaver_service:s0
|
||||
android.frameworks.stats.IStats/default u:object_r:fwk_stats_service:s0
|
||||
android.system.keystore2.IKeystoreService/default u:object_r:keystore_service:s0
|
||||
android.system.suspend.ISystemSuspend/default u:object_r:hal_system_suspend_service:s0
|
||||
|
||||
accessibility u:object_r:accessibility_service:s0
|
||||
account u:object_r:account_service:s0
|
||||
|
|
|
@ -7,6 +7,8 @@ init_daemon_domain(system_suspend)
|
|||
binder_use(system_suspend)
|
||||
add_service(system_suspend, system_suspend_control_service)
|
||||
|
||||
add_service(system_suspend, hal_system_suspend_service)
|
||||
|
||||
# Access to /sys/power/{ wakeup_count, state } suspend interface.
|
||||
allow system_suspend sysfs_power:file rw_file_perms;
|
||||
|
||||
|
|
|
@ -267,6 +267,7 @@ type hal_rebootescrow_service, vendor_service, protected_service, service_manage
|
|||
type hal_remotelyprovisionedcomponent_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_secureclock_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_sharedsecret_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_system_suspend_service, protected_service, service_manager_type;
|
||||
type hal_vibrator_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_weaver_service, vendor_service, protected_service, service_manager_type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue