Commit Graph

35567 Commits

Author SHA1 Message Date
Yifan Hong
3f7dea2fcb Merge "health: AIDL HAL may replace HIDL HAL." am: 199b85ed07 am: 072e0f0d4b am: c3787b4d56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1930724

Change-Id: I2e85f29687644790197dc60148b3981b12fdc1e6
2021-12-22 00:40:40 +00:00
Yifan Hong
c3787b4d56 Merge "health: AIDL HAL may replace HIDL HAL." am: 199b85ed07 am: 072e0f0d4b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1930724

Change-Id: I6074cff3474a6b07677b8f0df9058366a02511f2
2021-12-22 00:23:39 +00:00
Yifan Hong
072e0f0d4b Merge "health: AIDL HAL may replace HIDL HAL." am: 199b85ed07
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1930724

Change-Id: I6eb16556a922c9c85e5c97f35162b9ffa4f8ebd3
2021-12-22 00:06:03 +00:00
Yifan Hong
199b85ed07 Merge "health: AIDL HAL may replace HIDL HAL." 2021-12-21 23:50:21 +00:00
Seongho Kim
0f6302289e [automerger skipped] Cherry pick "Gate gsm/cdma radio feature only for emergency dial" sc-v2-dev am: 41a7f94f87 -s ours
am skip reason: Merged-In I388bc51e58b5680b5b5c806d88a338822af0c8a7 with SHA-1 a0b33745b5 is already in history

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

Change-Id: I82ea6b601b6247c2174f5187cb9ed80104371aac
2021-12-21 21:57:28 +00:00
Alice Kuo
1ce307ddbe Add onSessionEnded handle for HIDL 2.2 am: f33cea94ce am: 6fe717551f am: 99a712ab4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1928381

Change-Id: I83b9e0f240a9d8ace9204c8ded063063d7663148
2021-12-21 19:12:22 +00:00
Alice Kuo
99a712ab4d Add onSessionEnded handle for HIDL 2.2 am: f33cea94ce am: 6fe717551f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1928381

Change-Id: I12e7c6c9acb73ce30ea957b1b1fadab3513c75bd
2021-12-21 18:59:49 +00:00
Alice Kuo
6fe717551f Add onSessionEnded handle for HIDL 2.2 am: f33cea94ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1928381

Change-Id: I18190b6d0da0ee084223a25026266fdccb48854b
2021-12-21 18:47:50 +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
4ae017c44b Merge "Add OWNERS file for AIDL-HIDL compat shim layer" am: ceb3a960ed am: 3d98be7bd3 am: 2271baa693
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927638

Change-Id: I962b14296522b132b790bac7d325473be06d3a67
2021-12-20 23:03:59 +00:00
Tomasz Wasilczyk
2271baa693 Merge "Add OWNERS file for AIDL-HIDL compat shim layer" am: ceb3a960ed am: 3d98be7bd3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927638

Change-Id: I228c90c7cc11ee9f61a9d04f02b73d0dd31fb2d4
2021-12-20 22:52:16 +00:00
Tomasz Wasilczyk
3d98be7bd3 Merge "Add OWNERS file for AIDL-HIDL compat shim layer" am: ceb3a960ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927638

Change-Id: Id0ba322265948ad51f6a885e39280d61e65aff84
2021-12-20 22:40:20 +00: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
5bd86bb75c Merge "Add support LE audio offload for HIDL 2.2" am: d2645ae70c am: 5513c4351b am: e22eea81ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927137

Change-Id: I682e3d05bf5fa8638a20d3c5bd242477df75e03c
2021-12-20 15:05:25 +00:00
Treehugger Robot
e22eea81ce Merge "Add support LE audio offload for HIDL 2.2" am: d2645ae70c am: 5513c4351b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927137

Change-Id: I80e64f02bced5e5e56c72416d024b63acaeb56ba
2021-12-20 14:44:13 +00:00
Treehugger Robot
5513c4351b Merge "Add support LE audio offload for HIDL 2.2" am: d2645ae70c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927137

Change-Id: If3cde9cbdfff6ed3d5dbfc30e4e12c49275346da
2021-12-20 14:29:28 +00:00
Treehugger Robot
d2645ae70c Merge "Add support LE audio offload for HIDL 2.2" 2021-12-20 14:14:41 +00:00
TreeHugger Robot
20d510ef74 Merge "Merge "Add android.hardware.security.dice HAL interface." am: b05a7c1376 am: 1d5af3f5ec" into sc-v2-dev-plus-aosp 2021-12-17 00:22:45 +00:00
Treehugger Robot
9506712ee3 Merge "fix VtsHalGraphicsComposerV2_2TargetTest timeout failed" am: 81c9e603ea am: f864ffeb60 am: f5d2e9f8b8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921757

Change-Id: I10902351f21eb95e5fbfdbc721ab595bd76fb774
2021-12-16 23:15:02 +00:00
Etienne Ruffieux
113278b32e Merge "Renamed bluetooth apex name to com.android.bluetooth" am: c07fb30b8f am: 4f3ee26fcf am: 96e198affd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1924438

Change-Id: Ib1352fbf08ede327cec886bc136b7f5542d90050
2021-12-16 23:13:53 +00:00
David Drysdale
1cce1762fe Merge "KeyMint: new version number in attestation" am: 17393cbb40 am: 0a3c90f904 am: bb5882c6b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918628

