1# HwBinder IPC client/server 2binder_call(hal_vibrator_client, hal_vibrator_server) 3binder_call(hal_vibrator_server, hal_vibrator_client); 4 5hal_attribute_hwservice(hal_vibrator, hal_vibrator_hwservice) 6hal_attribute_service(hal_vibrator, hal_vibrator_service) 7 8binder_call(hal_vibrator_server, servicemanager) 9 10allow hal_vibrator_server dumpstate:fifo_file write; 11 12# vibrator sysfs rw access 13allow hal_vibrator sysfs_vibrator:file rw_file_perms; 14allow hal_vibrator sysfs_vibrator:dir search; 15