2017-12-19 00:14:33 +01:00
|
|
|
typeattribute statsd coredomain;
|
|
|
|
|
|
|
|
init_daemon_domain(statsd)
|
|
|
|
|
|
|
|
binder_call(statsd, statscompanion_service)
|
|
|
|
|
2018-01-24 17:07:09 +01:00
|
|
|
# Allow to exec the perfetto cmdline client and pass it the trace config on
|
|
|
|
# stdint through a pipe. It allows statsd to capture traces and hand them
|
|
|
|
# to Android dropbox.
|
|
|
|
allow statsd perfetto_exec:file rx_file_perms;
|
|
|
|
domain_auto_trans(statsd, perfetto_exec, perfetto)
|
2017-12-21 03:51:15 +01:00
|
|
|
|
2017-12-19 00:14:33 +01:00
|
|
|
# Grant statsd with permissions to register the services.
|
|
|
|
allow statsd {
|
2018-01-22 22:56:41 +01:00
|
|
|
statscompanion_service
|
2017-12-19 00:14:33 +01:00
|
|
|
}:service_manager find;
|