From c159474b1499b5aa61d017abe7c5043a41559a79 Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Fri, 24 Jul 2020 10:40:00 -0700 Subject: [PATCH] Allow HAL test to pass without instance found. Bug: 162052785 Test: atest Change-Id: I03c434cdf357dc8340b107fed991389a47febfbe --- .../1.0/vts/functional/VtsHalBluetoothA2dpV1_0TargetTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bluetooth/a2dp/1.0/vts/functional/VtsHalBluetoothA2dpV1_0TargetTest.cpp b/bluetooth/a2dp/1.0/vts/functional/VtsHalBluetoothA2dpV1_0TargetTest.cpp index 44b138a894..f7fdf3113d 100644 --- a/bluetooth/a2dp/1.0/vts/functional/VtsHalBluetoothA2dpV1_0TargetTest.cpp +++ b/bluetooth/a2dp/1.0/vts/functional/VtsHalBluetoothA2dpV1_0TargetTest.cpp @@ -107,4 +107,6 @@ INSTANTIATE_TEST_SUITE_P( PerInstance, BluetoothA2dpHidlTest, testing::ValuesIn(android::hardware::getAllHalInstanceNames( IBluetoothAudioOffload::descriptor)), - android::hardware::PrintInstanceNameToString); \ No newline at end of file + android::hardware::PrintInstanceNameToString); + +GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BluetoothA2dpHidlTest);