android_device_oneplus_dre/sepolicy/vendor/hal_camera_default.te
Albert Tang 40c5487ca9 dre: sepolicy: Remove OP charger feature
OnePlus does not ship their DASH/Warp Charging feature with the N200.
Their 18W block is most likely just a rebranded QTI charger.

Change-Id: I176b3bd91877943f76b0db6e146ea845e0bf2d55
2022-06-06 21:01:30 -05:00

26 lines
1 KiB
Text

hal_client_domain(hal_camera_default, hal_cameraHIDL)
allow hal_camera_default mnt_vendor_file:dir w_dir_perms;
allow hal_camera_default mnt_vendor_file:file create_file_perms;
allow hal_camera_default oem_file:dir w_dir_perms;
allow hal_camera_default oem_file:file create_file_perms;
allow hal_camera_default vendor_persist_file:dir w_dir_perms;
allow hal_camera_default vendor_persist_file:file create_file_perms;
allow hal_camera_default input_device:dir r_dir_perms;
allow hal_camera_default input_device:chr_file r_file_perms;
allow hal_camera_default proc_meminfo:file r_file_perms;
allow hal_camera_default sysfs_ois_control:dir r_dir_perms;
allow hal_camera_default sysfs_ois_control:file rw_file_perms;
allow hal_camera_default sysfs_tof_control:dir r_dir_perms;
allow hal_camera_default sysfs_tof_control:file rw_file_perms;
get_prop(hal_camera_default, ctl_default_prop)
get_prop(hal_camera_default, vendor_db_security_prop)
get_prop(hal_camera_default, vendor_mmi_prop)
set_prop(hal_camera_default, vendor_sys_op_prop)