Commit graph

64703 commits

Author SHA1 Message Date
Jooyung Han
9dec1ab884 Merge "Regsiter BT HAL services if they are declared" into main 2024-01-26 06:37:54 +00:00
bodamnam
559c20d4f4 Modify the api definition in the ImsMedia HAL for AV sync
For more accurate calculation of incoming packet latency and improved inter-media synchronization, modify the AVSync API's request to use the RTCP-SR report's NTP timestamp. This absolute timestamp facilitates cross-media comparisons.

Bug: 321878340
Test: mm
Change-Id: I9980ac832095d1caf82c42e17307c83522de4b3e
2024-01-26 06:21:32 +00:00
Eva Chen
4bcef30951 Add ULTRASONICS_SENSOR_MEASURED_DISTANCE to emulator defaults.
Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I101bf5174bb5fe879aca4f284552f3aeba2163d7
2024-01-25 20:17:56 -08:00
Eva Chen
bafc05efd3 Add ULTRASONICS_SENSOR_SUPPORTED_RANGES to emulator defaults.
Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ib73a2ada81c46df76f158538d8afb31d98936a93
2024-01-25 20:17:56 -08:00
Eva Chen
ecce9193de Add ULTRASONICS_SENSOR_DETECTION_RANGE to emulator defaults.
Flag android_vic_vehicle_properties must be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I05ec87cc1d303c93f7e9bc36d35a0b5a41aa189c
2024-01-25 20:17:56 -08:00
Eva Chen
064fb92949 Add ULTRASONICS_SENSOR_FIELD_OF_VIEW to emulator defaults.
Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ibc57c1688131a424e597df0cd579b1e9799157a7
2024-01-25 20:17:56 -08:00
Eva Chen
984293ed7d Add ULTRASONICS_SENSOR_ORIENTATION to emulator defaults.
Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I424eed0fbbde04976893b5867ff41ff586c172ce
2024-01-25 20:17:51 -08:00
Eric Biggers
e1d4bc5591 Assert that at least one Weaver slot is used
Uncomment an assertion that had been temporarily commented out because
AOSP was out-of-date.  This addresses a TODO in the code.

Test: atest VtsHalWeaverTargetTest
Change-Id: Ie572bb5fa05fcae3845aa46478cde0ac49206137
2024-01-26 02:59:34 +00:00
Eva Chen
8818f193db Change ULTRASONICS_SENSOR_ORIENTATION hal from int32_vec to float_vec.
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ifec1f9684b9263c20e2ded2036eea7721e4fd96d
2024-01-25 18:34:08 -08:00
Yu Shan
ead15a23bc Add retry in setProp test.
Set property operation is async so getting the property value
immediately after setting the property might not return the new
value. This CL adds the logic to retry when we do not get the
expected values back.

This CL also skips the test case if getting property or setting
property returns unavailable.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 322070490
Change-Id: If9349a097a92c51101c7b5f4bf807b610ab2cb0b
2024-01-25 18:02:59 -08:00
Eva Chen
5351930980 Merge "Add ULTRASONICS_SENSOR_POSITION to emulator defaults." into main 2024-01-26 01:57:37 +00:00
Eva Chen
b9e34c718e Add ULTRASONICS_SENSOR_POSITION to emulator defaults.
Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I4fe29258193138008155857c7a6fe7ae8367ef70
2024-01-25 13:19:17 -08:00
Jeff Pu
a7d831ff61 Merge "Support configuration reset and dump" into main 2024-01-25 19:14:35 +00:00
David Drysdale
da1791272f Merge "KeyMint: show vbmeta digest values on mismatch" into main am: 88da778d2a am: 34ea1a81cd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2927217

Change-Id: Ia65a586313f852e2530a3b15f48a470c6d1f985d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-25 14:26:16 +00:00
David Drysdale
34ea1a81cd Merge "KeyMint: show vbmeta digest values on mismatch" into main am: 88da778d2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2927217

Change-Id: I95d46ca1ab467ca169987517465b3c93e7d011e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-25 13:43:54 +00:00
David Drysdale
88da778d2a Merge "KeyMint: show vbmeta digest values on mismatch" into main 2024-01-25 13:01:53 +00:00
Ray Chin
aeaabf3c1f Bypass Live if there is no HW FE nor SW FE.
Bug: 321774563
Test: atest VtsHalTvTunerTargetTest on cf_x86_tv-userdebug
Change-Id: I801bd81f80e4b15f1e3064ed796951aead087557
2024-01-25 12:26:56 +00:00
David Drysdale
0ab3d97350 KeyMint: show vbmeta digest values on mismatch
Bug: 314044749
Test: VtsAidlKeyMintTargetTest
Change-Id: I0db1af44445fd5c73517a82eec9f3208fd305b21
2024-01-25 11:32:17 +00:00
Jooyung Han
408949f0f7 Regsiter BT HAL services if they are declared
Since finder/ranging/lmp_event HAL services are new and their interfaces
are not frozen yet, they can't register services in -next-
configuration.

