Commit graph

59007 commits

Author SHA1 Message Date
kuanyuhuang
81e941fef5 Bluetooth Finder: fix typo android.hardware.bluetooth.finder-service.default
Bug: 314360499
Test: atest vts_treble_vintf_vendor_test
Change-Id: I4de7d83a4fad133d1471ffd17d5a41b3db413ff2
2023-12-06 11:23:09 +00:00
David Drysdale
8898d2ec57 Secretkeeper: add AuthGraph key exchange
Add `ISecretkeeper::getAuthGraphKe()` method to the Secretkeeper HAL.

Align the AIDL targets between AuthGraph and Secretkeeper, and add
some defaults that automatically link to the current version of the
Secretkeeper AIDL targets.

Move the non-secure implementation of AuthGraph to run the TA in a
separate thread.

Alter the nonsecure implementation of Secretkeeper so that it no longer
directly implements Secretkeeper functionality, but instead re-uses
common code from the Secretkeeper reference implementation.  This
involves re-using the common implementation of the HAL service (from
`authgraph_hal`), but also involves using the reference implementation
of the the TA code that would normally run in a separate secure
environment.  The latter code expects to run in a single-threaded
environment, so run it in a single local thread.

Note that the negotiated session keys emitted by AuthGraph are not yet
used by Secretkeeper (coming in a subsequent CL).

Extend the Secretkeeper VTS tests to invoke the AuthGraph VTS inner
tests on the returned IAuthGraphKeyExchange instance, exercising the
instance as an AuthGraph sink.

Bug: 291228560
Test: VtsSecretkeeperTargetTest
Change-Id: Ia2c97976edc4530b2c902d95a74f3c340d342174
2023-12-06 06:50:19 +00:00
Yi Kong
810d41a774 Fix -Wunused-variable compiler warning
Test: presubmit
Change-Id: I146d3435fe76da7f300452a14b62ce430c38ae36
2023-12-06 14:03:58 +09:00
Jooyung Han
d9e6e8b531 Merge "Create secretkeeper HAL APEX" into main am: 577cc0ac9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2851666

Change-Id: I3a6eb43ac52ae53c4abfd2a074cc3ea1c8fdcfb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 02:01:04 +00:00
Jooyung Han
577cc0ac9b Merge "Create secretkeeper HAL APEX" into main 2023-12-06 01:45:22 +00:00
Nagendra Prasad Nagarle Basavaraju
4aac55a743 [automerger skipped] [DO NOT MERGE] VTS setGetAllowedNetworkTypesBitmap handle "LTE + LTE_CA" response am: 378bd90e66 -s ours am: 7ab862b625 -s ours am: 965b7e570b -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2858865

Change-Id: I188fc82690af3f464205894d80efcc93d30fe8aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 01:40:36 +00:00
Shunkai Yao
157e954972 Merge "DownmixProcess: Add tests to validate the downmix process." into main am: ab269e2fc7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2849236

Change-Id: I5e75d980c2e8bfcea9eea304f9f470c95d3a60d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 01:28:17 +00:00
Nagendra Prasad Nagarle Basavaraju
965b7e570b [automerger skipped] [DO NOT MERGE] VTS setGetAllowedNetworkTypesBitmap handle "LTE + LTE_CA" response am: 378bd90e66 -s ours am: 7ab862b625 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2858865

Change-Id: I7a9ed2b7d70f4ccc204eafcda198ab8cac60032d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 00:41:38 +00:00
Shunkai Yao
ab269e2fc7 Merge "DownmixProcess: Add tests to validate the downmix process." into main 2023-12-06 00:35:39 +00:00
Nagendra Prasad Nagarle Basavaraju
7ab862b625 [automerger skipped] [DO NOT MERGE] VTS setGetAllowedNetworkTypesBitmap handle "LTE + LTE_CA" response am: 378bd90e66 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2858865

Change-Id: Ie5356d995f91acf3ffe0f3b59a291fe2ec1d41e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-06 00:06:35 +00:00
Nagendra Prasad Nagarle Basavaraju
378bd90e66 [DO NOT MERGE] VTS setGetAllowedNetworkTypesBitmap handle "LTE + LTE_CA" response
Handle RIL reporting response for getAllowedNetworkTypesBitmap() with
"LTE_CA" responses until Android T.

Bug: 308538353
Test: atest VtsHalRadioTargetTest , Device test @ b/308538353#comment29
Change-Id: I1916422c88ac6dad4a9d0777b32182b599e9c30c
2023-12-05 21:26:05 +00:00
Antoine Soulier
33e767ffea Merge changes I3f440a75,I5566a1ef into main am: 9820d5d5ad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2763946

Change-Id: I9383b4ddf13e80686e53d85504b5099521609be0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 19:38:52 +00:00
Mikhail Naganov
c9ba98773a Merge "audio: Adjust after "bus" device type change" into main am: a0df73110e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2858026

Change-Id: Idf6666c4f30e3a75cc0f750cfd89b484f798645f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 19:37:31 +00:00
Antoine Soulier
9820d5d5ad Merge changes I3f440a75,I5566a1ef into main
* changes:
  Codec Extensibility Base AIDL
  Upgrade VNDK version to 4
