When updating aocx service to use binder ndk backend, we get this
selinux violation:
SELinux : avc: denied { add } for pid=2772 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
TEST:
adb push out/target/product/tangorpro/vendor/etc/selinux/* /vendor/etc/selinux
adb reboot
adb shell aocx_tool list
BUG: 343998265
Change-Id: I1e4f554abfe02f33328c851f7da64c671d8f4cb7
- 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>