• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type aidl_lazy_test_service,    service_manager_type;
2type apc_service,               service_manager_type;
3type apex_service,              service_manager_type;
4type audioserver_service,       service_manager_type;
5type authorization_service,     service_manager_type;
6type batteryproperties_service, app_api_service, ephemeral_app_api_service, service_manager_type;
7type bluetooth_service,         service_manager_type;
8type cameraserver_service,      service_manager_type;
9type default_android_service,   service_manager_type;
10type dnsresolver_service,       service_manager_type;
11type drmserver_service,         service_manager_type;
12type dumpstate_service,         service_manager_type;
13type fingerprintd_service,      service_manager_type;
14type gatekeeper_service,        app_api_service, service_manager_type;
15type gpu_service,               app_api_service, ephemeral_app_api_service, service_manager_type;
16type idmap_service,             service_manager_type;
17type iorapd_service,            service_manager_type;
18type incident_service,          service_manager_type;
19type installd_service,          service_manager_type;
20type credstore_service,         app_api_service, service_manager_type;
21type keystore_compat_hal_service, service_manager_type;
22type keystore_maintenance_service, service_manager_type;
23type keystore_metrics_service, service_manager_type;
24type keystore_service,          service_manager_type;
25type legacykeystore_service,    service_manager_type;
26type lpdump_service,            service_manager_type;
27type mediaserver_service,       service_manager_type;
28type mediametrics_service,      service_manager_type;
29type mediaextractor_service,    service_manager_type;
30type mediadrmserver_service,    service_manager_type;
31type mediatranscoding_service,  app_api_service, service_manager_type;
32type netd_service,              service_manager_type;
33type nfc_service,               service_manager_type;
34type radio_service,             service_manager_type;
35type remoteprovisioning_service,   service_manager_type;
36type secure_element_service,    service_manager_type;
37type service_manager_service,   service_manager_type;
38type storaged_service,          service_manager_type;
39type surfaceflinger_service,    app_api_service, ephemeral_app_api_service, service_manager_type;
40type system_app_service,        service_manager_type;
41type system_suspend_control_internal_service, service_manager_type;
42type system_suspend_control_service, service_manager_type;
43type update_engine_service,     service_manager_type;
44type update_engine_stable_service, service_manager_type;
45type virtualization_service,    service_manager_type;
46type virtual_touchpad_service,  service_manager_type;
47type vold_service,              service_manager_type;
48type vr_hwc_service,            service_manager_type;
49type vrflinger_vsync_service,   service_manager_type;
50
51# system_server_services broken down
52type accessibility_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
53type account_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
54type activity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
55type activity_task_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
56type adb_service, system_api_service, system_server_service, service_manager_type;
57type alarm_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
58type app_binding_service, system_server_service, service_manager_type;
59type app_hibernation_service, system_api_service, system_server_service, service_manager_type;
60type app_integrity_service, system_api_service, system_server_service, service_manager_type;
61type app_prediction_service, app_api_service, system_server_service, service_manager_type;
62type app_search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
63type appops_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
64type appwidget_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
65type assetatlas_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
66type audio_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
67type auth_service, app_api_service, system_server_service, service_manager_type;
68type autofill_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
69type backup_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
70type batterystats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
71type battery_service, system_server_service, service_manager_type;
72type binder_calls_stats_service, system_server_service, service_manager_type;
73type blob_store_service, app_api_service, system_server_service, service_manager_type;
74type bluetooth_manager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
75type broadcastradio_service, system_server_service, service_manager_type;
76type cacheinfo_service, system_api_service, system_server_service, service_manager_type;
77type cameraproxy_service, system_server_service, service_manager_type;
78type clipboard_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
79type contexthub_service, app_api_service,  system_server_service, service_manager_type;
80type crossprofileapps_service, app_api_service, system_server_service, service_manager_type;
81type IProxyService_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
82type companion_device_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
83type connectivity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
84type connmetrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
85type consumer_ir_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
86type content_capture_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
87type content_suggestions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
88type content_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
89type country_detector_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
90# Note: The coverage_service should only be enabled for userdebug / eng builds that were compiled
91# with EMMA_INSTRUMENT=true. We should consider locking this down in the future.
92type coverage_service, system_server_service, service_manager_type;
93type cpuinfo_service, system_api_service, system_server_service, service_manager_type;
94type dataloader_manager_service, system_server_service, service_manager_type;
95type dbinfo_service, system_api_service, system_server_service, service_manager_type;
96type device_config_service, system_server_service, service_manager_type;
97type device_policy_service, app_api_service, system_server_service, service_manager_type;
98type device_state_service, app_api_service, system_api_service, system_server_service, service_manager_type;
99type deviceidle_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
100type device_identifiers_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
101type devicestoragemonitor_service, system_server_service, service_manager_type;
102type diskstats_service, system_api_service, system_server_service, service_manager_type;
103type display_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
104type domain_verification_service, app_api_service, system_server_service, service_manager_type;
105type color_display_service, system_api_service, system_server_service, service_manager_type;
106type external_vibrator_service, system_server_service, service_manager_type;
107type file_integrity_service, app_api_service, system_server_service, service_manager_type;
108type font_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
109type netd_listener_service, system_server_service, service_manager_type;
110type network_watchlist_service, system_server_service, service_manager_type;
111type DockObserver_service, system_server_service, service_manager_type;
112type dreams_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
113type dropbox_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
114type lowpan_service, system_api_service, system_server_service, service_manager_type;
115type ethernet_service, app_api_service, system_server_service, service_manager_type;
116type biometric_service, app_api_service, system_server_service, service_manager_type;
117type bugreport_service, app_api_service, system_server_service, service_manager_type;
118type platform_compat_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
119type face_service, app_api_service, system_server_service, service_manager_type;
120type fingerprint_service, app_api_service, system_server_service, service_manager_type;
121type fwk_stats_service, app_api_service, system_server_service, service_manager_type;
122type game_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
123type gfxinfo_service, system_api_service, system_server_service, service_manager_type;
124type gnss_time_update_service, system_server_service, service_manager_type;
125type graphicsstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
126type hardware_service, system_server_service, service_manager_type;
127type hardware_properties_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
128type hdmi_control_service, app_api_service, system_server_service, service_manager_type;
129type hint_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
130type imms_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
131type incremental_service, system_server_service, service_manager_type;
132type input_method_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
133type input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
134type ipsec_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
135type iris_service, app_api_service, system_server_service, service_manager_type;
136type jobscheduler_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
137type launcherapps_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
138type legacy_permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
139type light_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
140type location_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
141type location_time_zone_manager_service, system_server_service, service_manager_type;
142type lock_settings_service, app_api_service, system_api_service, system_server_service, service_manager_type;
143type looper_stats_service, system_server_service, service_manager_type;
144type media_communication_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
145type media_metrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
146type media_projection_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
147type media_router_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
148type media_session_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
149type meminfo_service, system_api_service, system_server_service, service_manager_type;
150type memtrackproxy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
151type midi_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
152type mount_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
153type music_recognition_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
154type netpolicy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
155type netstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
156type network_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
157type network_score_service, system_api_service, system_server_service, service_manager_type;
158type network_stack_service, system_server_service, service_manager_type;
159type network_time_update_service, system_server_service, service_manager_type;
160type notification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
161type oem_lock_service, system_api_service, system_server_service, service_manager_type;
162type otadexopt_service, system_server_service, service_manager_type;
163type overlay_service, system_api_service, system_server_service, service_manager_type;
164type pac_proxy_service, app_api_service, system_server_service, service_manager_type;
165type package_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
166type package_native_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
167type people_service, app_api_service, system_server_service, service_manager_type;
168type permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
169type permissionmgr_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
170type permission_checker_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
171type persistent_data_block_service, system_api_service, system_server_service, service_manager_type;
172type pinner_service, system_server_service, service_manager_type;
173type powerstats_service, app_api_service, system_server_service, service_manager_type;
174type power_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
175type print_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
176type processinfo_service, system_server_service, service_manager_type;
177type procstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
178type reboot_readiness_service, app_api_service, system_server_service, service_manager_type;
179type recovery_service, system_server_service, service_manager_type;
180type registry_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
181type restrictions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
182type role_service, app_api_service, system_server_service, service_manager_type;
183type rollback_service, app_api_service, system_server_service, service_manager_type;
184type runtime_service, system_server_service, service_manager_type;
185type rttmanager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
186type samplingprofiler_service, system_server_service, service_manager_type;
187type scheduling_policy_service, system_server_service, service_manager_type;
188type search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
189type search_ui_service, app_api_service, system_server_service, service_manager_type;
190type sec_key_att_app_id_provider_service, app_api_service, system_server_service, service_manager_type;
191type sensorservice_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
192type sensor_privacy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
193type serial_service, system_api_service, system_server_service, service_manager_type;
194type servicediscovery_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
195type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
196type shortcut_service, app_api_service, system_server_service, service_manager_type;
197type slice_service, app_api_service, system_server_service, service_manager_type;
198type smartspace_service, app_api_service, system_server_service, service_manager_type;
199type statusbar_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
200type storagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
201type system_config_service, system_api_service, system_server_service, service_manager_type;
202type system_server_dumper_service, system_api_service, system_server_service, service_manager_type;
203type system_update_service, system_server_service, service_manager_type;
204type soundtrigger_middleware_service, system_server_service, service_manager_type;
205type speech_recognition_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
206type task_service, system_server_service, service_manager_type;
207type testharness_service, system_server_service, service_manager_type;
208type textclassification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
209type textservices_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
210type texttospeech_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
211type telecom_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
212type thermal_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
213type timedetector_service, app_api_service, system_server_service, service_manager_type;
214type timezone_service, system_server_service, service_manager_type;
215type timezonedetector_service, app_api_service, system_server_service, service_manager_type;
216type translation_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
217type trust_service, app_api_service, system_server_service, service_manager_type;
218type tv_input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
219type tv_tuner_resource_mgr_service, app_api_service, system_server_service, service_manager_type;
220type uimode_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
221type updatelock_service, system_api_service, system_server_service, service_manager_type;
222type uri_grants_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
223type usagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
224type usb_service, app_api_service, system_server_service, service_manager_type;
225type user_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
226type uwb_service, app_api_service, system_server_service, service_manager_type;
227type vcn_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
228type vibrator_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
229type vibrator_manager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
230type voiceinteraction_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
231type vpn_management_service, app_api_service, system_server_service, service_manager_type;
232type vr_manager_service, system_server_service, service_manager_type;
233type wallpaper_service, app_api_service, system_server_service, service_manager_type;
234type webviewupdate_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
235type wifip2p_service, app_api_service, system_server_service, service_manager_type;
236type wifiscanner_service, system_api_service, system_server_service, service_manager_type;
237type wifi_service, app_api_service, system_server_service, service_manager_type;
238type wifinl80211_service, service_manager_type;
239type wifiaware_service, app_api_service, system_server_service, service_manager_type;
240type window_service, system_api_service, system_server_service, service_manager_type;
241type inputflinger_service, system_api_service, system_server_service, service_manager_type;
242type wpantund_service, system_api_service, service_manager_type;
243type tethering_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
244type emergency_affordance_service, system_server_service, service_manager_type;
245
246###
247### HAL Services
248###
249
250type hal_audio_service, vendor_service, protected_service, service_manager_type;
251type hal_audiocontrol_service, vendor_service, service_manager_type;
252type hal_authsecret_service, vendor_service, protected_service, service_manager_type;
253type hal_face_service, vendor_service, protected_service, service_manager_type;
254type hal_fingerprint_service, vendor_service, protected_service, service_manager_type;
255type hal_gnss_service, vendor_service, protected_service, service_manager_type;
256type hal_health_storage_service, vendor_service, protected_service, service_manager_type;
257type hal_identity_service, vendor_service, protected_service, service_manager_type;
258type hal_keymint_service, vendor_service, protected_service, service_manager_type;
259type hal_light_service, vendor_service, protected_service, service_manager_type;
260type hal_memtrack_service, vendor_service, protected_service, service_manager_type;
261type hal_neuralnetworks_service, vendor_service, service_manager_type;
262type hal_oemlock_service, vendor_service, protected_service, service_manager_type;
263type hal_power_service, vendor_service, protected_service, service_manager_type;
264type hal_power_stats_service, vendor_service, protected_service, service_manager_type;
265type hal_rebootescrow_service, vendor_service, protected_service, service_manager_type;
266type hal_remotelyprovisionedcomponent_service, vendor_service, protected_service, service_manager_type;
267type hal_secureclock_service, vendor_service, protected_service, service_manager_type;
268type hal_sharedsecret_service, vendor_service, protected_service, service_manager_type;
269type hal_vibrator_service, vendor_service, protected_service, service_manager_type;
270type hal_weaver_service, vendor_service, protected_service, service_manager_type;
271
272###
273### Neverallow rules
274###
275
276# servicemanager handles registering or looking up named services.
277# It does not make sense to register or lookup something which is not a service.
278# Trigger a compile error if this occurs.
279neverallow domain ~{ service_manager_type vndservice_manager_type }:service_manager { add find };
280