Commit Graph

65993 Commits

Author SHA1 Message Date
Treehugger Robot
3935a3fa5d Merge changes from topics "nfc_aosp_main_merge", "nfc_aosp_main_merge_stage2" into main
* changes:
  Use parameterized test to disable test for devices without NFC
  Add VSR min API level
  Add VTS test for NFC observe mode
  [Hal] Add request/release control event in aidl interface.
2024-07-25 03:30:22 +00:00
Myles Watson
fcd1963a3c Merge "VtsBluetooth: Update advertising set requirements" into main 2024-07-24 22:36:56 +00:00
Myles Watson
864c904897 VtsBluetooth: Update advertising set requirements
The requirements for advertising sets are the same in the
published VSR requirements for TV and other Android devices,
so there should be no difference in the test.

Bug: 353619486
Test: mma -j32
Change-Id: I48189896138da4efacbe1ce8e46f4267e956771f
2024-07-24 14:39:10 -07:00
Treehugger Robot
592430c84e Merge "audio: Use 'join' instead of 'stop' for stream workers" into main 2024-07-24 21:06:59 +00:00
Steve Pomeroy
a667849ed0 Use parameterized test to disable test for devices without NFC
Test: atest VtsNfcBehaviorChangesTest
Bug: 345575225
Merged-In: I22393acc260d200d2e472d276c64af005a75ab6b
Change-Id: I22393acc260d200d2e472d276c64af005a75ab6b
2024-07-24 10:11:33 -07:00
Steve Pomeroy
b38108f4db Add VSR min API level
Bug: 331231122
Test: atest VtsNfcBehaviorChangesTest
Merged-In: I6685e75f04330c9f5d497ce219d8da00a753ffdf
Change-Id: I6685e75f04330c9f5d497ce219d8da00a753ffdf
2024-07-24 10:11:24 -07:00
Steve Pomeroy
bb7f928fae Add VTS test for NFC observe mode
Test: this is only a test; manual run on a device
Bug: 305979303 326470047
Merged-In: Idf4953e942bb5db8c2ee72779dfdf80ed4e224b2
Change-Id: Idf4953e942bb5db8c2ee72779dfdf80ed4e224b2
2024-07-24 10:11:16 -07:00
Mikhail Naganov
657284d4ef audio: Use 'join' instead of 'stop' for stream workers
Calling 'stop' can cause the worker thread to terminate
before it handles the 'halReservedExit' command. This should
be avoided because a proper exit sequence may do cleanups.
Since all stream workers must handle the 'halReservedExit'
command, use of 'stop' should not be needed (if the thread
code gets stuck on a call to drivers, calling 'stop' will
not interrupt this), thus it is being replaced by 'join'.

Bug: 344482249
Test: atest CtsMediaAudioTestCases
Test: atest VtsHalAudioCoreTargetTest
Change-Id: If13f7239423657b80091239ff67e7fe350957e2e
Merged-In: If13f7239423657b80091239ff67e7fe350957e2e
2024-07-24 08:53:19 -07:00
Steven Moreland
1a48b2d416 Merge "Update bug component from Android Systems to memory" into main 2024-07-23 22:07:36 +00:00
Nate Jiang
e24c5eb6ba Merge "add filegroup for wifi aidl/nlinterceptor" into main 2024-07-23 18:11:20 +00:00
ziyiw
dad5092eae [Hal] Add request/release control event in aidl interface.
Test: compile
Bug: 344753047
Change-Id: I1e5628a3105f8ee804ed0f40d386fda872b4442b
2024-07-23 10:24:00 -07:00
Alessio Balsini
29a5608b60 Update bug component from Android Systems to memory
It's been a while since the Android Systems bug component does not
access the creation of new bugs for triage, instead, new bugs must
be created in the subcomponents of the team.

Test: none
Bug: 270571229
Change-Id: I4826466c780f1fdecd9970127a501d3f2d4858fb
Signed-off-by: Alessio Balsini <balsini@google.com>
2024-07-23 12:06:47 +00:00
Treehugger Robot
080d6b39ed Merge "audio: Prolong reading attempts from the remote submix pipe" into main 2024-07-22 18:08:07 +00:00
Treehugger Robot
6bb0136d22 Merge "Add owner to stable interfaces in /staging" into main 2024-07-22 17:23:58 +00:00
Mikhail Naganov
2be5078e25 audio: Prolong reading attempts from the remote submix pipe
In order to use the time interval for reading from the remote
submix pipe more efficiently, increase the deadline time
to the buffer duration minus a small amount. This should
minimize chances to have discontinuities in the remote submix
input.

