From 60d52e48fa7b6a5348b00ff96c81c5938400725e Mon Sep 17 00:00:00 2001 From: Chen Chen Date: Wed, 16 Feb 2022 12:19:12 -0800 Subject: [PATCH] SpatialAudio: Fix VTS for the new parameter in AIDL. 2 more VTS functions was added while the AIDL was changed so they are not included in the CL of changing AIDL Bug: 214615268 Bug: 219977932 Test: Build Change-Id: Ifbbfe2f9091367609b63fbb6ee118c44d447ec98 --- bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp index 90ec8cb78f..e68c654cba 100644 --- a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp +++ b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp @@ -1545,7 +1545,8 @@ TEST_P(BluetoothAudioProviderLeAudioBroadcastHardwareAidl, lc3_config); DataMQDesc mq_desc; auto aidl_retval = audio_provider_->startSession( - audio_port_, AudioConfiguration(le_audio_broadcast_config), &mq_desc); + audio_port_, AudioConfiguration(le_audio_broadcast_config), + latency_modes, &mq_desc); ASSERT_TRUE(aidl_retval.isOk()); EXPECT_TRUE(audio_provider_->endSession().isOk()); @@ -1578,7 +1579,8 @@ TEST_P( lc3_config); DataMQDesc mq_desc; auto aidl_retval = audio_provider_->startSession( - audio_port_, AudioConfiguration(le_audio_broadcast_config), &mq_desc); + audio_port_, AudioConfiguration(le_audio_broadcast_config), + latency_modes, &mq_desc); // AIDL call should fail on invalid codec ASSERT_FALSE(aidl_retval.isOk());