34 Commits

Author SHA1 Message Date
David Li
2227da2941 Merge "audio: remove unused xml files on AIDL HAL enabled devices." into main 2023-10-30 06:38:18 +00:00
David Li
71e876c0fb audio: remove unused xml files on AIDL HAL enabled devices.
Bug: 303004264
Test: mm
Change-Id: I7e9d0e9a6bed1fc3e057e4503c31771854905b63
2023-10-27 12:58:33 +08:00
Treehugger Robot
59b961ceeb Merge "sepolicy: add permission for AudioBT of pixelstats-vend." into main 2023-10-23 04:39:20 +00:00
Jasmine Cha
b2f8abb2c2 audio: includes speaker compensation module
Bug: 303570161
Test: build pass / manual test

Change-Id: Ia0c2de8bf967304cf33c85cf6cd2a10ce411c54d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-16 15:13:39 +08: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
Joey Poomarin Phloyphisut
944bfb0cf1 Merge "sepolicy: add permission for Waves of pixelstats-vend." into udc-d1-dev am: 3345761c30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/23440955

Change-Id: I57fc829dbd1a85f6129a9c6ea8723172eb71cee1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-08 04:30:14 +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
Joey Poomarin Phloyphisut
2d1677e219 Merge "sepolicy: add permission for PDM State of pixelstats-vend" into udc-d1-dev am: eb03e86202
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22122397

Change-Id: Ib78ea5b274cbd3708bc5eb6793dc4a64f7a14ea0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 08:05: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
Joey Poomarin Phloyphisut
eb03e86202 Merge "sepolicy: add permission for PDM State of pixelstats-vend" into udc-d1-dev 2023-06-02 07:23:19 +00:00
Rios Kao
d5a59d93ea audio: aidl: change target to support all projects
Test: build pass
Bug: 284809600
Change-Id: I8d37fc94599af5e12033ec6bc7dfc4cd50ac9b5e
2023-05-31 04:07:29 +00:00
Cyan_Hsieh
9167dbdf46 audio: make VINTF target level specify by device
Bug: 277188108
Change-Id: Ia7f787e68a9a34529d858c78189b5f2bd245377c
2023-05-10 18:41:07 +08:00
David Li
4fd1826323 Merge "audio: pack AIDL s/w effects" into udc-dev am: 9dfd56b23b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22873645

Change-Id: I10c41501b6c3da1bd1b2c8a1e33d080e00866e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-28 03:21:49 +00:00
David Li
827c84ee7d audio: pack AIDL s/w effects
Pack the common s/w effects into the AIDL effect HAL enabled image.
Includes the following effects,
  1. libbundleaidl
  2. libreverbaidl
  3. libvisualizeraidl
  4. libdynamicsprocessingaidl
  5. libdownmixaidl
  6. libloudnessenhanceraidl

The project-specific effects should be add into the makefile in the
project folder.

Test: mm
Bug: 271500140
Change-Id: I4d89440791d43eaf03288d5f7bf6d61cbd21659f
2023-04-26 14:57:31 +08:00
Carter Hsu
e6ecde150e audio: add CCA HAL module
Bug: 267827552
Test: verified on the test build
Change-Id: Ic479ed850c675ff7fca2e18817b74ee653ecaf61
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-07 00:31:28 +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