Lines Matching refs:timer_
83 timer_->SchedulePeriodic( in VerifyMultipleDelayedTasks()
91 timer_->CancelAndWait(); in VerifyMultipleDelayedTasks()
94 void CancelRepeatingTimerAndWait() { timer_->CancelAndWait(); } in CancelRepeatingTimerAndWait()
100 timer_ = new RepeatingTimer(); in SetUp()
109 if (timer_ != nullptr) { in TearDown()
110 delete timer_; in TearDown()
111 timer_ = nullptr; in TearDown()
116 RepeatingTimer* timer_; member in RepeatingTimerTest
121 ASSERT_FALSE(timer_->IsScheduled()); in TEST_F()
129 EXPECT_FALSE(timer_->IsScheduled()); in TEST_F()
130 timer_->CancelAndWait(); in TEST_F()
131 EXPECT_FALSE(timer_->IsScheduled()); in TEST_F()
142 timer_->SchedulePeriodic( in TEST_F()
149 timer_->CancelAndWait(); in TEST_F()
158 ASSERT_FALSE(timer_->SchedulePeriodic( in TEST_F()
172 timer_->SchedulePeriodic( in TEST_F()
177 delete timer_; in TEST_F()
178 timer_ = nullptr; in TEST_F()
187 timer_->SchedulePeriodic(message_loop_thread.GetWeakPtr(), FROM_HERE, in TEST_F()
191 timer_->CancelAndWait(); in TEST_F()
202 timer_->SchedulePeriodic( in TEST_F()
208 timer_->CancelAndWait(); in TEST_F()
239 timer_->SchedulePeriodic( in TEST_F()