android_device_google_gs-co.../audio/sepolicy/common/hal_audiometricext_default.te
Jasmine Cha 8e0e106363 audio: add audio hal aidl service
- separate audio hal HIDL and AIDL services.
- separate sepolicy of aoc and audio

Bug: 259161622
Test: build pass and check hidl/aidl on gs201
      build pass for other chipset

Change-Id: Id3c0446be6cdcd5a6e75c832e7d7f4a64716f79c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-09 13:47:57 +08:00

13 lines
541 B
Plaintext

type hal_audiometricext_default, domain;
type hal_audiometricext_default_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(hal_audiometricext_default)
allow hal_audiometricext_default amcs_device:chr_file rw_file_perms;
allow hal_audiometricext_default sysfs_pixelstats:file rw_file_perms;
get_prop(hal_audiometricext_default, vendor_audio_prop);
get_prop(hal_audiometricext_default, hwservicemanager_prop);
hwbinder_use(hal_audiometricext_default);
add_hwservice(hal_audiometricext_default, hal_audiometricext_hwservice);