Commit Graph

40305 Commits

Author SHA1 Message Date
Yu Shan
9ab4ffb43e Add AndroidCarApiTest to presubmit.
Add AndroidCarApiTest to presubmit because it is using VHAL.

Test: None
Bug: None
Change-Id: I4be1e2bb10a8a1f59cbc36b029083a7781fde5fa
2022-02-15 19:29:19 -08:00
TreeHugger Robot
ba6301fd60 Merge "Clarify optionality of head tracker velocity" 2022-02-15 21:42:55 +00:00
Michael Butler
7407ee8074 Merge "Clamp NNAPI HAL Version to runtime version -- hal" am: b66f1308ac am: 27e3ce4cf6 am: 9c4d73c39d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985406

Change-Id: I6b5669f02cf59128acb218d0baf1a2ea3cc99b39
2022-02-15 20:05:05 +00:00
Brian Duddie
03e15d8e8f Clarify optionality of head tracker velocity
Bug: 218911221
Test: n/a, comment change only
Change-Id: I2645114727c452df8d53ad015736f9f2d8d5b6e2
2022-02-15 19:56:12 +00:00
Michael Butler
9c4d73c39d Merge "Clamp NNAPI HAL Version to runtime version -- hal" am: b66f1308ac am: 27e3ce4cf6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985406

Change-Id: Ie0822571c027360ba8bf49cd3f1f9943745ff109
2022-02-15 19:47:32 +00:00
Michael Butler
27e3ce4cf6 Merge "Clamp NNAPI HAL Version to runtime version -- hal" am: b66f1308ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985406

Change-Id: Ifebccd1297cef08bdc1974eebea11bc7712a7061
2022-02-15 19:36:22 +00:00
Michael Butler
b66f1308ac Merge "Clamp NNAPI HAL Version to runtime version -- hal" 2022-02-15 19:17:40 +00:00
Treehugger Robot
b219fec730 Merge "Add Bluetooth Audio AIDL HAL VTS" am: fd4d63ff51 am: 31e7dfc4f3 am: b33b760eea
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1946231

Change-Id: Ie78296a362515717c4972cc108e97d14a5a80a58
2022-02-15 17:25:22 +00:00
Treehugger Robot
b33b760eea Merge "Add Bluetooth Audio AIDL HAL VTS" am: fd4d63ff51 am: 31e7dfc4f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1946231

Change-Id: I7f558474bec145c3de3411bad397305565e4f366
2022-02-15 17:09:59 +00:00
Treehugger Robot
31e7dfc4f3 Merge "Add Bluetooth Audio AIDL HAL VTS" am: fd4d63ff51
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1946231

Change-Id: Ied61edbedb58214d5bfe641110c3343770ac8792
2022-02-15 16:57:12 +00:00
Treehugger Robot
fd4d63ff51 Merge "Add Bluetooth Audio AIDL HAL VTS" 2022-02-15 16:41:05 +00:00
Treehugger Robot
2d5a397487 Merge "Declare license metadata for copied files." am: 243be18aa1 am: bfede49097 am: 553bedcd1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984822

Change-Id: Ie6eeedaf0e84c44ddcdc0b2c0f83819013712251
2022-02-15 09:29:38 +00:00
Josh Wu
049e2cd327 Add Bluetooth Audio AIDL HAL VTS
Test: atest VtsHalBluetoothAudioTargetTest
Bug: 203490261
Change-Id: I1583cec9eacb18cfb285b3d12ca876def61342bd
2022-02-15 01:09:40 -08:00
Treehugger Robot
553bedcd1e Merge "Declare license metadata for copied files." am: 243be18aa1 am: bfede49097
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984822

Change-Id: I4a7cb586be8623ae94f4823b2708c0aa8877bf7f
2022-02-15 08:48:55 +00:00
Treehugger Robot
bfede49097 Merge "Declare license metadata for copied files." am: 243be18aa1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1984822

Change-Id: Ic849a8df3668f36a08f45f02e669e1995d725c9e
2022-02-15 08:25:25 +00:00
Treehugger Robot
243be18aa1 Merge "Declare license metadata for copied files." 2022-02-15 08:09:18 +00:00
Treehugger Robot
8e64385bc4 Merge "Run SAP tests on slots based on configs" am: ef8b4bee56 am: a16e677d82 am: 6a57e5041d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968993

Change-Id: Ic79f503fe35621651294c99dfe8d1f37ff4edd36
2022-02-15 05:27:21 +00:00
Treehugger Robot
6a57e5041d Merge "Run SAP tests on slots based on configs" am: ef8b4bee56 am: a16e677d82
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968993

