Commit graph

34362 commits

Author SHA1 Message Date
Josh Gao
2d91b225ec Enable MS OS descriptors for adb.
This change ported from
https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1116495

Bug: 68993980
Test: check_ms_os_desc
Change-Id: Ifb758f796e58ee648987a71c3aa6f2b4b8004273
2021-12-23 14:36:15 -08:00
Treehugger Robot
4959dded71 Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." 2021-12-23 22:06:57 +00:00
Treehugger Robot
302854716c Merge "Add OWNERS for VTS module VtsHalMemtrack test." 2021-12-23 21:59:13 +00:00
Yiming Pan
e9640e00ae Add OWNERS for VTS module VtsHalIrV1_0TargetTest.
Test: Tree Hugger
Bug: 143903671
Change-Id: I7377cfcf11b87f346c546fd794e9da83d02085f5
2021-12-23 09:51:01 -08:00
Yiming Pan
74948b8ac3 Add OWNERS for VTS module VtsHalMemtrack test.
Test: Tree Hugger
Bug: 143903671
Change-Id: I1fa7a1246d83fd59997b7c15d6535111dacf3fcb
2021-12-23 09:48:09 -08:00
Devin Moore
ba51f773dc Merge "Convert IR interface to AIDL" 2021-12-22 21:44:17 +00:00
Treehugger Robot
c8b8ec2983 Merge "health: Add AIDL VTS to general-tests." 2021-12-22 21:23:27 +00:00
Yifan Hong
199b85ed07 Merge "health: AIDL HAL may replace HIDL HAL." 2021-12-21 23:50:21 +00:00
Alice Kuo
f33cea94ce Add onSessionEnded handle for HIDL 2.2
1. The audio driver need to get the session status callback as the
sessionEnded
2. Update the invalid audio configuration based on the session type

Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Test: Turn on/off bluetooth to make sure the onSessionEnded work well

Change-Id: Id758b556e8f5c9b63052a408154f02082515091c
2021-12-21 02:19:05 +00:00
Yifan Hong
9a3de3ccc0 health: AIDL HAL may replace HIDL HAL.
Relax the requirement on compatibility matrices
that HIDL health HAL must exist on devices with
target level 3~6, because they may have the AIDL
health HAL instead. Use DeviceManifestTest.HealthHal
to enforce the requirement.

Test: TH
Bug: 211518384
Change-Id: I9f82278bd10e2bd775705041630bcb6f421df8b8
2021-12-20 18:00:07 -08:00
Tomasz Wasilczyk
ceb3a960ed Merge "Add OWNERS file for AIDL-HIDL compat shim layer" 2021-12-20 22:24:48 +00:00
Tomasz Wasilczyk
0675bafd42 Add OWNERS file for AIDL-HIDL compat shim layer
Bug: 203699028
Test: N/A
Change-Id: I02650c8d1f0af58df7094a7316d65599bf0512f1
2021-12-20 12:33:30 -08:00
Treehugger Robot
d2645ae70c Merge "Add support LE audio offload for HIDL 2.2" 2021-12-20 14:14:41 +00:00
Treehugger Robot
81c9e603ea Merge "fix VtsHalGraphicsComposerV2_2TargetTest timeout failed" 2021-12-16 20:17:04 +00:00
Etienne Ruffieux
c07fb30b8f Merge "Renamed bluetooth apex name to com.android.bluetooth" 2021-12-16 18:10:44 +00:00
David Drysdale
17393cbb40 Merge "KeyMint: new version number in attestation" 2021-12-16 09:37:15 +00:00
Kui1 Wu
ada2850cfb fix VtsHalGraphicsComposerV2_2TargetTest timeout failed
run VtsHalGraphicsComposerV2_2TargetTest will timeout failed
when there is dual displays. use `std::unordered_set` Display type,
`std::vector<Display>(mDisplays.begin(), mDisplays.end())` as
getDisplays return value, mDisplays elements order may not be
same as the order of hotplug events during boot matters.
We should store `mDisplays` as `std::vector`, since the order of
hotplug events during boot matters in determining the primary display.

Bug: 209409863
Test: run vts -m VtsHalGraphicsComposerV2_2TargetTest

