Commit graph

65137 commits

Author SHA1 Message Date
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Xiang Wang
1654e8265e Merge "Add VTS to check temperature and thresholds are set for SKIN type" into main 2024-02-20 08:24:28 +00:00
Treehugger Robot
2d17d59b22 Merge "VTS: powerstats: skip GPS power stats" into main 2024-02-19 09:57:42 +00:00
Treehugger Robot
2131baf102 Merge "Fix test run for GSI" into main am: 74d99edac1 am: 6f5630cd21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2931355

Change-Id: Icecd414f99f8ec7c1d4603ae064ba2060bb790be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-19 06:44:19 +00:00
Darren Hsu
310de813fa VTS: powerstats: skip GPS power stats
Lassen GNSS power stats will be present after running GPS session
once. Otherwise, VTS will fail due to missing GPS power stats.

Bug: 325545917
Test: run vts -m VtsHalPowerStatsTargetTest
Change-Id: I9d31017a86417fc18f4eab98ee25abfadfa396f9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-02-19 14:39:56 +08:00
Treehugger Robot
6f5630cd21 Merge "Fix test run for GSI" into main am: 74d99edac1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2931355

Change-Id: I060768982c8a30b8104fecbedf8663f426cfc7e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-19 06:04:04 +00:00
Treehugger Robot
74d99edac1 Merge "Fix test run for GSI" into main 2024-02-19 05:29:23 +00:00
Yuyang Huang
cc02abaa54 Merge "Update VTS to exempt low-power TVs from APF" into main am: 37ad71f3ce am: 25ae719f23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957772

Change-Id: I8bdcf72ab57c15c9f98013751a01705501f4993e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-17 02:05:32 +00:00
Yuyang Huang
25ae719f23 Merge "Update VTS to exempt low-power TVs from APF" into main am: 37ad71f3ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957772

Change-Id: Ia64deb5e5be44dca193a530e3607d5a378238dc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-17 01:25:18 +00:00
Yuyang Huang
37ad71f3ce Merge "Update VTS to exempt low-power TVs from APF" into main 2024-02-17 00:33:43 +00:00
Shunkai Yao
f0943e8c38 Merge "Visualizer: make the range align with VISUALIZER_CAPTURE_SIZE_*" into main 2024-02-16 18:57:09 +00:00
Ram Indani
6fd42c45dc Merge "[Composer-VTS] Adds vts for notifyExpectedPresent" into main 2024-02-16 17:21:18 +00:00
ramindani
fc93b73f78 [Composer-VTS] Adds vts for notifyExpectedPresent
Includes VTS for notifyExpectedPresent call,
frameRate change in the present call and
notifyExpectedPresent after timeout.

Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 291792736
Change-Id: I1ef7011d7dcbdd6bb378b80ca0b0d7cd52832897
2024-02-16 04:03:00 +00:00
Shunkai Yao
763f63576e Visualizer: make the range align with VISUALIZER_CAPTURE_SIZE_*
Bug: 317742497
Test: atest android.media.audio.cts.VisualizerTest
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I5b89c9cead9906966b00fcb2fdb16905ed97b263
2024-02-15 19:22:33 +00: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
Yuyang Huang
9f215110bf Update VTS to exempt low-power TVs from APF
This change updates the VTS to exempt TV devices that consume <= 2W of
standby power from APF requirements. This update aligns with latest GTVS
policy.

Bug: 306587099
Test: TH
Change-Id: Ifec617520db20d1ef61f1eca63b7160d9191f446
2024-02-14 08:58:53 +09: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