Bug: 196916111 Test: boot to home with all services launched Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
17 lines
576 B
Text
17 lines
576 B
Text
# 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)
|