Change-Id: Ib930f22030769d965e1e0323cebfc4bf0344dcac
2021-12-16 22:58:36 +00:00
Treehugger Robot
f2e0353561 [automerger skipped] DO NOT MERGE Merge "Add android.hardware.security.dice HAL interface." am: b05a7c1376 am: 1d5af3f5ec am: e05c950a89 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I88ce72f8fb6610b22ad99180dc641bd6a5e4be87
2021-12-16 22:57:10 +00:00
Treehugger Robot
f5d2e9f8b8 Merge "fix VtsHalGraphicsComposerV2_2TargetTest timeout failed" am: 81c9e603ea am: f864ffeb60
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921757

Change-Id: I96caa85615b0484af552d372dcb026e8d63a4d5b
2021-12-16 22:51:50 +00:00
Etienne Ruffieux
96e198affd Merge "Renamed bluetooth apex name to com.android.bluetooth" am: c07fb30b8f am: 4f3ee26fcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1924438

Change-Id: Ie456b32669cbed8d7e0ee1d12db6f2f59f7db32f
2021-12-16 22:44:25 +00:00
David Drysdale
bb5882c6b3 Merge "KeyMint: new version number in attestation" am: 17393cbb40 am: 0a3c90f904
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918628

Change-Id: I7e648891e8621e2ff13d73ddae3cf50dc93109a9
2021-12-16 22:42:41 +00:00
Treehugger Robot
f864ffeb60 Merge "fix VtsHalGraphicsComposerV2_2TargetTest timeout failed" am: 81c9e603ea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921757

Change-Id: Ief5601ad2311b6e24f15167859c1bbec251988df
2021-12-16 21:19:47 +00:00
Treehugger Robot
e05c950a89 DO NOT MERGE Merge "Add android.hardware.security.dice HAL interface." am: b05a7c1376 am: 1d5af3f5ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1883260

Change-Id: If3b724cc66bbc87aad86211c9e7e2f36719f2c33
2021-12-16 20:55:15 +00:00
Treehugger Robot
4ddf8b5668 Merge "Add android.hardware.security.dice HAL interface." am: b05a7c1376 am: 1d5af3f5ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1883260

Change-Id: If3b724cc66bbc87aad86211c9e7e2f36719f2c33
2021-12-16 20:51:39 +00:00
Treehugger Robot
81c9e603ea Merge "fix VtsHalGraphicsComposerV2_2TargetTest timeout failed" 2021-12-16 20:17:04 +00:00
Gabriel Biren
edfe1d1472 Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63 am: dc3be74728 am: 7b93d69e16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: I62c90daf1822e00cc3b7a96f50eec09ec81559fd
2021-12-16 18:48:14 +00:00
Etienne Ruffieux
4f3ee26fcf Merge "Renamed bluetooth apex name to com.android.bluetooth" am: c07fb30b8f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1924438

Change-Id: I4a92dfcf1af677498edc3a7da033040c9d2742c2
2021-12-16 18:19:44 +00:00
Etienne Ruffieux
c07fb30b8f Merge "Renamed bluetooth apex name to com.android.bluetooth" 2021-12-16 18:10:44 +00:00
David Drysdale
0a3c90f904 Merge "KeyMint: new version number in attestation" am: 17393cbb40
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918628

Change-Id: I4ba9a58363ff940f3db7d7dae2e8b5444268535e
2021-12-16 10:44:11 +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
Treehugger Robot
1d5af3f5ec Merge "Add android.hardware.security.dice HAL interface." am: b05a7c1376
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1883260

Change-Id: Ic66d56193c0b4514935537f2f6695968db82feaf
2021-12-16 00:43:52 +00:00
Treehugger Robot
b05a7c1376 Merge "Add android.hardware.security.dice HAL interface." 2021-12-16 00:16:45 +00:00
Seongho Kim
41a7f94f87 Cherry pick "Gate gsm/cdma radio feature only for emergency dial" sc-v2-dev
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908681

Bug: 207920538
Change-Id: I4eb369495d27e697679ecb3d4381f0b3e0cef758
Merged-In: I388bc51e58b5680b5b5c806d88a338822af0c8a7
2021-12-15 22:41:41 +00:00
Gabriel Biren
7b93d69e16 Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63 am: dc3be74728
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: Ida9607319241549e774f41f493c02022870a606a
2021-12-15 22:33:15 +00:00
Gabriel Biren
dc3be74728 Merge "Add Wifi HAL supplicant AIDL interface definitions." am: a798cf2c63
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1916957

Change-Id: I4d745a872ec068f7fb4f1ddc76a95dfc89c5ed43
2021-12-15 21:35:42 +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
6e2b1afdeb Merge "KeyMint VTS: ATTEST_KEY has no other purpose" am: a67b0441fe am: 02c4ee0dca am: 35392ef70e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844276

Change-Id: Ia77411d469b6a291ec333ea27150c5eef8eb2ac1
2021-12-15 07:11:46 +00:00
David Drysdale
35392ef70e Merge "KeyMint VTS: ATTEST_KEY has no other purpose" am: a67b0441fe am: 02c4ee0dca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844276

Change-Id: I6ce6d12e2c1defae42bcc247955c9ccd31c7bac8
2021-12-15 06:57:37 +00:00
David Drysdale
02c4ee0dca Merge "KeyMint VTS: ATTEST_KEY has no other purpose" am: a67b0441fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844276

Change-Id: I8fa3e22b87c28d83819610ea34b99890cfed4ecb
2021-12-15 06:40:44 +00:00