Commit graph

40673 commits

Author SHA1 Message Date
Treehugger Robot
5eb895c047 Merge "Cast to the underlying type for union tags" am: 6cd0d474b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1999055

Change-Id: I5421fe3e9acd67b38ae0371cb3f938e5eeeac7f4
2022-03-01 00:44:53 +00:00
Treehugger Robot
fe02196fac Merge "OMX VTS: Added a test to mandate transition to C2 codecs" am: d9aa226a60
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973542

Change-Id: Ic1840ca9a58f24e1763c67031cc12052703d1680
2022-03-01 00:44:34 +00:00
Treehugger Robot
6cd0d474b2 Merge "Cast to the underlying type for union tags" 2022-03-01 00:24:55 +00:00
Treehugger Robot
d9aa226a60 Merge "OMX VTS: Added a test to mandate transition to C2 codecs" 2022-03-01 00:20:47 +00:00
Nate Jiang
d7bad8cf80 [VTS] Add test for new HAL API
Bug: 220222961
Test: vts VtsHalWifiNanV1_6TargetTest
Change-Id: Ibcc4cc00c21e553a68bb69946497acad79b273f3
2022-02-28 15:57:13 -08:00
Treehugger Robot
81c91bf2b1 Merge "Update KeyMint VINTF fragment to version 2" am: 73e15472a4 am: 02b7992b62 am: 5cc1805e43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2002270

Change-Id: Ida4c2b5f87b26577d56b8b74ac45367dcb79dbed
2022-02-28 22:52:46 +00:00
Treehugger Robot
5cc1805e43 Merge "Update KeyMint VINTF fragment to version 2" am: 73e15472a4 am: 02b7992b62
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2002270

Change-Id: I093525cf6c83aaecf13c9ea01fa322a7a4901275
2022-02-28 22:33:00 +00:00
Treehugger Robot
02b7992b62 Merge "Update KeyMint VINTF fragment to version 2" am: 73e15472a4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2002270

Change-Id: Ice830ca23216d33c72d61d13003ec7bcf752e969
2022-02-28 22:04:25 +00:00
Treehugger Robot
73e15472a4 Merge "Update KeyMint VINTF fragment to version 2" 2022-02-28 21:46:00 +00:00
Nate Jiang
eac80de7c3 [VTS] fix getCapabilitiesRequest_1_5 issue
Bug: 218970943
Test: vts VtsHalWifiNanV1_5TargetTest
Change-Id: I4188134b9a02930661ca8c1ea7f6c5a153b87b33
2022-02-28 11:08:43 -08:00
Shawn Willden
ef8bdc4f1d Update KeyMint VINTF fragment to version 2
Bug: 221390931
Test: vts -m vts_treble_vintf_vendor_test
Change-Id: I62746b9b60b4b236c0cbb8d2c2edd519c61a71ac
2022-02-28 09:35:59 -07:00
Jooyung Han
0bdded6d5a Cast to the underlying type for union tags
Union tags are of enum type. Streaming it would make more sense by
casting to underlying types.

For now casting is not required since tags are defined as `enum Tag`.
But we're going to change it to `enum class Tag` which won't work with
operator<< without casting.

Bug: 218912230
Test: m
Change-Id: Ia5e8a5c38fe23c72dffbdca320a32abdfa0eb38e
2022-02-26 21:10:12 +09:00
Leon Scroggins III
68b9acc4fe DisplayDecoration VTS: remove expected changed composition types
If validateDisplay returns an error, changed composition types are not
propagated back to the caller. Remove the expectation that they will be.

Fixes: 221406264
Test: this
Change-Id: I3e07e40b0c12a2cf6eaa685435647aab93172bb0
2022-02-25 13:17:10 -05:00
TreeHugger Robot
a2bf9cdae4 Merge "camera: Fix AIDL VTS test" into tm-dev 2022-02-25 16:26:24 +00:00
Quang Luong
25dc0afe39 Merge "Add VTS test for V1_6::IWifiChip::getAvailableModes_1_6" into tm-dev 2022-02-25 15:51:02 +00:00
Joseph Jang
99049bde1c Merge "Export extractDerSubjectFromCertificate() utility API for oem Hal usage" am: a66f64d05d am: 7a6999efd5 am: 783acdb09c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1996432

Change-Id: I6d0a0580c42bbb997c186f26380c4bc8f55464b8
2022-02-25 08:48:39 +00:00
Joseph Jang
783acdb09c Merge "Export extractDerSubjectFromCertificate() utility API for oem Hal usage" am: a66f64d05d am: 7a6999efd5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1996432

Change-Id: I1df1e16d87eb80cfecd067db2c25f065743ff6b1
2022-02-25 08:26:35 +00:00
Joseph Jang
7a6999efd5 Merge "Export extractDerSubjectFromCertificate() utility API for oem Hal usage" am: a66f64d05d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1996432

Change-Id: I9194eaf9a5d934cd113918eae5c1e06a61917ac1
2022-02-25 07:52:45 +00:00
Joseph Jang
a66f64d05d Merge "Export extractDerSubjectFromCertificate() utility API for oem Hal usage" 2022-02-25 07:27:06 +00:00
Avichal Rakesh
d3503a349f camera: Fix AIDL VTS test
The default value of a Stream's `dynamicRangeProfile` field is invalid,
which means the caller needs to set it to a sensible default with each
call. This CL updates the Stream creation in VTS test to use
`ANDROID_REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP_STANDARD`
wherever a Stream object was being created with implicit default.

Bug: 210912368
Test: Existing VTS tests now pass on Cuttlefish
Change-Id: Iaae2f6dfde852fc9c076a6029854ccdf8f68d39a
2022-02-25 06:30:27 +00:00
TreeHugger Robot
273583165c Merge changes from topic "fakevaluegeneratortest" into tm-dev
* changes:
  Fix a flaky test in FakeVehicleHalValueGeneratorsTest.
  Improve test coverage for FakeValueGenerator.
2022-02-25 04:19:11 +00:00
TreeHugger Robot
a2c1d763bd Merge "Change the expected AP iface index when dual STAs supported." into tm-dev 2022-02-25 04:15:47 +00:00
Yu Shan
d0e9111cad Fix a flaky test in FakeVehicleHalValueGeneratorsTest.
Fix a flaky test which might be caused by when the lock is waked
up, we might have more events than what we want. Furthermore, we
have to clear existing events after unregistering event generator.

Test: atest FakeVehicleHalValueGeneratorTest 10 times on cf_auto
Bug: 221084327
Change-Id: I65e87fa62b8538164fcdd60a9df871a9817f4f8e
Merged-In: I65e87fa62b8538164fcdd60a9df871a9817f4f8e
(cherry picked from commit 6ae468c1e3)
2022-02-25 00:33:01 +00:00
Yu Shan
83fe805275 Improve test coverage for FakeValueGenerator.
Bug: None
Test: atest FakeVehicleHalValueGeneratorsTest
Change-Id: I6df508e148ff0348fc28b467b4e5a70cf5727a27
Merged-In: I6df508e148ff0348fc28b467b4e5a70cf5727a27
(cherry picked from commit 6ae468c1e3)
2022-02-25 00:32:13 +00:00
Yu Shan
b48b6e28cb Improve getPropConfigs and error logging.
This CL improves getPropConfigs to return INVALID_ARG when one of
the prop ID is not found according to the AIDL interface definition.

This CL also improves logging to print out exception code.

This CL also updates service manifest to be consistent with
https://source.android.com/devices/architecture/aidl/aidl-hals

Test: atest DefaultVehicleHalTest
Bug: 219782023, 219612366
Change-Id: I96b091c5cf6641ab7d1df5c644bde7491cbaa5e7
2022-02-24 15:05:08 -08:00
TreeHugger Robot
a123e7688d Merge "Actually add DimmingStage to client target properties" into tm-dev 2022-02-24 22:51:17 +00:00
TreeHugger Robot
9f30b47e16 Merge "Always trigger prop change event for WAIT_FOR_VHAL." into tm-dev 2022-02-24 21:40:44 +00:00
Leon Scroggins
5298f2c0e2 Merge "getDisplayDecorationSupport: expect IComposerClient::EX_UNSUPPORTED" into tm-dev 2022-02-24 21:27:42 +00:00
Chen Chen
760794603f Merge "SpatialAudio: Init codec and buffer size from startStream()" am: 3b04e113e6 am: 92fbebc89f am: 973e5eb558
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1989506

Change-Id: I263fd1a3b4227250b3a6bd106a9f1aee40db3955
2022-02-24 20:39:07 +00:00
Alec Mouri
88e871b663 Actually add DimmingStage to client target properties
This change was missed while cherry-picking
I5675c16f0895f9958e3bee3ee4c85df8937ecdb7 due to merge conflicts.
So...actually merge this.

Bug: 218954037
Test: builds
Change-Id: Idb3a518f7dfd4f4fd598672ee709ccd5b1f3f06a
2022-02-24 12:18:37 -08:00
Chen Chen
973e5eb558 Merge "SpatialAudio: Init codec and buffer size from startStream()" am: 3b04e113e6 am: 92fbebc89f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1989506

Change-Id: I1e686443d67be139c10733dba26e910bbc859734
2022-02-24 20:17:53 +00:00
Chen Chen
92fbebc89f Merge "SpatialAudio: Init codec and buffer size from startStream()" am: 3b04e113e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1989506

Change-Id: I2bd3579135835f1f2275400505c1f5dc0aff88f0
2022-02-24 19:54:15 +00:00
Chen Chen
3b04e113e6 Merge "SpatialAudio: Init codec and buffer size from startStream()" 2022-02-24 19:39:33 +00:00
Chen Chen
0a68a920cc SpatialAudio: Init codec and buffer size from startStream()
Bug: 214615268
Test: build
Tag: #feature
Change-Id: I26d82da0dfc82fcb6cab6b879bced8e892e8cf44
2022-02-24 18:40:27 +00:00
Jason Macnak
194a26f53d Merge "Minor spelling fix" into tm-dev 2022-02-24 18:16:50 +00:00
Treehugger Robot
b6a79990a5 Merge "KeyMint: Test generation of asymmetric keys fails with missing parameters" am: 72358dab6a am: 9a7ab7c60b am: 140062e6fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895034

Change-Id: If1d224518b75ce8d90061aa243ad3959fed6b5f1
2022-02-24 17:28:58 +00:00
Leon Scroggins III
6455e797c6 getDisplayDecorationSupport: expect IComposerClient::EX_UNSUPPORTED
This is the error returned by cuttlefish, not EX_UNSUPPORTED_OPERATION.
This also matches other tests, e.g. SetDisplayBrightness.

Bug: 209458568
Test: this
Change-Id: I885767c4f1c42edfb11359b36852a863cbc8b0ed
2022-02-24 12:21:11 -05:00
TreeHugger Robot
c4c403b894 Merge "Add tests that might be affected by HAL to presubmit." into tm-dev 2022-02-24 17:07:12 +00:00
Treehugger Robot
140062e6fb Merge "KeyMint: Test generation of asymmetric keys fails with missing parameters" am: 72358dab6a am: 9a7ab7c60b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895034

Change-Id: Ia2fea157f4e7ba678aa101518d803fc2b45832d8
2022-02-24 17:05:59 +00:00
Treehugger Robot
9a7ab7c60b Merge "KeyMint: Test generation of asymmetric keys fails with missing parameters" am: 72358dab6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895034

Change-Id: Ib9ba132fd500f8552b453a9fdb4dad2ed69e3a8f
2022-02-24 16:43:48 +00:00
Treehugger Robot
72358dab6a Merge "KeyMint: Test generation of asymmetric keys fails with missing parameters" 2022-02-24 16:14:21 +00:00
Cliff Wu
ba362a8c19 Added annotations to prevent misapply of this interface by OEM partners
- This interface is only suitable for special camera injection hal,
  general camera hal does not need to implement it.

Test: Camera VTS
Bug: 219684073
Change-Id: I9b70e4640dff205008f3d6270f402b720b6b4434
2022-02-24 15:39:36 +08:00
Avichal Rakesh
51aa86c095 camera: Fix build errors due to CLs interleaving.
ag/16982347 and ag/16988237 were submitted around the same time, but
can cause build failure when put together. This CL fixes the
compilation issues and a few other other warnings.

Fix: 221154052
Test: Existing
Change-Id: Ia865e3bfc6cd77e7eff1efa5729d6db0d58c279d
2022-02-24 05:48:14 +00:00
TreeHugger Robot
b4fa6d0138 Merge "Update the test directory structure" into tm-dev 2022-02-24 04:53:07 +00:00
TreeHugger Robot
6f62c70f4f Merge "Add composer API changes in accordance to partner feedback" into tm-dev 2022-02-24 04:41:53 +00:00
Avichal Rakesh
442bb38258 Merge "Camera: Migrate VTS tests to AIDL" into tm-dev 2022-02-24 03:28:33 +00:00
Enrico Granata
976698ddcc Merge changes from topic "presubmit-am-0dab591a2da0487e86ae54ea1577f29a" into sc-v2-dev-plus-aosp am: 747d25206b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16989257

Change-Id: I9383e760669fdaaaa754b4db5ee014e12f6531e1
2022-02-24 02:30:20 +00:00
Enrico Granata
747d25206b Merge changes from topic "presubmit-am-0dab591a2da0487e86ae54ea1577f29a" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Support vendor GNSS file properties for AAOS virtualization 2p: 9447139c92
  Support vendor GNSS file properties for AAOS virtualization
2022-02-24 02:23:48 +00:00
Michael Butler
08d04aea58 Merge "Remove NN host specific build defines" am: fe9368b729 am: 13a6d16614 am: 6d588b7cd9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1997731

Change-Id: I2bfc9dbc8c7fbc0940eed48968dc5df89314b08c
2022-02-24 02:18:15 +00:00
Michael Butler
6d588b7cd9 Merge "Remove NN host specific build defines" am: fe9368b729 am: 13a6d16614
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1997731

Change-Id: Ic3f1a18b4af1b4280f1cd746218b807a5e2a30cc
2022-02-24 01:56:32 +00:00