Home
last modified time | relevance | path

Searched refs:timer_ (Results 1 – 4 of 4) sorted by relevance

/system/bt/common/
Donce_timer_unittest.cc59 void CancelTimerAndWait() { timer_->CancelAndWait(); } in CancelTimerAndWait()
65 timer_ = new OnceTimer(); in SetUp()
74 if (timer_ != nullptr) { in TearDown()
75 delete timer_; in TearDown()
76 timer_ = nullptr; in TearDown()
81 OnceTimer* timer_; member in OnceTimerTest
86 ASSERT_FALSE(timer_->IsScheduled()); in TEST_F()
97 timer_->Schedule(message_loop_thread.GetWeakPtr(), FROM_HERE, in TEST_F()
101 EXPECT_TRUE(timer_->IsScheduled()); in TEST_F()
105 EXPECT_FALSE(timer_->IsScheduled()); in TEST_F()
[all …]
Drepeating_timer_unittest.cc83 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()
[all …]
/system/iorap/src/prefetcher/
Dsession.h105 android::base::Timer timer_{};
Dsession.cc496 os << "timer=" << timer_.duration().count() << ","; in Dump()
507 os << " Duration = " << timer_.duration().count() << "ms" << std::endl; in Dump()