Home | History | Annotate | Download | only in public
      1 # HwBinder IPC from client to server, and callbacks
      2 binder_call(hal_usb_gadget_client, hal_usb_gadget_server)
      3 binder_call(hal_usb_gadget_server, hal_usb_gadget_client)
      4 
      5 add_hwservice(hal_usb_gadget_server, hal_usb_gadget_hwservice)
      6 allow hal_usb_gadget_client hal_usb_gadget_hwservice:hwservice_manager find;
      7 
      8 # Configuring usb gadget functions
      9 allow hal_usb_gadget_server configfs:lnk_file { read create unlink};
     10 allow hal_usb_gadget_server configfs:dir rw_dir_perms;
     11 allow hal_usb_gadget_server configfs:file rw_file_perms;
     12 allow hal_usb_gadget_server functionfs:dir { read search };
     13 allow hal_usb_gadget_server functionfs:file read;
     14 
     15