2018-05-24 09:59:40 +02:00
|
|
|
type hal_face_default, domain;
|
|
|
|
hal_server_domain(hal_face_default, hal_face)
|
|
|
|
|
|
|
|
type hal_face_default_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(hal_face_default)
|
2022-05-13 19:15:38 +02:00
|
|
|
|
2022-12-19 20:51:55 +01:00
|
|
|
# android.frameworks.sensorservice through libsensorndkbridge
|
|
|
|
allow hal_face_default fwk_sensor_service:service_manager find;
|
|
|
|
|
2023-12-07 22:27:09 +01:00
|
|
|
# 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;
|
|
|
|
|
|
|
|
|