Home
last modified time | relevance | path

Searched refs:portal_detector_ (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/shill/
Dportal_detector_unittest.cc75 portal_detector_( in PortalDetectorTest()
90 portal_detector_->time_ = &time_; in SetUp()
95 portal_detector_->connectivity_trial_ in SetUp()
105 portal_detector_.reset(); in TearDown()
129 bool ret = portal_detector_->Start(url_string); in StartPortalRequest()
133 PortalDetector* portal_detector() { return portal_detector_.get(); } in portal_detector()
139 EXPECT_FALSE(portal_detector_->attempt_count_); in ExpectReset()
140 EXPECT_FALSE(portal_detector_->failures_in_content_phase_); in ExpectReset()
142 Equals(portal_detector_->portal_result_callback_)); in ExpectReset()
174 std::unique_ptr<PortalDetector> portal_detector_; member in shill::PortalDetectorTest
Ddevice.cc1279 if (portal_detector_.get() && portal_detector_->IsInProgress()) { in RequestPortalDetection()
1319 portal_detector_.reset(new PortalDetector(connection_, in StartPortalDetection()
1322 if (!portal_detector_->Start(manager_->GetPortalCheckURL())) { in StartPortalDetection()
1338 portal_detector_.reset(); in StopPortalDetection()
1633 CHECK(portal_detector_.get()); in SetServiceConnectedState()
1634 if (!portal_detector_->StartAfterDelay( in SetServiceConnectedState()
1641 portal_detector_.reset(); in SetServiceConnectedState()
1649 portal_detector_.reset(); in SetServiceConnectedState()
Dconnection_diagnostics_unittest.cc156 portal_detector_(new NiceMock<MockPortalDetector>(connection_)) {} in ConnectionDiagnosticsTest()
172 connection_diagnostics_.portal_detector_.reset( in SetUp()
173 portal_detector_); // Passes ownership in SetUp()
261 EXPECT_FALSE(connection_diagnostics_.portal_detector_.get()); in VerifyStopped()
284 EXPECT_CALL(*portal_detector_, Start(url_string)).WillOnce(Return(true)); in ExpectPortalDetectionStartSuccess()
840 NiceMock<MockPortalDetector>* portal_detector_; member in shill::ConnectionDiagnosticsTest
Dconnection_diagnostics.h348 std::unique_ptr<PortalDetector> portal_detector_; variable
Dconnection_diagnostics.cc163 portal_detector_(new PortalDetector( in ConnectionDiagnostics()
193 if (!portal_detector_->Start(url_string)) { in Start()
235 portal_detector_.reset(); in Stop()
Ddevice_unittest.cc1913 portal_detector_(new StrictMock<MockPortalDetector>(connection_)) {} in DevicePortalDetectionTest()
1919 device_->portal_detector_.reset(portal_detector_); // Passes ownership. in SetUp()
1939 EXPECT_FALSE(device_->portal_detector_.get()); in ExpectPortalDetectorReset()
1942 EXPECT_TRUE(device_->portal_detector_.get()); in ExpectPortalDetectorSet()
1945 EXPECT_EQ(portal_detector_, device_->portal_detector_.get()); in ExpectPortalDetectorIsMock()
1959 MockPortalDetector* portal_detector_; member in shill::DevicePortalDetectionTest
2229 EXPECT_CALL(*portal_detector_, IsInProgress()) in TEST_F()
2327 EXPECT_CALL(*portal_detector_, StartAfterDelay(kPortalCheckURL, in TEST_F()
Ddevice.h848 std::unique_ptr<PortalDetector> portal_detector_; variable