summaryrefslogtreecommitdiff
path: root/non_plat/property.te
blob: 0daf09f4880f7827e55cc1c07aabce68c3f6e6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# ==============================================
# MTK Policy Rule
# ==============================================

# system_internal_prop      -- Properties used only in /system
# system_restricted_prop    -- Properties which can't be written outside system
# system_public_prop        -- Properties with no restrictions
# system_vendor_config_prop -- Properties which can be written only by vendor_init
# vendor_internal_prop      -- Properties used only in /vendor
# vendor_restricted_prop    -- Properties which can't be written outside vendor
# vendor_public_prop        -- Properties with no restrictions

# TODO: Remove after fixing Modem SEPolicy
vendor_internal_prop(ril_mux_report_case_prop)
vendor_internal_prop(ctl_muxreport-daemon_prop)
vendor_internal_prop(usp_prop)
vendor_internal_prop(mtk_default_prop)

# Properties used only in /vendor
vendor_internal_prop(vendor_mtk_ctl_ccci2_fsd_prop)
vendor_internal_prop(vendor_mtk_ctl_ccci3_fsd_prop)
vendor_internal_prop(vendor_mtk_ctl_ccci_fsd_prop)
vendor_internal_prop(vendor_mtk_ctl_fusion_ril_mtk_prop)
vendor_internal_prop(vendor_mtk_ctl_gsm0710muxd_prop)
vendor_internal_prop(vendor_mtk_ctl_muxreport-daemon_prop)
vendor_internal_prop(vendor_mtk_ctl_ril-daemon-mtk_prop)
vendor_internal_prop(vendor_mtk_ctl_ril-proxy_prop)
vendor_internal_prop(vendor_mtk_ctl_viarild_prop)
vendor_internal_prop(vendor_mtk_powerhal_prop)
vendor_internal_prop(vendor_mtk_wfc_serv_prop)

