Home | History | Annotate | Download | only in public
      1 # HwBinder IPC from client to server, and callbacks
      2 binder_call(hal_nfc_client, hal_nfc_server)
      3 binder_call(hal_nfc_server, hal_nfc_client)
      4 
      5 add_hwservice(hal_nfc_server, hal_nfc_hwservice)
      6 allow hal_nfc_client hal_nfc_hwservice:hwservice_manager find;
      7 
      8 # Set NFC properties (used by bcm2079x HAL).
      9 set_prop(hal_nfc, nfc_prop)
     10 
     11 # NFC device access.
     12 allow hal_nfc nfc_device:chr_file rw_file_perms;
     13 
     14 # Data file accesses.
     15 allow hal_nfc nfc_data_file:dir create_dir_perms;
     16 allow hal_nfc nfc_data_file:{ file lnk_file fifo_file } create_file_perms;
     17