Tri Vo | a532088 | 2019-02-26 16:45:40 -0800 | [diff] [blame] | 1 | type system_suspend, domain, coredomain, system_suspend_server; |
2 | |||||
3 | type system_suspend_exec, system_file_type, exec_type, file_type; | ||||
4 | init_daemon_domain(system_suspend) | ||||
5 | |||||
6 | # To serve ISuspendControlService.aidl. | ||||
7 | binder_use(system_suspend) | ||||
8 | add_service(system_suspend, system_suspend_control_service) | ||||
9 | |||||
10 | # Access to /sys/power/{ wakeup_count, state } suspend interface. | ||||
11 | allow system_suspend sysfs_power:file rw_file_perms; |