blob: 6909ff2e6704d5c2757fdd7726ef37f218cf1d00 [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)
Steven Moreland82f79002020-09-10 22:57:51 +00006hal_attribute_service(hal_vibrator, hal_vibrator_service)
Alex Klyubin53656c12017-04-13 19:05:27 -07007
Steven Morelandd87649c2019-10-25 15:04:45 -07008binder_call(hal_vibrator_server, servicemanager)
9
Steven Moreland7ebce7d2019-12-09 11:17:55 -080010allow hal_vibrator_server dumpstate:fifo_file write;
11
Jeff Vander Stoep27ae5452016-10-25 12:42:39 -070012# vibrator sysfs rw access
13allow hal_vibrator sysfs_vibrator:file rw_file_perms;
Alan Stokes17d008a2018-03-01 14:30:52 +000014allow hal_vibrator sysfs_vibrator:dir search;
Ahmad Khalil7c22e8b2023-10-31 00:08:52 +000015
16# Allow HAL vibrator to control some parameters of a vibration, such as scaling.
Ahmad Khalil95ee9ea2023-11-09 17:17:40 +000017allow hal_vibrator fwk_vibrator_control_service:service_manager find;