Lines Matching refs:ScopedTaskEnvironment
33 ScopedTaskEnvironment::MainThreadType main_thread_type) { in CreateMessageLoopForMainThreadType()
35 case ScopedTaskEnvironment::MainThreadType::DEFAULT: in CreateMessageLoopForMainThreadType()
37 case ScopedTaskEnvironment::MainThreadType::MOCK_TIME: in CreateMessageLoopForMainThreadType()
39 case ScopedTaskEnvironment::MainThreadType::UI: in CreateMessageLoopForMainThreadType()
41 case ScopedTaskEnvironment::MainThreadType::IO: in CreateMessageLoopForMainThreadType()
50 class ScopedTaskEnvironment::TestTaskTracker
69 friend class ScopedTaskEnvironment;
94 ScopedTaskEnvironment::ScopedTaskEnvironment( in ScopedTaskEnvironment() function in base::test::ScopedTaskEnvironment
146 ScopedTaskEnvironment::~ScopedTaskEnvironment() { in ~ScopedTaskEnvironment()
166 ScopedTaskEnvironment::GetMainThreadTaskRunner() { in GetMainThreadTaskRunner()
173 bool ScopedTaskEnvironment::MainThreadHasPendingTask() const { in MainThreadHasPendingTask()
180 void ScopedTaskEnvironment::RunUntilIdle() { in RunUntilIdle()
260 void ScopedTaskEnvironment::FastForwardBy(TimeDelta delta) { in FastForwardBy()
265 void ScopedTaskEnvironment::FastForwardUntilNoTasksRemain() { in FastForwardUntilNoTasksRemain()
270 const TickClock* ScopedTaskEnvironment::GetMockTickClock() { in GetMockTickClock()
275 std::unique_ptr<TickClock> ScopedTaskEnvironment::DeprecatedGetMockTickClock() { in DeprecatedGetMockTickClock()
280 size_t ScopedTaskEnvironment::GetPendingMainThreadTaskCount() const { in GetPendingMainThreadTaskCount()
285 TimeDelta ScopedTaskEnvironment::NextMainThreadPendingTaskDelay() const { in NextMainThreadPendingTaskDelay()
290 ScopedTaskEnvironment::TestTaskTracker::TestTaskTracker() in TestTaskTracker()
295 void ScopedTaskEnvironment::TestTaskTracker::AllowRunTasks() { in AllowRunTasks()
301 bool ScopedTaskEnvironment::TestTaskTracker::DisallowRunTasks() { in DisallowRunTasks()
317 void ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask( in RunOrSkipTask()