sm6150-common: sepolicy: Add fortsense and sunwave fingerprint rules
Change-Id: Icea6d25bde0cb54e3926b009a7b76c264e44c77e
This commit is contained in:
parent
ea5b035f38
commit
50193c8135
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
@ -25,7 +25,9 @@
|
|||||||
/sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0
|
/sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
|
/dev/fortsense_fp u:object_r:fingerprint_device:s0
|
||||||
/dev/goodix_fp u:object_r:fingerprint_device:s0
|
/dev/goodix_fp u:object_r:fingerprint_device:s0
|
||||||
|
/data/vendor/fortsense(/.*)? u:object_r:fingerprint_data_file:s0
|
||||||
/data/vendor/fpc(/.*)? u:object_r:fingerprint_data_file:s0
|
/data/vendor/fpc(/.*)? u:object_r:fingerprint_data_file:s0
|
||||||
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_data_file:s0
|
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_data_file:s0
|
||||||
/data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0
|
/data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0
|
||||||
|
2
sepolicy/vendor/hal_fingerprint_default.te
vendored
2
sepolicy/vendor/hal_fingerprint_default.te
vendored
@ -1,4 +1,5 @@
|
|||||||
type hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
|
type hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
|
||||||
|
type hal_swfingerprint_hwservice, hwservice_manager_type;
|
||||||
type fingerprint_device, dev_type;
|
type fingerprint_device, dev_type;
|
||||||
type fingerprint_data_file, data_file_type, file_type;
|
type fingerprint_data_file, data_file_type, file_type;
|
||||||
type vendor_sysfs_fod, sysfs_type, fs_type;
|
type vendor_sysfs_fod, sysfs_type, fs_type;
|
||||||
@ -24,3 +25,4 @@ set_prop(hal_fingerprint_default, vendor_fp_prop)
|
|||||||
hal_client_domain(hal_fingerprint_default, vendor_hal_perf)
|
hal_client_domain(hal_fingerprint_default, vendor_hal_perf)
|
||||||
|
|
||||||
add_hwservice(hal_fingerprint_default, hal_fingerprint_hwservice_xiaomi)
|
add_hwservice(hal_fingerprint_default, hal_fingerprint_hwservice_xiaomi)
|
||||||
|
add_hwservice(hal_fingerprint_default, hal_swfingerprint_hwservice)
|
||||||
|
1
sepolicy/vendor/hwservice_contexts
vendored
1
sepolicy/vendor/hwservice_contexts
vendored
@ -1,2 +1,3 @@
|
|||||||
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_hwservice_xiaomi:s0
|
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_hwservice_xiaomi:s0
|
||||||
|
vendor.sw.swfingerprint::ISwfingerprint u:object_r:hal_swfingerprint_hwservice:s0
|
||||||
vendor.xiaomi.hardware.fingerprintextension::IXiaomiFingerprint u:object_r:hal_fingerprint_hwservice_xiaomi:s0
|
vendor.xiaomi.hardware.fingerprintextension::IXiaomiFingerprint u:object_r:hal_fingerprint_hwservice_xiaomi:s0
|
||||||
|
Loading…
Reference in New Issue
Block a user