Signed-off-by: Kui1 Wu <wukui1@xiaomi.com>
Change-Id: I628ad593640f28fb8a916822a91ac2c578cc299d
2021-12-16 08:18:15 +00:00
Alice Kuo
79c02160ef Add support LE audio offload for HIDL 2.2
1. Clean up the LE offlload path for HIDL 2.1
2. Add support offload path start/suspend/stop function with HIDL 2.2

Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call

Change-Id: I2295b62fc2255d247f18f0852de2b40e6280d282
2021-12-16 15:00:23 +08:00
Devin Moore
0de7ad674e Convert IR interface to AIDL
Add new default that implements/serves the AIDL interface.
Add new VTS test to test the interface implementation.

Test: atest ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Bug: 205000342

Change-Id: I52c4b3a70341cf91efc2fd187794e3fd60b9000c
2021-12-16 00:25:59 +00:00
Treehugger Robot
b05a7c1376 Merge "Add android.hardware.security.dice HAL interface." 2021-12-16 00:16:45 +00:00
Gabriel Biren
a798cf2c63 Merge "Add Wifi HAL supplicant AIDL interface definitions." 2021-12-15 21:13:41 +00:00
Janis Danisevskis
c3cc5a0b21 Add android.hardware.security.dice HAL interface.
The dice HAL provides access to the Dice artifacts of the running Android
instance.

Bug: 198197213
Test: VTS test comming in two ...
Change-Id: I6e84f9a9c7153e7a96c06d1d451e658b3f222586
2021-12-15 08:52:07 -08:00
Etienne Ruffieux
f58147b712 Renamed bluetooth apex name to com.android.bluetooth
Tag: #feature
Bug: 206614050
Test: Compiles
Change-Id: I1118409952f16001b1144c91be1e9c81b0c489f0
2021-12-15 15:46:05 +00:00
David Drysdale
7dff4fc9b7 KeyMint: new version number in attestation
For the time being, allow the version number in the attestation record
to be 100 even if the AIDL version is 2, so that implementations don't
have to update both versions simultaneously.

Bug: 194358913
Test: TreeHugger, VtsAidlKeyMintTargetTest
Change-Id: I9aae69327a62014e286ce30ca2a4d91c4c280714
2021-12-15 14:31:19 +00:00
David Drysdale
a67b0441fe Merge "KeyMint VTS: ATTEST_KEY has no other purpose" 2021-12-15 06:25:35 +00:00
Gabriel Biren
28a4812752 Add Wifi HAL supplicant AIDL interface definitions.
Converted from android.hardware.wifi.supplicant@1.4 HIDL interface.

Bug: 196235436
Test: m android.hardware.wifi.supplicant-update-api
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency

Change-Id: I9872f297450457c347fb5fe8cf4005b01d3ab1f6
2021-12-14 23:45:07 +00:00
Yifan Hong
8469276466 health: Add AIDL VTS to general-tests.
This allows it to run on forrest.

Test: pass
Bug: 203245778
Change-Id: I78481d5bd7185cd660243e44440982f50c9f07ca
2021-12-14 20:31:28 +00:00
Xin Li
b16c246ddc Merge "Merge Android 12 QPR1" 2021-12-14 20:25:22 +00:00
Seth Moore
0834ba697f Merge "Revert^2 "KeyMint HAL: add curve 25519, bump version"" 2021-12-14 18:49:58 +00:00
Steven Moreland
a8138bfbf6 Merge "CHECK -> CHECK_EQ copy pasta" 2021-12-14 17:37:00 +00:00
Xin Li
f28c9c1699 Merge Android 12 QPR1
Bug: 210511427
Merged-In: I66e5209ddfba025f43ca0beb7067e6e0e29f9e46
Change-Id: Ie3a9dfd72939b5b876a25dfe87fb6d28314b08dc
2021-12-14 08:39:09 -08:00
Steven Moreland
ffb03995e6 CHECK -> CHECK_EQ copy pasta
Hey did I start this? We can take a little bit better errors. :)

Bug: N/A
Test: N/A
Change-Id: I0e96f7f49dae9968904333da9b8269694058c11c
2021-12-14 01:45:47 +00:00
Treehugger Robot
41aaa16fca Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" am: ac7e154391
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918954

