pa: sepolicy: Add rules for FOD.
Change-Id: I067ead0c2f60493a974bc220b67d7039acea4823
This commit is contained in:
parent
b882f9d5bd
commit
d1d045c2bb
|
@ -1,14 +1,17 @@
|
|||
# Kernel
|
||||
include vendor/pa/config/BoardConfigKernel.mk
|
||||
|
||||
# SEPolicy
|
||||
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
|
||||
vendor/pa/sepolicy/private
|
||||
|
||||
# QCOM flags
|
||||
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
||||
include vendor/pa/config/BoardConfigQcom.mk
|
||||
endif
|
||||
|
||||
# SEPolicy
|
||||
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
|
||||
vendor/pa/sepolicy/private
|
||||
|
||||
BOARD_PLAT_PUBLIC_SEPOLICY_DIR += \
|
||||
vendor/pa/sepolicy/public
|
||||
|
||||
# Soong
|
||||
include vendor/pa/config/BoardConfigSoong.mk
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# FOD
|
||||
/(system|system_ext|system/system_ext)/bin/hw/vendor.aospa.biometrics.fingerprint.inscreen@1.0-service u:object_r:vendor_fod_aospa_exec:s0
|
|
@ -0,0 +1,2 @@
|
|||
# FOD
|
||||
vendor.aospa.biometrics.fingerprint.inscreen::IFingerprintInscreen u:object_r:vendor_fod_hwservice:s0
|
|
@ -0,0 +1,2 @@
|
|||
# Allow FOD HAL service to be found.
|
||||
hal_client_domain(platform_app, vendor_fod)
|
|
@ -0,0 +1,2 @@
|
|||
# FOD
|
||||
hal_client_domain(system_server, vendor_fod)
|
|
@ -0,0 +1,12 @@
|
|||
type vendor_fod_aospa, domain, coredomain;
|
||||
type vendor_fod_aospa_exec, system_file_type, exec_type, file_type;
|
||||
|
||||
hal_server_domain(vendor_fod_aospa,vendor_fod);
|
||||
hal_attribute_hwservice(vendor_fod, vendor_fod_hwservice);
|
||||
|
||||
# Allow for transition from init domain to FOD.
|
||||
init_daemon_domain(vendor_fod_aospa);
|
||||
|
||||
# Allow binder communication with platform applications & servicemanager.
|
||||
binder_call(vendor_fod_aospa, platform_app)
|
||||
binder_use(vendor_fod_aospa)
|
|
@ -0,0 +1,3 @@
|
|||
attribute vendor_fod;
|
||||
attribute vendor_fod_server;
|
||||
attribute vendor_fod_client;
|
|
@ -0,0 +1 @@
|
|||
type vendor_fod_hwservice, hwservice_manager_type, protected_hwservice;
|
Loading…
Reference in New Issue