Commit graph

36286 commits

Author SHA1 Message Date
Treehugger Robot
2617347b0b Merge "Correct the offload capability and update comment" 2022-02-09 10:36:38 +00:00
Treehugger Robot
9035e139ca Merge "Spatial Audio: Move setLowLatencyModeAllowed from hidl to aidl" am: f256758df4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977526

Change-Id: I847f32fd793cb3c99fc55eb914c64119596f8d40
2022-02-09 06:21:19 +00:00
Treehugger Robot
f256758df4 Merge "Spatial Audio: Move setLowLatencyModeAllowed from hidl to aidl" 2022-02-09 06:02:12 +00:00
Alice Kuo
ffd1bf2cc8 Merge "BT: Aptx-Adaptive AIDL changes" am: 303c0f1eb9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1890097

Change-Id: I5a417c5c117303c4c66a5d9439b2730de1f22c7c
2022-02-08 23:12:41 +00:00
Treehugger Robot
be60ee6543 Merge "Make os_version optional for StrongBox" am: fc3fdf1a96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971121

Change-Id: Idc690e4b94a99db7dbcf48a1a7078604a7b0af6d
2022-02-08 23:12:25 +00:00
Alice Kuo
303c0f1eb9 Merge "BT: Aptx-Adaptive AIDL changes" 2022-02-08 23:07:15 +00:00
Treehugger Robot
fc3fdf1a96 Merge "Make os_version optional for StrongBox" 2022-02-08 22:59:29 +00:00
Chen Chen
7cdf8325e9 Spatial Audio: Move setLowLatencyModeAllowed from hidl to aidl
Bug: 214615268
Tag: #feature
Test: build
Change-Id: I37d1ae3408d2ca7ce11d917b1173abb56bde8e76
2022-02-08 13:24:15 -08:00
Treehugger Robot
e0196ed308 Merge changes from topic "upstream-hal-v7_1-p2" am: 3baf9dae14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1975129

Change-Id: I1cf6eadb49a3dba2f6de7baa48047415f921a2d2
2022-02-08 19:54:48 +00:00
Eric Laurent
27f68d69e8 Audio HAL V7.1: Add latency mode APIs am: ed7dfd5f35
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1975128

Change-Id: Ic15b9dbb8ec4ff6a7df05e894bc5c642948be3fd
2022-02-08 19:54:44 +00:00
Treehugger Robot
3baf9dae14 Merge changes from topic "upstream-hal-v7_1-p2"
* changes:
  audio: add new enums for 7.1 HAL
  Audio HAL V7.1: Add latency mode APIs
2022-02-08 19:35:58 +00:00
Chen Chen
136cd4349c Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty implementation" am: c29097a71a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976127

Change-Id: I04e9149a0119c75f170328d442ded1980f9f718d
2022-02-08 19:13:49 +00:00
Chen Chen
c29097a71a Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty implementation" 2022-02-08 18:53:28 +00:00
Alice Kuo
4785920e20 Restrict the bluetooth.audio@2.2 OWNERS for the small group am: 7e4ca8a8f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1976206

Change-Id: Iae326e351e5de2e9dabab380f9d80dfe176aa875
2022-02-08 03:48:54 +00:00
Chen Chen
a4c4c61eed Spatial Audio: Add setLatencyMode and setCodecType API with empty
implementation

Bug: 216832331
Test: build
Tag: #feature

Change-Id: I0ccfee39d1f86da81b50f0757de87b6645baacf8
2022-02-08 02:30:17 +00:00
Alice Kuo
7e4ca8a8f8 Restrict the bluetooth.audio@2.2 OWNERS for the small group
Because the version would be removed soon, we restrict owers for this
folder to easier control the work flow

Bug: 204585486
Test: NA
Change-Id: I82dd380b37aab26b8a438b2371c5025d80ee9598
2022-02-08 10:02:16 +08:00
Nathan Harold
af9e5f36a9 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: I770fc214ef93e8bc3aea0fb2c1cb5bb160ab2846
2022-02-07 22:14:19 +00:00
Xusong Wang
8805b2d67c Address ANAPIC review comments -- hal.
- Document that IPreparedModel::execute*WithConfig are for single-time
  usages, and IPreparedModel::createReusableExecution is for reusable
  usages.
- Make PrepareModelConfig::cacheToken a fixed sized array.

Fixes: 215566186
Test: VtsHalNeuralnetworksTargetTest
Test: NNT_static
Change-Id: I9c5a49c46a3eac2828b9eb666f3d742038493121
2022-02-07 14:02:41 -08:00
Nathan Harold
630637627f Merge "Update UsageSetting Cache before comparison in VTS" 2022-02-07 21:59:57 +00:00
Eric Laurent
16894f0e06 audio: add new enums for 7.1 HAL
Add the following enums to 7.1 audio HAL:
- Spatial audio:
   spatializer output flag
   front wide channel masks

- Bluetooth LE
 broadcast audio device

