Home | History | Annotate | Download | only in public
      1 # HwBinder IPC from client to server, and callbacks
      2 binder_call(hal_fingerprint_client, hal_fingerprint_server)
      3 binder_call(hal_fingerprint_server, hal_fingerprint_client)
      4 
      5 add_hwservice(hal_fingerprint_server, hal_fingerprint_hwservice)
      6 allow hal_fingerprint_client hal_fingerprint_hwservice:hwservice_manager find;
      7 
      8 # allow HAL module to read dir contents
      9 allow hal_fingerprint fingerprintd_data_file:file create_file_perms;
     10 
     11 # allow HAL module to read/write/unlink contents of this dir
     12 allow hal_fingerprint fingerprintd_data_file:dir rw_dir_perms;
     13 
     14 # For memory allocation
     15 allow hal_fingerprint ion_device:chr_file r_file_perms;
     16 
     17 r_dir_file(hal_fingerprint, cgroup)
     18 r_dir_file(hal_fingerprint, sysfs)
     19