1type traceur_app, domain;
2
3allow traceur_app servicemanager:service_manager list;
4allow traceur_app hwservicemanager:hwservice_manager list;
5
6# Allow Traceur to enable traced if necessary.
7set_prop(traceur_app, traced_enabled_prop)
8
9set_prop(traceur_app, debug_prop)
10
11allow traceur_app {
12  service_manager_type
13  -apex_service
14  -dnsresolver_service
15  -gatekeeper_service
16  -incident_service
17  -installd_service
18  -iorapd_service
19  -lpdump_service
20  -netd_service
21  -virtual_touchpad_service
22  -vold_service
23  -vr_hwc_service
24}:service_manager find;
25
26# Allow traceur_app to use atrace HAL
27hal_client_domain(traceur_app, hal_atrace)
28
29dontaudit traceur_app service_manager_type:service_manager find;
30dontaudit traceur_app hwservice_manager_type:hwservice_manager find;
31dontaudit traceur_app domain:binder call;
32