2019-10-07 04:01:34 +02:00
|
|
|
# HwBinder IPC client/server
|
2017-04-14 04:05:27 +02:00
|
|
|
binder_call(hal_vibrator_client, hal_vibrator_server)
|
2019-10-07 04:01:34 +02:00
|
|
|
binder_call(hal_vibrator_server, hal_vibrator_client);
|
2017-04-14 04:05:27 +02:00
|
|
|
|
2018-06-06 18:30:18 +02:00
|
|
|
hal_attribute_hwservice(hal_vibrator, hal_vibrator_hwservice)
|
2020-09-11 00:57:51 +02:00
|
|
|
hal_attribute_service(hal_vibrator, hal_vibrator_service)
|
2017-04-14 04:05:27 +02:00
|
|
|
|
2019-10-26 00:04:45 +02:00
|
|
|
binder_call(hal_vibrator_server, servicemanager)
|
|
|
|
|
2019-12-09 20:17:55 +01:00
|
|
|
allow hal_vibrator_server dumpstate:fifo_file write;
|
|
|
|
|
2016-10-25 21:42:39 +02:00
|
|
|
# vibrator sysfs rw access
|
|
|
|
allow hal_vibrator sysfs_vibrator:file rw_file_perms;
|
2018-03-01 15:30:52 +01:00
|
|
|
allow hal_vibrator sysfs_vibrator:dir search;
|
2023-10-31 01:08:52 +01:00
|
|
|
|
|
|
|
# Allow HAL vibrator to control some parameters of a vibration, such as scaling.
|
2023-11-09 18:17:40 +01:00
|
|
|
allow hal_vibrator fwk_vibrator_control_service:service_manager find;
|