2023-12-05 17:51:38 +00:00
Mikhail Naganov
a0df73110e Merge "audio: Adjust after "bus" device type change" into main 2023-12-05 17:32:02 +00:00
Sneha Patil
f533b50925 DownmixProcess: Add tests to validate the downmix process.
Added methods to set and validate parameters.
Added test to verify multichannel to stereo conversion for STRIP type.
Added test to verify multichannel to stereo conversion for FOLD type.

Bug:314953788
Test: atest VtsHalDownmixTargetTest
Change-Id: I31ee4df3eac6ae42e3e3cabebd1622e860581eab
2023-12-05 22:09:05 +05:30
Andrew Walbran
116bf2a6b4 Fix for nix 0.27.1.
Bug: 314091492
Test: m rust
Change-Id: I4cc495c69d11a0b93cb7bcc74183c295ec60aa32
2023-12-05 16:18:09 +00:00
Mikhail Naganov
43269bc713 audio: Adjust after "bus" device type change
The `CONNECTION_BUS` constant is deprecated.
`{IN|OUT}_BUS` should be used instead of `{IN|OUT}_DEVICE`
for clarity.

Bug: 303926380
Test: m
Change-Id: I73365abbcc16550875cf307eafa46b1200698df4
2023-12-04 14:51:49 -08:00
William McVicker
6113fc26ac Merge "Update Android V compatibility matrix" into main am: 1ba87c3848
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2854992

Change-Id: Id56afc33e284436dc03dccc4d055652d8ab8743b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-04 18:56:24 +00:00
Antoine SOULIER
8c90f1f7b5 Codec Extensibility Base AIDL
Test: m
Bug: 297037759
Change-Id: I3f440a75aeada6c8739b89f89a6d942488c8ce77
2023-12-04 18:51:16 +00:00
Jakub Rotkiewicz
e70014de66 Upgrade VNDK version to 4
Change-Id: I5566a1ef857f7db6c1dc04fcf16aa16fb6e1063a
2023-12-04 17:52:18 +00:00
William McVicker
1ba87c3848 Merge "Update Android V compatibility matrix" into main 2023-12-04 17:48:03 +00:00
Mikhail Naganov
73ddfafe34 Merge "audio: Fix remote submix module I/O timing and atomicity" into main am: 5260337cbb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2855474

Change-Id: I8009303c123c5475efcc1744372345a37439f782
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-04 05:25:06 +00:00
Treehugger Robot
3037d5f57a Merge "CEC Fuzzer Fix" into main am: db3d24bb3f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766489

Change-Id: I55431589b1aab7bb56272031eba6d52b06c5eb38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-04 05:24:02 +00:00
Mikhail Naganov
5260337cbb Merge "audio: Fix remote submix module I/O timing and atomicity" into main 2023-12-04 04:48:42 +00:00
Treehugger Robot
db3d24bb3f Merge "CEC Fuzzer Fix" into main 2023-12-04 04:34:53 +00:00
Henri Chataing
2228368579 Merge "bluetooth/audio: Apply android.hardware.bluetooth.audio-update-api" into main am: 57f52da3c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2854985

Change-Id: I78cfefd02e286c1697fd131ff5cb0aadb831b73b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-02 21:09:01 +00:00
Henri Chataing
57f52da3c8 Merge "bluetooth/audio: Apply android.hardware.bluetooth.audio-update-api" into main 2023-12-02 20:35:04 +00:00
Treehugger Robot
36ddf736c6 Merge "Remove symlink to audio_effects_conf.xsd" into main am: a35b13c3a3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2852787

Change-Id: Ic85730de1446cf6411cc7d720354cd922fa244a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-02 07:39:52 +00:00
Treehugger Robot
a35b13c3a3 Merge "Remove symlink to audio_effects_conf.xsd" into main 2023-12-02 06:30:35 +00:00
Mikhail Naganov
0608545377 audio: Fix remote submix module I/O timing and atomicity
Similar to the primary module implementation, align the time
spent in the transfer operation with the duration of audio.

Change the read operation to ingest as much data as possible
during the audio burst duration.

Ensure that checking the existence of a SubmixRoute and adding
a new one is an atomic operation.

Minor improvements to avoid extra synchronization.

In the configuration, change the limit of max open streams to 10
to match the legacy implementation.

Bug: 302132812
Test: atest CtsMediaAudioTestCases --test-filter=".*AudioPlaybackCaptureTest#testPlaybackCaptureDoS"
Change-Id: Iccb6aaac46c039551c3d5f7760b1459168d9cfe5
2023-12-01 16:39:52 -08:00
Umesh Vats
5e480a73d0 Bluetooth LMP Events: Interface for LMP events
Interface for monitoring bluetooth LMP events for a specific device.

Bug: 281503650
Change-Id: I1de25184a6e67c9f13c33c0d4283dc51855d5dc4
2023-12-01 13:43:21 -08:00
Shunkai Yao
cbc5cad748 Merge "Effect AIDL: add AudioTrack metadata as a common parameter for effects" into main am: 4181e7db41
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850160

