Commit graph

59207 commits

Author SHA1 Message Date
Jayant Chowdhary
23f338bac4 camera vts: Remove redundant capabilities fetch
Bug: 299202800

Test: build

Merged-In: Ia6ca1ee0fb65e357398ba62c6a787c6530b989e4
Change-Id: Ia6ca1ee0fb65e357398ba62c6a787c6530b989e4
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit 571cbf1b4c)
2024-01-17 18:48:49 +00:00
Yifan Hong
74c9a7cf0f Merge "compatibility matrices: drop optional=true. (202404)" into main 2024-01-17 18:35:15 +00:00
Jayant Chowdhary
5554de2fa8 Check for stream use case capability before stream use case test
Bug: 299202800

Test: Vendor testing

Merged-In: If30ead47072dc1f950b8fb6384072cc38cd51c58
Change-Id: If30ead47072dc1f950b8fb6384072cc38cd51c58
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit da59822642)
2024-01-17 18:33:57 +00:00
Treehugger Robot
990cb24694 Merge "Remove error check for REQUEST_NOT_SUPPRTED" into android14-tests-dev 2024-01-17 18:21:21 +00:00
David Drysdale
b95093d640 Secretkeeper: add test CLI
Allows testing of secret persistence across reboot (and non-persistence
across factory reset).

Move some test code into a library for re-use.

