Merge "Face Virtual HAL lockout support" into main
This commit is contained in:
commit
6f873ffe82
2 changed files with 12 additions and 1 deletions
|
@ -1547,6 +1547,12 @@ persist.vendor.face.virtual.type u:object_r:virtual_face_hal_prop:s0 exact strin
|
|||
persist.vendor.face.virtual.strength u:object_r:virtual_face_hal_prop:s0 exact string
|
||||
persist.vendor.face.virtual.enrollments u:object_r:virtual_face_hal_prop:s0 exact string
|
||||
persist.vendor.face.virtual.features u:object_r:virtual_face_hal_prop:s0 exact string
|
||||
persist.vendor.face.virtual.lockout_enable u:object_r:virtual_face_hal_prop:s0 exact bool
|
||||
persist.vendor.face.virtual.lockout_timed_enable u:object_r:virtual_face_hal_prop:s0 exact bool
|
||||
persist.vendor.face.virtual.lockout_timed_threshold u:object_r:virtual_face_hal_prop:s0 exact int
|
||||
persist.vendor.face.virtual.lockout_timed_duration u:object_r:virtual_face_hal_prop:s0 exact int
|
||||
persist.vendor.face.virtual.lockout_permanent_threshold u:object_r:virtual_face_hal_prop:s0 exact int
|
||||
vendor.face.virtual.no_human_face_detected u:object_r:virtual_face_hal_prop:s0 exact bool
|
||||
vendor.face.virtual.enrollment_hit u:object_r:virtual_face_hal_prop:s0 exact int
|
||||
vendor.face.virtual.operation_start_enroll_latency u:object_r:virtual_face_hal_prop:s0 exact int
|
||||
vendor.face.virtual.next_enrollment u:object_r:virtual_face_hal_prop:s0 exact string
|
||||
|
|
7
vendor/hal_face_default.te
vendored
7
vendor/hal_face_default.te
vendored
|
@ -7,4 +7,9 @@ init_daemon_domain(hal_face_default)
|
|||
# android.frameworks.sensorservice through libsensorndkbridge
|
||||
allow hal_face_default fwk_sensor_service:service_manager find;
|
||||
|
||||
set_prop(hal_face_default, virtual_face_hal_prop)
|
||||
# virtual_face_hal_prop is only for debuggable builds
|
||||
userdebug_or_eng(`set_prop(hal_face_default, virtual_face_hal_prop)');
|
||||
neverallow { domain -init -dumpstate userdebug_or_eng(`-hal_face_default') not_compatible_property(`-vendor_init') } virtual_face_hal_prop:file no_rw_file_perms;
|
||||
neverallow { domain -init userdebug_or_eng(`-hal_face_default') not_compatible_property(`-vendor_init') } virtual_face_hal_prop:property_service set;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue