Commit Graph

65121 Commits

Author SHA1 Message Date
Sally Qi
0ca29273dc Add vts case for OverlayProperties#isMixedColorSpacesSupported.
- add sRGB and DisplayP3 layers in HWC, if mixedColorSpaces is
   supported, only DPU composition happens.

Bug: 311252937
Test: this
Change-Id: I400a6dd18a05bbdf69e249907e13a4fa7eafbf01
2024-02-26 10:34:11 -08:00
Treehugger Robot
5eaf72503f Merge "Introduce CAMERA_SERVICE_CURRENT_STATE VHAL property" into main 2024-02-15 18:22:59 +00:00
Changyeon Jo
7cc8453ed4 Introduce CAMERA_SERVICE_CURRENT_STATE VHAL property
CarEvsService shares state changes of its service types via this new
VHAL property.

Bug: 325317031
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I50f8523aea6a2b5ccb55db9ca620e64e1cada8ee
2024-02-15 08:37:42 -08:00
Yahav Nussbaum
f1a5918bfc Baseline NewApi issues
Bug: 268261262
Test: m android.hardware.bluetooth.finder-V1-java-lint
Change-Id: I387f30922debe42cd5980f5e1bbe6fd3cf01b7d9
2024-02-15 16:20:48 +00:00
Jooyung Han
4a6f517afd Merge "Use new API to load mapper" into main am: f6b4016c32 am: c1e4f6ede3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963302

Change-Id: Ic1d942011cd9745f75850dc3482cb435eb29496c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 23:38:35 +00:00
John Reck
63143aa816 Merge "Fix VENDOR_MASK constant" into main 2024-02-14 23:37:56 +00:00
Jooyung Han
c1e4f6ede3 Merge "Use new API to load mapper" into main am: f6b4016c32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963302

Change-Id: I62e056a3c0ed6a4ac130fae5c01ee455b0da061e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 22:59:48 +00:00
Treehugger Robot
f14f75ab25 Merge "Added config flag test for default bcradio HAL" into main 2024-02-14 22:29:09 +00:00
Jooyung Han
f6b4016c32 Merge "Use new API to load mapper" into main 2024-02-14 22:20:35 +00:00
Weilin Xu
f6a462d9fa Added config flag test for default bcradio HAL
Added unit tests for methods related to config flag in the default AIDL
broadcast radio HAL implementation.

Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: Id42915613f931ebcd40ca05d9534dc087e479461
2024-02-14 13:02:31 -08:00
John Reck
1d762b4e86 Fix VENDOR_MASK constant
It's not supposed to be sign-extended as that blocks off the entire
28-64 bit range instead of the 28-31 bit range as indicated in the
comment

As this value is correct in HIDL and in the docs, do a history
re-write of the AIDL value to match the intended (and previous)
values.

Test: make
Bug: 323484008
Change-Id: I0b373576a366c853c87109a9b24ec9f8d9cbdb4d
2024-02-14 15:21:35 +00:00
Ronish Kalia
e9712ac7f1 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
Change-Id: Ia656d4d37c9219c4ef25fb6739c7410a0ded216b
2024-02-14 14:23:20 +00:00
Treehugger Robot
446813dff6 Merge "Use new API to load mapper" into main am: 6a5da15033 am: 52e9ebfa91
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960862

Change-Id: I42b3f655502f96e3b84518a666fd5b28353b98bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 02:11:58 +00:00
Treehugger Robot
52e9ebfa91 Merge "Use new API to load mapper" into main am: 6a5da15033
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960862

Change-Id: If9bc9393e42d5af792d04fabda945c2bb1a5a028
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 01:32:01 +00:00
Jooyung Han
4784c0b0b3 Use new API to load mapper
AServiceManager_getDeclaredPassthroughHal() can replace
android_load_sphal_library().

Bug: 316051788
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I50021790693c3ec2bce8cb4af96b0d6ee276b2e7
2024-02-14 09:48:00 +09:00
Treehugger Robot
6a5da15033 Merge "Use new API to load mapper" into main 2024-02-14 00:46:11 +00:00
Treehugger Robot
1fdd38f48e Merge "Migrate bcradio HAL test to new test owner model" into main 2024-02-13 22:41:32 +00:00
Weilin Xu
942eb1cdad Migrate bcradio HAL test to new test owner model
Bug: 324978397
Test: build okay
Change-Id: I9c62d40c590f7c81381cfa9668ae34525308dc1f
2024-02-13 11:58:57 -08:00
Ryan Prichard
53d58a2c92 Merge changes Ic373e0a3,Icb3937d8 into main am: 600b93a0c2 am: 9705248d2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960244

