Searched refs:out_of_credits_detector_ (Results 1 – 5 of 5) sorted by relevance
67 out_of_credits_detector_( in ActivePassiveOutOfCreditsDetectorTest()99 out_of_credits_detector_->NotifyServiceStateChanged(old_state, new_state); in SetMockServiceState()103 out_of_credits_detector_->set_traffic_monitor(traffic_monitor); in SetTrafficMonitor()107 out_of_credits_detector_->set_connection_health_checker(health_checker); in SetConnectionHealthChecker()122 std::unique_ptr<ActivePassiveOutOfCreditsDetector> out_of_credits_detector_; member in shill::ActivePassiveOutOfCreditsDetectorTest133 EXPECT_TRUE(out_of_credits_detector_->IsDetecting()); in TEST_F()138 EXPECT_TRUE(out_of_credits_detector_->IsDetecting()); in TEST_F()143 EXPECT_TRUE(out_of_credits_detector_->out_of_credits()); in TEST_F()144 EXPECT_FALSE(out_of_credits_detector_->IsDetecting()); in TEST_F()156 EXPECT_TRUE(out_of_credits_detector_->IsDetecting()); in TEST_F()[all …]
57 out_of_credits_detector_( in SubscriptionStateOutOfCreditsDetectorTest()84 out_of_credits_detector_; member in shill::SubscriptionStateOutOfCreditsDetectorTest91 out_of_credits_detector_->NotifySubscriptionStateChanged( in TEST_F()93 EXPECT_TRUE(out_of_credits_detector_->out_of_credits()); in TEST_F()94 out_of_credits_detector_->NotifySubscriptionStateChanged( in TEST_F()96 EXPECT_FALSE(out_of_credits_detector_->out_of_credits()); in TEST_F()
71 out_of_credits_detector_ = in SetUp()74 service_->set_out_of_credits_detector(out_of_credits_detector_); in SetUp()91 MockOutOfCreditsDetector* out_of_credits_detector_; // Owned by |service_|. member in shill::CellularServiceTest340 ON_CALL(*out_of_credits_detector_, IsDetecting()) in TEST_F()365 EXPECT_CALL(*out_of_credits_detector_, IsDetecting()) in TEST_F()370 Mock::VerifyAndClearExpectations(out_of_credits_detector_); in TEST_F()373 EXPECT_CALL(*out_of_credits_detector_, IsDetecting()) in TEST_F()375 EXPECT_CALL(*out_of_credits_detector_, out_of_credits()) in TEST_F()379 Mock::VerifyAndClearExpectations(out_of_credits_detector_); in TEST_F()381 EXPECT_CALL(*out_of_credits_detector_, out_of_credits()) in TEST_F()
129 if (out_of_credits_detector_->IsDetecting()) { in IsAutoConnectable()133 if (out_of_credits_detector_->out_of_credits()) { in IsAutoConnectable()239 out_of_credits_detector_.reset( in InitOutOfCreditsDetection()327 return out_of_credits_detector_->out_of_credits(); in IsOutOfCredits()332 out_of_credits_detector_.reset(detector); in set_out_of_credits_detector()349 out_of_credits_detector_->ResetDetector(); in Connect()368 out_of_credits_detector_->NotifyServiceStateChanged(state(), new_state); in SetState()
109 return out_of_credits_detector_.get(); in out_of_credits_detector()238 std::unique_ptr<OutOfCreditsDetector> out_of_credits_detector_; variable