Commit graph

64094 commits

Author SHA1 Message Date
Jooyung Han
63b64e2995 Merge "Use LLNDK guard instead of builtin_available" into main 2024-02-02 01:58:22 +00:00
Shunkai Yao
910a8153b2 Effect: verify all AIDL IEffect versions are same as IFactory
Bug: 322780092
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: If47f70b9d8f72a45f3ecf927294fb93fda28851b
2024-02-02 01:46:09 +00:00
Devin Moore
1fc8301983 Merge "Revert^2 "Remove Q matrices"" into main am: 7f3b4b2a38
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2934130

Change-Id: I2ffc32322b012a4dd2214c45ab3475bf30cd0d75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 21:42:35 +00:00
Treehugger Robot
213e8375d4 Merge "Replace use of deprecated logging functions" into main am: 17aa36a60d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2939519

Change-Id: Iece38a74cb6e612c3763940819948189cbf2e166
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 21:41:23 +00:00
Shikha Panwar
ed58fe2f58 Merge "Expand DICE chain in VTS/test to contain arrays" into main am: 36e66b72fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2927630

Change-Id: If518c675a69c32c843ae2c1363ce99ea3f25ea53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 21:41:03 +00:00
Jayant Chowdhary
7a9ee22a51 Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams
There are no mandatory stream combinations for RAW_SENSOR streams that
do not involve the CROPPED_RAW stream use case. So we don't need to test
stream non CROPPED_RAW stream use cases with the RAW_SENSOR format,
since we don't have a definite answer to whether they will be supported or not.

Bug: 317773720

Test: Camera VTS on cf
Test: Vendor testing

Merged-In: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Change-Id: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit 6847115a00)
2024-02-01 18:51:13 +00:00
Mikhail Naganov
03761c7e8e audio: Move stable libaudioclient tests to presubmit for the AIDL HAL
These framework-side tests are helpful in detecting breakages
caused by changes in the HAL code.

Data from postsubmit runs:

Test module audioeffect_tests: Latency (p90): 3s, Flakiness: 0.00%
Test module trackplayerbase_tests: Latency (p90): 13s, Flakiness: 0.00%

Bug: 311830316
Test: presubmit
Test-Mapping-Slo-Bypass-Bug: b/318425155
Change-Id: I5c329239cd3890e98edc74283bc9edb83e7e7ba7
2024-02-01 10:47:21 -08:00
Devin Moore
7f3b4b2a38 Merge "Revert^2 "Remove Q matrices"" into main 2024-02-01 18:22:50 +00:00
Treehugger Robot
17aa36a60d Merge "Replace use of deprecated logging functions" into main 2024-02-01 17:36:36 +00:00
Shikha Panwar
36e66b72fe Merge "Expand DICE chain in VTS/test to contain arrays" into main 2024-02-01 16:06:36 +00:00
Shikha Panwar
9e15e5e01e Expand DICE chain in VTS/test to contain arrays
Include a list of subcomponents in AVB DiceChainEntry in the sample DICE
chain and include constraints on that in the sealing_policy.

Bug: 291238565
Test: VTS#secret_management_policy_gate
Change-Id: Id36ddf137bacf99c273b61c3136691426f2d5b34
2024-02-01 13:15:36 +00:00
Treehugger Robot
aec031156f Merge changes Ie1b0c687,I4e6dfdfa,I2da14a56,I47041785,I34388f76, ... into main am: 57220562b0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2926261

Change-Id: Id115f04fe658cdec3f1d516dbea2325a22971fd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 09:18:44 +00:00
Treehugger Robot
57220562b0 Merge changes Ie1b0c687,I4e6dfdfa,I2da14a56,I47041785,I34388f76, ... into main
* changes:
  [Thread] Add socket interface support in thread chip
  [Thread] Implement read on socket interface
  [Thread] Implement write on socket interface
  [Thread] Wait until socket created to create interface
  [Thread] Implement init/deinit socket interface
  [Thread] Initialize socket interface
