• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ==============================================
2# MTK Policy Rule
3# ==============================================
4
5# system_internal_prop      -- Properties used only in /system
6# system_restricted_prop    -- Properties which can't be written outside system
7# system_public_prop        -- Properties with no restrictions
8# system_vendor_config_prop -- Properties which can be written only by vendor_init
9# vendor_internal_prop      -- Properties used only in /vendor
10# vendor_restricted_prop    -- Properties which can't be written outside vendor
11# vendor_public_prop        -- Properties with no restrictions
12
13# TODO: Remove after fixing Modem SEPolicy
14vendor_internal_prop(ril_mux_report_case_prop)
15vendor_internal_prop(ctl_muxreport-daemon_prop)
16vendor_internal_prop(usp_prop)
17vendor_internal_prop(mtk_default_prop)
18
19# Properties used only in /vendor
20vendor_internal_prop(vendor_mtk_ctl_ccci2_fsd_prop)
21vendor_internal_prop(vendor_mtk_ctl_ccci3_fsd_prop)
22vendor_internal_prop(vendor_mtk_ctl_ccci_fsd_prop)
23vendor_internal_prop(vendor_mtk_ctl_fusion_ril_mtk_prop)
24vendor_internal_prop(vendor_mtk_ctl_gsm0710muxd_prop)
25vendor_internal_prop(vendor_mtk_ctl_muxreport-daemon_prop)
26vendor_internal_prop(vendor_mtk_ctl_ril-daemon-mtk_prop)
27vendor_internal_prop(vendor_mtk_ctl_ril-proxy_prop)
28vendor_internal_prop(vendor_mtk_ctl_viarild_prop)
29vendor_internal_prop(vendor_mtk_powerhal_prop)
30vendor_internal_prop(vendor_mtk_wfc_serv_prop)
31
32# Properties which can't be written outside vendor
33vendor_restricted_prop(vendor_mtk_aal_ro_prop)
34vendor_restricted_prop(vendor_mtk_anr_support_prop)
35vendor_restricted_prop(vendor_mtk_antutu_prop)
36vendor_restricted_prop(vendor_mtk_appresolutiontuner_prop)
37vendor_restricted_prop(vendor_mtk_atci_prop)
38vendor_restricted_prop(vendor_mtk_atm_ipaddr_prop)
39vendor_restricted_prop(vendor_mtk_atm_mdmode_prop)
40vendor_restricted_prop(vendor_mtk_audiohal_prop)
41vendor_restricted_prop(vendor_mtk_bt_sap_enable_prop)
42vendor_restricted_prop(vendor_mtk_coredump_prop)
43vendor_restricted_prop(vendor_mtk_ct_ir_engmode_prop)
44vendor_restricted_prop(vendor_mtk_ct_volte_prop)
45vendor_restricted_prop(vendor_mtk_cxp_vendor_prop)
46vendor_restricted_prop(vendor_mtk_debug_md_reset_prop)
47vendor_restricted_prop(vendor_mtk_debug_mtk_aeev_prop)
48vendor_restricted_prop(vendor_mtk_default_prop)
49vendor_restricted_prop(vendor_mtk_disable_c2k_cap_prop)
50vendor_restricted_prop(vendor_mtk_dsbp_support_prop)
51vendor_restricted_prop(vendor_mtk_em_hidl_prop)
52vendor_restricted_prop(vendor_mtk_emmc_support_prop)
53vendor_restricted_prop(vendor_mtk_em_prop)
54vendor_restricted_prop(vendor_mtk_em_usb_prop)
55vendor_restricted_prop(vendor_mtk_factory_idle_state_prop)
56vendor_restricted_prop(vendor_mtk_fullscreenswitch_prop)
57vendor_restricted_prop(vendor_mtk_gprs_prefer_prop)
58vendor_restricted_prop(vendor_mtk_gps_support_prop)
59vendor_restricted_prop(vendor_mtk_graphics_hwc_hdr_prop)
60vendor_restricted_prop(vendor_mtk_graphics_hwc_latch_unsignaled_prop)
61vendor_restricted_prop(vendor_mtk_graphics_hwc_pid_prop)
62vendor_restricted_prop(vendor_mtk_graphics_hwc_validate_separate_prop)
63vendor_restricted_prop(vendor_mtk_gsm0710muxd_prop)
64vendor_restricted_prop(vendor_mtk_hdmi_prop)
65vendor_restricted_prop(vendor_mtk_imstestmode_prop)
66vendor_restricted_prop(vendor_mtk_malloc_debug_backtrace_prop)
67vendor_restricted_prop(vendor_mtk_md_prop)
68vendor_restricted_prop(vendor_mtk_md_version_prop)
69vendor_restricted_prop(vendor_mtk_mediatek_prop)
70vendor_restricted_prop(vendor_mtk_meta_connecttype_prop)
71vendor_restricted_prop(vendor_mtk_mnld_prop)
72vendor_restricted_prop(vendor_mtk_modem_warning_prop)
73vendor_restricted_prop(vendor_mtk_net_cdma_mdmstat_prop)
74vendor_restricted_prop(vendor_mtk_nn_option_prop)
75vendor_restricted_prop(vendor_mtk_gbe_prop)
76vendor_restricted_prop(vendor_mtk_nvram_ready_prop)
77vendor_restricted_prop(vendor_mtk_omx_log_prop)
78vendor_restricted_prop(vendor_mtk_operator_id_prop)
79vendor_restricted_prop(vendor_mtk_persist_aeev_prop)
80vendor_restricted_prop(vendor_mtk_persist_mtk_aeev_prop)
81vendor_restricted_prop(vendor_mtk_persist_service_atci_prop)
82vendor_restricted_prop(vendor_mtk_pq_prop)
83vendor_restricted_prop(vendor_mtk_pq_ro_prop)
84vendor_restricted_prop(vendor_mtk_radio_prop)
85vendor_restricted_prop(vendor_mtk_rat_config_prop)
86vendor_restricted_prop(vendor_mtk_ril_active_md_prop)
87vendor_restricted_prop(vendor_mtk_ril_cdma_report_prop)
88vendor_restricted_prop(vendor_mtk_ril_ipo_prop)
89vendor_restricted_prop(vendor_mtk_ril_mode_prop)
90vendor_restricted_prop(vendor_mtk_ril_mux_report_case_prop)
91vendor_restricted_prop(vendor_mtk_ro_aee_prop)
92vendor_restricted_prop(vendor_mtk_service_nvram_init_prop)
93vendor_restricted_prop(vendor_mtk_simswitch_emmode_prop)
94vendor_restricted_prop(vendor_mtk_smsformat_prop)
95vendor_restricted_prop(vendor_mtk_ss_vendor_prop)
96vendor_restricted_prop(vendor_mtk_telephony_sensitive_prop)
97vendor_restricted_prop(vendor_mtk_tel_switch_prop)
98vendor_restricted_prop(vendor_mtk_testsim_cardtype_prop)
99vendor_restricted_prop(vendor_mtk_thermal_config_prop)
100vendor_restricted_prop(vendor_mtk_usb_otg_switch_prop)
101vendor_restricted_prop(vendor_mtk_usb_prop)
102vendor_restricted_prop(vendor_mtk_vdec_log_prop)
103vendor_restricted_prop(vendor_mtk_vdectlc_log_prop)
104vendor_restricted_prop(vendor_mtk_venc_h264_showlog_prop)
105vendor_restricted_prop(vendor_mtk_voicerecgnize_prop)
106vendor_restricted_prop(vendor_mtk_volte_prop)
107vendor_restricted_prop(vendor_mtk_wifi_hotspot_prop)
108vendor_restricted_prop(vendor_mtk_wmt_prop)
109vendor_restricted_prop(vendor_mtk_gpu_prop)
110vendor_restricted_prop(vendor_mtk_sensor_prop)
111
112# Properties with can be read by all domains
113typeattribute vendor_mtk_aal_ro_prop                 mtk_core_property_type;
114typeattribute vendor_mtk_anr_support_prop            mtk_core_property_type;
115typeattribute vendor_mtk_antutu_prop                 mtk_core_property_type;
116typeattribute vendor_mtk_appresolutiontuner_prop     mtk_core_property_type;
117typeattribute vendor_mtk_atci_prop                   mtk_core_property_type;
118typeattribute vendor_mtk_audiohal_prop               mtk_core_property_type;
119typeattribute vendor_mtk_bt_sap_enable_prop          mtk_core_property_type;
120typeattribute vendor_mtk_coredump_prop               mtk_core_property_type;
121typeattribute vendor_mtk_ct_ir_engmode_prop          mtk_core_property_type;
122typeattribute vendor_mtk_ct_volte_prop               mtk_core_property_type;
123typeattribute vendor_mtk_cxp_vendor_prop             mtk_core_property_type;
124typeattribute vendor_mtk_debug_md_reset_prop         mtk_core_property_type;
125typeattribute vendor_mtk_debug_mtk_aeev_prop         mtk_core_property_type;
126typeattribute vendor_mtk_default_prop                mtk_core_property_type;
127typeattribute vendor_mtk_disable_c2k_cap_prop        mtk_core_property_type;
128typeattribute vendor_mtk_dsbp_support_prop           mtk_core_property_type;
129typeattribute vendor_mtk_em_hidl_prop                mtk_core_property_type;
130typeattribute vendor_mtk_emmc_support_prop           mtk_core_property_type;
131typeattribute vendor_mtk_em_prop                     mtk_core_property_type;
132typeattribute vendor_mtk_em_usb_prop                 mtk_core_property_type;
133typeattribute vendor_mtk_factory_idle_state_prop     mtk_core_property_type;
134typeattribute vendor_mtk_fullscreenswitch_prop       mtk_core_property_type;
135typeattribute vendor_mtk_gprs_prefer_prop            mtk_core_property_type;
136typeattribute vendor_mtk_gps_support_prop            mtk_core_property_type;
137typeattribute vendor_mtk_gsm0710muxd_prop            mtk_core_property_type;
138typeattribute vendor_mtk_hdmi_prop                   mtk_core_property_type;
139typeattribute vendor_mtk_imstestmode_prop            mtk_core_property_type;
140typeattribute vendor_mtk_malloc_debug_backtrace_prop mtk_core_property_type;
141typeattribute vendor_mtk_md_prop                     mtk_core_property_type;
142typeattribute vendor_mtk_md_version_prop             mtk_core_property_type;
143typeattribute vendor_mtk_mediatek_prop               mtk_core_property_type;
144typeattribute vendor_mtk_mnld_prop                   mtk_core_property_type;
145typeattribute vendor_mtk_modem_warning_prop          mtk_core_property_type;
146typeattribute vendor_mtk_net_cdma_mdmstat_prop       mtk_core_property_type;
147typeattribute vendor_mtk_nvram_ready_prop            mtk_core_property_type;
148typeattribute vendor_mtk_omx_log_prop                mtk_core_property_type;
149typeattribute vendor_mtk_operator_id_prop            mtk_core_property_type;
150typeattribute vendor_mtk_persist_aeev_prop           mtk_core_property_type;
151typeattribute vendor_mtk_persist_mtk_aeev_prop       mtk_core_property_type;
152typeattribute vendor_mtk_persist_service_atci_prop   mtk_core_property_type;
153typeattribute vendor_mtk_pq_prop                     mtk_core_property_type;
154typeattribute vendor_mtk_pq_ro_prop                  mtk_core_property_type;
155typeattribute vendor_mtk_radio_prop                  mtk_core_property_type;
156typeattribute vendor_mtk_rat_config_prop             mtk_core_property_type;
157typeattribute vendor_mtk_ril_active_md_prop          mtk_core_property_type;
158typeattribute vendor_mtk_ril_cdma_report_prop        mtk_core_property_type;
159typeattribute vendor_mtk_ril_ipo_prop                mtk_core_property_type;
160typeattribute vendor_mtk_ril_mode_prop               mtk_core_property_type;
161typeattribute vendor_mtk_ril_mux_report_case_prop    mtk_core_property_type;
162typeattribute vendor_mtk_ro_aee_prop                 mtk_core_property_type;
163typeattribute vendor_mtk_service_nvram_init_prop     mtk_core_property_type;
164typeattribute vendor_mtk_simswitch_emmode_prop       mtk_core_property_type;
165typeattribute vendor_mtk_smsformat_prop              mtk_core_property_type;
166typeattribute vendor_mtk_ss_vendor_prop              mtk_core_property_type;
167typeattribute vendor_mtk_tel_switch_prop             mtk_core_property_type;
168typeattribute vendor_mtk_testsim_cardtype_prop       mtk_core_property_type;
169typeattribute vendor_mtk_usb_otg_switch_prop         mtk_core_property_type;
170typeattribute vendor_mtk_vdec_log_prop               mtk_core_property_type;
171typeattribute vendor_mtk_vdectlc_log_prop            mtk_core_property_type;
172typeattribute vendor_mtk_venc_h264_showlog_prop      mtk_core_property_type;
173typeattribute vendor_mtk_voicerecgnize_prop          mtk_core_property_type;
174typeattribute vendor_mtk_volte_prop                  mtk_core_property_type;
175typeattribute vendor_mtk_wifi_hotspot_prop           mtk_core_property_type;
176typeattribute vendor_mtk_wmt_prop                    mtk_core_property_type;
177typeattribute vendor_mtk_gpu_prop                    mtk_core_property_type;
178typeattribute vendor_mtk_sensor_prop                 mtk_core_property_type;
179