blob: 09a40d80e934bba87922943fbe00d16daf554350 [file] [log] [blame]
Pavel Maltsev43e172a2018-04-10 14:07:14 -07001hwbinder_use(hal_evs_client)
2hwbinder_use(hal_evs_server)
Changyeon Jo8c126092022-02-10 14:09:02 +00003
Pavel Maltsev43e172a2018-04-10 14:07:14 -07004binder_call(hal_evs_client, hal_evs_server)
5binder_call(hal_evs_server, hal_evs_client)
Changyeon Jo8c126092022-02-10 14:09:02 +00006
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;
Changyeon Joeacb1092022-02-10 14:09:02 +000013
14# Allows to add a service
15hal_attribute_service(hal_evs, hal_evs_service)