[ALPS04079884] FRHandler P0 migration
[Detail] 1) device/mediatek/sepolicy/[basic|bsp] --> /dev/gz_kree SELinux rule enabling 2) device/mediatek/mt6771 --> gz_kree file-mode, FRHandler package add-on, FRHandler manifest.xml 3) vendor/../hardware/interfaces --> add IFRHandler hal 4) [mtkcam] --> FRHandler CA 5) device/mediatekprojects --> enlarge k71v1_64_bsp_as GZ-img to 24MB 6) [geniezone]/prebuilts/libs --> put empty-model FRlib to avoid GZ-img >16MB, need to manually update FRlib for testing 7) [geniezone]/trusty/app/fralgo --> FRHandler TA part 8) [geniezone]/trusty/device/arm/mediatek --> use project-name to include fralgo or not [Solution] as detail MTK-Commit-Id: b451be02f7f719bc8490d2343d9dc67cc9c8f122 Change-Id: I34a380691b8a2b10b1b5c26581cc4a38e96f1251 CR-Id: ALPS04079884 Feature: [Android Default] Camera Application Basic Functions
This commit is contained in:
parent
11bf606dc5
commit
50e4268f54
@ -51,6 +51,7 @@ type hid_keyboard_device, dev_type;
|
||||
type btn_device, dev_type;
|
||||
type uinput_device, dev_type;
|
||||
type TV_out_device, dev_type;
|
||||
type gz_device, dev_type;
|
||||
type camera_sysram_device, dev_type;
|
||||
type camera_isp_device, dev_type;
|
||||
type camera_dip_device, dev_type;
|
||||
|
@ -112,6 +112,7 @@
|
||||
/dev/CAM_CAL_DRV(/.*)? u:object_r:CAM_CAL_DRV_device:s0
|
||||
/dev/CAM_CAL_DRV1(/.*)? u:object_r:CAM_CAL_DRV1_device:s0
|
||||
/dev/CAM_CAL_DRV2(/.*)? u:object_r:CAM_CAL_DRV2_device:s0
|
||||
/dev/gz_kree(/.*)? u:object_r:gz_device:s0
|
||||
/dev/camera-fdvt(/.*)? u:object_r:camera_fdvt_device:s0
|
||||
/dev/camera-isp(/.*)? u:object_r:camera_isp_device:s0
|
||||
/dev/camera-dip(/.*)? u:object_r:camera_dip_device:s0
|
||||
|
@ -301,3 +301,8 @@ allow mtk_hal_camera nvcfg_file:dir create_dir_perms;
|
||||
allow mtk_hal_camera nvcfg_file:file { read write getattr setattr open create };
|
||||
allow mtk_hal_camera mnt_vendor_file:dir search;
|
||||
allow mtk_hal_camera mnt_vendor_file:file create_file_perms;
|
||||
|
||||
# Date : WK18.35
|
||||
# Purpose: allow mtk_hal_camera to access gz_device node
|
||||
allow mtk_hal_camera gz_device:chr_file rw_file_perms;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user