Change-Id: I8ee8db246ec8fa95fe50edc4ce2501617760e637
2022-02-15 05:06:17 +00:00
TreeHugger Robot
690a98e945 Merge "Provide dimming ratio instead of white point nits in composer" 2022-02-15 04:58:06 +00:00
Treehugger Robot
a16e677d82 Merge "Run SAP tests on slots based on configs" am: ef8b4bee56
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968993

Change-Id: Iee991178792841a72e3f48e68a1734d3181e8945
2022-02-15 04:48:44 +00:00
Treehugger Robot
ef8b4bee56 Merge "Run SAP tests on slots based on configs" 2022-02-15 04:34:04 +00:00
TreeHugger Robot
1b22c1ff90 Merge "Bump VTS of android.hardware.light to V2" 2022-02-15 04:10:48 +00:00
Treehugger Robot
dfc3e28b6e Merge "Generate constants from the audio HAL V7.1 enums" am: fc81d2e4aa am: 930b7fa5c9 am: 04f00c947d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985168

Change-Id: I2637ccfe2c223965468e700a367730295e5e8086
2022-02-15 03:43:07 +00:00
Ram Indani
a051311593 Merge "ClientComposition test fix" 2022-02-15 03:29:27 +00:00
Ram Indani
9a034e45b0 Merge "Clean up the GraphicBuffer." 2022-02-15 03:29:18 +00:00
Treehugger Robot
04f00c947d Merge "Generate constants from the audio HAL V7.1 enums" am: fc81d2e4aa am: 930b7fa5c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985168

Change-Id: Ic75dcd204dbdde4ad3dc415371b9c90b3207c5bb
2022-02-15 03:25:36 +00:00
Michael Butler
6f497d1833 Clamp NNAPI HAL Version to runtime version -- hal
The NNAPI is a Mainline Module, and its runtime version is determined by
an Android Feature Flag to remotely rollout and rollback Feature Levels
as needed. This change propagates the maximum feature level version
allowed by the runtime to the HAL utility code, and clamps the utility
code's version to the version allowed by the runtime.

Bug: N/A
Test: mma
Test: CtsNNAPITestCases
Test: NeuralNetworksTest_static
Test: logged driver version, set current_feature_level, and verified the
      driver version was clamped by current_feature_level
Change-Id: Ibaa895f8e35d36b2ddf9432b3ef9468e5886075f
2022-02-14 19:21:09 -08:00
Treehugger Robot
930b7fa5c9 Merge "Generate constants from the audio HAL V7.1 enums" am: fc81d2e4aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1985168

Change-Id: Ibc53803f3416206777f55b55628b3465666fcf40
2022-02-15 03:12:37 +00:00
Treehugger Robot
fc81d2e4aa Merge "Generate constants from the audio HAL V7.1 enums" 2022-02-15 02:58:32 +00:00
ramindani
b1144219bf ClientComposition test fix
Client composition test was broken because there was a buffer
created at the test creation and this is not how
this test works for client composition trigger.
And for the fence that was used is different from what it
needs previously fence was acquired through gralloc but now
it's internal to the Graphic Buffer and we no longer
have to  wait for the fence to signal it's taken care
by the graphicBuffer->unlock call, the unlock call waits
for us.
See for unlock https://source.corp.google.com/android/frameworks/native/libs/ui/GraphicBufferMapper.cpp;rcl=HEAD;l=139

BUG: 216170021

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I8fa25d8910a4e2b1df2f0e2270445a658e3b1a39
2022-02-14 21:34:58 +00:00
ramindani
0a2bee4eba Clean up the GraphicBuffer.
HIDL tests don't have any buffer created when test execution starts and with GraphicBuffer that wasn't the case.
We only initialize the buffer when required the way gralloc implementation did.

BUG: 199413815

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I3aeec5b00e30e636de2e58cf7e6ced5539ae19b6
2022-02-14 21:33:08 +00:00
Chen Chen
454950128e Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will be inside Bluetooth" am: 585dc0b0b2 am: d32943e46c am: 9c2200bd71
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1982798

Change-Id: I81f6ba4b07a7b25f2c532e6f5d44eb17fdb0858f
2022-02-14 20:33:30 +00:00
Chen Chen
9c2200bd71 Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will be inside Bluetooth" am: 585dc0b0b2 am: d32943e46c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1982798

Change-Id: I62a9011e1c767b0979927c74b5e3d58fea675737
2022-02-14 20:23:05 +00:00
Chen Chen
d32943e46c Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will be inside Bluetooth" am: 585dc0b0b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1982798

Change-Id: Ia2119934a26200e3b50f86bbf6fa591ee05656c5
2022-02-14 19:46:33 +00:00
Chen Chen
585dc0b0b2 Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will be inside Bluetooth" 2022-02-14 19:26:29 +00:00
Yu Shan
6e6287b23b Merge "Remove default value for AP_POWER_STATE_REQ." 2022-02-14 19:14:42 +00:00
Mikhail Naganov
42bbd27a48 Generate constants from the audio HAL V7.1 enums
Generate using dedicated file for each minor uprev.

