Commit graph

64517 commits

Author SHA1 Message Date
Bao Do
3109049d36 Merge changes I478fc99b,I2150459b into main am: 740301ed52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3074307

Change-Id: I1aee13a29b777c04a35ec93bc2fc8506f5b362a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 02:59:00 +00:00
Bao Do
740301ed52 Merge changes I478fc99b,I2150459b into main
* changes:
  Multi-directional support for matching ASE configuration
  Extend VtsHalBluetoothAudioTargetTest
2024-05-22 02:42:16 +00:00
Mikhail Naganov
8f6258ca6a audio: Allow onError callback in any state am: ab222c63bc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095975

Change-Id: Ib8dc2c8a6fe6a120a2afa58a416d59d1580b479c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 23:52:49 +00:00
Mikhail Naganov
ab222c63bc audio: Allow onError callback in any state
In practice, the AoC can crash while the stream is in
any state, thus this should be allowed for correct
handling of error conditions in the framework.

The list of states when `IStreamCallback.onError` can
be received is not enforced in VTS tests, thus no
test regressions are expected.

Bug: 339400414
Test: repro steps for simulating AoC crash in b/339400414
Change-Id: I9a52779f773307882109e159d715072de5af2ece
2024-05-21 14:31:56 -07:00
Mikhail Naganov
8da928b401 Merge "bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'" into main am: f12a076304
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3091790

Change-Id: I60df8ea2429bf0c216f43fa0da2e710e90444e3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 19:09:52 +00:00
Mikhail Naganov
f12a076304 Merge "bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'" into main 2024-05-21 19:02:46 +00:00
Yu Shan
a686732e8b Initialize mAddExtraTestVendorConfigs to false. am: fe49375ba9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093715

Change-Id: I4cd086e6654b12229f113d1c16e7647592c766cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 15:59:26 +00:00
Yu Shan
fe49375ba9 Initialize mAddExtraTestVendorConfigs to false.
If we do not init, the initial value is undefined.

Test: Local run
Bug: 340947823
Flag: EXEMPT bugfix
Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
Merged-In: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
2024-05-17 18:01:29 -07:00
David Drysdale
77c246444b Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main am: fd7119ea67
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3088725

Change-Id: If25b988a3ee62aaf57abed5bdcdb905b3fcc81fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:13:16 +00:00
David Drysdale
fd7119ea67 Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main 2024-05-17 05:59:57 +00:00
Yakun Xu
a3a516bd61 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079506

Change-Id: Ice13cb76c1f1746006809a4719e5f02e437d7986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:11:56 +00:00
Yakun Xu
ca7d810a50 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main 2024-05-17 03:52:14 +00:00
Mikhail Naganov
4fe8021f09 bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'
Add defaults for the case when the library is used
from within 'target/android'.

Also, switch 'BluetoothLeAudioCodecsProviderTest' to use
'defaults' instead of hardcoding the interface module version.

Bug: 307310023
Test: m
Change-Id: I7e5e70efe6a733367a8b5cbe5cffbfddf610cc6b
2024-05-16 20:00:49 -07:00
Yakun Xu
c7897c3beb Thread: simulate radio over Ethernet on Cuttlefish
This commit simulates Thread radio over Ethernet on cuttlefish.

This enables two cuttlefish instances to communicate over Thread.

Test: presubmit
Bug: 329188649

Change-Id: I48b20a9eb0bbc535e67266ca9cf7e4bbc5a676d4
2024-05-16 16:30:34 +08:00
Alice Wang
04e1d59cdc Merge "Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices" into main am: 938c0177e3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084447

Change-Id: I5f0198585211bc134dcc914acfc8b6dfd884db4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 07:49:15 +00:00
Alice Wang
938c0177e3 Merge "Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices" into main 2024-05-16 07:35:35 +00:00
Wei Li
41ee3e263c Move license metadata declarations to meta-lic.mk and remove the Android.mk file. am: 6408ece9c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3089947