Test: Manual
Change-Id: I23772692d2de652f6d4a8e5659186bd9c1c06b72
2024-01-17 10:44:19 +00:00
Andrew Walbran
787be21ae8 Merge "Import macros via rdroidtest for consistency." into main 2024-01-17 10:25:33 +00:00
Alisher Alikhodjaev
17f8882d78 Per NCI spec there is no need to wait for credits
Bug: 312911587
Test: no regresions
Change-Id: Ie7952b6618cd2b191b85904b3c1d4c544ba85618
(cherry picked from commit 93f1bf2bd3)
2024-01-17 08:24:03 +00:00
Deyao Ren
0874626d77 Create vendor apex for cuttlefish audio and audio effect
Test: launch cuttlefish, CtsMediaAudioTestCases
Bug: 295803971
Change-Id: I056c3e81662f90207702b47664c23b7ddd1db378
2024-01-17 07:12:07 +00:00
Zhanglong Xia
9be18fe082 Merge "Update VTS test for the function hardwareReset()" into main 2024-01-17 06:25:44 +00:00
Treehugger Robot
6338b15216 [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours am: 7d4805ed3b -s ours am: 678a31c32f -s ours
am skip reason: contains skip directive

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

Change-Id: I1fa27ca449fafa8e7fca66666a5ad096e74d3e55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 04:19:02 +00:00
Changyeon Jo
e6d75506d8 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours am: f1cb5e825d -s ours am: a54bde0496 -s ours
am skip reason: contains skip directive

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

Change-Id: Ic12c33eb475d1f1c79a26c59caf2304aa0cef5fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 04:18:58 +00:00
Zhanglong Xia
1392cbc773 Merge "Ignores vim temporary files from git" into main 2024-01-17 03:55:04 +00:00
Treehugger Robot
678a31c32f [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours am: 7d4805ed3b -s ours
am skip reason: contains skip directive

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

Change-Id: I091b0d56deaf6a7dd378005d3e04faa3ec153bff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:54:52 +00:00
Changyeon Jo
a54bde0496 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours am: f1cb5e825d -s ours
am skip reason: contains skip directive

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

Change-Id: Iad7425ea5acc23b02e87d3e5d09f46e3bf3a6b59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:54:48 +00:00
Treehugger Robot
7d4805ed3b [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours am: 08af1350ce -s ours
am skip reason: contains skip directive

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

Change-Id: Id5d47a991d782b737bd14b9eb2bd9f73a150a2de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:10:18 +00:00
Changyeon Jo
f1cb5e825d [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours am: 43473d142f -s ours
am skip reason: contains skip directive

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

Change-Id: I605705197f69a9dde2334c5cc74e7eaf5f955107
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 03:10:15 +00:00
Treehugger Robot
08af1350ce [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours am: fcec28ee4c -s ours
am skip reason: contains skip directive

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

Change-Id: I3d68b4a7ac48ae0e44303f718c4e18b50039d98c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:49:21 +00:00
Changyeon Jo
43473d142f [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours am: 7ea8d84859 -s ours
am skip reason: contains skip directive

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

Change-Id: I1ab6710d4fa6aa41338baabf37392ae1ac3d4cad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:49:19 +00:00
Chienyuan Huang
6327722e10 Merge "Handle review feedback for android.hardware.bluetooth.ranging" into main 2024-01-17 02:34:21 +00:00
Treehugger Robot
fcec28ee4c [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev am: 72b6e65914 -s ours
am skip reason: contains skip directive

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

Change-Id: I403b8ad142a1d73f34cb7e58d3b66a6598aac6ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:05:43 +00:00
Changyeon Jo
7ea8d84859 [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: d5732b6bbf -s ours
am skip reason: contains skip directive

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

Change-Id: I11c67b1de8d351a1350cb693869d459ba970312a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 02:05:40 +00:00
Changyeon Jo
47640027f2 Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:46:07 +00:00
Changyeon Jo
6d9717bcb8 [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:34:40 +00:00
Changyeon Jo
2180645f10 [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
(cherry picked from commit d5732b6bbf)
2024-01-17 01:33:55 +00:00
Treehugger Robot
72b6e65914 Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android11-tests-dev 2024-01-17 01:30:09 +00:00
Aditi
bc2a0d5747 Remove error check for REQUEST_NOT_SUPPRTED
Some devices may not support LCE functionality, so remove the condition that cause failures on such devices

Bug : 316570471

Change-Id: I758c82d14da4fec89b2e56f4aeda2a31438718fe
Signed-off-by: Aditi <aditi.parikh@samsung.corp-partner.google.com>
2024-01-17 00:47:04 +00:00
Changyeon Jo
d5732b6bbf [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay
Exclude logical camera devices from CameraUseStreamConfigToDisplay test
case.

Bug: 275049370
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: If6b31d94bdbffd2f4e9ab9bd5c8957ec85904187
2024-01-16 21:14:30 +00:00
Yifan Hong
f74a4cae39 compatibility matrices: drop optional=true. (202404)
This is the default now.

Test: TH
Bug: 247575800
Change-Id: I0d7156f4e526b276c47ac66a5125bf2a219b3ed8
Merged-In: I0d7156f4e526b276c47ac66a5125bf2a219b3ed8
2024-01-16 12:26:06 -08:00
Treehugger Robot
1014102ee6 Merge "compatibility matrices: drop optional=true. (4~8)" into main 2024-01-16 20:03:16 +00:00
Andrew Walbran
48391231a2 Import macros via rdroidtest for consistency.
This is what we recommend in the documentation.

Test: atest VtsSecretkeeperTargetTest
Change-Id: I9155e8b0f8c58547cb63dd40cdbf9e2e39648d9c
2024-01-16 16:48:31 +00:00
Jakub Tyszkowski
1d214226b5 LeAudio: Fix AIDL API review issues
Bug: 319669518
Test: m android.hardware.bluetooth.audio-update-api && make && m VtsHalBluetoothAudioTargetTest
Change-Id: Id128ed1eb09ada1e98b15351dc353fedc90fcbc8
2024-01-16 14:09:34 +00:00
Zhanglong Xia
4ad0484ffa Ignores vim temporary files from git
Test: git status
Change-Id: I6fa42ed671294f7dab34df3285b5a234a2a9cb2e
2024-01-16 14:48:57 +08:00
Zhanglong Xia
558eb0b696 Update VTS test for the function hardwareReset()
The function `hardwareReset()` throws
`EX_UNSUPPORTED_OPERATION` if the Thread radio chip doesn't
support the hardware reset. Current VTS test assumes that the
Thread radio chip must support the hardware reset.

This CL updates the VTS test to verify the return value
`EX_UNSUPPORTED_OPERATION`.

bug: b/320393041
Test: run vts -m VtsHalThreadNetworkTargetTest
Change-Id: I7b0b2a4e850a1eda085a6d6c24cdd8aae6498aac
2024-01-16 14:40:53 +08:00
Shikha Panwar
84187967cb VTS to use enum for MissingAction
ConstraintSpec constructor will take enum instead of boolean for missing
action.

Test: atest VtsSecretkeeperTargetTest
Bug: 291213394
Change-Id: I55fb0d8ef1fccca5feedf1fd368854ffb7eafaaf
2024-01-15 13:04:35 +00:00
Sungtak Lee
04b5d6679b Merge changes from topic "bufferpool2-V2" into main
* changes:
  media.c2 aidl: Use bufferpool2 V2
  media.bufferpool2: support AHardwareBuffer based buffer
2024-01-13 07:23:54 +00:00
Chienyuan Huang
a6daccc3e5 Handle review feedback for android.hardware.bluetooth.ranging
Bug: 318763088
Test: m android.hardware.bluetooth.ranging-update-api
Change-Id: I7f66278328d63ad1882aae87c575be7baaf45718
2024-01-13 07:15:34 +00:00
Shunkai Yao
78265377d9 Merge "Effect VTS: update VtsHalDownmixTargetTest for data validation" into main 2024-01-13 03:50:02 +00:00
Devin Moore
89c395a850 Merge "Rename compatibility_matrix.9.xml to compatibility_matrix.202404.xml" into main 2024-01-13 00:50:50 +00:00
Treehugger Robot
759fb98667 Merge "audio: Fix handling of a thread exit command with a bad cookie" into main 2024-01-13 00:40:04 +00:00
Sungtak Lee
f36c31c9f0 media.c2 aidl: Use bufferpool2 V2
Bug: 254050314
Change-Id: I1597fa92214086378d48fa37401a389a32c72bba
2024-01-13 00:22:48 +00:00
Yifan Hong
b0d52ce954 compatibility matrices: drop optional=true. (4~8)
This is the default now.

Test: TH
Bug: 247575800
Change-Id: Ibaf315f34285c42341cd4c04adc7c44b6f34ab7f
2024-01-12 16:11:40 -08:00
Sungtak Lee
71ef1c1559 media.bufferpool2: support AHardwareBuffer based buffer
Change-Id: I43102797b92d4782d2fc620ea3c9490f5187b90c
2024-01-12 23:58:58 +00:00
Weilin Xu
c22a8ddcb5 Merge "Don't mark SAT/DT as failures" into main 2024-01-12 22:47:33 +00:00
Mikhail Naganov
1850779bc4 audio: Fix handling of a thread exit command with a bad cookie
In case when the command was sent by the HAL itself (from another
thread), the worker thread must not post a reply. The only case
when a reply needs to be posted is in the case when the command
was sent from a VTS test. This case is identified by the fact that
the cookie has value '0'.

Bug: 300181540
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ifeb0722b5cf7346a694c5a938f6b324f5fa825f1
2024-01-12 13:59:24 -08:00
Shunkai Yao
1319e986ab Effect VTS: update VtsHalDownmixTargetTest for data validation
For downmix, the output buffer size can be diff with input

Bug: 318926783
Bug: 317946442
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0dc0009e1779b842a4f3cdcc047d225310a304f9
Merged-In: I0dc0009e1779b842a4f3cdcc047d225310a304f9
2024-01-12 21:54:17 +00:00
Treehugger Robot
7f25c70740 Merge "audio: Skip AudioModuleRemoteSubmixTest on Android U" into main 2024-01-12 21:10:04 +00:00
Shunkai Yao
3eb2a2c14f Merge changes from topic "effect_reopen" into main
* changes:
  Effect AIDL: implement IEffect.reopen
  Effect AIDL: add IEffect.reopen to update the effect instances data FMQ
2024-01-12 21:06:08 +00:00
Andres Schafhauser
f005be18db [automerger skipped] APF exempt list for TVs to use hardware feature am: 393ca9ffc2 -s ours
am skip reason: Merged-In I47453e7ad009b08aadf7c09fc144d2166ef9991b with SHA-1 f91d7adfc4 is already in history

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

Change-Id: I4bca26510f131acf6b59f30574fdb6e0ad958da6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 20:08:37 +00:00
V,Anilkumar
86f31e76b0 Don't mark SAT/DT as failures
If SAT/DT is not supported, should be marked as
ignored but they are marked as failures.
If no support for SAT/DT the implementation returns INVALID_ARGUMENTS
and test is calling the printSkipped function.
Instead of calling printSkipped, if GTEST_SKIP() called
unsupported TC results are parsed properly and test cases will move
to ignored category

Bug: 191229970
Test: VtsHalBroadcastradioV1_0TargetTest

Signed-off-by: V,Anilkumar <anilkumar.v@intel.com>
Change-Id: I4ed7828757a6cc8b83bae989e11289da1a3e814f
2024-01-12 19:31:12 +00:00
Mikhail Naganov
b2dab17b1e audio: Skip AudioModuleRemoteSubmixTest on Android U
This test was developed after Android U was cut, and it assumes
the new way of encoding of the remote submix device type.

Bug: 300181540
Test: run `atest VtsHalAudioCoreTargetTest` on UDC GSI
Change-Id: If53f92a55734e18a2acce6c790f9e5e259246684
2024-01-12 10:38:03 -08:00