Bug: 214426419
Test: m
Change-Id: I23954e427a4df37b20e392a7c7dc85f2513485f9
2022-02-14 19:08:09 +00:00
Mikhail Naganov
117ef4db12 [automerger skipped] Merge changes from topic "upstream-hal-v7_1-p4" am: 7ed70a8033 am: 991c01efc3 am: e18ab24d7a -s ours
am skip reason: Merged-In I415cbadae9d325ac63160e49e5e638906c8c63fd with SHA-1 285c0a041c is already in history

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

Change-Id: I0a78465f9125cf13bd57ec15da35d37296f5f46a
2022-02-14 18:34:09 +00:00
Mikhail Naganov
872beb16ee Make AUDIO_USAGE_NOTIFICATION_EVENT available to HALs am: a85cebb63e am: 783f8f14e2 am: 6ae5c189c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983828

Change-Id: Ibb5768f2e6ad8d7d2eba6caece5f7a495d7d2bd6
2022-02-14 18:34:05 +00:00
Mikhail Naganov
06285a092b [automerger skipped] audio: Add android.hardware.audio[.common]@7.1-util modules am: ec8ef38ad9 am: b105faaa74 am: 02adb71384 -s ours
am skip reason: Merged-In Icc5a354cdc2e377a2a2424c28377bcb0ba05bf4e with SHA-1 fa4a4f8da7 is already in history

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

Change-Id: I189c4e65915b1bffe3b354600fa41862a7d9bd55
2022-02-14 18:34:02 +00:00
Carter Hsu
6250919bdd [automerger skipped] audio: add Ultrasound materials to 7.1 am: ff62b259f8 am: 84a54dfc28 am: 58980c517a -s ours
am skip reason: Merged-In I50ba1272c0b29e482532010f1aca0b6ec83e925c with SHA-1 bb2fe3f4d5 is already in history

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

Change-Id: I4262274bda50c25e1e4d0dc33de7744325e6eeec
2022-02-14 18:33:59 +00:00
Xin Li
a5e9373d65 [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: 3125505251 -s ours am: 5b873dc766 -s ours
am skip reason: Merged-In Id9e06f88539b59480d5cf57a4ba67cef4676c1d5 with SHA-1 4847855f2b is already in history

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

Change-Id: I72650441a825243a64a72117fafb565fda5671fc
2022-02-14 18:21:29 +00:00
Mikhail Naganov
e18ab24d7a Merge changes from topic "upstream-hal-v7_1-p4" am: 7ed70a8033 am: 991c01efc3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983829

Change-Id: Ic2a0f97d4cbc8a23251cce48cc01481b5b4aa920
2022-02-14 18:15:54 +00:00
Mikhail Naganov
6ae5c189c2 Make AUDIO_USAGE_NOTIFICATION_EVENT available to HALs am: a85cebb63e am: 783f8f14e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983828

Change-Id: Ia38cbd174b23617b1cc0877c3e72bc7ae55930e0
2022-02-14 18:15:50 +00:00
Mikhail Naganov
02adb71384 audio: Add android.hardware.audio[.common]@7.1-util modules am: ec8ef38ad9 am: b105faaa74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983827

Change-Id: I61192818c929061ed2f34bab62216eec031ac3e9
2022-02-14 18:15:47 +00:00
Carter Hsu
58980c517a audio: add Ultrasound materials to 7.1 am: ff62b259f8 am: 84a54dfc28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983826

Change-Id: I5d7edc8b00476ac18a8f039a3c16e449752b9393
2022-02-14 18:15:44 +00:00
Xin Li
5b873dc766 [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: 3125505251 -s ours
am skip reason: Merged-In Id9e06f88539b59480d5cf57a4ba67cef4676c1d5 with SHA-1 4847855f2b is already in history

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

Change-Id: Icd1efa9c32ad909231b7d589e15ec11513babc49
2022-02-14 18:04:05 +00:00
Mikhail Naganov
991c01efc3 Merge changes from topic "upstream-hal-v7_1-p4" am: 7ed70a8033
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983829

Change-Id: Ia4fcb46866d63f3b96f66507473c86d50aa65b60
2022-02-14 17:50:49 +00:00
Mikhail Naganov
783f8f14e2 Make AUDIO_USAGE_NOTIFICATION_EVENT available to HALs am: a85cebb63e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983828

Change-Id: I504cde4ada1bfad2194cf094ebed3c11600fb598
2022-02-14 17:50:46 +00:00
Mikhail Naganov
b105faaa74 audio: Add android.hardware.audio[.common]@7.1-util modules am: ec8ef38ad9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1983827

Change-Id: Icc048416563b33e5dbe27af6ff920ee271027afc
2022-02-14 17:50:44 +00:00