blob: a34621d37473bf60a519828747b9e8f730528c8a [file] [log] [blame]
Harpreet \"Eli\" Sangha4b3e0dd2019-10-07 11:01:34 +09001# HwBinder IPC client/server
Alex Klyubin53656c12017-04-13 19:05:27 -07002binder_call(hal_vibrator_client, hal_vibrator_server)
Harpreet \"Eli\" Sangha4b3e0dd2019-10-07 11:01:34 +09003binder_call(hal_vibrator_server, hal_vibrator_client);
Alex Klyubin53656c12017-04-13 19:05:27 -07004
Steven Moreland9234e002018-06-06 09:30:18 -07005hal_attribute_hwservice(hal_vibrator, hal_vibrator_hwservice)
Alex Klyubin53656c12017-04-13 19:05:27 -07006
Steven Morelandd87649c2019-10-25 15:04:45 -07007add_service(hal_vibrator_server, hal_vibrator_service)
8binder_call(hal_vibrator_server, servicemanager)
9
10allow hal_vibrator_client hal_vibrator_service:service_manager find;
11
Steven Moreland7ebce7d2019-12-09 11:17:55 -080012allow hal_vibrator_server dumpstate:fifo_file write;
13
Jeff Vander Stoep27ae5452016-10-25 12:42:39 -070014# vibrator sysfs rw access
15allow hal_vibrator sysfs_vibrator:file rw_file_perms;
Alan Stokes17d008a2018-03-01 14:30:52 +000016allow hal_vibrator sysfs_vibrator:dir search;