aocxd sets thread scheduler to SCHED_FIFO. This is so audio processing
in aocxd can run without glitching.
vndbinder:11464: type=1400 audit(0.0:17): avc: denied { sys_nice } for capability=23 scontext=u:r:aocxd:s0 tcontext=u:r:aocxd:s0 tclass=capability permissive=0
BUG: 318791959
Change-Id: I9c9148aa7b18ce525091f93956e112b4c178a129
Add new aocxd server domain
- Allow aocxd to access AOC resources
- Add new aocx binder vendor service
Allow audio hal to find and talk to aocx
avc error tcontext=u:object_r:binder_device:s0 tclass=chr_file or tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file
avc: denied { add } for pid=1073 uid=0 name=aocx.IAocx scontext=u:r:aocxd:s0 tcontext=u:object_r:aocx:s0 tclass=service_manager
avc: denied { call } for scontext=u:r:hal_audio_default:s0 tcontext=u:r:aocxd:s0 tclass=binder
BUG: 315853303
Change-Id: Ide16a2be9f032bef60f43d4d3daa6372ae06b057
This change allows the chre_daemon to use the dedicated channels
to AOC:
/dev/acd-com.google.chre
/dev/acd-com.google.chre.non_wake_up
Bug: 241960170
Test: local in-device verification.
Change-Id: I06f5eb143fe60d05f6ff0fbf06664e046f17a3aa
The /dev/acd-mel_processor is for the SoundDose
feature
Bug: 244133608
Test: build pass
Change-Id: I1f9c914c9a2d8cc86a8f1c643a9bbd73deb221d4
Signed-off-by: Carter Hsu <carterhsu@google.com>
The aoc system node may be different for each platform. We can use
wildcard characters to replace these addresses.
To specify all addresses between 17000000 and 19000000, we could use the
wildcard character *. This would allow us to use the same code for all
platform, regardless of the specific addresses used
Test: adb bugreport && unzip bugreport*.zip &&
check dump_aoc section in dumpstate_board.txt
Bug: 279680450
Change-Id: I1eaad3bd31e78265af6a9428064e9def501a813e
- 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>
Set the /dev/acd-com.google.umfw_stat security context type to
aoc_device.
Bug: 254464877
Test: Verified /dev/acd-com.google.umfw_stat security context.
Change-Id: Ibeba4c65f479c38ab740e156dd244e2f40d00dd4
Merged-In: Ibeba4c65f479c38ab740e156dd244e2f40d00dd4