sm8450-common: sepolicy: Update from mondrian V14.0.5.0.TMNMIXM
Change-Id: I6aace666658b82ae3bcd63be5756ecfe71ce091a
This commit is contained in:
parent
d921c96ffd
commit
6ed022ec9d
7 changed files with 24 additions and 0 deletions
1
sepolicy/vendor/file.te
vendored
1
sepolicy/vendor/file.te
vendored
|
@ -39,6 +39,7 @@ type thermal_data_file, data_file_type, file_type;
|
|||
|
||||
# Touchscreen
|
||||
type proc_tp_file, fs_type, proc_type;
|
||||
type proc_tp_lockdown, fs_type, proc_type;
|
||||
type sysfs_touch_hostprocess, fs_type, sysfs_type;
|
||||
type sysfs_touch_suspend, fs_type, sysfs_type;
|
||||
type sysfs_tp_fodstatus, fs_type, sysfs_type;
|
||||
|
|
4
sepolicy/vendor/file_contexts
vendored
4
sepolicy/vendor/file_contexts
vendored
|
@ -118,6 +118,7 @@
|
|||
/(vendor|system/vendor)/bin/touch_report u:object_r:touchreport_exec:s0
|
||||
/data/vendor/touch(/.*)? u:object_r:vendor_data_touchreport_file:s0
|
||||
/dev/xiaomi-touch u:object_r:touchfeature_device:s0
|
||||
/sys/devices/virtual/touch/touch_dev/abnormal_event u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/clicktouch_raw u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/ear_sensor u:object_r:sysfs_tp_virtual_prox:s0
|
||||
/sys/devices/virtual/touch/touch_dev/ear_sensor_data u:object_r:sysfs_tp_virtual_prox:s0
|
||||
|
@ -129,6 +130,9 @@
|
|||
/sys/devices/virtual/touch/touch_dev/rx_num u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/suspend_state u:object_r:sysfs_touch_suspend:s0
|
||||
/sys/devices/virtual/touch/touch_dev/touch_doze_analysis u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/touch_ic_buffer u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/touch_sensor u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/touch_sensor_ctrl u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/touch_thp_(.*) u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/tx_num u:object_r:sysfs_touch_hostprocess:s0
|
||||
/sys/devices/virtual/touch/touch_dev/update_rawdata u:object_r:sysfs_touch_hostprocess:s0
|
||||
|
|
10
sepolicy/vendor/genfs_contexts
vendored
10
sepolicy/vendor/genfs_contexts
vendored
|
@ -13,6 +13,9 @@ genfscon sysfs /devices/platform/soc/soc:fingerprint_goodix/wakeup u:object_r:sy
|
|||
|
||||
# Touchscreen
|
||||
genfscon proc /tp_hal_version u:object_r:proc_tp_file:s0
|
||||
genfscon proc /tp_lockdown_info u:object_r:proc_tp_lockdown:s0
|
||||
genfscon sysfs /devices/platform/goodix_ts.0/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/abnormal_event u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/clicktouch_raw u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/ear_sensor u:object_r:sysfs_tp_virtual_prox:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/ear_sensor_data u:object_r:sysfs_tp_virtual_prox:s0
|
||||
|
@ -26,16 +29,23 @@ genfscon sysfs /devices/virtual/touch/touch_dev/suspend_state u:object_r:sysfs_t
|
|||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_active_status u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_doze_analysis u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_finger_status u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_ic_buffer u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_irq_no u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_sensor_ctrl u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_cmd u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_cmd_ready u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_downthd u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_dump u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_dump_data u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_islandthd u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_mem_notify u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_movethd u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_noisefilter u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_preset_point u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_rx_num u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_smooth u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_testmode u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_testresult u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_tx_num u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_upthd u:object_r:sysfs_touch_hostprocess:s0
|
||||
genfscon sysfs /devices/virtual/touch/touch_dev/touch_thp_x_resolution u:object_r:sysfs_touch_hostprocess:s0
|
||||
|
|
1
sepolicy/vendor/hal_camera_default.te
vendored
1
sepolicy/vendor/hal_camera_default.te
vendored
|
@ -34,4 +34,5 @@ r_dir_file(hal_camera_default, camera_persist_file)
|
|||
r_dir_file(hal_camera_default, vendor_persist_sensors_file)
|
||||
hal_server_domain(hal_camera_default, vendor_hal_camerapostproc_xiaomi)
|
||||
add_hwservice(hal_camera_server, vendor_hal_camerapostproc_xiaomi_hwservice)
|
||||
set_prop(hal_camera_default, vendor_camera_p3enable_prop)
|
||||
set_prop(hal_camera_default, vendor_camera_sensor_prop)
|
||||
|
|
1
sepolicy/vendor/hal_nfc.te
vendored
1
sepolicy/vendor/hal_nfc.te
vendored
|
@ -1,3 +1,4 @@
|
|||
allow hal_nfc_default vendor_nfc_vendor_data_file:dir create_dir_perms;
|
||||
allow hal_nfc_default vendor_data_file:dir rw_dir_perms;
|
||||
allow hal_nfc_default vendor_data_file:file { create rw_file_perms };
|
||||
get_prop(hal_nfc_default, vendor_nfc_mi_prop)
|
||||
|
|
1
sepolicy/vendor/property.te
vendored
1
sepolicy/vendor/property.te
vendored
|
@ -1,4 +1,5 @@
|
|||
# Camera
|
||||
vendor_public_prop(vendor_camera_p3enable_prop)
|
||||
vendor_public_prop(vendor_camera_sensor_prop)
|
||||
|
||||
# DDR
|
||||
|
|
6
sepolicy/vendor/property_contexts
vendored
6
sepolicy/vendor/property_contexts
vendored
|
@ -1,4 +1,5 @@
|
|||
# Camera
|
||||
persist.vendor.EnableP3ColorSpace u:object_r:vendor_camera_p3enable_prop:s0
|
||||
vendor.camera.sensor. u:object_r:vendor_camera_sensor_prop:s0
|
||||
|
||||
# DDR
|
||||
|
@ -24,6 +25,7 @@ persist.vendor.displayfeature.video.pq.type u:object_r:vendor_displayfeature_pro
|
|||
persist.vendor.dolbyvision.flat_on u:object_r:vendor_displayfeature_prop:s0
|
||||
persist.vendor.fod.modified.dc_status u:object_r:vendor_displayfeature_prop:s0
|
||||
persist.vendor.max.brightness u:object_r:vendor_displayfeature_prop:s0
|
||||
persist.vendor.mi_sf. u:object_r:vendor_displayfeature_prop:s0
|
||||
persist.vendor.power.dfps.level u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.all_modes.colorpick_adjust u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.aod.brightness.cust u:object_r:vendor_displayfeature_prop:s0
|
||||
|
@ -44,6 +46,7 @@ ro.vendor.display.dual_builtin_disp u:object_r:vendor_displayfeature_prop:s0
|
|||
#ro.vendor.display.dynamic_refresh_rate u:object_r:vendor_promotion_prop:s0
|
||||
ro.vendor.display.expert_calib.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.fod_monitor_default_fps u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.framework_thermal_dimming u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.hwc_thermal_dimming u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.idle_default_fps u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.idle_default_fps.support u:object_r:vendor_displayfeature_prop:s0
|
||||
|
@ -52,6 +55,7 @@ ro.vendor.display.ltpo.powerfull.with.charger.support u:object_r:vendor_displayf
|
|||
ro.vendor.display.ltpo.sync.tp u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.ltpo.tp.idle.lowbrightness.support u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.mi_calib.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.mode_change_optimize.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.nature_mode.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.papercontrast.opt u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.display.primary.fps.limit u:object_r:vendor_displayfeature_prop:s0
|
||||
|
@ -78,6 +82,7 @@ ro.vendor.hist.threshold u:object_r:vendor_displayfeature_prop:s0
|
|||
ro.vendor.histogram.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.localhbm.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.media.video.style.support u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.mi_sf. u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.need.check.cup.hbm.coverlayer.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.pcc.dc.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
ro.vendor.sdr2hdr.by.layer.support u:object_r:vendor_displayfeature_prop:s0
|
||||
|
@ -95,6 +100,7 @@ vendor.display.enable_fb_scaling u:object_r:vendor_displayfeature_prop:s0
|
|||
vendor.display.hwc_backlight.support u:object_r:vendor_displayfeature_prop:s0
|
||||
vendor.displayfeature.entry.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
vendor.hbm.enable u:object_r:vendor_displayfeature_prop:s0
|
||||
vendor.mi_sf. u:object_r:vendor_displayfeature_prop:s0
|
||||
vendor.video.mode.status u:object_r:vendor_displayfeature_prop:s0
|
||||
|
||||
# Dolby
|
||||
|
|
Loading…
Reference in a new issue