audio: query aoc boot time information

Bug: 286196063
Test: Hal service can query the information on real device.

Change-Id: Ica6dcd8a16981a0471893e40827d48e4974f35bb
This commit is contained in:
Rios Kao 2023-06-01 09:15:14 +00:00
parent 187a862107
commit 7c8a45ac69

View File

@ -13,6 +13,10 @@ allow hal_audio_default amcs_device:file rw_file_perms;
allow hal_audio_default amcs_device:chr_file rw_file_perms;
allow hal_audio_default sysfs_pixelstats:file rw_file_perms;
#allow access to aoc and kernel boottime
allow hal_audio_default sysfs_aoc:dir { search };
allow hal_audio_default sysfs_aoc_boottime:file r_file_perms;
#allow access to DMABUF Heaps for AAudio API
allow hal_audio_default dmabuf_heap_device:chr_file r_file_perms;