• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1r_dir_file(hal_audio_default, sysfs_soc)
2
3hal_client_domain(hal_audio_default, hal_power)
4
5userdebug_or_eng(`
6  allow hal_audio diag_device:chr_file rw_file_perms;
7')
8
9# read-only permission to obtain the calibration data
10r_dir_file(hal_audio_default, persist_audio_file);
11allow hal_audio_default mnt_vendor_file:dir search;
12allow hal_audio_default persist_file:dir search;
13
14allow hal_audio_default audio_vendor_data_file:dir rw_dir_perms;
15allow hal_audio_default audio_vendor_data_file:file create_file_perms;
16allow hal_audio_default debugfs_ipc:dir search;
17
18# For interfacing with PowerHAL
19hal_client_domain(hal_audio_default, hal_power)
20
21# Allow hal to take wakelock
22wakelock_use(hal_audio_default)
23