xref: /aosp_15_r20/system/sepolicy/prebuilts/api/29.0/public/hwservice.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Workertype default_android_hwservice, hwservice_manager_type;
2*e4a36f41SAndroid Build Coastguard Workertype fwk_bufferhub_hwservice, hwservice_manager_type, coredomain_hwservice;
3*e4a36f41SAndroid Build Coastguard Workertype fwk_camera_hwservice, hwservice_manager_type, coredomain_hwservice;
4*e4a36f41SAndroid Build Coastguard Workertype fwk_display_hwservice, hwservice_manager_type, coredomain_hwservice;
5*e4a36f41SAndroid Build Coastguard Workertype fwk_scheduler_hwservice, hwservice_manager_type, coredomain_hwservice;
6*e4a36f41SAndroid Build Coastguard Workertype fwk_sensor_hwservice, hwservice_manager_type, coredomain_hwservice;
7*e4a36f41SAndroid Build Coastguard Workertype fwk_stats_hwservice, hwservice_manager_type, coredomain_hwservice;
8*e4a36f41SAndroid Build Coastguard Workertype hal_atrace_hwservice, hwservice_manager_type;
9*e4a36f41SAndroid Build Coastguard Workertype hal_audiocontrol_hwservice, hwservice_manager_type;
10*e4a36f41SAndroid Build Coastguard Workertype hal_audio_hwservice, hwservice_manager_type;
11*e4a36f41SAndroid Build Coastguard Workertype hal_authsecret_hwservice, hwservice_manager_type;
12*e4a36f41SAndroid Build Coastguard Workertype hal_bluetooth_hwservice, hwservice_manager_type;
13*e4a36f41SAndroid Build Coastguard Workertype hal_bootctl_hwservice, hwservice_manager_type;
14*e4a36f41SAndroid Build Coastguard Workertype hal_broadcastradio_hwservice, hwservice_manager_type;
15*e4a36f41SAndroid Build Coastguard Workertype hal_camera_hwservice, hwservice_manager_type;
16*e4a36f41SAndroid Build Coastguard Workertype hal_codec2_hwservice, hwservice_manager_type;
17*e4a36f41SAndroid Build Coastguard Workertype hal_configstore_ISurfaceFlingerConfigs, hwservice_manager_type;
18*e4a36f41SAndroid Build Coastguard Workertype hal_confirmationui_hwservice, hwservice_manager_type;
19*e4a36f41SAndroid Build Coastguard Workertype hal_contexthub_hwservice, hwservice_manager_type;
20*e4a36f41SAndroid Build Coastguard Workertype hal_drm_hwservice, hwservice_manager_type;
21*e4a36f41SAndroid Build Coastguard Workertype hal_cas_hwservice, hwservice_manager_type;
22*e4a36f41SAndroid Build Coastguard Workertype hal_dumpstate_hwservice, hwservice_manager_type;
23*e4a36f41SAndroid Build Coastguard Workertype hal_evs_hwservice, hwservice_manager_type;
24*e4a36f41SAndroid Build Coastguard Workertype hal_face_hwservice, hwservice_manager_type;
25*e4a36f41SAndroid Build Coastguard Workertype hal_fingerprint_hwservice, hwservice_manager_type;
26*e4a36f41SAndroid Build Coastguard Workertype hal_gatekeeper_hwservice, hwservice_manager_type;
27*e4a36f41SAndroid Build Coastguard Workertype hal_gnss_hwservice, hwservice_manager_type;
28*e4a36f41SAndroid Build Coastguard Workertype hal_graphics_allocator_hwservice, hwservice_manager_type;
29*e4a36f41SAndroid Build Coastguard Workertype hal_graphics_composer_hwservice, hwservice_manager_type;
30*e4a36f41SAndroid Build Coastguard Workertype hal_graphics_mapper_hwservice, hwservice_manager_type, same_process_hwservice;
31*e4a36f41SAndroid Build Coastguard Workertype hal_health_hwservice, hwservice_manager_type;
32*e4a36f41SAndroid Build Coastguard Workertype hal_health_storage_hwservice, hwservice_manager_type;
33*e4a36f41SAndroid Build Coastguard Workertype hal_input_classifier_hwservice, hwservice_manager_type;
34*e4a36f41SAndroid Build Coastguard Workertype hal_ir_hwservice, hwservice_manager_type;
35*e4a36f41SAndroid Build Coastguard Workertype hal_keymaster_hwservice, hwservice_manager_type;
36*e4a36f41SAndroid Build Coastguard Workertype hal_light_hwservice, hwservice_manager_type;
37*e4a36f41SAndroid Build Coastguard Workertype hal_lowpan_hwservice, hwservice_manager_type;
38*e4a36f41SAndroid Build Coastguard Workertype hal_memtrack_hwservice, hwservice_manager_type;
39*e4a36f41SAndroid Build Coastguard Workertype hal_neuralnetworks_hwservice, hwservice_manager_type;
40*e4a36f41SAndroid Build Coastguard Workertype hal_nfc_hwservice, hwservice_manager_type;
41*e4a36f41SAndroid Build Coastguard Workertype hal_oemlock_hwservice, hwservice_manager_type;
42*e4a36f41SAndroid Build Coastguard Workertype hal_omx_hwservice, hwservice_manager_type;
43*e4a36f41SAndroid Build Coastguard Workertype hal_power_hwservice, hwservice_manager_type;
44*e4a36f41SAndroid Build Coastguard Workertype hal_power_stats_hwservice, hwservice_manager_type;
45*e4a36f41SAndroid Build Coastguard Workertype hal_renderscript_hwservice, hwservice_manager_type, same_process_hwservice;
46*e4a36f41SAndroid Build Coastguard Workertype hal_secure_element_hwservice, hwservice_manager_type;
47*e4a36f41SAndroid Build Coastguard Workertype hal_sensors_hwservice, hwservice_manager_type;
48*e4a36f41SAndroid Build Coastguard Workertype hal_telephony_hwservice, hwservice_manager_type;
49*e4a36f41SAndroid Build Coastguard Workertype hal_tetheroffload_hwservice, hwservice_manager_type;
50*e4a36f41SAndroid Build Coastguard Workertype hal_thermal_hwservice, hwservice_manager_type;
51*e4a36f41SAndroid Build Coastguard Workertype hal_tv_cec_hwservice, hwservice_manager_type;
52*e4a36f41SAndroid Build Coastguard Workertype hal_tv_input_hwservice, hwservice_manager_type;
53*e4a36f41SAndroid Build Coastguard Workertype hal_usb_hwservice, hwservice_manager_type;
54*e4a36f41SAndroid Build Coastguard Workertype hal_usb_gadget_hwservice, hwservice_manager_type;
55*e4a36f41SAndroid Build Coastguard Workertype hal_vehicle_hwservice, hwservice_manager_type;
56*e4a36f41SAndroid Build Coastguard Workertype hal_vibrator_hwservice, hwservice_manager_type;
57*e4a36f41SAndroid Build Coastguard Workertype hal_vr_hwservice, hwservice_manager_type;
58*e4a36f41SAndroid Build Coastguard Workertype hal_weaver_hwservice, hwservice_manager_type;
59*e4a36f41SAndroid Build Coastguard Workertype hal_wifi_hwservice, hwservice_manager_type;
60*e4a36f41SAndroid Build Coastguard Workertype hal_wifi_hostapd_hwservice, hwservice_manager_type;
61*e4a36f41SAndroid Build Coastguard Workertype hal_wifi_offload_hwservice, hwservice_manager_type;
62*e4a36f41SAndroid Build Coastguard Workertype hal_wifi_supplicant_hwservice, hwservice_manager_type;
63*e4a36f41SAndroid Build Coastguard Workertype hidl_allocator_hwservice, hwservice_manager_type, coredomain_hwservice;
64*e4a36f41SAndroid Build Coastguard Workertype hidl_base_hwservice, hwservice_manager_type;
65*e4a36f41SAndroid Build Coastguard Workertype hidl_manager_hwservice, hwservice_manager_type, coredomain_hwservice;
66*e4a36f41SAndroid Build Coastguard Workertype hidl_memory_hwservice, hwservice_manager_type, coredomain_hwservice;
67*e4a36f41SAndroid Build Coastguard Workertype hidl_token_hwservice, hwservice_manager_type, coredomain_hwservice;
68*e4a36f41SAndroid Build Coastguard Workertype system_net_netd_hwservice, hwservice_manager_type, coredomain_hwservice;
69*e4a36f41SAndroid Build Coastguard Workertype system_suspend_hwservice, hwservice_manager_type, coredomain_hwservice;
70*e4a36f41SAndroid Build Coastguard Workertype system_wifi_keystore_hwservice, hwservice_manager_type, coredomain_hwservice;
71*e4a36f41SAndroid Build Coastguard Workertype thermalcallback_hwservice, hwservice_manager_type;
72*e4a36f41SAndroid Build Coastguard Worker
73*e4a36f41SAndroid Build Coastguard Worker###
74*e4a36f41SAndroid Build Coastguard Worker### Neverallow rules
75*e4a36f41SAndroid Build Coastguard Worker###
76*e4a36f41SAndroid Build Coastguard Worker
77*e4a36f41SAndroid Build Coastguard Worker# hwservicemanager handles registering or looking up named services.
78*e4a36f41SAndroid Build Coastguard Worker# It does not make sense to register or lookup something which is not a
79*e4a36f41SAndroid Build Coastguard Worker# hwservice. Trigger a compile error if this occurs.
80*e4a36f41SAndroid Build Coastguard Workerneverallow domain ~hwservice_manager_type:hwservice_manager { add find };
81