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
This commit is contained in:
Chen Chen 2022-02-16 12:19:12 -08:00
parent 5cde687f02
commit 60d52e48fa

View file

@ -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());