Home
last modified time | relevance | path

Searched refs:task_runners_ (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/platform/test/
Dfake_clock.cc27 OSP_CHECK(task_runners_.empty()); in ~FakeClock()
46 for (FakeTaskRunner* task_runner : task_runners_) { in Advance()
52 for (FakeTaskRunner* task_runner : task_runners_) { in Advance()
69 OSP_CHECK(std::find(task_runners_.begin(), task_runners_.end(), in SubscribeToTimeChanges()
70 task_runner) == task_runners_.end()); in SubscribeToTimeChanges()
71 task_runners_.push_back(task_runner); in SubscribeToTimeChanges()
76 auto it = std::find(task_runners_.begin(), task_runners_.end(), task_runner); in UnsubscribeFromTimeChanges()
77 OSP_CHECK(it != task_runners_.end()); in UnsubscribeFromTimeChanges()
78 task_runners_.erase(it); in UnsubscribeFromTimeChanges()
Dfake_clock.h41 std::vector<FakeTaskRunner*> task_runners_; variable