Change-Id: I66e5209ddfba025f43ca0beb7067e6e0e29f9e46
2021-12-13 21:46:31 +00:00
Treehugger Robot
ac7e154391 Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" 2021-12-13 21:28:25 +00:00
Seth Moore
d79a0ec9ed Revert^2 "KeyMint HAL: add curve 25519, bump version"
e76045d7b0

Change-Id: Ia167fd45b6e590e34523810ee10118c5c141f538
2021-12-13 20:03:33 +00:00
David Drysdale
f121b2c2bb Merge "Revert "KeyMint HAL: add curve 25519, bump version"" am: 391a772300
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918632

Change-Id: Ib4dac4d42b75c971d91ccad16744da8f6f9622e3
2021-12-13 16:31:04 +00:00
David Drysdale
391a772300 Merge "Revert "KeyMint HAL: add curve 25519, bump version"" 2021-12-13 16:14:16 +00:00
Eran Messeri
309c32adb7 Merge "Keymint: Test that corrupting the signature for HMAC verification fails" am: 924613950c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915101

Change-Id: Ie35fb7e130bbd0eab84ab5a67b1d9afba41f0130
2021-12-13 16:08:20 +00:00
David Drysdale
e76045d7b0 Revert "KeyMint HAL: add curve 25519, bump version"
Revert "Bump keystore2 AIDL API version 1->2"

Revert "Advertise support of KeyMint V2"

Revert submission 1900930-version-bump

Reason for revert: Broken build on sc-qpr1-dev-plus-aosp, b/210450339
Reverted Changes:
I42a9b854f:keystore2: cope with new curve25519 enum
I167d568d6:Bump keystore2 AIDL API version 1->2
I3a16d072e:Advertise support of KeyMint V2
Ibf2325329:KeyMint HAL: add curve 25519, bump version

Change-Id: I78d4b07c41aa6bfeb367b56a58deeac6adb6ec46
2021-12-13 16:01:21 +00:00
Eran Messeri
924613950c Merge "Keymint: Test that corrupting the signature for HMAC verification fails" 2021-12-13 15:51:33 +00:00
David Drysdale
5a63e3ea57 Merge "KeyMint HAL: add curve 25519, bump version" am: f21e1a5c4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1900930

Change-Id: I21b806aea83eadfceb63308e7ec697ac5ae11a4c
2021-12-13 14:48:32 +00:00
David Drysdale
f21e1a5c4a Merge "KeyMint HAL: add curve 25519, bump version" 2021-12-13 14:25:22 +00:00
Treehugger Robot
b60680edf3 Merge "Improve getModemActivityInfo API" am: aa8c59bea2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: I8801ac7f54bd8e939870a81fee12e003285d1720
2021-12-13 03:54:35 +00:00
Treehugger Robot
aa8c59bea2 Merge "Improve getModemActivityInfo API" 2021-12-13 03:36:35 +00:00
Yifan Hong
e36f3492e9 Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."
c223843fa7

Change-Id: I48d2bc41338dc3d5eb194c6f4e4602af407e3e56
2021-12-10 23:53:47 +00:00
David Gross
d90a3fdb5a Merge "FL7: Refine REVERSE specification" am: dd26914af7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1915765

Change-Id: I40a830417802f9230df06f86faf09f9ababd2dc4
2021-12-10 22:29:42 +00:00
David Gross
dd26914af7 Merge "FL7: Refine REVERSE specification" 2021-12-10 22:13:09 +00:00
Yifan Hong
e5f1c03414 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" am: 5ad3bb1f87
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918448

Change-Id: I0488ff4dc0e6d19c562ae6c771f7165886b3b683
2021-12-10 21:33:19 +00:00
Yifan Hong
5ad3bb1f87 Merge "Revert "health: require AIDL HAL and deprecate HIDL HAL."" 2021-12-10 21:11:24 +00:00
Yifan Hong
c223843fa7 Revert "health: require AIDL HAL and deprecate HIDL HAL."
Revert "Implement health AIDL HAL on cuttlefish."

Revert submission 1891478-health-aidl-cuttlefish

Reason for revert: break db845c build
Reverted Changes:
Ibd4dec0a2:health: require AIDL HAL and deprecate HIDL HAL.
Ic1c753b40:Implement health AIDL HAL on cuttlefish.

Fixes: 210084272

Change-Id: I5ad1bcb788598eb93053c85e5d56f49643ba9037
2021-12-10 20:53:30 +00:00