Bug: 187446271
Test: m android.hardware.audio.common@7.1-enums
Change-Id: I9bfb937ece3a07a7844877de5f355ece1141f92d
(cherry picked from commit 5b8529a1da)
Merged-In: I9bfb937ece3a07a7844877de5f355ece1141f92d
2022-02-07 19:55:51 +00:00
Eric Laurent
ed7dfd5f35 Audio HAL V7.1: Add latency mode APIs
Add APis for controlling the latency mode on an output stream.
Latency mode control is optional but mandated if spatial audio with
head tracking is supported over Bluetooth classic audio link.

Bug: 187446271
Test: m android.hardware.audio@7.1-impl
Change-Id: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
(cherry picked from commit 040984fd44)
Merged-In: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
2022-02-07 19:54:41 +00:00
Treehugger Robot
e27bd9b738 Merge changes from topic "upstream-hal-v7_1" am: e4061de77e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973702

Change-Id: Ia67897d6c993f8e35de6456512d50aa717812e5f
2022-02-07 17:35:43 +00:00
Mikhail Naganov
3271045ef3 Audio HAL V7.1: Update the default implementation am: 8140f5660a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973701

Change-Id: I744d25b19172b8afd94dfc910353059a2a2198e2
2022-02-07 17:35:39 +00:00
Mikhail Naganov
54e9a3a892 Audio HAL V7.1: Interfaces & types am: 51a7e13849
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I0b855acf71e3d8b20e38ae74f6c15b719e5df18e
2022-02-07 17:35:35 +00:00
Treehugger Robot
e4061de77e Merge changes from topic "upstream-hal-v7_1"
* changes:
  Audio HAL V7.1: Update VTS
  Audio HAL V7.1: Update the default implementation
  Audio HAL V7.1: Interfaces & types
2022-02-07 17:15:52 +00:00
subrahmanyaman
0564249f93 Fixed vts tests cases which do not support factory attestation.
Test: Run keymint Vts tests.

Change-Id: I8055fef8df5ec77e317f810f9b95a53311b23cf0
2022-02-05 07:12:33 +00:00
Roopa Sattiraju
a550c194fd Merge "Adding bluetooth apex" am: 7a79c11c44
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932846

Change-Id: I325276032f939aeb4bf2d8b83ed98f9434fd721d
2022-02-05 06:10:25 +00:00
Roopa Sattiraju
7a79c11c44 Merge "Adding bluetooth apex" 2022-02-05 05:56:15 +00:00
Harish Mahendrakar
9f3b352cdb OMX VTS: Added a test to mandate transition to C2 codecs
- For devices launching with S and above, only audio codecs are
  allowed to use OMX.
- For devices launching with T and above, no codecs are allowed
  to use OMX.

Bug: 217793552
Test: atest VtsHalMediaOmxV1_0TargetStoreTest

Change-Id: Iff5e0c45dd7e61be9118bdcec1b6d35db3d39b4e
2022-02-04 17:03:51 -08:00
Mikhail Naganov
563238913b Audio HAL V7.1: Update VTS
Mechanical updates from global greps. Updated test code
to use new methods from V7.1.

Added missing checks for null pointers in
PcmOnlyConfig...StreamTest::releasePatchIfNeeded for V7.

Bug: 214426419
Test: atest VtsHalAudioV7_1TargetTest
Change-Id: Id3a99993bf2ee0c87d44f668d759f7c10db9a435
(cherry picked from commit 40fde0bc07)
Merged-In: Id3a99993bf2ee0c87d44f668d759f7c10db9a435
2022-02-05 00:44:59 +00:00
Mikhail Naganov
8140f5660a Audio HAL V7.1: Update the default implementation
Split versions of "common" and "core" types from
the version of the interfaces. "Common" and "core"
versions are set to 7.0.

Implemented new methods of V7.1 interfaces.

Bug: 214426419
Test: m android.hardware.audio@7.1-impl
Test: m android.hardware.audio@7.0-impl
Test: m android.hardware.audio.effect@7.0-impl
Test: m android.hardware.audio@6.0-impl
Change-Id: Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2
(cherry picked from commit 7d01538eec)
Merged-In: Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2
2022-02-05 00:44:17 +00:00
Mikhail Naganov
51a7e13849 Audio HAL V7.1: Interfaces & types
Introduced V7.1 of the core HAL. The only added methods of
the interfaces are those for creating objects implementing
the new version. HIDL types are from V7.0.

APM XSD is cloned for adding new enums. Provided the minor
update for the enums utility library.

CTS-Coverage-Bug: 215647214
Bug: 214426419
Test: m
Change-Id: I3caa2fda2fb5d7d8e8292e23fb2cf0e32e05c146
(cherry picked from commit a0cd944914)
Merged-In: I3caa2fda2fb5d7d8e8292e23fb2cf0e32e05c146
2022-02-05 00:43:27 +00:00
Roopa Sattiraju
e01400a7e4 Adding bluetooth apex
Bluetooth uses ISAP interfaces which are radio 1.0 HIDL implementation.
ISAP is not migrated to AIDL and would need to be migrated only if adding
any new interfaces to ISAP. Since the usage is only in 1.0 and 1.1 and 1.2
would be backward compatible, adding bluetooth apex only to radio 1.0.


