device_xiaomi_sm6150-common/sepolicy/vendor/hal_touchfeature_default.te
PIPIPIG233666 86032a20b5
davinci: fod: Add support for Xiaomi's touchfeature
Change-Id: I15a4a3d777d784abe04e88372647fc9abff78626
Signed-off-by: Arian <arian.kulmer@web.de>
2020-10-13 18:25:13 +02:00

20 lines
774 B
Plaintext

type hal_touchfeature_hwservice_xiaomi, hwservice_manager_type;
type touchfeature_device, dev_type;
type vendor_touchfeature_prop, property_type;
type hal_touchfeature_default, domain;
hal_server_domain(hal_touchfeature_default, hal_touchfeature)
binder_call(hal_touchfeature_client, hal_touchfeature_server)
type hal_touchfeature_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_touchfeature_default)
add_hwservice(hal_touchfeature_server, hal_touchfeature_hwservice_xiaomi)
allow hal_touchfeature_client hal_touchfeature_hwservice_xiaomi:hwservice_manager find;
allow hal_touchfeature_default touchfeature_device:chr_file rw_file_perms;
set_prop(hal_touchfeature_default, vendor_touchfeature_prop)
vndbinder_use(hal_touchfeature_default)