2024-02-01 08:45:41 +00:00
Jooyung Han
23e5bf2873 Use LLNDK guard instead of builtin_available
APEXSUPPORT_API was a workaround when we had no support for
__ANDROID_VENDOR_API__. Since we have it now, use it instead of
builtin_available(android APEXSUPPORT_API).

Bug: 302088370
Test: CtsMediaAudioTestCases
Change-Id: I28b0e0ebab5f357a2f5cc29f244ae5494e379fbe
2024-02-01 12:49:35 +09:00
shihchienc
27711c3195 [Thread] Add socket interface support in thread chip
Bug: 313425570
Test: build pass & manual test
Change-Id: Ie1b0c687cf529659521f1dd1457fcda35af1bf49
2024-02-01 02:31:31 +00:00
shihchienc
1623351bc0 [Thread] Implement read on socket interface
Bug: 313425570
Test: build pass & manual test
Change-Id: I4e6dfdfa73f7145e8f36d05abf1531d7796b4b9e
2024-02-01 02:31:28 +00:00
Treehugger Robot
178592e696 Merge "AHAL: add default values for dynamic port config of hardcoded config." into main am: a64a264f2d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2941766

Change-Id: I06ea348c29c0d4ed3055884f0151f2974b508f4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 02:16:04 +00:00
Treehugger Robot
a64a264f2d Merge "AHAL: add default values for dynamic port config of hardcoded config." into main 2024-02-01 01:42:36 +00:00
Yu Shan
9540e47340 Create EmuMetadataGenerator to check meta.json.
Create EmuMetadataGenerator to convert AIDL generated java files
to meta.json that can be used by emulator to populate the available
vhal props list.

Added build rules to generate the Java files from AIDL files and
check whether the meta.json file needs to be updated.

Test: make sdk_car_x86_64-trunk_staging-userdebug target
Bug: 318747444
Change-Id: Ib3bc7b68a1312152617fdab4598ed389447c20cd
Merged-In: Ib3bc7b68a1312152617fdab4598ed389447c20cd
2024-02-01 00:03:59 +00:00
jiabin
129b145133 AHAL: add default values for dynamic port config of hardcoded config.
If the values(format, sample rate, channel mask) are left as unset, they
will be null. In that case, when using them will require checking
nullablitiy to avoid crash.

Bug: 323255506
Test: make and boot
Change-Id: Ic66bf0b6f53750ff8700e531cca13f03fbb72936
2024-01-31 23:56:26 +00:00
Devin Moore
7ad5797272 Revert^2 "Remove Q matrices"
Re-landing now that the downstream devices are targeting later FCMs.

Test: m
Bug: 279809679

5f679f3deb

Change-Id: I29de76f787cadb801b60724526fa2851ba599dcc
2024-01-31 23:54:02 +00:00
Treehugger Robot
8eb4b053f7 Merge "audio: Add tracing to audio I/O and effect processing" into main am: c02d38d7b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2940231

Change-Id: I8628b1e11def48298f8f4adde20d49ebd9aaa05c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 23:49:06 +00:00
Shunkai Yao
bb110f463d Merge "BassBoost Process: Add tests to validate Bass Boost Process." into main am: 2d1e1bd332
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2923712

Change-Id: I063b9c8f0de2c67436a6093881026037f71eb118
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 23:48:11 +00:00
Yu Shan
5bc1105c1d [automerger skipped] Add retry in setProp test. am: 62fe882688 -s ours am: 2b31910a47 -s ours am: 4052b91685 -s ours
am skip reason: Merged-In If9349a097a92c51101c7b5f4bf807b610ab2cb0b with SHA-1 1837df06c2 is already in history

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