Change-Id: I793cf4325820cd8680887b8716f39d8e89c699fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 18:31:25 +00:00
Shunkai Yao
1d587fbcaf Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main am: ac270bcbe2 am: 8fcfd41a72
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2959644

Change-Id: I1af49ac530b5e21db013295668fb8776be3815b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 18:30:50 +00:00
Ryan Prichard
9705248d2a Merge changes Ic373e0a3,Icb3937d8 into main am: 600b93a0c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960244

Change-Id: Ib48370e9f5daf5a58100d5d12055612bb2a335c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 17:51:18 +00:00
Shunkai Yao
8fcfd41a72 Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main am: ac270bcbe2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2959644

Change-Id: Idfc6d94b03fd276eef06eae790f45918ea30048e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 17:49:58 +00:00
Ryan Prichard
600b93a0c2 Merge changes Ic373e0a3,Icb3937d8 into main
* changes:
  Replace std::basic_string_view<uint8_t> with std::span
  Replace std::basic_string<uint8_t> with std::vector
2024-02-13 17:32:52 +00:00
Shunkai Yao
ac270bcbe2 Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main 2024-02-13 17:06:18 +00:00
Jooyung Han
0425704133 Use new API to load mapper
AServiceManager_getDeclaredPassthroughHal() can replace
android_load_sphal_library().

Bug: 325018681
Test: VtsHalGraphicsMapperStableC_TargetTest
Change-Id: I004355a9df8bd1ba4f9fb00149d7fddb9ac9f499
2024-02-13 21:37:47 +09:00
Ryan Prichard
01cf20d711 Replace std::basic_string_view<uint8_t> with std::span
In newer versions of libc++, std::char_traits<T> is no longer defined
for non-character types, and a result, std::basic_string_view<uint8_t>
is also no longer defined. See
https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779.

Bug: 175635923
Test: libkeymint_remote_prov_support_test
Change-Id: Ic373e0a3c081b996d4c81a9783103ae6406833f7
2024-02-12 20:34:20 -08:00
Ryan Prichard
aecb0333b0 Replace std::basic_string<uint8_t> with std::vector
In newer versions of libc++, std::char_traits<T> is no longer defined
for non-character types, and a result, std::basic_string<uint8_t> is
also no longer defined. See
https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779.

Bug: 175635923
Test: make checkbuild
Change-Id: Icb3937d8b1ff6dbe7e35e62f2e6cc1e2eb789121
2024-02-12 20:15:47 -08:00
Shunkai Yao
c7f5c2dd83 Effect AIDL: add Spatializer default implementation to Cuttlefish
Bug: 273373363
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ib49d62c61de831c8147c935799d22be78950488f
2024-02-13 02:11:12 +00:00
Sunil Ravi
099da70cba Merge "Add VTS test for addGroupWithConfigurationParams" into main 2024-02-13 00:28:48 +00:00
Henri Chataing
dbd76ff175 blueooth/audio/aidl/default: Disable GetProviderInfo am: 7f9c47a388 am: f3a785b16d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957054

Change-Id: I2cc5b55e0b7d436c475d544b50571c22f8da2d00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 00:00:45 +00:00
Treehugger Robot
c465093afe Merge "Add program list test for default bcradio HAL" into main 2024-02-12 23:57:28 +00:00
Henri Chataing
f3a785b16d blueooth/audio/aidl/default: Disable GetProviderInfo am: 7f9c47a388
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957054

Change-Id: Ia8e556e6cc1aa6c8b97ec896fe2ccfed2c36e74e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 23:19:22 +00:00
Pawan Wagh
e225cdd689 Merge "Downgrade fatal log on host to error" into main 2024-02-12 22:53:10 +00:00
Weilin Xu
ed44150e86 Add program list test for default bcradio HAL
Added unit tests for methods related to program list updates
in the default AIDL broadcast radio HAL implementation and the
corresponding mock tuner callback methods.

Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I0bde2b9cc376315320521a1d13ec521781a77cca
2024-02-12 13:59:15 -08:00
Sunil Ravi
c3c7cf4a65 Add VTS test for addGroupWithConfigurationParams
Bug: 322815584
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I288439d461fe0d710489d16daf5e888d0f00f71f
2024-02-12 19:04:00 +00:00
Pawan Wagh
a4a73461c2 Downgrade fatal log on host to error
Fuzzer is breaking due to fatal log for host. Downgrade it to error.

