• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# HwBinder IPC from client to server, and callbacks
2binder_call(hal_usb_gadget_client, hal_usb_gadget_server)
3binder_call(hal_usb_gadget_server, hal_usb_gadget_client)
4
5hal_attribute_hwservice(hal_usb_gadget, hal_usb_gadget_hwservice)
6
7# Configuring usb gadget functions
8allow hal_usb_gadget_server configfs:lnk_file { read create unlink};
9allow hal_usb_gadget_server configfs:dir rw_dir_perms;
10allow hal_usb_gadget_server configfs:file create_file_perms;
11allow hal_usb_gadget_server functionfs:dir { read search };
12allow hal_usb_gadget_server functionfs:file read;
13
14