2017-05-22 01:49:37 +02:00
|
|
|
## HwBinder IPC from client to server, and callbacks
|
|
|
|
binder_call(hal_tetheroffload_client, hal_tetheroffload_server)
|
|
|
|
binder_call(hal_tetheroffload_server, hal_tetheroffload_client)
|
2017-09-26 21:58:29 +02:00
|
|
|
|
2018-06-06 18:30:18 +02:00
|
|
|
hal_attribute_hwservice(hal_tetheroffload, hal_tetheroffload_hwservice)
|
2022-12-14 16:12:48 +01:00
|
|
|
hal_attribute_service(hal_tetheroffload, hal_tetheroffload_service)
|
|
|
|
|
|
|
|
binder_use(hal_tetheroffload_server)
|
2017-09-26 21:58:29 +02:00
|
|
|
|
|
|
|
# allow the client to pass the server already open netlink sockets
|
|
|
|
allow hal_tetheroffload_server hal_tetheroffload_client:netlink_netfilter_socket { getattr read setopt write };
|