# Properties which can't be written outside vendor
vendor_restricted_prop(vendor_mtk_aal_ro_prop)
vendor_restricted_prop(vendor_mtk_anr_support_prop)
vendor_restricted_prop(vendor_mtk_antutu_prop)
vendor_restricted_prop(vendor_mtk_appresolutiontuner_prop)
vendor_restricted_prop(vendor_mtk_atci_prop)
vendor_restricted_prop(vendor_mtk_atm_ipaddr_prop)
vendor_restricted_prop(vendor_mtk_atm_mdmode_prop)
vendor_restricted_prop(vendor_mtk_audiohal_prop)
vendor_restricted_prop(vendor_mtk_bt_sap_enable_prop)
vendor_restricted_prop(vendor_mtk_coredump_prop)
vendor_restricted_prop(vendor_mtk_ct_ir_engmode_prop)
vendor_restricted_prop(vendor_mtk_ct_volte_prop)
vendor_restricted_prop(vendor_mtk_cxp_vendor_prop)
vendor_restricted_prop(vendor_mtk_debug_md_reset_prop)
vendor_restricted_prop(vendor_mtk_debug_mtk_aeev_prop)
vendor_restricted_prop(vendor_mtk_default_prop)
vendor_restricted_prop(vendor_mtk_disable_c2k_cap_prop)
vendor_restricted_prop(vendor_mtk_dsbp_support_prop)
vendor_restricted_prop(vendor_mtk_em_hidl_prop)
vendor_restricted_prop(vendor_mtk_emmc_support_prop)
vendor_restricted_prop(vendor_mtk_em_prop)
vendor_restricted_prop(vendor_mtk_em_usb_prop)
vendor_restricted_prop(vendor_mtk_factory_idle_state_prop)
vendor_restricted_prop(vendor_mtk_fullscreenswitch_prop)
vendor_restricted_prop(vendor_mtk_gprs_prefer_prop)
vendor_restricted_prop(vendor_mtk_gps_support_prop)
vendor_restricted_prop(vendor_mtk_graphics_hwc_hdr_prop)
vendor_restricted_prop(vendor_mtk_graphics_hwc_latch_unsignaled_prop)
vendor_restricted_prop(vendor_mtk_graphics_hwc_pid_prop)
vendor_restricted_prop(vendor_mtk_graphics_hwc_validate_separate_prop)
vendor_restricted_prop(vendor_mtk_gsm0710muxd_prop)
vendor_restricted_prop(vendor_mtk_hdmi_prop)
vendor_restricted_prop(vendor_mtk_imstestmode_prop)
vendor_restricted_prop(vendor_mtk_malloc_debug_backtrace_prop)
vendor_restricted_prop(vendor_mtk_md_prop)
vendor_restricted_prop(vendor_mtk_md_version_prop)
vendor_restricted_prop(vendor_mtk_mediatek_prop)
vendor_restricted_prop(vendor_mtk_meta_connecttype_prop)
vendor_restricted_prop(vendor_mtk_mnld_prop)
vendor_restricted_prop(vendor_mtk_modem_warning_prop)
vendor_restricted_prop(vendor_mtk_net_cdma_mdmstat_prop)
vendor_restricted_prop(vendor_mtk_nn_option_prop)
vendor_restricted_prop(vendor_mtk_gbe_prop)
vendor_restricted_prop(vendor_mtk_nvram_ready_prop)
vendor_restricted_prop(vendor_mtk_omx_log_prop)
vendor_restricted_prop(vendor_mtk_operator_id_prop)
vendor_restricted_prop(vendor_mtk_persist_aeev_prop)
vendor_restricted_prop(vendor_mtk_persist_mtk_aeev_prop)
vendor_restricted_prop(vendor_mtk_persist_service_atci_prop)
vendor_restricted_prop(vendor_mtk_pq_prop)
vendor_restricted_prop(vendor_mtk_pq_ro_prop)
vendor_restricted_prop(vendor_mtk_radio_prop)
vendor_restricted_prop(vendor_mtk_rat_config_prop)
vendor_restricted_prop(vendor_mtk_ril_active_md_prop)
vendor_restricted_prop(vendor_mtk_ril_cdma_report_prop)
vendor_restricted_prop(vendor_mtk_ril_ipo_prop)
vendor_restricted_prop(vendor_mtk_ril_mode_prop)
vendor_restricted_prop(vendor_mtk_ril_mux_report_case_prop)
vendor_restricted_prop(vendor_mtk_ro_aee_prop)
vendor_restricted_prop(vendor_mtk_service_nvram_init_prop)
vendor_restricted_prop(vendor_mtk_simswitch_emmode_prop)
vendor_restricted_prop(vendor_mtk_smsformat_prop)
vendor_restricted_prop(vendor_mtk_ss_vendor_prop)
vendor_restricted_prop(vendor_mtk_telephony_sensitive_prop)
vendor_restricted_prop(vendor_mtk_tel_switch_prop)
vendor_restricted_prop(vendor_mtk_testsim_cardtype_prop)
vendor_restricted_prop(vendor_mtk_thermal_config_prop)
vendor_restricted_prop(vendor_mtk_usb_otg_switch_prop)
vendor_restricted_prop(vendor_mtk_usb_prop)
vendor_restricted_prop(vendor_mtk_vdec_log_prop)
vendor_restricted_prop(vendor_mtk_vdectlc_log_prop)
vendor_restricted_prop(vendor_mtk_venc_h264_showlog_prop)
vendor_restricted_prop(vendor_mtk_voicerecgnize_prop)
vendor_restricted_prop(vendor_mtk_volte_prop)
vendor_restricted_prop(vendor_mtk_wifi_hotspot_prop)
vendor_restricted_prop(vendor_mtk_wmt_prop)
vendor_restricted_prop(vendor_mtk_gpu_prop)
vendor_restricted_prop(vendor_mtk_sensor_prop)