Bug: 322204309
Bug: 319155748
Test: run CF in -next- build
Change-Id: I4729d8763842c719682ce0124bbaaed86164a7d5
2024-01-25 09:18:23 +09:00
Devin Moore
92f705cee5 Use onUnlinked in health HAL
It's possible to get an onBinderDied callback after a call to
AIBinder_unlinkToDeath() so we can't delete the objects in callbacks_
until we are done using the void* cookie.
Handling the cleanup in onBinderUnlinked will handle the case where we
manually unlink it as well as the case where it's unlinked due to death.

Test: atest VtsHalHealthTargetTest
Bug: 319210610
Change-Id: Iee4783217cc88134af6de0fe66128684ca984dba
2024-01-25 00:17:47 +00:00
Jayant Chowdhary
410d78f459 Merge "Camera: ANAPIC AIDL feedback" into main 2024-01-24 21:05:56 +00:00
Jayant Chowdhary
850621640a Camera: ANAPIC AIDL feedback
- In metadata comments, add reference source file where details can be
  found
- Fix grammar in ICameraDeviceSession.aidl comments

Bug: 318762864

Test: build

Change-Id: Id0f88aacd60e9ae444a0f6d4a9dfca67f8d75eaa
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2024-01-24 19:25:33 +00:00
Jeff Pu
1e93ca6c74 Support configuration reset and dump
Bug: 294254230
Test: atest android.hardware.biometrics.face.* -c
      adb shell cmd android.hardware.biometrics.face.IFace/virtual resetconfig
      adb shell dumpsys face
Change-Id: I6dc5657104da103860cca133beba21e1b10cb423
2024-01-24 12:52:35 -05:00
David Drysdale
50d605f8a1 Merge "KeyMint: test HAL version matches feature" into main am: 922a49f278 am: 87e3ce175c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2923274

Change-Id: Iaba22e15a8318c4a28a38de93dd9d9c8226461f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24 13:07:57 +00:00
David Drysdale
87e3ce175c Merge "KeyMint: test HAL version matches feature" into main am: 922a49f278
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2923274

Change-Id: I8d62f19a01f406a37b0530d76afd5b8db6483201
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24 12:27:44 +00:00
David Drysdale
922a49f278 Merge "KeyMint: test HAL version matches feature" into main 2024-01-24 11:54:13 +00:00
Shikha Panwar
9eab79b8c9 Sk VTS: Use libdice_policy_builder
With libdice_policy being refactored, get VTS to use the builder
library.

Test: Built the test-suite
Bug: 291238565
Change-Id: I149ec1ba9ee66fd19cbf0d0a6f3baa12ea2474ed
2024-01-24 11:24:05 +00:00
Sangyun Yun
dd9ec2babc Merge "Allows to skip old tests for new networks." into main 2024-01-24 08:45:31 +00:00
sangyun
3fd567437c Allows to skip old tests for new networks.
If the getDataRegistrationState interface is tested on a new RAT
(e.g. 5g) that was not supported in this version, this allows the
test to be skipped for newer networks.

Bug: 303672201
Test: atest VtsHalRadioV1_0TargetTest:PerInstance/RadioHidlTest
Change-Id: I1bbaefd1f1f41bb4b46fb515e5a1bc6b80153c74
2024-01-24 13:47:51 +09:00
Bart Van Assche
51cde196c5 Remove superfluous include directives am: 5e7fcb4bbd am: 06101e215e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2925152

Change-Id: I6c06a7ab6205dfce06e9b4802b53762fdc87918f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24 01:05:35 +00:00
Bart Van Assche
06101e215e Remove superfluous include directives am: 5e7fcb4bbd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2925152

Change-Id: If51b4407e7423b8acdd7fa004dfed81a86c60c01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-24 00:25:48 +00:00
Seth Moore
655a0654f3 Fix incorrect code comment about keymint version am: ec10c484b7 am: 1ab8951974
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2925130

Change-Id: I6db7fe4d7168927706656f681df60b047cb5c20b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23 23:20:05 +00:00
Seth Moore
1ab8951974 Fix incorrect code comment about keymint version am: ec10c484b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2925130

Change-Id: Ia825ec10f2e8f235cd00567c9bc72ce7e13800e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23 22:40:28 +00:00
Bart Van Assche
5e7fcb4bbd Remove superfluous include directives
Remove #include "AudioHalBinderServiceUtil.h" from source files that do
not use the AudioHalBinderServiceUtil class directly.

