1hwbinder_use(hal_evs_client) 2hwbinder_use(hal_evs_server) 3 4binder_call(hal_evs_client, hal_evs_server) 5binder_call(hal_evs_server, hal_evs_client) 6 7# Below lines are equivalent to hal_attribute_hwservice(hal_evs, hal_evs_hwservice) 8# except it allows evsmanagerd to add hal_evs_hwservice. 9allow hal_evs_client hal_evs_hwservice:hwservice_manager find; 10allow hal_evs_server hal_evs_hwservice:hwservice_manager { add find }; 11allow hal_evs_server hidl_base_hwservice:hwservice_manager add; 12neverallow { domain -hal_evs_server -evsmanagerd } hal_evs_hwservice:hwservice_manager add; 13 14# Allows to add a service 15hal_attribute_service(hal_evs, hal_evs_service) 16