Change-Id: I3b650bc0966b09b8d5d3c8b24a0980acd970b8d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 06:45:45 +00:00
Wei Li
6408ece9c4 Move license metadata declarations to meta-lic.mk and remove the Android.mk file.
Bug: 340935319
Test: CIs
Change-Id: Icee73eeb412e94f13a83548006e48093d224ed57
2024-05-15 14:38:00 -07:00
Alice Wang
46ff286f6d Run VtsHalRemotelyProvisionedComponentTargetTest only on V+ devices
Bug: 340188780
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Id20a01b23324eb46620d96bd29c30b8cf9acd162
2024-05-15 15:27:26 +00:00
Huang Rui
ca3ea117ef Delete standard output in VtsAidlKeyMintTargetTest
The Done flag of VtsAidlKeyMintTargetTest is false during running
the module with ‘--collect-tests-only’ because it uses standard
output to print logs.

Bug: 340576534
Test: run vts -m VtsAidlKeyMintTargetTest --collect-tests-only

Change-Id: I3d81f7e59b6189fab1b146320263509f2694c11e
Signed-off-by: Huang Rui <rui1.huang@intel.com>
Signed-off-by: Liu Kai <kai1.liu@intel.com>
2024-05-15 11:42:59 +01:00
Ray Chin
313d0a0efb Fix force setting environment variable error am: b3d5fef7c2 am: 0ff8e76b77
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: I4e6b00c5035ddeeb713403ae29764f898292dac6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 17:32:05 +00:00
Ray Chin
0ff8e76b77 Fix force setting environment variable error am: b3d5fef7c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081420

Change-Id: Ic935cec30726e7b84f014d0d41569ab99800704c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 16:25:27 +00:00
Ray Chin
b3d5fef7c2 Fix force setting environment variable error
Bug: 339612366
Test: no need
Change-Id: I3194b3b385a8f02332ac848b4fcab10090486173
2024-05-14 13:16:38 +08:00
Treehugger Robot
bdd3406585 Merge "audio: Fix after aosp/2908743 (exit command handling)" into main am: b5d5a9fa01
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3084709