Change-Id: Iff085856df91c2818dbd06bf790233cbb82a3379
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2024-01-23 14:19:27 -08:00
Weilin Xu
6519fd8ce9 Merge "Add tests for isValid methods bcradio HAL utils" into main 2024-01-23 20:54:02 +00:00
Seth Moore
ec10c484b7 Fix incorrect code comment about keymint version
Test: No test, just a comment change
Bug: 321632558
Change-Id: I7f5db4959dd9e3bc598fa2939121f37b3f0abb04
2024-01-23 20:37:52 +00:00
Weilin Xu
7b4f823461 Merge "Add tune test for default bcradio HAL" into main 2024-01-23 19:03:17 +00:00
Matt Buckley
f5d717f245 Merge "Add timestamps to FMQ ChannelMessage" into main 2024-01-23 17:57:16 +00:00
David Drysdale
6c9bdb839f KeyMint: test HAL version matches feature
Test: VtsAidlKeyMintTargetTest
Bug: 304309651
Change-Id: I7e38c2ab3ff4f6b5f9035af865ca5ebe6ff24cc1
2024-01-23 10:05:55 +00:00
Antoine Soulier
4ae018c9c0 Merge changes I9f6bb947,Iff72dbea into main am: c3790fe083 am: 716c79d130
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912386

Change-Id: Ib9c7ea00a793c3c3fea3c25034dd0b0862ed25f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23 00:50:26 +00:00
Matt Buckley
1c1fc91e54 Add timestamps to FMQ ChannelMessage
Figuring out relative message ordering is harder with FMQ because
messages on different channels without timestamps do not have a
guaranteed ordering. This CL adds timestamps to all channel messages
to ensure relative ordering is always known precisely, and to make
timing more accurate.

Bug: 321810554
Test: atest VtsHalPowerTargetTest
Change-Id: Iac341dec2526ac46ae9db57aadbd267224a77989
2024-01-23 00:34:25 +00:00
Antoine Soulier
716c79d130 Merge changes I9f6bb947,Iff72dbea into main am: c3790fe083
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912386

Change-Id: Iddd879e32452984e4ebeec586dcf2834c0db792a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-23 00:10:26 +00:00
Weilin Xu
ffe00b7fb8 Add tune test for default bcradio HAL
Added unit tests for tune method in the default AIDL broadcast radio
HAL implementation.

Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I62c6ca088c8797fe6c3e9ea1d1fe76d5d7aa5c23
2024-01-22 16:02:51 -08:00
Antoine Soulier
c3790fe083 Merge changes I9f6bb947,Iff72dbea into main
* changes:
  AIDL API Review changes
  A2DP HAL Reference Implementation: remove static object's
2024-01-22 23:33:58 +00:00
Hongguang Chen
0f8e7ec64e [automerger skipped] Merge "Rename mDNS offload feature name" into android14-tests-dev am: 486de7bc69 am: 1d9000b29a am: 502d320cb3 am: f4869af4a4 -s ours
am skip reason: Merged-In I57d8f955c3f5d39814f36b662fee8d045c8c5150 with SHA-1 aee7ba0345 is already in history

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

Change-Id: I9b95b5b14ceee2eb72ce508641d287f516282b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 21:02:27 +00:00
Hongguang Chen
f4869af4a4 Merge "Rename mDNS offload feature name" into android14-tests-dev am: 486de7bc69 am: 1d9000b29a am: 502d320cb3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2920745

Change-Id: I04d04481bbd06052e9e67f0ba6e0a89a7a2b5c94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 20:17:33 +00:00
Hongguang Chen
b7c1b673b0 [automerger skipped] Merge "Rename mDNS offload feature name" into android14-tests-dev am: 486de7bc69 am: 1d9000b29a am: 1be2b6ce88 -s ours
am skip reason: Merged-In I57d8f955c3f5d39814f36b662fee8d045c8c5150 with SHA-1 aee7ba0345 is already in history

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

Change-Id: Ib772cc239d8602eeb319df26d75aaf6d97ccf1e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 20:17:13 +00:00
Hongguang Chen
fa0790bb3b [automerger skipped] Merge "Rename mDNS offload feature name" into android14-tests-dev am: 486de7bc69 -s ours am: 3d6a312a8b -s ours am: 86de0f305e -s ours
am skip reason: Merged-In I57d8f955c3f5d39814f36b662fee8d045c8c5150 with SHA-1 2478e178a1 is already in history

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

Change-Id: I494d03f97e72546be76f4649ac8c334d8ea3480c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 19:37:57 +00:00
Hongguang Chen
d7ab2c8311 [automerger skipped] Rename mDNS offload feature name am: aee7ba0345 -s ours am: 64032a0059 -s ours am: e1339ec269 -s ours
am skip reason: Merged-In I57d8f955c3f5d39814f36b662fee8d045c8c5150 with SHA-1 2478e178a1 is already in history

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

Change-Id: I41a3e5a596e8d637781862fabf32b585d7b2a285
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 19:37:53 +00:00
Hongguang Chen
1be2b6ce88 Merge "Rename mDNS offload feature name" into android14-tests-dev am: 486de7bc69 am: 1d9000b29a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2920745

Change-Id: I65a6918b129b94da22e982bd5b41380ccdc1cd65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-22 19:34:57 +00:00