blob: 4fafe8aaf22faa9184d8dad93f1622e630589fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
allow hal_vibrator_default input_device:dir r_dir_perms;
allow hal_vibrator_default input_device:chr_file rw_file_perms;
allow hal_vibrator_default sysfs_vibrator:dir search;
allow hal_vibrator_default sysfs_vibrator:file rw_file_perms;
allow hal_vibrator_default audio_device:dir search;
allow hal_vibrator_default proc_asound:dir search;
allow hal_vibrator_default proc_asound:file r_file_perms;
allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms;
allow hal_vibrator_default vibrator_snd_device:dir search;
allow hal_vibrator_default mnt_vendor_file:dir search;
allow hal_vibrator_default persist_file:dir search;
r_dir_file(hal_vibrator_default, persist_haptics_file)
get_prop(hal_vibrator_default, vendor_vibrator_prop);
# Allow vibrator HAL's default implementation to use vendor-binder service
vndbinder_use(hal_vibrator_default);
# Allow Vibrator HAL to communicate with stats service
allow hal_vibrator_default fwk_stats_service:service_manager find;
binder_use(hal_vibrator_default)
|