android_device_tecno_LG8n/sepolicy/vendor/file_contexts
Shirayuki39 fd4386001b LG8n: sepolicy: Add Sepolicy for lights-service.transsion
Co-authored-by: dodyirawan85 <dev.irawans@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-08-30 00:39:14 +08:00

55 lines
3.9 KiB
Plaintext

# Camera
/dev/cml421_ois(/.*)? u:object_r:cml421_ois_device:s0
/dev/cwvi5300 u:object_r:cwvi5300_device:s0
/data/vendor/anc_yuvnight/working_dir(/.*)? u:object_r:vendor_megvii_data_file:s0
/data/vendor/arcsoft(/.*)? u:object_r:vendor_arcsoft_data_file:s0
/data/vendor/camera_watermark(/.*)? u:object_r:vendor_watermark_data_file:s0
/data/vendor/multicam(/.*)? u:object_r:transsion_camera_data_file:s0
# Data
/data/storage_dbg(/.*)? u:object_r:storage_dbg_data_file:s0
# Extcon
/sys/devices/platform/extcon_usb/extcon/extcon0/cable.1/state u:object_r:sysfs_OTG_STATE_file:s0
# Fingerprint
/dev/fortsense_fp u:object_r:fingerprint_device:s0
/(system\/vendor|vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.fptool\.fingerprint@2\.0-service u:object_r:hal_fingerprint_default_exec:s0
/sys/kernel/tran_fp(/.*)? u:object_r:sysfs_fp_name_path:s0
/data/vendor/goodix/gf_data(/.*)? u:object_r:vendor_gf_data_file:s0
# Health
/(vendor|system\/vendor)/bin/hw/android\.hardware\.health@2\.1-service u:object_r:hal_health_default_exec:s0
# Lights
/(vendor|system/vendor)/bin/hw/android\.hardware\.lights-service\.transsion u:object_r:hal_light_default_exec:s0
# NFC
/dev/pn54x u:object_r:nfc_device:s0
/dev/pn553 u:object_r:nfc_device:s0
/dev/nxpnfc u:object_r:nfc_device:s0
# Power
/sys/devices/platform/soc/11017000.i2c/i2c-5/5-0053/power_supply/charger(/.*)? u:object_r:sysfs_batteryinfo:s0
# Sensor stuff
/(vendor|system\/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service(\.multihal)? u:object_r:hal_sensors_default_exec:s0
# Trancam
/(system\/vendor|vendor)/bin/hw/vendor\.transsion\.hardware\.trancam\.trancamserver@1\.0-service u:object_r:trancamserver_exec:s0
/sys/devices/platform/(odm/odm:tran_battery|tran_battery)/tran_cam u:object_r:sysfs_tran_cam_file:s0
# Tranfs
/dev/block/sdc62 u:object_r:tranfs_block_device:s0
# Vibrator
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator-service\.transsion u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator-service.example u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service-mediatek u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service-mediatek-lazy u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator-service\.example u:object_r:hal_vibrator_default_exec:s0
/(vendor|system\/vendor)/bin/hw/android\.hardware\.vibrator-service\.mediatek u:object_r:hal_vibrator_default_exec:s0
/sys/devices/platform/soc/1101a000.i2c/i2c-6/6-005a/leds/vibrator_single(/.*)? u:object_r:sysfs_vibrator:s0