Commit graph

59587 commits

Author SHA1 Message Date
Treehugger Robot
78bc46694e Merge "AHAL: add API to notify the HAL module about disconnecting device." into main am: 0d3349c717 am: b136f14361
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868619

Change-Id: I44a8f099476f2098c0b24df03de48fc4be5bb002
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 19:49:40 +00:00
Treehugger Robot
b136f14361 Merge "AHAL: add API to notify the HAL module about disconnecting device." into main am: 0d3349c717
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868619

Change-Id: I4af136b94cbe6ff8a422064f89e493d903da0fb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 19:19:11 +00:00
Mikhail Naganov
6603708d1e Merge "audio: Fix remote submix behavior with multiple inputs" into main am: fb29f53f53 am: 06fef676a6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871775

Change-Id: I5384a14698e56a228cee57308fa160fd721e24d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 19:00:32 +00:00
Treehugger Robot
0d3349c717 Merge "AHAL: add API to notify the HAL module about disconnecting device." into main 2023-12-13 18:40:21 +00:00
Mikhail Naganov
06fef676a6 Merge "audio: Fix remote submix behavior with multiple inputs" into main am: fb29f53f53
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871775

Change-Id: I897683707f8467cb4b089e777addb5df6d03ce9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 18:29:51 +00:00
Mikhail Naganov
fb29f53f53 Merge "audio: Fix remote submix behavior with multiple inputs" into main 2023-12-13 17:45:13 +00:00
Treehugger Robot
56df6b5fa0 Merge "Audio AIDL : Pick PreProcessing library for 2 audio effects" into main am: 71f56141e7 am: d02973eac8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870276

Change-Id: I3ac32292b09f841ebce116651cb25edf9d7c3e1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 08:11:26 +00:00
Treehugger Robot
d02973eac8 Merge "Audio AIDL : Pick PreProcessing library for 2 audio effects" into main am: 71f56141e7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870276

Change-Id: I214a15fc08e8dfea8edf9f6190163e779e00d834
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 07:25:53 +00:00
Treehugger Robot
71f56141e7 Merge "Audio AIDL : Pick PreProcessing library for 2 audio effects" into main 2023-12-13 06:55:11 +00:00
David Drysdale
55a875cd4d Merge "Secretkeeper: add message encryption" into main am: 57b7d0bc7b am: e0563a320f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847414

Change-Id: Ia3b35cc29b5eba2da8b029c8a21927d590c7280e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 06:19:39 +00:00
David Drysdale
e0563a320f Merge "Secretkeeper: add message encryption" into main am: 57b7d0bc7b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847414

Change-Id: I4e3fc1dde1ad44c1f90e55d1d4a8f1be76abca7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 05:49:01 +00:00
David Drysdale
57b7d0bc7b Merge "Secretkeeper: add message encryption" into main 2023-12-13 05:25:50 +00:00
Treehugger Robot
3721dc7ecd Merge "Update OWNERS file." into main am: e35fd5922b am: 8262c93f22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871780

Change-Id: I2f889d16e45fd81ccc7047d32d5bb9f2b1dbdf58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 03:01:39 +00:00
Treehugger Robot
8262c93f22 Merge "Update OWNERS file." into main am: e35fd5922b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871780

Change-Id: If96c4c343a9f85fecc734352b2e6951c344ccf8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 02:31:30 +00:00
Treehugger Robot
e35fd5922b Merge "Update OWNERS file." into main 2023-12-13 01:28:25 +00:00
Yu Shan
bdd4c1aaea Update OWNERS file.
Test: None
Bug: None
Change-Id: I0c2b9bba98c0543ed44cf7c5ad1a350e195b7b29
2023-12-12 17:24:42 -08:00
jiabin
dd23b0e58e AHAL: add API to notify the HAL module about disconnecting device.
When external device is about to disconnect, the audio framework will
notify the HAL module about the coming device disconnection so that the
HAL module could abort any active read/write operations on drivers to
avoid problems with the HW interfaces.

Bug: 279824103
Test: atest VtsHalAudioCoreModuleTargetTest
Change-Id: I9f960b8ae5df11a764e70bd63f98c0f8b8386c34
Merged-In: I9f960b8ae5df11a764e70bd63f98c0f8b8386c34
2023-12-13 01:02:21 +00:00
Shunkai Yao
b037083ba2 Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main am: 829179e29c am: a7845353a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871086