Change-Id: I81bb94d966706a28c69440ad88100acfdc3a4aec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 23:47:21 +00:00
Treehugger Robot
c02d38d7b7 Merge "audio: Add tracing to audio I/O and effect processing" into main 2024-01-31 23:26:42 +00:00
Shunkai Yao
2d1e1bd332 Merge "BassBoost Process: Add tests to validate Bass Boost Process." into main 2024-01-31 23:25:28 +00:00
Yu Shan
4052b91685 [automerger skipped] Add retry in setProp test. am: 62fe882688 -s ours am: 2b31910a47 -s ours
am skip reason: Merged-In If9349a097a92c51101c7b5f4bf807b610ab2cb0b with SHA-1 1837df06c2 is already in history

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

Change-Id: I7211ff618b98bd30a7e4046ef10bb4c2ab6814e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 23:06:20 +00:00
Yu Shan
2b31910a47 [automerger skipped] Add retry in setProp test. am: 62fe882688 -s ours
am skip reason: Merged-In If9349a097a92c51101c7b5f4bf807b610ab2cb0b with SHA-1 1837df06c2 is already in history

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

Change-Id: I6d6ea305b270b7fe524f4d980531577cc1a794d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 22:43:38 +00:00
Mikhail Naganov
89a6bb7199 audio: Add tracing to audio I/O and effect processing
Emit trace events for audio reads and writes and effect
processing functions. This is to match the HIDL implementation.