Bug: 206121418
Test: Compile
Change-Id: I4f387fb0a36518cbef99084421a90a5d2f5c26c2
2022-02-05 00:38:40 +00:00
Nathan Harold
374bec341f Update UsageSetting Cache before comparison in VTS
The final step of the RadioNewtorkTest#setUsageSetting
is to restore the original value to the modem in case it was
changed. After doing that, the locally cached value in the
VTS layer needs to be updated before comparing it with the
originally queried value to ensure that the modem was
restored to its initial state.

Bug: 211819471
Test: m VtsHalRadioTargetTest
Change-Id: Ibdd584d91b16bb779a0cefa2f45d2704cdcf7288
2022-02-04 14:41:00 -08:00
Treehugger Robot
8cf5b0071f Merge "Add a top-level OWNERs" am: 95ad078d75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1972199

Change-Id: I2de7b3da46f773bc89c76ab95366b8410c37280a
2022-02-04 21:56:23 +00:00
Treehugger Robot
95ad078d75 Merge "Add a top-level OWNERs" 2022-02-04 21:38:21 +00:00
Alice Kuo
2d38dc52db Move owner file on the top of bluetooth.audio HAL folder am: 2ed773b36d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962887

Change-Id: Iae2370249908c2e1ec75152c901a19a8725c8e52
2022-02-04 18:34:02 +00:00
Alice Kuo
2ed773b36d Move owner file on the top of bluetooth.audio HAL folder
Bug: 204585486
Test: NA
Change-Id: I0edd3a9c98a336b5a18000060e026d878dfe7127
2022-02-04 16:28:43 +00:00
Max Bires
9c28a1ed3a Make os_version optional for StrongBox
This change allows the os_version in the DeviceInfo map to be optional
for StrongBox implementations. It also adds the appropriate changes to
the VTS test to relax this requirement.

Bug: 215444522
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I1695b7c4e7a9bd884fa88c14f9c22bacd38cdbd3
2022-02-03 19:17:38 -08:00
Max Bires
2b8301c90e Merge "Enforcing canonicalization of DeviceInfo." am: 4820b542fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968997

Change-Id: I6d2b837f7f2592fad29546d2e68c559d1ef4904e
2022-02-04 03:00:09 +00:00
Max Bires
4820b542fa Merge "Enforcing canonicalization of DeviceInfo." 2022-02-04 02:44:54 +00:00
Roopa Sattiraju
9793b79ce7 Merge "Adding bluetooth apex and min_sdk_version" am: 85d3fae9c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971382

Change-Id: Ia81995413558eb55383ac4163ebe844636166ed4
2022-02-04 02:23:44 +00:00
Roopa Sattiraju
85d3fae9c5 Merge "Adding bluetooth apex and min_sdk_version" 2022-02-04 02:11:54 +00:00
Chen Chen
5ccb3146c7 Merge "Spatial Audio: Add audio HAL interface for allowing or disallowing low latency audio" am: dc9bfdd2de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965513

Change-Id: Ibfcdece441c51c4dbe16126087574ff347cbffe3
2022-02-04 01:06:31 +00:00
John Reck
b09556a1e9 Add a top-level OWNERs
Test: N/A
Change-Id: I21cd4888b3141dd272fcc72e880402b2ca84bc50
2022-02-03 19:58:21 -05:00
Chen Chen
dc9bfdd2de Merge "Spatial Audio: Add audio HAL interface for allowing or disallowing low latency audio" 2022-02-04 00:45:58 +00:00
Roopa Sattiraju
7455efc39a Adding bluetooth apex and min_sdk_version
Bug: 206121418
Test: Compile
Change-Id: I59dbd7a2b4758be4b90acfd419112e8b9e259219
2022-02-03 14:15:22 -08:00
Max Bires
0b51b97a80 Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: I6caa4b986418cd63b1f0b10c8aedaa2615a961bf
2022-02-03 21:53:41 +00:00
Max Bires
fbc0db2cd2 Fixing spec discrepancy in MacedPublicKey
The algorithm choice was listed as -8 for ES256, when it should be -7.

Fixes: 217691766
Test: Everyone harmoniously agrees by +2'ing.
Change-Id: I7f73efff42ee6d2b3bfb94b74c1208170805b870
2022-02-03 18:51:56 +00:00
Max Bires
8c255e69bf Enforcing canonicalization of DeviceInfo.
This change specifies that the DeviceInfo map returned by the IRPC HAL
implementation should be canonicalized. Additionally, it adds coverage
to the VTS tests to ensure this requirement is enforced.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I276f38497a307c407d305b62a3e9af78a403054e
2022-02-03 01:00:03 +00:00