• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type apex_service,              service_manager_type;
2type audioserver_service,       service_manager_type;
3type batteryproperties_service, app_api_service, ephemeral_app_api_service, service_manager_type;
4type bluetooth_service,         service_manager_type;
5type cameraserver_service,      service_manager_type;
6type default_android_service,   service_manager_type;
7type dnsresolver_service,       service_manager_type;
8type drmserver_service,         service_manager_type;
9type dumpstate_service,         service_manager_type;
10type fingerprintd_service,      service_manager_type;
11type hal_fingerprint_service,   service_manager_type;
12type gatekeeper_service,        app_api_service, service_manager_type;
13type gpu_service,               service_manager_type;
14type idmap_service,             service_manager_type;
15type iorapd_service,            service_manager_type;
16type incident_service,          service_manager_type;
17type installd_service,          service_manager_type;
18type keystore_service,          service_manager_type;
19type lpdump_service,            service_manager_type;
20type mediaserver_service,       service_manager_type;
21type mediametrics_service,      service_manager_type;
22type mediaextractor_service,    service_manager_type;
23type mediacodec_service,        service_manager_type;
24type mediadrmserver_service,    service_manager_type;
25type netd_service,              service_manager_type;
26type nfc_service,               service_manager_type;
27type perfprofd_service,         service_manager_type;
28type radio_service,             service_manager_type;
29type secure_element_service,    service_manager_type;
30type storaged_service,          service_manager_type;
31type surfaceflinger_service,    app_api_service, ephemeral_app_api_service, service_manager_type;
32type system_app_service,        service_manager_type;
33type system_suspend_control_service, service_manager_type;
34type update_engine_service,     service_manager_type;
35type virtual_touchpad_service,  service_manager_type;
36type vold_service,              service_manager_type;
37type vr_hwc_service,            service_manager_type;
38type vrflinger_vsync_service,   service_manager_type;
39
40# system_server_services broken down
41type accessibility_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
42type account_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
43type activity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
44type activity_task_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
45type adb_service, system_api_service, system_server_service, service_manager_type;
46type alarm_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
47type app_binding_service, system_server_service, service_manager_type;
48type app_prediction_service, app_api_service, system_server_service, service_manager_type;
49type appops_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
50type appwidget_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
51type assetatlas_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
52type audio_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
53type autofill_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
54type backup_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
55type batterystats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
56type battery_service, system_server_service, service_manager_type;
57type binder_calls_stats_service, system_server_service, service_manager_type;
58type bluetooth_manager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
59type broadcastradio_service, system_server_service, service_manager_type;
60type cameraproxy_service, system_server_service, service_manager_type;
61type clipboard_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
62type contexthub_service, app_api_service,  system_server_service, service_manager_type;
63type crossprofileapps_service, app_api_service, system_server_service, service_manager_type;
64type IProxyService_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
65type companion_device_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
66type connectivity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
67type connmetrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
68type consumer_ir_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
69type content_capture_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
70type content_suggestions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
71type content_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
72type country_detector_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
73# Note: The coverage_service should only be enabled for userdebug / eng builds that were compiled
74# with EMMA_INSTRUMENT=true. We should consider locking this down in the future.
75type coverage_service, system_server_service, service_manager_type;
76type cpuinfo_service, system_api_service, system_server_service, service_manager_type;
77type dbinfo_service, system_api_service, system_server_service, service_manager_type;
78type device_config_service, system_server_service, service_manager_type;
79type device_policy_service, app_api_service, system_server_service, service_manager_type;
80type deviceidle_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
81type device_identifiers_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
82type devicestoragemonitor_service, system_server_service, service_manager_type;
83type diskstats_service, system_api_service, system_server_service, service_manager_type;
84type display_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
85type color_display_service, system_api_service, system_server_service, service_manager_type;
86type external_vibrator_service, system_server_service, service_manager_type;
87type font_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
88type netd_listener_service, system_server_service, service_manager_type;
89type network_watchlist_service, system_server_service, service_manager_type;
90type DockObserver_service, system_server_service, service_manager_type;
91type dreams_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
92type dropbox_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
93type lowpan_service, system_api_service, system_server_service, service_manager_type;
94type ethernet_service, app_api_service, system_server_service, service_manager_type;
95type biometric_service, app_api_service, system_server_service, service_manager_type;
96type bugreport_service, system_api_service, system_server_service, service_manager_type;
97type face_service, app_api_service, system_server_service, service_manager_type;
98type fingerprint_service, app_api_service, system_server_service, service_manager_type;
99type gfxinfo_service, system_api_service, system_server_service, service_manager_type;
100type graphicsstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
101type hardware_service, system_server_service, service_manager_type;
102type hardware_properties_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
103type hdmi_control_service, system_api_service, system_server_service, service_manager_type;
104type imms_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
105type input_method_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
106type input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
107type ipsec_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
108type iris_service, app_api_service, system_server_service, service_manager_type;
109type jobscheduler_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
110type launcherapps_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
111type location_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
112type lock_settings_service, system_api_service, system_server_service, service_manager_type;
113type looper_stats_service, system_server_service, service_manager_type;
114type media_projection_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
115type media_router_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
116type media_session_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
117type meminfo_service, system_api_service, system_server_service, service_manager_type;
118type midi_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
119type mount_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
120type netpolicy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
121type netstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
122type network_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
123type network_score_service, system_api_service, system_server_service, service_manager_type;
124type network_stack_service, system_server_service, service_manager_type;
125type network_time_update_service, system_server_service, service_manager_type;
126type notification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
127type oem_lock_service, system_api_service, system_server_service, service_manager_type;
128type otadexopt_service, system_server_service, service_manager_type;
129type overlay_service, system_api_service, system_server_service, service_manager_type;
130type package_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
131type package_native_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
132type permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
133type permissionmgr_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
134type persistent_data_block_service, system_api_service, system_server_service, service_manager_type;
135type pinner_service, system_server_service, service_manager_type;
136type power_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
137type print_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
138type processinfo_service, system_server_service, service_manager_type;
139type procstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
140type recovery_service, system_server_service, service_manager_type;
141type registry_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
142type restrictions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
143type role_service, app_api_service, system_server_service, service_manager_type;
144type rollback_service, app_api_service, system_server_service, service_manager_type;
145type runtime_service, system_server_service, service_manager_type;
146type rttmanager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
147type samplingprofiler_service, system_server_service, service_manager_type;
148type scheduling_policy_service, system_server_service, service_manager_type;
149type search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
150type sec_key_att_app_id_provider_service, app_api_service, system_server_service, service_manager_type;
151type sensorservice_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
152type sensor_privacy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
153type serial_service, system_api_service, system_server_service, service_manager_type;
154type servicediscovery_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
155type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
156type shortcut_service, app_api_service, system_server_service, service_manager_type;
157type slice_service, app_api_service, system_server_service, service_manager_type;
158type statusbar_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
159type storagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
160type system_update_service, system_server_service, service_manager_type;
161type task_service, system_server_service, service_manager_type;
162type testharness_service, system_server_service, service_manager_type;
163type textclassification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
164type textservices_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
165type telecom_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
166type thermal_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
167type timedetector_service, system_server_service, service_manager_type;
168type timezone_service, system_server_service, service_manager_type;
169type trust_service, app_api_service, system_server_service, service_manager_type;
170type tv_input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
171type uimode_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
172type updatelock_service, system_api_service, system_server_service, service_manager_type;
173type uri_grants_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
174type usagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
175type usb_service, app_api_service, system_server_service, service_manager_type;
176type user_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
177type vibrator_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
178type voiceinteraction_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
179type vr_manager_service, system_server_service, service_manager_type;
180type wallpaper_service, app_api_service, system_server_service, service_manager_type;
181type webviewupdate_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
182type wifip2p_service, app_api_service, system_server_service, service_manager_type;
183type wifiscanner_service, system_api_service, system_server_service, service_manager_type;
184type wifi_service, app_api_service, system_server_service, service_manager_type;
185type wificond_service, service_manager_type;
186type wifiaware_service, app_api_service, system_server_service, service_manager_type;
187type window_service, system_api_service, system_server_service, service_manager_type;
188type inputflinger_service, system_api_service, system_server_service, service_manager_type;
189type wpantund_service, system_api_service, service_manager_type;
190
191###
192### Neverallow rules
193###
194
195# servicemanager handles registering or looking up named services.
196# It does not make sense to register or lookup something which is not a service.
197# Trigger a compile error if this occurs.
198neverallow domain ~{ service_manager_type vndservice_manager_type }:service_manager { add find };
199