1f93d9bca5
Bug: 279809333
Test: build
Change-Id: If6ef4c3b02d06212923e757fb68aa74e38c68db3
(cherry picked from commit 39dd515546
)
15 lines
654 B
Text
15 lines
654 B
Text
hwbinder_use(hal_evs_client)
|
|
hwbinder_use(hal_evs_server)
|
|
|
|
binder_call(hal_evs_client, hal_evs_server)
|
|
binder_call(hal_evs_server, hal_evs_client)
|
|
|
|
# Below lines are equivalent to hal_attribute_hwservice(hal_evs, hal_evs_hwservice)
|
|
# except it allows evsmanagerd to add hal_evs_hwservice.
|
|
allow hal_evs_client hal_evs_hwservice:hwservice_manager find;
|
|
allow hal_evs_server hal_evs_hwservice:hwservice_manager { add find };
|
|
allow hal_evs_server hidl_base_hwservice:hwservice_manager add;
|
|
neverallow { domain -hal_evs_server -evsmanagerd } hal_evs_hwservice:hwservice_manager add;
|
|
|
|
# Allows to add a service
|
|
hal_attribute_service(hal_evs, hal_evs_service)
|