Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01de26ce authored by Gabriel Biren's avatar Gabriel Biren Committed by Android (Google) Code Review
Browse files

Merge "Improvements for the Wifi Chip VTS test." into main

parents 26131a77 41b4c272
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -526,6 +526,9 @@ TEST_P(WifiChipAidlTest, StartLoggingToDebugRingBuffer) {
    status = wifi_chip_->startLoggingToDebugRingBuffer(
            ring_name, WifiDebugRingBufferVerboseLevel::VERBOSE, 5, 1024);
    EXPECT_TRUE(status.isOk() || checkStatusCode(&status, WifiStatusCode::ERROR_NOT_SUPPORTED));

    status = wifi_chip_->stopLoggingToDebugRingBuffer();
    EXPECT_TRUE(status.isOk() || checkStatusCode(&status, WifiStatusCode::ERROR_NOT_SUPPORTED));
}

/*
+0 −8
Original line number Diff line number Diff line
@@ -519,14 +519,6 @@ class WifiNanIfaceAidlTest : public testing::TestWithParam<std::string> {
    std::condition_variable cv_;
};

/*
 * GetName
 */
TEST_P(WifiNanIfaceAidlTest, GetName) {
    std::string ifaceName;
    EXPECT_TRUE(wifi_nan_iface_->getName(&ifaceName).isOk());
}

/*
 * FailOnIfaceInvalid
 * Ensure that API calls to an interface fail with code ERROR_WIFI_IFACE_INVALID
+0 −8
Original line number Diff line number Diff line
@@ -530,14 +530,6 @@ TEST_P(WifiStaIfaceAidlTest, TwtSessionResume) {
    EXPECT_TRUE(wifi_sta_iface_->twtSessionResume(1, 10).isOk());
}

/*
 * GetName
 */
TEST_P(WifiStaIfaceAidlTest, GetName) {
    std::string ifaceName;
    EXPECT_TRUE(wifi_sta_iface_->getName(&ifaceName).isOk());
}

/*
 * SetDtimMultiplier
 */