blob: 365515a0e4cec174eaaa4414ec1f486f0d16cbc4 [file] [log] [blame]
Inseob Kimff43be22021-06-07 16:56:56 +09001type aidl_lazy_test_service, service_manager_type;
2type apc_service, service_manager_type;
3type apex_service, service_manager_type;
4type artd_service, service_manager_type;
5type audioserver_service, service_manager_type;
6type authorization_service, service_manager_type;
7type batteryproperties_service, app_api_service, ephemeral_app_api_service, service_manager_type;
8type bluetooth_service, service_manager_type;
9type cameraserver_service, service_manager_type;
10type default_android_service, service_manager_type;
11type dnsresolver_service, service_manager_type;
12type drmserver_service, service_manager_type;
13type dumpstate_service, service_manager_type;
14type fingerprintd_service, service_manager_type;
15type gatekeeper_service, app_api_service, service_manager_type;
16type gpu_service, app_api_service, ephemeral_app_api_service, service_manager_type;
17type idmap_service, service_manager_type;
18type iorapd_service, service_manager_type;
19type incident_service, service_manager_type;
20type installd_service, service_manager_type;
21type credstore_service, app_api_service, service_manager_type;
22type keystore_compat_hal_service, service_manager_type;
23type keystore_maintenance_service, service_manager_type;
24type keystore_service, service_manager_type;
Andrew Scull8aaf7962021-07-02 11:52:12 +000025type legacykeystore_service, service_manager_type;
Inseob Kimff43be22021-06-07 16:56:56 +090026type 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;
Inseob Kimff43be22021-06-07 16:56:56 +090048type 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 graphicsstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
125type hardware_service, system_server_service, service_manager_type;
126type hardware_properties_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
127type hdmi_control_service, app_api_service, system_server_service, service_manager_type;
128type hint_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
129type imms_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
130type incremental_service, system_server_service, service_manager_type;
131type input_method_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
132type input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
133type ipsec_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
134type iris_service, app_api_service, system_server_service, service_manager_type;
135type jobscheduler_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
136type launcherapps_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
137type legacy_permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
138type light_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
139type location_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
140type location_time_zone_manager_service, system_server_service, service_manager_type;
141type lock_settings_service, app_api_service, system_api_service, system_server_service, service_manager_type;
142type looper_stats_service, system_server_service, service_manager_type;
143type media_communication_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
144type media_metrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
145type media_projection_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
146type media_router_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
147type media_session_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
148type meminfo_service, system_api_service, system_server_service, service_manager_type;
149type memtrackproxy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
150type midi_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
151type mount_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
152type music_recognition_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
153type netpolicy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
154type netstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
155type network_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
156type network_score_service, system_api_service, system_server_service, service_manager_type;
157type network_stack_service, system_server_service, service_manager_type;
158type network_time_update_service, system_server_service, service_manager_type;
159type notification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
160type oem_lock_service, system_api_service, system_server_service, service_manager_type;
161type otadexopt_service, system_server_service, service_manager_type;
162type overlay_service, system_api_service, system_server_service, service_manager_type;
163type pac_proxy_service, system_server_service, service_manager_type;
164type package_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
165type package_native_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
166type people_service, app_api_service, system_server_service, service_manager_type;
167type permission_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
168type permissionmgr_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
169type permission_checker_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
170type persistent_data_block_service, system_api_service, system_server_service, service_manager_type;
171type pinner_service, system_server_service, service_manager_type;
172type power_stats_service, app_api_service, system_server_service, service_manager_type;
173type power_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
174type print_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
175type processinfo_service, system_server_service, service_manager_type;
176type procstats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
177type reboot_readiness_service, app_api_service, system_server_service, service_manager_type;
178type recovery_service, system_server_service, service_manager_type;
179type registry_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
180type restrictions_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
181type role_service, app_api_service, system_server_service, service_manager_type;
182type rollback_service, app_api_service, system_server_service, service_manager_type;
183type runtime_service, system_server_service, service_manager_type;
184type rttmanager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
185type samplingprofiler_service, system_server_service, service_manager_type;
186type scheduling_policy_service, system_server_service, service_manager_type;
187type search_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
188type search_ui_service, app_api_service, system_server_service, service_manager_type;
189type sec_key_att_app_id_provider_service, app_api_service, system_server_service, service_manager_type;
190type sensorservice_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
191type sensor_privacy_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
192type serial_service, system_api_service, system_server_service, service_manager_type;
193type servicediscovery_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
194type settings_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
195type shortcut_service, app_api_service, system_server_service, service_manager_type;
196type slice_service, app_api_service, system_server_service, service_manager_type;
197type smartspace_service, app_api_service, system_server_service, service_manager_type;
198type statusbar_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
199type storagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
200type system_config_service, system_api_service, system_server_service, service_manager_type;
201type system_server_dumper_service, system_api_service, system_server_service, service_manager_type;
202type system_update_service, system_server_service, service_manager_type;
203type soundtrigger_middleware_service, system_server_service, service_manager_type;
204type speech_recognition_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
205type task_service, system_server_service, service_manager_type;
206type testharness_service, system_server_service, service_manager_type;
207type textclassification_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
208type textservices_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
209type texttospeech_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
210type telecom_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
211type thermal_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
212type timedetector_service, app_api_service, system_server_service, service_manager_type;
213type timezone_service, system_server_service, service_manager_type;
214type timezonedetector_service, app_api_service, system_server_service, service_manager_type;
215type transformer_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
216type trust_service, app_api_service, system_server_service, service_manager_type;
217type tv_input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
218type tv_tuner_resource_mgr_service, app_api_service, system_server_service, service_manager_type;
219type uimode_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
220type updatelock_service, system_api_service, system_server_service, service_manager_type;
221type uri_grants_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
222type usagestats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
223type usb_service, app_api_service, system_server_service, service_manager_type;
224type user_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
225type uwb_service, app_api_service, system_server_service, service_manager_type;
226type vcn_management_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
227type vibrator_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
228type vibrator_manager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
229type voiceinteraction_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
230type vpn_management_service, app_api_service, system_server_service, service_manager_type;
231type vr_manager_service, system_server_service, service_manager_type;
232type wallpaper_service, app_api_service, system_server_service, service_manager_type;
233type webviewupdate_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
234type wifip2p_service, app_api_service, system_server_service, service_manager_type;
235type wifiscanner_service, system_api_service, system_server_service, service_manager_type;
236type wifi_service, app_api_service, system_server_service, service_manager_type;
237type wifinl80211_service, service_manager_type;
238type wifiaware_service, app_api_service, system_server_service, service_manager_type;
239type window_service, system_api_service, system_server_service, service_manager_type;
240type inputflinger_service, system_api_service, system_server_service, service_manager_type;
241type wpantund_service, system_api_service, service_manager_type;
242type tethering_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
243type emergency_affordance_service, system_server_service, service_manager_type;
244
245###
246### HAL Services
247###
248
249type hal_audio_service, vendor_service, protected_service, service_manager_type;
250type hal_audiocontrol_service, vendor_service, service_manager_type;
251type hal_authsecret_service, vendor_service, protected_service, service_manager_type;
252type hal_face_service, vendor_service, protected_service, service_manager_type;
253type hal_fingerprint_service, vendor_service, protected_service, service_manager_type;
254type hal_gnss_service, vendor_service, protected_service, service_manager_type;
255type hal_health_storage_service, vendor_service, protected_service, service_manager_type;
256type hal_identity_service, vendor_service, protected_service, service_manager_type;
257type hal_keymint_service, vendor_service, protected_service, service_manager_type;
258type hal_light_service, vendor_service, protected_service, service_manager_type;
259type hal_memtrack_service, vendor_service, protected_service, service_manager_type;
260type hal_neuralnetworks_service, vendor_service, service_manager_type;
261type hal_oemlock_service, vendor_service, protected_service, service_manager_type;
262type hal_power_service, vendor_service, protected_service, service_manager_type;
263type hal_power_stats_service, vendor_service, protected_service, service_manager_type;
264type hal_rebootescrow_service, vendor_service, protected_service, service_manager_type;
265type hal_remotelyprovisionedcomponent_service, vendor_service, protected_service, service_manager_type;
266type hal_secureclock_service, vendor_service, protected_service, service_manager_type;
267type hal_sharedsecret_service, vendor_service, protected_service, service_manager_type;
268type hal_vibrator_service, vendor_service, protected_service, service_manager_type;
269type hal_weaver_service, vendor_service, protected_service, service_manager_type;
270
271###
272### Neverallow rules
273###
274
275# servicemanager handles registering or looking up named services.
276# It does not make sense to register or lookup something which is not a service.
277# Trigger a compile error if this occurs.
278neverallow domain ~{ service_manager_type vndservice_manager_type }:service_manager { add find };