mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
Bug: 196916111 Test: boot to home with all services launched Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
18 lines
576 B
Plaintext
18 lines
576 B
Plaintext
# associate netdomain to use for accessing internet sockets
|
|
net_domain(hal_tetheroffload_default)
|
|
|
|
# Allow operations with TOE device
|
|
allow hal_tetheroffload_default vendor_toe_device:chr_file rw_file_perms;
|
|
|
|
# Allow NETLINK and socket
|
|
allow hal_tetheroffload_default self:{
|
|
netlink_socket
|
|
netlink_generic_socket
|
|
unix_dgram_socket
|
|
} create_socket_perms_no_ioctl;
|
|
|
|
# Register to hwbinder service
|
|
add_hwservice(hal_tetheroffload_default, hal_tetheroffload_hwservice)
|
|
hwbinder_use(hal_tetheroffload_default)
|
|
get_prop(hal_tetheroffload_default, hwservicemanager_prop)
|