21bd2aeb08
Also move statsd to /public/ Bug: 110538431 Test: manual testing Change-Id: I58319e169eaab7d997ed3628c3c9709cf7bd0d4a
16 lines
501 B
Text
16 lines
501 B
Text
typeattribute statsd coredomain;
|
|
|
|
init_daemon_domain(statsd)
|
|
|
|
binder_call(statsd, statscompanion_service)
|
|
|
|
# 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)
|
|
|
|
# Grant statsd with permissions to register the services.
|
|
allow statsd {
|
|
statscompanion_service
|
|
}:service_manager find;
|