summaryrefslogtreecommitdiff
path: root/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp
diff options
context:
space:
mode:
authorChen Chen <cncn@google.com>2022-02-16 12:19:12 -0800
committerChen Chen <cncn@google.com>2022-02-16 12:19:17 -0800
commit60d52e48fa7b6a5348b00ff96c81c5938400725e (patch)
tree4136d8501891445672a70c3ed43833c4dbcee013 /bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp
parent5cde687f02d46c1a7b2dccd1548579ece9dd573a (diff)
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
Diffstat (limited to 'bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp')
-rw-r--r--bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp6
1 files 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());