• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ==============================================
2# MTK Policy Rule
3# ==============================================
4
5type devmap_device, dev_type;
6type ttyMT_device, dev_type;
7type ttyS_device, dev_type;
8type ttySDIO_device, dev_type;
9type vmodem_device, dev_type;
10type stpwmt_device, dev_type;
11type wmtdetect_device, dev_type;
12type wmtWifi_device, dev_type;
13type stpbt_device, dev_type;
14type fw_log_bt_device, dev_type;
15type stpant_device, dev_type;
16type fm_device, dev_type;
17type stpgps_device, dev_type;
18type gpsdl_device, dev_type;
19type fw_log_gps_device, dev_type;
20type fw_log_wmt_device, dev_type;
21type fw_log_wifi_device, dev_type;
22type pmem_multimedia_device, dev_type;
23type mt6516_isp_device, dev_type;
24type mt6516_IDP_device, dev_type;
25type mt9p012_device, dev_type;
26type mt6516_jpeg_device, dev_type;
27type FM50AF_device, dev_type;
28type DW9714AF_device, dev_type;
29type DW9814AF_device, dev_type;
30type AK7345AF_device, dev_type;
31type DW9714A_device, dev_type;
32type LC898122AF_device, dev_type;
33type LC898212AF_device, dev_type;
34type BU6429AF_device, dev_type;
35type AD5820AF_device, dev_type;
36type DW9718AF_device, dev_type;
37type BU64745GWZAF_device, dev_type;
38type MAINAF_device, dev_type;
39type MAIN2AF_device, dev_type;
40type SUBAF_device, dev_type;
41type M4U_device_device, dev_type;
42type Vcodec_device, dev_type;
43type MJC_device, dev_type;
44type smartpa_device, dev_type;
45type smartpa1_device, dev_type;
46type uio0_device, dev_type;
47type xt_qtaguid_device, dev_type;
48type rfkill_device, dev_type;
49type sw_sync_device, dev_type, mlstrustedobject;
50type sec_device, dev_type;
51type hid_keyboard_device, dev_type;
52type btn_device, dev_type;
53type uinput_device, dev_type;
54type TV_out_device, dev_type;
55type gz_device, dev_type;
56type camera_sysram_device, dev_type;
57type camera_isp_device, dev_type;
58type camera_dip_device, dev_type;
59type camera_dpe_device, dev_type;
60type camera_tsf_device, dev_type;
61type camera_fdvt_device, dev_type;
62type camera_rsc_device, dev_type;
63type camera_gepf_device, dev_type;
64type camera_wpe_device, dev_type;
65type camera_owe_device, dev_type;
66type camera_mfb_device, dev_type;
67type camera_pipemgr_device, dev_type;
68type ccu_device, dev_type;
69type vpu_device, dev_type, mlstrustedobject;
70type mdla_device, dev_type, mlstrustedobject;
71type mtk_jpeg_device, dev_type;
72type kd_camera_hw_device, dev_type;
73type seninf_device, dev_type;
74type kd_camera_flashlight_device, dev_type;
75type flashlight_device, dev_type;
76type kd_camera_hw_bus2_device, dev_type;
77type MATV_device, dev_type;
78type mt_otg_test_device, dev_type;
79type mt_mdp_device, dev_type;
80type mtkg2d_device, dev_type;
81type misc_sd_device, dev_type;
82type mtk_sched_device, dev_type;
83type ampc0_device, dev_type;
84type mmp_device, dev_type;
85type ttyGS_device, dev_type;
86type CAM_CAL_DRV_device, dev_type;
87type CAM_CAL_DRV1_device, dev_type;
88type CAM_CAL_DRV2_device, dev_type;
89type MTK_SMI_device, dev_type;
90type mtk_cmdq_device, dev_type;
91type mtk_mdp_device, dev_type;
92type mtk_rrc_device, dev_type;
93type ebc_device, dev_type;
94type vow_device, dev_type;
95type MT6516_H264_DEC_device, dev_type;
96type MT6516_Int_SRAM_device, dev_type;
97type MT6516_MM_QUEUE_device, dev_type;
98type MT6516_MP4_DEC_device, dev_type;
99type MT6516_MP4_ENC_device, dev_type;
100type sensor_device, dev_type;
101type aed_device, dev_type;
102type ccci_device, dev_type;
103type ccci_monitor_device, dev_type;
104type gsm0710muxd_device, dev_type;
105type eemcs_device, dev_type;
106type emd_device, dev_type;
107type mt6605_device, dev_type;
108type st21nfc_device, dev_type;
109type st54spi_device, dev_type;
110type exm0_device, dev_type;
111type mmcblk_device, dev_type;
112type BOOT_device, dev_type;
113type MT_pmic_device, dev_type;
114type aal_als_device, dev_type;
115type accdet_device, dev_type;
116type android_device, dev_type;
117type bmtpool_device, dev_type;
118type bootimg_device, dev_type;
119type btif_device, dev_type;
120type cache_device, dev_type;
121type cpu_dma_latency_device, dev_type;
122type dummy_cam_cal_device, dev_type;
123type ebr_device, dev_type;
124type expdb_device, dev_type;
125type fat_device, dev_type;
126type logo_device, dev_type;
127type loop-control_device, dev_type;
128type mbr_device, dev_type;
129type met_device, dev_type;
130type misc_device, dev_type;
131type misc2_device, dev_type;
132type mtfreqhopping_device, dev_type;
133type mtgpio_device, dev_type;
134type mtk_kpd_device, dev_type;
135type network_device, dev_type;
136type nvram_device, dev_type;
137type pmt_device, dev_type;
138type preloader_device, dev_type;
139type pro_info_device, dev_type;
140type protect_f_device, dev_type;
141type protect_s_device, dev_type;
142type psaux_device, dev_type;
143type ptyp_device, dev_type;
144type recovery_device, dev_type;
145type sec_ro_device, dev_type;
146type seccfg_device, dev_type;
147type tee_part_device, dev_type;
148type snapshot_device, dev_type;
149type tgt_device, dev_type;
150type touch_device, dev_type;
151type tpd_em_log_device, dev_type;
152type ttyp_device, dev_type;
153type uboot_device, dev_type;
154type uibc_device, dev_type;
155type usrdata_device, dev_type;
156type zram0_device, dev_type;
157type hwzram0_device, dev_type;
158type RT_Monitor_device, dev_type;
159type kick_powerkey_device, dev_type;
160type agps_device, dev_type;
161type mnld_device, dev_type;
162type geo_device, dev_type;
163type mdlog_device, dev_type;
164type md32_device, dev_type;
165type scp_device, dev_type;
166type adsp_device, dev_type;
167type audio_scp_device, dev_type;
168type sspm_device, dev_type;
169type etb_device, dev_type;
170type MT_pmic_adc_cali_device, dev_type;
171type mtk-adc-cali_device, dev_type;
172type MT_pmic_cali_device,dev_type;
173type otp_device, dev_type;
174type otp_part_block_device, dev_type;
175type qemu_pipe_device, dev_type;
176type icusb_device, dev_type;
177type nlop_device, dev_type;
178type irtx_device, dev_type;
179type pmic_ftm_device, dev_type;
180type charger_ftm_device, dev_type;
181type shf_device, dev_type;
182type keyblock_device, dev_type;
183type offloadservice_device, dev_type;
184type ttyACM_device, dev_type;
185type hrm_device, dev_type;
186type lens_device, dev_type;
187type nvdata_device, dev_type;
188type nvcfg_device, dev_type;
189type expdb_block_device, dev_type;
190type misc2_block_device, dev_type;
191type logo_block_device, dev_type;
192type para_block_device, dev_type;
193type tee_block_device, dev_type;
194type seccfg_block_device, dev_type;
195type secro_block_device, dev_type;
196type preloader_block_device, dev_type;
197type lk_block_device, dev_type;
198type protect1_block_device, dev_type;
199type protect2_block_device, dev_type;
200type keystore_block_device, dev_type;
201type oemkeystore_block_device, dev_type;
202type sec1_block_device, dev_type;
203type md1img_block_device, dev_type;
204type md1dsp_block_device, dev_type;
205type md1arm7_block_device, dev_type;
206type md3img_block_device, dev_type;
207type mmcblk1_block_device, dev_type;
208type mmcblk1p1_block_device, dev_type;
209type bootdevice_block_device, dev_type;
210type odm_block_device, dev_type;
211type oem_block_device, dev_type;
212type vendor_block_device, dev_type;
213type dtbo_block_device, dev_type;
214type loader_ext_block_device, dev_type;
215type spm_device, dev_type;
216type persist_block_device, dev_type;
217type md_block_device, dev_type;
218type spmfw_block_device, dev_type;
219type mcupmfw_block_device, dev_type;
220type scp_block_device, dev_type;
221type sspm_block_device, dev_type;
222type dsp_block_device, dev_type;
223type ppl_block_device, dev_type;
224type nvcfg_block_device, dev_type;
225type ancservice_device, dev_type;
226type mbim_device, dev_type;
227type audio_ipi_device, dev_type;
228type cam_vpu_block_device,dev_type;
229type boot_para_block_device,dev_type;
230type mtk_dfrc_device, dev_type;
231type vbmeta_block_device, dev_type;
232type alarm_device, dev_type;
233type mdp_device, dev_type;
234type mrdump_device, dev_type;
235type kb_block_device,dev_type;
236type dkb_block_device,dev_type;
237
238##########################
239# Sensor common Devices Start
240#
241type hwmsensor_device, dev_type;
242type msensor_device, dev_type;
243type gsensor_device, dev_type;
244type als_ps_device, dev_type;
245type gyroscope_device, dev_type;
246type barometer_device,dev_type;
247type humidity_device,dev_type;
248type biometric_device,dev_type;
249type sensorlist_device,dev_type;
250##########################
251# Sensor Devices Start
252#
253type m_batch_misc_device, dev_type;
254##########################
255# Sensor bio Devices Start
256#
257type m_als_misc_device, dev_type;
258type m_ps_misc_device, dev_type;
259type m_baro_misc_device, dev_type;
260type m_hmdy_misc_device, dev_type;
261type m_acc_misc_device, dev_type;
262type m_mag_misc_device, dev_type;
263type m_gyro_misc_device, dev_type;
264type m_act_misc_device, dev_type;
265type m_pedo_misc_device, dev_type;
266type m_situ_misc_device, dev_type;
267type m_step_c_misc_device, dev_type;
268type m_fusion_misc_device, dev_type;
269type m_bio_misc_device, dev_type;
270
271# Date : 2016/07/11
272# Operation : Migration
273# Purpose : Add permission for gpu access
274type dri_device, dev_type, mlstrustedobject;
275