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