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)
|
2017-04-14 04:05:27 +02:00
|
|
|
|
2019-10-26 00:04:45 +02:00
|
|
|
add_service(hal_vibrator_server, hal_vibrator_service)
|
|
|
|
binder_call(hal_vibrator_server, servicemanager)
|
|
|
|
|
|
|
|
allow hal_vibrator_client hal_vibrator_service:service_manager find;
|
|
|
|
|
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;
|