Change-Id: If8e9082a734f180681ef33fa14b1ed6ff7eb99e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:59:45 +00:00
Jayachandran C
06cee40021 Merge "Update OWNER for IRadio" into main am: 983041b502 am: e1c1ce4f8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2869298

Change-Id: I573464c56144634c4a45e1298765c583dd324e23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:58:40 +00:00
Mikhail Naganov
7b234d483f audio: Fix remote submix behavior with multiple inputs
Align the behavior of the new implementation with the legacy
implementation in the case when the client opens multiple
input streams on the same remote submix device.

Reduce the HAL buffer size to match legacy behavior.

Bug: 264712385
Test: atest CtsVirtualDevicesTestCases --test-filter=".*VirtualAudioTest.*"
(cherry picked from commit a83c8a5518)
Change-Id: I6f5e6a2c133059c66269b1bdd8a30392db282c4d
2023-12-12 15:55:22 -08:00
Shunkai Yao
a7845353a1 Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main am: 829179e29c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871086

Change-Id: I5a9fa8885a96c06c38d821c9efc187a6e78ef310
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:31:33 +00:00
Jayachandran C
e1c1ce4f8c Merge "Update OWNER for IRadio" into main am: 983041b502
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2869298

Change-Id: Id54ef57f10dce225e27b2da5e356d1ba0b425ec1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 23:28:56 +00:00
Shunkai Yao
829179e29c Merge "Revert "audio: Fix remote submix behavior with multiple inputs"" into main 2023-12-12 23:20:48 +00:00
Shunkai Yao
0347f0eff0 Revert "audio: Fix remote submix behavior with multiple inputs"
Revert submission 2862771-cuttlefish_aidl_audio-2

Reason for revert: b/316027906

Reverted changes: /q/submissionid:2862771-cuttlefish_aidl_audio-2

Change-Id: I68932be8dad4b4fd4214d0ae6fc01202727f1658
2023-12-12 22:55:59 +00:00
Jayachandran C
983041b502 Merge "Update OWNER for IRadio" into main 2023-12-12 22:47:59 +00:00
Mikhail Naganov
1049486cff Merge "audio: Fix remote submix behavior with multiple inputs" into main am: 79f7fd088d am: 9484995e13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863925

Change-Id: I197d7f765d823e3d081f39ad8f6aa47bbcd48f3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 22:20:01 +00:00
Mikhail Naganov
9484995e13 Merge "audio: Fix remote submix behavior with multiple inputs" into main am: 79f7fd088d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2863925

Change-Id: Ib7b1a085cf63e888f1749c6f0bcd5db32d3704a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 21:51:14 +00:00
David Anderson
0748629366 Merge "health: Query new properties from BatteryMonitor." into main am: c601ec2ff5 am: e62ba8d5ba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865639

Change-Id: Ie8728c3484e08dc5dc9d9d0d2167771bd65d5ead
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 21:14:42 +00:00
Mikhail Naganov
79f7fd088d Merge "audio: Fix remote submix behavior with multiple inputs" into main 2023-12-12 21:11:55 +00:00
David Anderson
e62ba8d5ba Merge "health: Query new properties from BatteryMonitor." into main am: c601ec2ff5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2865639

Change-Id: I9828e799db9b696b517ce03e0d93fef88af4e3a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 20:42:56 +00:00
David Anderson
c601ec2ff5 Merge "health: Query new properties from BatteryMonitor." into main 2023-12-12 20:22:31 +00:00
Treehugger Robot
e7637b4347 Merge "Fix the path to IR HAL" into main am: 1fd753023f am: e7384f43de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870195

Change-Id: I1414fc52ac65d56a165df3744e715f9c2ef167e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 17:36:28 +00:00
Treehugger Robot
e7384f43de Merge "Fix the path to IR HAL" into main am: 1fd753023f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2870195

Change-Id: Ibd2a9bffc5efefedd30ec35dd1e4e673fe869562
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 17:05:51 +00:00
Treehugger Robot
1fd753023f Merge "Fix the path to IR HAL" into main 2023-12-12 16:31:41 +00:00
David Drysdale
bef8d3ae89 Secretkeeper: add message encryption
All request messages are encrypted, but response messages have an outer
unencrypted layer, with an inner response (and the result values inside
that).

Make the SecretManagement.cddl file clearer to reflect that, and make
the schema valid along the way.

Move the outer (unencrypted) error code values into `ErrorCode.aidl` and
use them as service-specific error codes, thus reducing the number of
error types from 3 to 2.