Bug: 321233946
Test: `record_android_trace` with `audio` category enabled
Change-Id: I26907b09243fd3e5aaa470a0fb930b34addd3093
2024-01-31 14:19:08 -08:00
Aditya Choudhary
85d604d0db [DON'T BLOCK] Test ownership migration rules am: c5c6c62995
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2939799

Change-Id: I1046113ffdcd09649fa65e023aae0969262772e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 17:06:10 +00:00
Aditya Choudhary
c5c6c62995 [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: I3322344f595f974f730dc824af0110388076d838
2024-01-31 11:06:17 +00:00
Jeff Vander Stoep
e8934d0991 Replace use of deprecated logging functions
This is needed to upgrade the android_logger crate from 0.12.0
to 0.13.3.

with_max_level provides the same functionality as with_min_level.
The renaming is admittedly confusing, but the new name is accurate
and it makes sense that they deprecated and then removed the
previously poorly named with_min_level.

See crate documentation [1] and code [2].

[1]: https://docs.rs/android_logger/0.12.0/android_logger/struct.Config.html#method.with_min_level
[2]: https://docs.rs/android_logger/0.12.0/src/android_logger/lib.rs.html#227

Bug: 322718401
Test: build and run CF with the change.
Test: m aosp_cf_x86_64_phone
Change-Id: I0ca9596433967be70e9d55acb6cfbf9322741bf8
2024-01-31 10:49:31 +01:00
shihchienc
5b2cd32368 [Thread] Implement write on socket interface
Bug: 313425570
Test: build pass & manual test
Change-Id: I2da14a563b795b0044362c1c248b53c1d3505d39
2024-01-31 08:56:33 +00:00
Sneha Patil
e584923d98 BassBoost Process: Add tests to validate Bass Boost Process.
Added methods to set and validate parameters.
Added test to verify increasing strengths.

Bug:305866207
Test: atest VtsHalBassBoostTargetTest
Change-Id: I64e06deca199b3acc53eb15cf2007e6db27430f3
2024-01-31 14:13:02 +05:30
George Chang
13c4f08ce8 [automerger skipped] Tag vts module VtsHalSecureElementTargetTest with secure element sim am: c2cba539b8 -s ours am: 2161976dd3 -s ours
am skip reason: Merged-In Idbfee70eec009fffe389aad5780a4f04c55757c7 with SHA-1 80e365794b is already in history

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

Change-Id: I7319bf947e70ca5f2245aebe0b9599c9adb8d52d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 08:00:14 +00:00
shihchienc
005f602d23 [Thread] Wait until socket created to create interface
Bug: 313425570
Test: build pass & manual test
Change-Id: I4704178519ed032ad352a3ab252e80478c179574
2024-01-31 07:37:55 +00:00
shihchienc
31ecb33558 [Thread] Implement init/deinit socket interface
Bug: 313425570
Test: build pass & manual test
Change-Id: I34388f76972f9b88f390a04b100c2fbf61019a1d
2024-01-31 07:35:20 +00:00
George Chang
2161976dd3 [automerger skipped] Tag vts module VtsHalSecureElementTargetTest with secure element sim am: c2cba539b8 -s ours
am skip reason: Merged-In Idbfee70eec009fffe389aad5780a4f04c55757c7 with SHA-1 80e365794b is already in history

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

Change-Id: Ic6aaa0229c7cd49242b3935a96130591d1e375a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 07:20:04 +00:00
George Chang
c2cba539b8 Tag vts module VtsHalSecureElementTargetTest with secure element sim
Bug: 302200925
Test: build pass
Change-Id: Idbfee70eec009fffe389aad5780a4f04c55757c7
Merged-In: Idbfee70eec009fffe389aad5780a4f04c55757c7
(cherry picked from commit 80e365794b)
2024-01-31 03:12:59 +00:00
Yu Shan
9fbf4066cb Merge "Add retry in setProp test." into android14-tests-dev am: 2c12f0e9ae am: 83a9e12f6d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2934133

Change-Id: I2c79c14e22d42e783c113b9c6604af5b9c0718f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 03:06:01 +00:00
Yu Shan
83a9e12f6d Merge "Add retry in setProp test." into android14-tests-dev am: 2c12f0e9ae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2934133

Change-Id: I0639e2f1bc6152c37e7fc6fac76d271871195b32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:21:18 +00:00
Yu Shan
2c12f0e9ae Merge "Add retry in setProp test." into android14-tests-dev 2024-01-31 01:40:17 +00:00
Shunkai Yao
e491392e99 vts: update SetCommonParameterAndReopen to DataPathTest am: d685aed029
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2937539

Change-Id: Iad2853dd3854db6a81cb991a9704941ec5191235
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 01:09:00 +00:00
Xin Li
757e0a265f Merge "Merge Android 24Q1 Release (ab/11220357)" into aosp-main-future 2024-01-30 22:44:06 +00:00
Yu Shan
6cee25e260 Fix HIDL VHAL descriptor name in VTS. am: 928062ccac am: 8cda776ffe am: ec8db77066
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2928798

Change-Id: I15841e4ecd2ede97c32ee91cebd912d8d99c7ddc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 18:53:03 +00:00
Zhanglong Xia
df20fdfcf7 [automerger skipped] Bypass Thread HAL SendSpinelFrame test on TV devices am: 1dc8481bc7 -s ours am: af7b4c58f6 -s ours
am skip reason: skipped by zhanglongxia

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

Change-Id: If7dac2b07aacb81bb741efddc6540121055dc2c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 18:49:49 +00:00
Xin Li
763c473c3d Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
Change-Id: Id94b25af52bd2e2847b6858697ab21cc6ce27aa3
2024-01-30 10:36:50 -08:00
Shunkai Yao
d685aed029 vts: update SetCommonParameterAndReopen to DataPathTest
Bug: 323010068
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I05519481b69bb752f515bd54cb1eab0996ad5433
2024-01-30 18:35:26 +00:00
Yu Shan
ec8db77066 Fix HIDL VHAL descriptor name in VTS. am: 928062ccac am: 8cda776ffe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2928798

Change-Id: I7662938de3cdccbdedf1ef60f36dce21225332c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 18:11:52 +00:00
Zhanglong Xia
af7b4c58f6 [automerger skipped] Bypass Thread HAL SendSpinelFrame test on TV devices am: 1dc8481bc7 -s ours
am skip reason: skipped by zhanglongxia

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

Change-Id: I7a79bdc3d02bc2a4e07e3fa8ccf5dd0a815b8eff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 18:11:12 +00:00