Test: m android.hardware.neuralnetworks-service.example_fuzzer &&
out/host/linux-x86/fuzz/x86_64/android.hardware.neuralnetworks-service.example_fuzzer/android.hardware.neuralnetworks-service.example_fuzzer
Bug: 312902296

Change-Id: I7013ed14f6644d0459929380202de45f92575cf9
2024-02-12 18:47:08 +00:00
Henri Chataing
7f9c47a388 blueooth/audio/aidl/default: Disable GetProviderInfo
This implementation of the HAL is used by pixel devices.
The implementation of GetProviderInfo is test only

Bug: 324570010
Test: TreeHugger
Change-Id: I67d17fb07c1288317290a0b1c4b07cd3be1e48c6
2024-02-12 18:24:51 +00:00
Treehugger Robot
e2d1465d55 Merge "Remove uses of std::rand() from vibrator VTS tests" into main 2024-02-12 17:15:07 +00:00
Subrahmanyaman
3c4d434513 Test to validate a range of certificate validity times. am: e1560216fe am: 649c660d2b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2583372

Change-Id: I7bc6e9796f0107dea8f7f76872be567b84822ea3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 16:57:58 +00:00
Subrahmanyaman
649c660d2b Test to validate a range of certificate validity times. am: e1560216fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2583372

Change-Id: I8e17f8abbf6b9a031a899e34828a537c71fa6e9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 16:14:49 +00:00
Lais Andrade
661481edf1 Remove uses of std::rand() from vibrator VTS tests
Make vibrator VTS tests deterministic by removing all uses of
std::rand() from HAL input values used in test. Rely on max supported
values instead.

Fix: 324840028
Test: atest VtsHalVibratorTargetTest
Change-Id: Id40fb5a86238226feec9affff631bab37383f26b
2024-02-12 16:00:40 +00:00
Subrahmanyaman
e1560216fe Test to validate a range of certificate validity times.
Bug: 280624515
Test: run VtsAidlKeyMintTarget
Change-Id: Id315c28e2ea114c5c39e235d3ee6be2a0d8bfa71
2024-02-12 15:25:53 +00:00
Treehugger Robot
e870ecf089 Merge "Fix vibrator compose VTS tests" into main 2024-02-12 11:15:38 +00:00
Treehugger Robot
abf0a2c466 Merge "vibrator HAL bench: Fix broken benchmarks" into main 2024-02-12 10:33:40 +00:00
Lais Andrade
38d054e4ae Fix vibrator compose VTS tests
Add TearDown method to reset the vibrator state between tests to avoid
illegal state errors caused by unrelated tests.

Add calls to vibrator->off between vibrator->compose invocations within
the same test, so calls are tested individually.

Test runs with this change on failing targets:

Bug: 323087313
Test: atest VtsHalVibratorTargetTest
Change-Id: I1e9aa243da07040b33df2474977fc8becac440a5
2024-02-12 10:27:24 +00:00
Devin Moore
932705cb37 Merge "Remove HIDL media.c2 from the 202404 FCM" into main am: e2955b27df am: 9fcb65ddfc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955347

Change-Id: I051859139e4144a81d7dd705a30de192adecbd78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 21:19:42 +00:00
Devin Moore
9fcb65ddfc Merge "Remove HIDL media.c2 from the 202404 FCM" into main am: e2955b27df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955347

Change-Id: I0aa722af82d254408f7d44675d28e01f1a9df132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 20:40:17 +00:00
Devin Moore
e2955b27df Merge "Remove HIDL media.c2 from the 202404 FCM" into main 2024-02-09 19:55:42 +00:00
Adrian Roos
77659428e3 vibrator HAL bench: Fix broken benchmarks
Fixes an issue with the benchmarks, where they would skip unsupported
situations by early returning without reaching the measure loop and
without notifying the framework.

The framework would then retry the exact same scenario indefinitely.

To fix, makes sure every early return also calls SkipWithMessage.

Fixes: 302845046
Test: adb shell /tmp/foobar/VibratorHalIntegrationBenchmark --v=2
Change-Id: Ib52b8c4d94755a0961bcfb40d508482e5c49cb52
2024-02-09 19:49:32 +00:00
Devin Moore
e74ca1b9f6 Merge changes If8f281ec,Id711ba79 into main am: 275fc31337 am: 9fdb6fe412
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2954004

Change-Id: I8ad028f340cb690a71d7b01299cdc87975329427
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 17:51:20 +00:00