Home
last modified time | relevance | path

Searched refs:MainThreadType (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/test/
Dscoped_task_environment.cc33 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()
95 MainThreadType main_thread_type, in ScopedTaskEnvironment()
100 main_thread_type == MainThreadType::MOCK_TIME in ScopedTaskEnvironment()
105 main_thread_type == MainThreadType::MOCK_TIME in ScopedTaskEnvironment()
109 main_thread_type == MainThreadType::MOCK_TIME in ScopedTaskEnvironment()
116 main_thread_type == MainThreadType::IO in ScopedTaskEnvironment()
Dscoped_task_environment_unittest.cc34 : public testing::TestWithParam<ScopedTaskEnvironment::MainThreadType> {};
44 ScopedTaskEnvironment::MainThreadType main_thread_type, in RunUntilIdleTest()
220 if (GetParam() == ScopedTaskEnvironment::MainThreadType::MOCK_TIME) { in TEST_P()
253 ScopedTaskEnvironment::MainThreadType::IO, in TEST_F()
277 ScopedTaskEnvironment::MainThreadType::MOCK_TIME, in TEST_F()
309 ::testing::Values(ScopedTaskEnvironment::MainThreadType::DEFAULT));
313 ::testing::Values(ScopedTaskEnvironment::MainThreadType::MOCK_TIME));
317 ::testing::Values(ScopedTaskEnvironment::MainThreadType::UI));
321 ::testing::Values(ScopedTaskEnvironment::MainThreadType::IO));
Dscoped_task_environment.h68 enum class MainThreadType { enum
94 MainThreadType main_thread_type = MainThreadType::DEFAULT,
/external/libchrome/libchrome_tools/patches/
Dr680000-forward-compatibility-patch-part-2.patch89 + // MainThreadType::MOCK_TIME.
90 + using TimeSource = MainThreadType;
/external/libchrome/base/timer/
Dhi_res_timer_manager_unittest.cc25 test::ScopedTaskEnvironment::MainThreadType::UI); in TEST()