userdebug_or_eng(` | |
typeattribute perfprofd coredomain; | |
init_daemon_domain(perfprofd) | |
') | |
neverallow { | |
domain | |
-hal_system_suspend_server | |
userdebug_or_eng(`-statsd -system_server -hal_health_server -hwservicemanager') | |
} perfprofd:binder call; | |
neverallow perfprofd { | |
domain | |
-hal_system_suspend_server | |
userdebug_or_eng(`-servicemanager -statsd -su -system_server -hal_health_server -hwservicemanager') | |
}:binder call; |