Bug: 334363414
Test: atest --test-filter=".*RemoteSubmixTest#testRemoteSubmixRecordingContinuity" CtsMediaAudioTestCases
Change-Id: I02968d09afd8ecdad4d61e635393842d7280e55f
2024-07-22 16:04:23 +00:00
Mikhail Naganov
96c0123401 Merge "audio: Restrict reported channel masks to "mono" and "stereo"" into main 2024-07-22 14:34:22 +00:00
chao.meng
c0e563b841 add filegroup for wifi aidl/nlinterceptor
Change-Id: If8eb343f5a73d99a99c2f47c4ee8223b78088e48
2024-07-22 13:43:36 +08:00
Bao Do
d6c8a4b38e Merge changes Iefd406fc,I0f6cfbda into main
* changes:
  New parsing logic and configuration matching for LE Audio
  Update the default set configuration file and format.
2024-07-19 07:18:24 +00:00
Mikhail Naganov
8c27e46bb9 audio: Restrict reported channel masks to "mono" and "stereo"
When translating supported channel counts into channel masks,
only use channel layouts for 1 and 2 channels: "mono" and
"stereo", while reporting all other counts via indexed
masks. This helps to support output to multichannel USB Audio
interfaces properly.

Bug: 329571487
Test: repro steps in the bug
Change-Id: Ibbbf71e7f04a6622cccaddeb3f4f140193d7f8fb
2024-07-18 17:03:53 -07:00
François Gaffie
ed095e62ab Restore Default Device Effects support with AIDL AudioHAL
Bug: 329395147
Test: atest CtsMediaAudioTestCases
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit

Change-Id: I0f4f680b4db4eaa69d6c6e9e7b897631ed94928b
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2024-07-18 23:16:43 +00:00
Devin Moore
7feef702ca Add owner to stable interfaces in /staging
This interface is in staging because it's not ready to become a fully
supported HAL interface. Without "owner", we expect it to be frozen
after API freeze.

Adding owner field to enable API Freeze tests in continuous integration.

Test: none
Bug: 331696132
Change-Id: If56371438f61b771d0024d3091bde19b5d1b3e8c
2024-07-18 22:48:39 +00:00
Weston Carvalho
5102a37278 Merge "Remove Secure Storage AIDL tamper and A/B update" into main 2024-07-18 19:49:12 +00:00
Treehugger Robot
11caf68b6b Merge "Add TEST_MAPPING file for fmq tests" into main 2024-07-18 16:20:23 +00:00
Bao Do
649569202b New parsing logic and configuration matching for LE Audio
Match the supported allocation channels from the device's capability
and remove loose matching ability.
This helps with choosing the correct configuration respecting
the device's number of ASE.

We also add "name" field for easier debugging.

Bug: 331490291
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Iefd406fcd913ce553a02242b0a2100cab431476e
2024-07-18 16:59:48 +08:00
Bao Do
f6ce19d697 Update the default set configuration file and format.
New format eliminates the need for allocation and
deduplicates many configurations.
We change the file name of the default set configuration
for intergration with vendor's configuration.

We also support storing the configuration name in
the vendor's metadata for easier debugging.

Bug: 331490291
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I0f6cfbdad1da05c35d7c758c69d7030527e1f46a
2024-07-18 13:46:16 +08:00
Devin Moore
68a0d78d58 Merge "Revert^2 "Update HIDL EventFlagBits to have the correct values"" into main 2024-07-17 22:57:36 +00:00
Karuna Wadhera
550caafbfd Merge "Amend tests on GSI that rely on RKP-only props" into main 2024-07-17 14:28:45 +00:00
Karuna Wadhera
0c5b6503ed Amend tests on GSI that rely on RKP-only props
GSI replaces the values for remote_prov_prop properties (since they’re
system_internal_prop properties), so on GSI the properties are not
reliable indicators of whether StrongBox/TEE are RKP-only or not.

Also included is the removal of the helper skipAttestKeyTestIfNeeded()
so the skipping can happen in the tests directly.

Bug: 348159232
Test: VtsAidlKeyMintTargetTest
Change-Id: I2075e1f76ddd0f87620a212e1aa389803139a117
2024-07-17 12:41:51 +00:00
Treehugger Robot
df1c77da2e Merge "Updated fuzz_config in Android.bp file" into main 2024-07-17 04:46:22 +00:00
Treehugger Robot
deb05c9993 Merge "Wait for all results to come before return." into main 2024-07-17 00:01:40 +00:00
Emilian Peev
ca6839888e CameraVTS: build with static libhidlbase
The test may run on older devices and it is possbile that the
android::hardware::isHidlSupported is not available.
So statically link libhidlbase.

Bug: 352683715
Bug: 352486655
Bug: 346693391
Test: cameraservice VTS
Change-Id: I5bad6363fba4ebe3285c64cbaaf722e8da5cafdf
2024-07-16 17:33:18 +00:00
Akhilesh Sanikop
aae715f927 Updated fuzz_config in Android.bp file
Added fuzz_config and its fields like - cc, componentid,
hotlists, description, vector, service_privilege,
users & fuzzed_code_usage.

Bug: 306435930
Test: Build the updated fuzz targets