Change-Id: I42f97ff90df079fa1344207402f2ef182b2eba52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 18:46:51 +00:00
Shunkai Yao
4181e7db41 Merge "Effect AIDL: add AudioTrack metadata as a common parameter for effects" into main 2023-12-01 18:29:21 +00:00
Ted Wang
512e8ac9dc Merge changes from topic "bluetooth_finder_hal" into main am: 2865f1ec72
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2829530

Change-Id: I5852bd380ca0feca6f1bf04e9571cde5fc29237b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 18:17:06 +00:00
Ted Wang
3e3f4868eb Bluetooth Finder: Interface for Bluetooth Finder am: 36556927b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2819239

Change-Id: Icf34c417aecb518cae8e7c54de114adcdc1883b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 18:16:59 +00:00
Ted Wang
2865f1ec72 Merge changes from topic "bluetooth_finder_hal" into main
* changes:
  Bluetooth Finder: Add Vts and AIDL default implement
  Bluetooth Finder: Interface for Bluetooth Finder
2023-12-01 17:41:04 +00:00
Ted Wang
198746f6bd Bluetooth Finder: Add Vts and AIDL default implement
Bug: 307897345
Bug: 310790725
Test: atest VtsHalBluetoothFinderTargetTest
Change-Id: I20eba31695627cde2fdb212657c952f74615ea46
2023-12-01 03:51:45 +00:00
Ted Wang
36556927b1 Bluetooth Finder: Interface for Bluetooth Finder
Bug: 307897939
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: I111b9e20831c094dcb42432e9d83f9fd326ff953
2023-12-01 03:49:04 +00:00
Will McVicker
01c01c11a4 Update Android V compatibility matrix
...to drop 5.15 and add 6.6.

Bug: 311450232
Change-Id: I5743f9fb403c3d1aa2d97f74f37d7ea61fe8b359
2023-11-30 18:14:38 -08:00
Cole Faust
85b661ae19 Remove symlink to audio_effects_conf.xsd
A change is being made so that sandboxed actions need to add a
dependency on the targets of the symlinks they use. All xsd_config
modules use sandboxing by default.

In this case, the symlink isn't necessary, and we can just depend
on the audio_effects_conf_V2_0 genrule instead.

Bug: 307824623
Test: Presubmits
Change-Id: Ia3c2e8adced78b39881d8c0390c881c0d28ecde4
2023-11-30 14:13:28 -08:00
Henri Chataing
d1dc2e1283 bluetooth/audio: Apply android.hardware.bluetooth.audio-update-api
Test: TreeHugger
Change-Id: Ie80345adf1723bc9044c2065b9c4ddb95b7e3ea4
2023-11-30 18:25:56 +00:00
Treehugger Robot
3e513c9d92 Merge "Add new CertificateType for the RKP VM" into main am: 3cf2309b7b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850345

Change-Id: I2a27decd69b81103f2d5d9d1a57af97e560f6467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 17:54:02 +00:00
Treehugger Robot
3cf2309b7b Merge "Add new CertificateType for the RKP VM" into main 2023-11-30 17:00:20 +00:00
Seth Moore
690571283b Add new CertificateType for the RKP VM
The RKP VM is part of the Android Virtualization Framework. It will be
uniquely authenticated by the RKP server, and therefore needs its own
certificate type.

Bug: 300624493
Change-Id: Ice586ad85ae43235dd80a5d220603e7394c1c49b
2023-11-30 15:55:54 +00:00
Venkatarama Avadhani
e017878151 CEC Fuzzer Fix
Ensure that the mock CEC exits cleanly when the service that created it
dies.

Bug: 293249165
Test: android.hardware.tv.hdmi.cec-service_fuzzer

Change-Id: Ic7b69ddb10414cbdf6570056144b8013f497e7dc
2023-11-30 16:37:32 +05:30
Treehugger Robot
e2912b9c83 Merge "Remove symlink to audio_effects_conf.xsd" into main am: f75750965f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2853029

Change-Id: I1da99bc70377ee3dd00eed40f5494aa7c47883df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 03:15:48 +00:00
Treehugger Robot
f75750965f Merge "Remove symlink to audio_effects_conf.xsd" into main 2023-11-30 02:15:49 +00:00
Cole Faust
36efc06267 Remove symlink to audio_effects_conf.xsd
A change is being made so that sandboxed genrules need to add a
dependency on the targets of the symlinks they use.

In this case, the symlink isn't necessary, and we can just depend
on the audio_effects_conf_V2_0 genrule instead.

Bug: 307824623
Test: m audio_effects_conf_V4_0
Change-Id: I6ddaa81e08d7c4a9c29412b11a08f1d6b88689b5
2023-11-29 13:49:21 -08:00
Devin Moore
cc1365ffec Merge "Register bluetooth.audio in the audioservice AIDL example" into main am: 6504238fd7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850408

Change-Id: I722ea95b33d284b7b6ae2dc1efd253e0d7558e88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 19:24:31 +00:00