• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1allow hal_vibrator_default sysfs_leds:dir search;
2
3allow hal_vibrator_default mnt_vendor_file:dir search;
4allow hal_vibrator_default persist_file:dir search;
5
6allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms;
7allow hal_vibrator_default vibrator_snd_device:dir search;
8allow hal_vibrator_default audio_device:dir search;
9allow hal_vibrator_default proc_asound:dir search;
10allow hal_vibrator_default proc_asound:file r_file_perms;
11
12r_dir_file(hal_vibrator_default, persist_haptics_file)
13
14get_prop(hal_vibrator_default, vendor_vibrator_prop);
15
16# Allow vibrator HAL's default implementation to use vendor-binder service
17vndbinder_use(hal_vibrator_default);
18
19# Allow Vibrator HAL to communicate with stats service
20allow hal_vibrator_default fwk_stats_service:service_manager find;
21binder_use(hal_vibrator_default)
22