Change-Id: Ie199890196b3e649a24208912105a2139379dacd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 01:25:39 +00:00
Treehugger Robot
b5d5a9fa01 Merge "audio: Fix after aosp/2908743 (exit command handling)" into main 2024-05-14 00:49:27 +00:00
Mikhail Naganov
6a5748a02e audio: Fix after aosp/2908743 (exit command handling)
In aosp/2908743, the intended behavior of the "halReservedExit"
command (stream exit) was inadventedly changed. Instead of
exiting from the thread's loop only when the cookie has
the expected value, it was actually exiting when the cookie
value is any but zero. The intended behavior is as follows:

 - the cookie has expected value: do not send reply, exit loop;
 - the cookie has unexpected but non-zero value: ignore,
     do not send reply (that's the point of using the cookie);
 - the cookie has a zero value: ignore, send a reply (this is
     for VTS testing).

Bug: 300181540
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I9945eb0ba9042993adac8599b18f241c4f69ca7a
2024-05-13 16:38:11 -07:00
Gautam Raychaudhury
607fe04706 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 -s ours am: 34fa85ded5 -s ours
am skip reason: skipped by sarahchin

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

Change-Id: I2cade4bfd76c0f23adef6fc5041f70561eed76fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:27:09 +00:00
Gautam Raychaudhury
34fa85ded5 [automerger skipped] Fix failures in VtsHalRadioV1_5TargetTest am: beff3324c7 -s ours
am skip reason: skipped by sarahchin

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

Change-Id: Icc597971be32ddce4e6de9de4e01767942d3cf1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 23:02:58 +00:00
Yomna Nasser
5dcb2ad7a9 Merge "Mark cellular security transparency APIs optional" into main am: a95aa0fe46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3077418

Change-Id: Ia4bc35b2dd6279a2d9b61b4e432d71c08456647d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 21:03:09 +00:00
Yomna Nasser
a95aa0fe46 Merge "Mark cellular security transparency APIs optional" into main 2024-05-13 20:48:34 +00:00
yomna
7b55d44afe Mark cellular security transparency APIs optional
Bug: b/300159864 b/276752426
Test: m
Flag: exempt
Change-Id: I814d8162ade48559ea35c55ac54f55eaee279e11
2024-05-13 18:03:52 +00:00
Nikita Putikhin
eedb69e377 Merge "Make fmq product_available" into main am: 64b1d27ab6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079563

Change-Id: Idc1f91d00637f3bf79ab8dbd2848c3593bdca947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-13 08:55:33 +00:00
Nikita Putikhin
64b1d27ab6 Merge "Make fmq product_available" into main 2024-05-13 08:35:52 +00:00
Treehugger Robot
155bcff641 Merge "Fix failures in VtsHalRadioV1_5TargetTest" into main am: 48f90734b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3081927

Change-Id: Ia37de320425cc704409974a00be37b9f8f1a564b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 21:46:30 +00:00
Treehugger Robot
48f90734b1 Merge "Fix failures in VtsHalRadioV1_5TargetTest" into main 2024-05-10 21:27:32 +00:00
Shunkai Yao
70ce590f52 Merge "Improve effect AIDL HAL logging" into main am: e26729ae76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080653

Change-Id: If89448340c09f354becd0aab9f686ebc962875e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-10 02:05:50 +00:00
Gautam Raychaudhury
53295c021d Fix failures in VtsHalRadioV1_5TargetTest
Update below VTS tests with EUTRAN instead of GERAN.
setNetworkSelectionModeManual_1_5 and setSystemSelectionChannels_1_5
because some devices do not support GSM.

Test:
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/1_slot2
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/1_slot2

Bug: 335796413
Change-Id: Ia79460a168515d93883a0056c80f5915f016273d
2024-05-09 18:58:02 -07:00
Shunkai Yao
e26729ae76 Merge "Improve effect AIDL HAL logging" into main 2024-05-10 01:43:23 +00:00
Shunkai Yao
e21e1e72f5 Update VTS to open Spatializer with supported input channel layout am: 61f9dd21bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080648

Change-Id: I2bb53bdda6b0cafe87fcc5b42b3cbd52095c025a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 22:44:39 +00:00
Shunkai Yao
fbb29ced9f Improve effect AIDL HAL logging
Bug: 333407024
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ie983c4360488a6047bd284c20bf9899d38b4273e
2024-05-09 22:34:10 +00:00
Shunkai Yao
61f9dd21bd Update VTS to open Spatializer with supported input channel layout
Bug: 338040049
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: I2e3457771617ff9425672f4db5e151658e47c827
2024-05-09 20:28:08 +00:00
Gautam Raychaudhury
beff3324c7 Fix failures in VtsHalRadioV1_5TargetTest
Update below VTS tests with EUTRAN instead of GERAN.
setNetworkSelectionModeManual_1_5 and setSystemSelectionChannels_1_5
because some devices do not support GSM.

Test:
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/1_slot2
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/1_slot2

Bug: 335796413
Change-Id: Ia79460a168515d93883a0056c80f5915f016273d
2024-05-09 17:59:11 +00:00
Mikhail Naganov
581761fa85 Merge "audio: Abort on data FMQ pointer corruption" into main am: 2222e7d599
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079664

Change-Id: Ic501697872a8c9bd0b83b3f01487f1bdbf280975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 17:31:06 +00:00
Mikhail Naganov
2222e7d599 Merge "audio: Abort on data FMQ pointer corruption" into main 2024-05-09 16:54:31 +00:00
Shunkai Yao
da8149c5b1 Merge "Use customized event flag for data FMQ not_empty to avoid conflict" into main am: 94b3cbced9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080634

Change-Id: Ic8980a7745be129acb206a086b7a4ac0580c7de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 16:46:47 +00:00
Shunkai Yao
94b3cbced9 Merge "Use customized event flag for data FMQ not_empty to avoid conflict" into main 2024-05-09 16:28:20 +00:00
Hunsuk Choi
0ec6970a23 Fix test of triggerEmergencyNetworkScan am: 2b4c6387d3 am: 04dbd06bb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080044

Change-Id: I2398997f8cb6cf5aa0485794b21b06c7f67a89ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 06:38:12 +00:00
Bao Do
91d7ca2b67 Multi-directional support for matching ASE configuration
Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I478fc99bb02debd78f660dc27e9600ef3afdc2a9
2024-05-09 14:21:29 +08:00
Hunsuk Choi
04dbd06bb5 Fix test of triggerEmergencyNetworkScan am: 2b4c6387d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080044

Change-Id: I3422587ee52737abc2932caa102ceb24a68f5a24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 06:00:33 +00:00
Łukasz Rymanowski
5a43cb90d8 Extend VtsHalBluetoothAudioTargetTest
This increase number of test cases for new Multicodec feature

Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I2150459bea53b522fe8da43ceed4c20eaeba7b16
2024-05-09 11:05:49 +08:00