# Properties with can be read by all domains
typeattribute vendor_mtk_aal_ro_prop                 mtk_core_property_type;
typeattribute vendor_mtk_anr_support_prop            mtk_core_property_type;
typeattribute vendor_mtk_antutu_prop                 mtk_core_property_type;
typeattribute vendor_mtk_appresolutiontuner_prop     mtk_core_property_type;
typeattribute vendor_mtk_atci_prop                   mtk_core_property_type;
typeattribute vendor_mtk_audiohal_prop               mtk_core_property_type;
typeattribute vendor_mtk_bt_sap_enable_prop          mtk_core_property_type;
typeattribute vendor_mtk_coredump_prop               mtk_core_property_type;
typeattribute vendor_mtk_ct_ir_engmode_prop          mtk_core_property_type;
typeattribute vendor_mtk_ct_volte_prop               mtk_core_property_type;
typeattribute vendor_mtk_cxp_vendor_prop             mtk_core_property_type;
typeattribute vendor_mtk_debug_md_reset_prop         mtk_core_property_type;
typeattribute vendor_mtk_debug_mtk_aeev_prop         mtk_core_property_type;
typeattribute vendor_mtk_default_prop                mtk_core_property_type;
typeattribute vendor_mtk_disable_c2k_cap_prop        mtk_core_property_type;
typeattribute vendor_mtk_dsbp_support_prop           mtk_core_property_type;
typeattribute vendor_mtk_em_hidl_prop                mtk_core_property_type;
typeattribute vendor_mtk_emmc_support_prop           mtk_core_property_type;
typeattribute vendor_mtk_em_prop                     mtk_core_property_type;
typeattribute vendor_mtk_em_usb_prop                 mtk_core_property_type;
typeattribute vendor_mtk_factory_idle_state_prop     mtk_core_property_type;
typeattribute vendor_mtk_fullscreenswitch_prop       mtk_core_property_type;
typeattribute vendor_mtk_gprs_prefer_prop            mtk_core_property_type;
typeattribute vendor_mtk_gps_support_prop            mtk_core_property_type;
typeattribute vendor_mtk_gsm0710muxd_prop            mtk_core_property_type;
typeattribute vendor_mtk_hdmi_prop                   mtk_core_property_type;
typeattribute vendor_mtk_imstestmode_prop            mtk_core_property_type;
typeattribute vendor_mtk_malloc_debug_backtrace_prop mtk_core_property_type;
typeattribute vendor_mtk_md_prop                     mtk_core_property_type;
typeattribute vendor_mtk_md_version_prop             mtk_core_property_type;
typeattribute vendor_mtk_mediatek_prop               mtk_core_property_type;
typeattribute vendor_mtk_mnld_prop                   mtk_core_property_type;
typeattribute vendor_mtk_modem_warning_prop          mtk_core_property_type;
typeattribute vendor_mtk_net_cdma_mdmstat_prop       mtk_core_property_type;
typeattribute vendor_mtk_nvram_ready_prop            mtk_core_property_type;
typeattribute vendor_mtk_omx_log_prop                mtk_core_property_type;
typeattribute vendor_mtk_operator_id_prop            mtk_core_property_type;
typeattribute vendor_mtk_persist_aeev_prop           mtk_core_property_type;
typeattribute vendor_mtk_persist_mtk_aeev_prop       mtk_core_property_type;
typeattribute vendor_mtk_persist_service_atci_prop   mtk_core_property_type;
typeattribute vendor_mtk_pq_prop                     mtk_core_property_type;
typeattribute vendor_mtk_pq_ro_prop                  mtk_core_property_type;
typeattribute vendor_mtk_radio_prop                  mtk_core_property_type;
typeattribute vendor_mtk_rat_config_prop             mtk_core_property_type;
typeattribute vendor_mtk_ril_active_md_prop          mtk_core_property_type;
typeattribute vendor_mtk_ril_cdma_report_prop        mtk_core_property_type;
typeattribute vendor_mtk_ril_ipo_prop                mtk_core_property_type;
typeattribute vendor_mtk_ril_mode_prop               mtk_core_property_type;
typeattribute vendor_mtk_ril_mux_report_case_prop    mtk_core_property_type;
typeattribute vendor_mtk_ro_aee_prop                 mtk_core_property_type;
typeattribute vendor_mtk_service_nvram_init_prop     mtk_core_property_type;
typeattribute vendor_mtk_simswitch_emmode_prop       mtk_core_property_type;
typeattribute vendor_mtk_smsformat_prop              mtk_core_property_type;
typeattribute vendor_mtk_ss_vendor_prop              mtk_core_property_type;
typeattribute vendor_mtk_tel_switch_prop             mtk_core_property_type;
typeattribute vendor_mtk_testsim_cardtype_prop       mtk_core_property_type;
typeattribute vendor_mtk_usb_otg_switch_prop         mtk_core_property_type;
typeattribute vendor_mtk_vdec_log_prop               mtk_core_property_type;
typeattribute vendor_mtk_vdectlc_log_prop            mtk_core_property_type;
typeattribute vendor_mtk_venc_h264_showlog_prop      mtk_core_property_type;
typeattribute vendor_mtk_voicerecgnize_prop          mtk_core_property_type;
typeattribute vendor_mtk_volte_prop                  mtk_core_property_type;
typeattribute vendor_mtk_wifi_hotspot_prop           mtk_core_property_type;
typeattribute vendor_mtk_wmt_prop                    mtk_core_property_type;
typeattribute vendor_mtk_gpu_prop                    mtk_core_property_type;
typeattribute vendor_mtk_sensor_prop                 mtk_core_property_type;