Bug: 291228560
Test: VtsSecretkeeperTargetTest
Test: validate CDDL with https://atacama.informatik.uni-bremen.de/
Change-Id: I46c5bfd7e40b03919d7d3779b265b3bb3ff1ce1e
2023-12-12 16:03:04 +00:00
Shikha Panwar
00309433e3 Test store & get Secret functionality am: cbad9a37d3 am: 0a6077658e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847454

Change-Id: Ibb7bad79520226391b6502428f2f8b740e7b80c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:25:16 +00:00
Shikha Panwar
cdc5b14ab8 [Secretkeeper] In-memory KeyValueStore am: 2759df0d3c am: 5c86cf8553
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847554

Change-Id: I8acb449819fd8d970c8eb93fed824b51dc045139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 15:25:13 +00:00
Shikha Panwar
0a6077658e Test store & get Secret functionality am: cbad9a37d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847454

Change-Id: Icf04555fc6949ca28ee8e897992138e5fc668543
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 14:54:43 +00:00
Shikha Panwar
5c86cf8553 [Secretkeeper] In-memory KeyValueStore am: 2759df0d3c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2847554

Change-Id: I74a1740c9591b763dacf099f02e977091f9df75d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 14:54:39 +00:00
Shikha Panwar
cbad9a37d3 Test store & get Secret functionality
Test Store/Get api of SecretManagement HAL. We use a hard coded
hypothetical chain & a dice policy (which the dice chain matches
against) for testing the store/get functionality.

This patch also adds required error codes in SecretManagement.cddl

Bug: 291224769
Test: atest VtsSecretkeeperTargetTest
Change-Id: I0aa2dfc7413791e9de62a6e753bda4ab2f813d2c
2023-12-12 14:24:14 +00:00
Shikha Panwar
2759df0d3c [Secretkeeper] In-memory KeyValueStore
We introduce InMemoryStore, an implementation of KeyValueStore trait.
This can be used for implementing backends that VTS can run against.

Bug: 291224769
Test: atest VtsSecretkeeperTargetTest
Change-Id: Id109ee3bd38ec0979953b6285019c97d418172ef
2023-12-12 14:24:14 +00:00
Treehugger Robot
fef2bd5bad Merge "HDMI Connection Fuzzer Fix" into main am: 3d3dab4875 am: c542085763
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2864471

Change-Id: I8cdd89aa4f4840199ebb4de9f802b4946163abc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 13:14:51 +00:00
Treehugger Robot
c542085763 Merge "HDMI Connection Fuzzer Fix" into main am: 3d3dab4875
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2864471

Change-Id: I83f806553354ba2fa99ba6008d0db3131e4fe334
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 12:44:21 +00:00
Sneha Patil
71b814c4b7 Audio AIDL : Pick PreProcessing library for 2 audio effects
Bug: 305866207
Test: atest VtsHalAECTargetTest
Test: atest VtsHalNSTargetTest
Change-Id: I4fcd95abe6834dec13e570ad2ecb5cd4f1bdc1d3
2023-12-12 17:51:00 +05:30
Treehugger Robot
3d3dab4875 Merge "HDMI Connection Fuzzer Fix" into main 2023-12-12 12:20:20 +00:00
Jooyung Han
f65ce603ae Fix the path to IR HAL
The .rc file is used by IR HAL binary. So the path should be
/vendor/bin instead of /apex. The apex version of .rc file is generated
by a soong rule.

This fixes the IR HAL in -next- configuration.

Bug: 315827315
Test: atest vts_treble_vintf_vendor_test
Change-Id: I1644660f6734bb4452fd7c6fd897ca31e2447dd5
2023-12-12 18:06:34 +09:00
Jayachandran C
779268e142 Update OWNER for IRadio
Change-Id: Iaeeba97a183e9821b4c5e530cca84c461f90b10e
2023-12-12 08:03:20 +00:00
Chienyuan Huang
0b29fb526a Merge "Add VTS for Channel Sounding" into main am: e608eb8d34 am: b97107ae8b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2856870

Change-Id: I70293b2756df641c2f719dffa7795f11f23421da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 06:30:46 +00:00
Chienyuan Huang
b97107ae8b Merge "Add VTS for Channel Sounding" into main am: e608eb8d34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2856870

Change-Id: I292778ad102aea66ad75faccf2c07e0486006cee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-12 06:00:09 +00:00
Chienyuan Huang
e608eb8d34 Merge "Add VTS for Channel Sounding" into main 2023-12-12 05:38:02 +00:00