Commit Graph

41933 Commits

Author SHA1 Message Date
jiabin
aaea5644f9 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 2p: 0d43585645 am: 3074154353 am: c9c8e96cfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: I5ffb19250606281dd1af6b299da2348613fe4fc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 23:44:30 +00:00
jiabin
c9c8e96cfd [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 2p: 0d43585645 am: 3074154353
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Change-Id: I816384174e4a35d262f5406bf5100a54d3f6e976
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-11 23:28:48 +00:00
Mikhail Naganov
4f110343d6 audio: Add checks to HIDL -> effect_param_t conversion
By convention, the size of the resulting effect_param_t
can not exceed EFFECT_PARAM_SIZE_MAX. This checks needs
to be enforced when converting from HIDL arguments
into legacy C API structures.

Bug: 237291425
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: Ie92f62b002dc622fa8246139c3d956909670fdb6
2022-07-08 17:08:39 +00:00
jiabin
3074154353 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57 2p: 0d43585645
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Bug: 237288416
Bug: 237717857
Change-Id: I65135fa57c7ba449ad856ef5b4081c3580fb4c6f
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
2022-07-07 23:25:08 +00:00
jiabin
0d43585645 [automerge] Fix array out of bound in audioTransportToHal. 2p: f16c6d3a57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19214732

Bug: 237288416
Bug: 237717857
Change-Id: Id6682357dfe4f1cff5ef5a436f1330a0f6345da7
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
2022-07-07 23:24:47 +00:00
jiabin
f16c6d3a57 Fix array out of bound in audioTransportToHal.
The number of audio profile and extra audio descriptor must not be
greater than the maximum value.

Bug: 237288416
Bug: 237717857
Test: repo step in bug
Test: atest android.hardware.audio.common@7.0-util_tests
Change-Id: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
(cherry picked from commit 0ee75ca925)
2022-07-07 23:24:30 +00:00
Gabriel Biren
7fac450959 Update supplicant AIDL VTS tests to use the new am: dd789ad9dc am: 0f4493c6fc am: 5b71f85740
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19212753

Change-Id: I36534f6c26077a8e1cb0c81ca62a818149ecb3a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 20:08:49 +00:00
Gabriel Biren
5b71f85740 Update supplicant AIDL VTS tests to use the new am: dd789ad9dc am: 0f4493c6fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19212753

Change-Id: Ida1dc5d99756ee4159fb927e680f3c0dc1bc5348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 19:52:49 +00:00
Gabriel Biren
0f4493c6fc Update supplicant AIDL VTS tests to use the new am: dd789ad9dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19212753

Change-Id: Ib202e14265e9301340139c622c0dcc88b399a1ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 19:34:31 +00:00
Gabriel Biren
dd789ad9dc Update supplicant AIDL VTS tests to use the new
version of stopWifiFramework().

Bug: 234853504
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service
Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
(cherry picked from commit 99bb148510)
Merged-In: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
2022-07-07 18:28:55 +00:00
Gabriel Biren
5eb64c83a0 In supplicant VTS test setup, make sure that the am: c33f1282d8 am: 3a68e265cd am: c371b2a5fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19119358

Change-Id: I520ce20e806116b2a6c0c55cb2ed261923cc4212
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 17:31:12 +00:00
Gabriel Biren
c371b2a5fc In supplicant VTS test setup, make sure that the am: c33f1282d8 am: 3a68e265cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19119358

Change-Id: Ia5cb4eb7cf550b2a3d33d6b32f2659096a79a6ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 17:06:15 +00:00
Gabriel Biren
3a68e265cd In supplicant VTS test setup, make sure that the am: c33f1282d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19119358

Change-Id: I167465db40e33b7aa0e6c1ea492ef43450886f89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 16:46:51 +00:00
Yu Shan
4be58ff1de Add EventMode to VehiclePropertyStore writeValue.
Add an option to specify whether to trigger onpropertychange callback
when VehiclePropertyStore.writeValue is called.

Test: atest VehiclePropertyStoreTest
Bug: 237318964
Change-Id: Iefd572c96f67dab2ecd5de56acf2e0d1c9b58939
2022-07-01 23:11:55 +00:00
TreeHugger Robot
f3e494e70f Merge "Add value for FUEL_VOLUME_DISPLAY_UNITS in default config." into tm-qpr-dev 2022-07-01 01:40:11 +00:00
TreeHugger Robot
7079fbd4f4 Merge "Implemented EV_BATTERY_DISPLAY_UNITS" into tm-qpr-dev 2022-07-01 01:40:11 +00:00
Sean Hong
f8060b9f8f Merge "Remove FOG_LIGHTS_STATE from the emulator for the CTS test" into tm-qpr-dev 2022-06-30 18:33:09 +00:00
Gabriel Biren
c33f1282d8 In supplicant VTS test setup, make sure that the
wifi hal is stopped before starting wifi.

Bug: 234853504
Test: atest VtsHalWifiSupplicantV1_0TargetTest # HIDL service
Change-Id: I413c3803a6607a72cc3aa8a5fa208551be1b1032
(cherry picked from commit bfe60cda4d)
Merged-In: I413c3803a6607a72cc3aa8a5fa208551be1b1032
2022-06-29 16:41:51 +00:00
TreeHugger Robot
b3717c7c53 Merge "Allowing OMX.google* codecs for Devices launching with S" into tm-dev am: a2d4aee339 am: 99287440fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19066851

Change-Id: I6c2bab48acb2ddffab6df338c322635e84e28131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 23:44:51 +00:00
TreeHugger Robot
99287440fc Merge "Allowing OMX.google* codecs for Devices launching with S" into tm-dev am: a2d4aee339
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19066851

Change-Id: Ib0dc43ae647922923fead962ee4693db7249c921
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 23:17:58 +00:00
TreeHugger Robot
a2d4aee339 Merge "Allowing OMX.google* codecs for Devices launching with S" into tm-dev 2022-06-28 22:53:08 +00:00
seanhong
14b6d3acf9 Remove FOG_LIGHTS_STATE from the emulator for the CTS test
FOG_LIGHTS_STATE should not be implemented when FRONT_FOG_LIGHTS_STATE or REAR_FOG_LIGHTS_STATE is implemented.

Test: atest CarPropertyManagerTest
Bug: 233789475
Change-Id: I396ad9410265df4003fddcc244605519f6f5e88a
2022-06-28 18:22:42 +00:00
Midas Chien
5461aedd70 [automerger skipped] composer: vts: configure layer for DisplayDecoration am: 308f4ac906 -s ours am: 96ea38f60c -s ours
am skip reason: Merged-In If47154adf9d48f9c1b8390b4bee090d8bf40ff3b with SHA-1 7d55d4269d is already in history

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

Change-Id: I24cdfe864e0fae26c8999c32fcca8811490e1460
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 04:38:21 +00:00
Midas Chien
96ea38f60c [automerger skipped] composer: vts: configure layer for DisplayDecoration am: 308f4ac906 -s ours
am skip reason: Merged-In If47154adf9d48f9c1b8390b4bee090d8bf40ff3b with SHA-1 7d55d4269d is already in history

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

Change-Id: I7c13aec2adcdc781af94392bfe40af9c21318170
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 04:20:41 +00:00
Arun Johnson
6973e79b91 Allowing OMX.google* codecs for Devices launching with S
S AOSP did not remove the OMX.google* codecs, so this cannot be
enforced for devices launching with S

bug: 230582620
Change-Id: I25e8f827645db8e83c8c3142f5e76a912fdf7b22
2022-06-27 16:19:58 +00:00
Nishtha Ahuja
f234fe48bf Add value for FUEL_VOLUME_DISPLAY_UNITS in default config.
Bug: 232859264
Fix: 221916124
Test: Tested manually in KitchenSink app

Change-Id: I8c0bf768210037f655d76848d8b4aadf047838f3
(cherry picked from commit fccd300be6)
2022-06-25 00:52:04 +00:00
Tyler Trephan
073e68f29f Implemented EV_BATTERY_DISPLAY_UNITS
Test: atest CarPropertyManagerTest
Bug: 232859264
Change-Id: I8a3663f345a08b88e0047cd1211eb99978e4ded9
2022-06-24 23:54:08 +00:00
Yu Shan
f759bf1c03 Merge "Add support for GSR property in HIDL ref VHAL." into tm-qpr-dev 2022-06-24 17:53:46 +00:00
Yu Shan
6a553afeec Add support for GSR property in HIDL ref VHAL.
Test: Presubmit
Bug: 236135569
Merged-In: I3788b66aa409304927e8f5af371c049cb1bcd58e
(cherry-picked from I3788b66aa409304927e8f5af371c049cb1bcd58e)

Change-Id: I3788b66aa409304927e8f5af371c049cb1bcd58e
2022-06-23 21:43:40 +00:00
Midas Chien
308f4ac906 composer: vts: configure layer for DisplayDecoration
Some HW may not support crop function for decoration and current API
can't query this capability. Configure decoration layer to full screen
to avoid this limitation.

Bug: 225765061
Test: VtsHalGraphicsComposer3_TargetTest
--gtest_filter=*DisplayDecoration*

Change-Id: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
(cherry picked from commit 7d55d4269d)
Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
2022-06-23 10:12:53 +00:00
TreeHugger Robot
7ff24f2a5f Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into tm-dev am: a71fffd754 am: 2ef9a1554c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18964600

Change-Id: I6d1a723e98c4b250087d0b16c0a3b4b8deab5c54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 23:46:02 +00:00
TreeHugger Robot
2ef9a1554c Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into tm-dev am: a71fffd754
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18964600

Change-Id: I8971ee77d3f21b002b7aee16ddd128f5f3dd290c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-21 23:25:43 +00:00
TreeHugger Robot
a71fffd754 Merge "Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed." into tm-dev 2022-06-21 22:55:09 +00:00
David Drysdale
5514671521 Merge "KeyMint VTS: cope with ATTEST_KEY +/- SIGN" into tm-dev am: df427391cd am: 63dfce8d55
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18868609

Change-Id: I0fe812b8bfb70aeb82c70188c21f55a7fd63d3f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:05:33 +00:00
Shawn Willden
761f890b00 Read VSR level from correct property. am: e5364d7617 am: 527c55f1c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18931908

Change-Id: Ie9e5d3387980e23cb513e0bdbc6c7976478156c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:05:18 +00:00
David Drysdale
63dfce8d55 Merge "KeyMint VTS: cope with ATTEST_KEY +/- SIGN" into tm-dev am: df427391cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18868609

Change-Id: I24aff2fca88674b9bc6497e208f92e2bd1d899ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 06:47:39 +00:00
Shawn Willden
527c55f1c4 Read VSR level from correct property. am: e5364d7617
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18931908

Change-Id: Ib69f75275606de2de1117501c4a4a1a8910d370a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 06:47:12 +00:00
David Drysdale
df427391cd Merge "KeyMint VTS: cope with ATTEST_KEY +/- SIGN" into tm-dev 2022-06-20 06:29:11 +00:00
Silver Chen
fbbb209b63 Fix VTS PlaybackDataFlowWithTsVideoFilterTest sometimes failed.
[Description]
If filter is started after playback thread, sometimes
filter cannot get data correctly because of timing issue.

Start playback thread after filter is started
so that filter will always get data correctly.

Bug: 235185563
Test:
1. Testcase pass

Change-Id: I97c38dab1ff81c31b4bb48c8015b626b3a6325ed
(cherry picked from commit 8ab7fd8b21)
2022-06-20 01:13:57 +00:00
Shawn Willden
e5364d7617 Read VSR level from correct property.
Bug: 235424890
Test: VtsHalKeymasterV4_0TargetTest & VtsAidlKeyMintTargetTest
Ignore-AOSP-First: Cherry-pick of aosp/2128833
Change-Id: I39109c097d129124097a303c3f108d015cb367e3
Merged-In: I39109c097d129124097a303c3f108d015cb367e3
2022-06-17 10:49:46 +09:00
Roshan Pius
bf4774aa80 Merge "uwb(vts): Close HAL at end of each test" into tm-dev am: 987a7e3f30 am: 26e8f8c071
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18840238

Change-Id: I16dfb75c7158e2949b8e4a48918dc209d2f7390d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 18:11:24 +00:00
Arthur Ishiguro
e39fd50fde Adds missing AIDL HAL SensorStatus conversion logic am: 6b48d121d9 am: 8f44b69c39
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18871136

Change-Id: Ib36c4a7ac25409c121e3d16cb217f3bb42753b5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 18:11:18 +00:00
Roshan Pius
26e8f8c071 Merge "uwb(vts): Close HAL at end of each test" into tm-dev am: 987a7e3f30
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18840238

Change-Id: Id745de70dcf2dfd771f1d7da481d7922ec76bc3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 17:42:39 +00:00
Arthur Ishiguro
8f44b69c39 Adds missing AIDL HAL SensorStatus conversion logic am: 6b48d121d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18871136

Change-Id: Ib11896dca34c8ec83b3fefcdca7e8dc2adbf4507
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-13 17:42:32 +00:00
Roshan Pius
987a7e3f30 Merge "uwb(vts): Close HAL at end of each test" into tm-dev 2022-06-13 17:28:18 +00:00
Sean Hong
d2c9ac624e Merge "Add ENGINE_COOLANT_TEMP property for the emulator" into tm-qpr-dev 2022-06-13 17:23:16 +00:00
Arthur Ishiguro
6b48d121d9 Adds missing AIDL HAL SensorStatus conversion logic
Bug: 235629868
Test: Compile
Change-Id: Ice2df3935f2bcab9e9612ebd3fdacc57ea6f8dbc
2022-06-13 16:06:34 +00:00
David Drysdale
cdfb961585 KeyMint VTS: cope with ATTEST_KEY +/- SIGN
This change syncs aosp/master with the change in http://aosp/2117528,
allowing devices that launched with the (incorrect) version of
ATTEST_KEY VTS tests in Android S to continue to pass the test.

Bug: 197096139
Bug: 230074335
Test: VtsAidlKeyMintTargetTest
Change-Id: If88642e238e64ca9ec80303a4a72f7171c63464f
Merged-In: If88642e238e64ca9ec80303a4a72f7171c63464f
2022-06-13 12:06:41 +01:00
Roshan Pius
3ba0e635e1 uwb(vts): Close HAL at end of each test
Bug: 235558748
Test: atest VtsHalUwbTargetTest
Change-Id: I5361baab1f9204052e0f625b3c17242fbfe66190
2022-06-10 20:03:18 +00:00
TreeHugger Robot
2f9e91b9b6 Merge "Support AIDL IAllocator for direct channel tests" into tm-dev am: f828bd264c am: 68c36ffeee
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18823396

Change-Id: I17c7134d40a42c9e1aa54d3f70d62f78a6eab1ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-10 16:19:59 +00:00