1 # HwBinder IPC from client to server 2 binder_call(hal_vibrator_client, hal_vibrator_server) 3 4 add_hwservice(hal_vibrator_server, hal_vibrator_hwservice) 5 allow hal_vibrator_client hal_vibrator_hwservice:hwservice_manager find; 6 7 # vibrator sysfs rw access 8 allow hal_vibrator sysfs_vibrator:file rw_file_perms; 9