From a6c5b8c5734e3251669fca6c2bd3c3e1c447eab9 Mon Sep 17 00:00:00 2001 From: lesl Date: Tue, 10 Nov 2020 01:26:34 +0800 Subject: [PATCH] wifi: Fix incorrect instance version The vts use getAidlInstances to check current HIDL version whether or not exist in the device manifests. When there are no instances installed, the suite won't be instantiated Test: atest -c VtsHalWifiHostapdV1_3TargetTest in S GSI + R build Bug: 172539662 Change-Id: Ia268282eeeb53a092bb5f36ef0426ac213b45a9f --- wifi/hostapd/1.3/vts/functional/hostapd_hidl_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/hostapd/1.3/vts/functional/hostapd_hidl_test.cpp b/wifi/hostapd/1.3/vts/functional/hostapd_hidl_test.cpp index 9234a5bf92..bdbe65128c 100644 --- a/wifi/hostapd/1.3/vts/functional/hostapd_hidl_test.cpp +++ b/wifi/hostapd/1.3/vts/functional/hostapd_hidl_test.cpp @@ -468,5 +468,5 @@ INSTANTIATE_TEST_CASE_P( testing::ValuesIn( android::hardware::getAllHalInstanceNames(IWifi::descriptor)), testing::ValuesIn(android::hardware::getAllHalInstanceNames( - android::hardware::wifi::hostapd::V1_2::IHostapd::descriptor))), + android::hardware::wifi::hostapd::V1_3::IHostapd::descriptor))), android::hardware::PrintInstanceTupleNameToString<>);