pkanwar | c67fa9b | 2017-05-21 16:49:37 -0700 | [diff] [blame] | 1 | ## HwBinder IPC from client to server, and callbacks |
| 2 | binder_call(hal_tetheroffload_client, hal_tetheroffload_server) |
| 3 | binder_call(hal_tetheroffload_server, hal_tetheroffload_client) |
Dan Cashman | 91d398d | 2017-09-26 12:58:29 -0700 | [diff] [blame] | 4 | |
Steven Moreland | 9234e00 | 2018-06-06 09:30:18 -0700 | [diff] [blame] | 5 | hal_attribute_hwservice(hal_tetheroffload, hal_tetheroffload_hwservice) |
KH Shi | 8ae99b5 | 2022-12-14 23:12:48 +0800 | [diff] [blame] | 6 | hal_attribute_service(hal_tetheroffload, hal_tetheroffload_service) |
| 7 | |
| 8 | binder_use(hal_tetheroffload_server) |
Dan Cashman | 91d398d | 2017-09-26 12:58:29 -0700 | [diff] [blame] | 9 | |
| 10 | # allow the client to pass the server already open netlink sockets |
| 11 | allow hal_tetheroffload_server hal_tetheroffload_client:netlink_netfilter_socket { getattr read setopt write }; |