Bruce Po
6b92b30e7b
selinux: New aocx service
...
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
2024-01-08 17:57:03 +00:00
Carter Hsu
fd652ae423
audio: allow hal_audio_default to allocate graphic buffer
...
12-04 10:00:07.379 481 481 E SELinux : avc: denied { find } for interface=android.hardware.graphics.mapper::IMapper sid=u:r:hal_audio_default:s0 pid=13283 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:hal_graphics_mapper_hwservice:s0 tclass=hwservice_manager permissive=0
12-04 10:00:07.409 480 480 E SELinux : avc: denied { find } for pid=13283 uid=1041 name=android.hardware.graphics.allocator.IAllocator/default scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:hal_graphics_allocator_service:s0 tclass=service_manager permissive=0
Bug: 314850759
Test: verified by test build
Change-Id: Icb2ecd6d3096455244dc58b5aadf8c562cb02470
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-05 01:01:13 +00:00
Poomarin Phloyphisut
d8704e5a3f
sepolicy: add permission for AudioBT of pixelstats-vend.
...
Bug: 280248992
Test: Manually test passed
Change-Id: I431c135c1a1f515ce93251fe9b991e81d5f4fb57
2023-10-06 06:27:22 +00:00
Poomarin Phloyphisut
5b47a8b6a1
sepolicy: add permission for audio offload-effects of pixelstats-vend
...
Bug: 301046889
Test: Manually test passed
Change-Id: Ia47405d4ac73d1e09fdea6c6a4422955b77e2552
2023-10-04 06:26:15 +00:00
Poomarin Phloyphisut
5384214b16
[SE Policy] Update CCA path and fix wrong directory in call_count
...
Test: local test
Bug: 289857250
Change-Id: Ice8b4554b09d417471abd23f85c946a39416f3ef
2023-09-09 06:43:22 +00:00
Treehugger Robot
66592f6157
Merge "audio: add radio sepolicy for hidl/aidl" into udc-qpr-dev
2023-08-30 16:29:24 +00:00
Jasmine Cha
2fe60dc4fc
audio: add radio sepolicy for hidl/aidl
...
Bug: 297482504
Test: build pass
Change-Id: I012639ed59d25709d15d7046a92e8ceab7ac96f8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-29 16:44:31 +08:00
Poomarin Phloyphisut
5737a14c89
sepolicy: add permission for call count of pixelstats-vend.
...
Bug: 289857250
Test: Manually test passed
Change-Id: I7e8236578553e5ea53470a597a93a083cc47bd1a
2023-08-22 15:12:37 +00:00
Jasmine Cha
131d27730d
audio: add SEPolicy for stable audio extension
...
Bug: 290856561
Test: build pass
Change-Id: I4ebcdcf6f5da34d73284d21773d47aa7e7d3c872
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-07-20 03:25:22 +00:00
Robert Lee
01beccc9bf
Merge "audio: add audio_hdmi" into udc-qpr-dev
2023-07-13 03:30:43 +00:00
David Li
05940bb8ef
Merge "audio: add audio HAL parameter parser and its sepolicy" into udc-qpr-dev
2023-07-13 01:54:33 +00:00
David Li
4cc0efc9a1
audio: add audio HAL parameter parser and its sepolicy
...
- pack the parameter parser service into the image
- add sepolicy for the service audio-hal-parserservice
Bug: 274433842
Test: manual test; make -j128
Change-Id: Ia47da38060a99cf32da5db60cef7e4a067dd0f24
2023-07-12 11:08:14 +08:00
Poomarin Phloyphisut
a26c57eff5
sepolicy: add permission for PCM of pixelstats-vend.
...
Bug: 280248990
Test: Manually test passed
Change-Id: I6739ea5a7f5feaf176126bffc0067cbdb980f479
2023-06-28 10:33:57 +00:00
Poomarin Phloyphisut
3dc0702c35
sepolicy: add permission for Adapted Information of pixelstats-vend. am: 9f637d71bb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/23472604
Change-Id: I6b0f1b358359bb6fa040687b7369a42ba5ec8531
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 15:30:03 +00:00
Rios Kao
8e1f9844ba
Merge "audio: query aoc boot time information" into udc-qpr-dev
2023-06-09 02:40:39 +00:00
Robert Lee
b8450bd3b7
audio: add audio_hdmi
...
Bug: 264508873
Test: builds
Change-Id: Id3c731a43cdb92b44aa5892a96920d0d76de62c4
Signed-off-by: Robert Lee <lerobert@google.com>
2023-06-08 06:25:54 +00:00
Poomarin Phloyphisut
9f637d71bb
sepolicy: add permission for Adapted Information of pixelstats-vend.
...
Bug: 280248702
Test: Manually test passed
Change-Id: Ia1c274845ce47b05342cc8a8c7cfe0ddd7dc4783
2023-06-08 05:49:42 +00:00
Rios Kao
7c8a45ac69
audio: query aoc boot time information
...
Bug: 286196063
Test: Hal service can query the information on real device.
Change-Id: Ica6dcd8a16981a0471893e40827d48e4974f35bb
2023-06-08 02:40:23 +00:00
Poomarin Phloyphisut
500ba56168
sepolicy: add permission for Waves of pixelstats-vend.
...
Bug: 280248116
Test: Manually test passed
Change-Id: I6cb82d5d41ed6b1778f6e859fe0e6282e527c838
2023-06-02 08:01:42 +00:00
Poomarin Phloyphisut
edeac80b32
sepolicy: add permission for PDM State of pixelstats-vend
...
Bug: 201737886
Test: Manually test passed
Change-Id: Ib764b97ed644232f1bab66b19077e0450598371c
2023-03-20 06:07:13 +00:00
Jasmine Cha
30667d0904
Merge "audio: add policy for rild to get vendor audio propery" into udc-dev
2023-03-13 06:26:12 +00:00
Jasmine Cha
502c8ad720
audio: move audio vendor set_prop to gs-common
...
Bug: 259161622
Test: build pass
Change-Id: Ic76c867e8478e2f736da78232a444cf135cddc6d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-13 04:10:54 +00:00
Jasmine Cha
6cd390e2cf
audio: add policy for rild to get vendor audio propery
...
- rild has different sepolicy for audio hal by type of service, which is
hidl or aidl. Read property before querying service in rild can avoid
avc denied presubmit test.
Bug: 206738075
Test: build pass with hidl/aidl audio service
Change-Id: I2616028fb3a6029646340fc3282e51a5f02b3f7f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-13 10:59:44 +08:00
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