Update supplicant AIDL VTS tests to use the new

version of stopWifiFramework().

Bug: 234853504
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service
Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
(cherry picked from commit 99bb148510)
Merged-In: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
This commit is contained in:
Gabriel Biren
2022-06-15 00:04:50 +00:00
committed by Cherrypicker Worker
parent c33f1282d8
commit dd789ad9dc

View File

@@ -78,7 +78,7 @@ void startSupplicant() {
void stopSupplicantService() { stopSupplicant(getWifiInstanceName()); }
void initializeService() {
ASSERT_TRUE(stopWifiFramework());
ASSERT_TRUE(stopWifiFramework(getWifiInstanceName()));
std::system("/system/bin/start");
ASSERT_TRUE(waitForFrameworkReady());
stopSupplicantService();