Change-Id: Ib537f4c4c98860de431e33dedbd106930cf8e45a
2024-07-16 16:17:20 +05:30
Pechetty Sravani (xWF)
9c904707ef Merge "Revert^2 "Workaround Clang hangs indefinitely"" into main 2024-07-16 09:35:19 +00:00
Pechetty Sravani
facd91c1d6 Revert^2 "Workaround Clang hangs indefinitely"
This reverts commit 64a1b6a57d.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/353410480. Will be verifying through ABTD before submission.

Change-Id: Iec3b4303b4f16943c163b36ced0166fb06a51d8f
2024-07-16 05:11:57 +00:00
Liana Kazanova
0480a2e8a2 Merge "Revert "Workaround Clang hangs indefinitely"" into main 2024-07-15 20:53:34 +00:00
Liana Kazanova
64a1b6a57d Revert "Workaround Clang hangs indefinitely"
This reverts commit 38f082f041.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/353213981. Will be verifying through ABTD before submission.

Change-Id: I43482457d1f1ca4bd5cf0812d82b9df91ebc98d4
2024-07-15 18:50:09 +00:00
Yomna Nasser
5cc7f04626 Merge "Check API values only if modem supports APIs" into main 2024-07-15 17:58:59 +00:00
yomna
d4a8add7b0 Check API values only if modem supports APIs
Bug: b/338173836
Test: m
Flag: exempt
Change-Id: Ia6471ac07d37ec9480b27de96241ccf0f8559e66
Merged-In: I62805cdf419553b468a04fe2af6ecbfd6cac810a
2024-07-15 16:35:08 +00:00
Yi Kong
0309dddb6c Merge "Workaround Clang hangs indefinitely" into main 2024-07-15 08:11:54 +00:00
Ryan Prichard
9c94c5c44b Merge "libstagefright_aidl_bufferpool2: avoid list<const T>" into main 2024-07-12 22:15:38 +00:00
Yu Shan
b561e444db Wait for all results to come before return.
Wait for all results from hardware to return before returning
the results to the client. It is not guaranteed that one
callback contains all the results.

Flag: EXEMPT host side component
Test: atest CtsCarTestCases
Bug: 352182279
Change-Id: I01f65a4da391727dc94aff36b52c14f7459b8221
2024-07-12 20:15:06 +00:00
Devin Moore
006954ca5f Add TEST_MAPPING file for fmq tests
If we change this test service, we should run the tests in presubmits.

Test: atest fmq_test fmq_unit_tests
Bug: 352430316
Change-Id: I36949c8b53a24a53e32ced3c35136574843e2c5d
2024-07-12 01:24:37 +00:00
Devin Moore
44e0d476da Revert^2 "Update HIDL EventFlagBits to have the correct values"
This reverts commit 98444463f3.

Reason for revert: needed to be submitted together with libfmq CL

Change-Id: Iad7cce6a38a7750ad88530c7a10521f8ff3d3ef8
Test: atest fmq_test fmq_unit_tests
Bug: 352396902
2024-07-12 01:20:35 +00:00
Steven Moreland
ec0c8a6eb1 Fix the comment of AIBinder_setMinSchedulerPolicy.
The second parameter is the priority, cannot be 20, which would be lower priority than the lowest priority that can exist.

Bugs: me
Change-Id: Ic990d0f365fb907fe252944991362e8729664562
Test: N/A
2024-07-11 22:39:09 +00:00
Priyanka Advani
249a9d065c Merge "Revert "Update HIDL EventFlagBits to have the correct values"" into main 2024-07-11 22:19:43 +00:00
Priyanka Advani
98444463f3 Revert "Update HIDL EventFlagBits to have the correct values"
This reverts commit 3df20dea31.

Reason for revert: Droidmonitor triggered revert due to b/352430316. Will be verifying through ABTD before submission.

Change-Id: I1c61ec1e341cb30e25088eb1201525236ccf764c
2024-07-11 21:09:41 +00:00
Changyeon Jo
044c250b7c Verify EVS extended information properly am: 9cf7c9f12b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3013053

Change-Id: I4d11e02f4302fd0fba26455349eb0d0c8e1079ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-11 19:07:40 +00:00
Changyeon Jo
9cf7c9f12b Verify EVS extended information properly
setExtendedInfo() and getExtendedInfo() are methods that allow our
partners to implement custom commands / metadata. Because id and value
of extended information are opaque to the EVS service, behaviors of EVS
API handling the extended information need to be verified conditionally;
for example, when a test succeeds to set a value, it must be able to
read it back with the same id.

Bug: 329373218
Test: atest VtsHalEvsTargetTest
Change-Id: I965447abca8d1986057dc4a850d8af3f901aaf29
2024-07-11 17:15:32 +00:00
Treehugger Robot
553e9ecec5 Merge "audio: Increase test timeout for VtsHalAudioTargetTest" into main 2024-07-10 23:47:17 +00:00
Devin Moore
3df20dea31 Update HIDL EventFlagBits to have the correct values
These values are swapped from the internal libfmq values.

Test: atest fmq_test
Bug: 352396902
Change-Id: Ib6d444e043fd38daabf51bd3cc3458d0c38fd133
2024-07-10 22:30:20 +00:00