Home
last modified time | relevance | path

Searched refs:RunLoop (Results 1 – 25 of 182) sorted by relevance

12345678

/external/libchrome/base/
Drun_loop.cc20 LazyInstance<ThreadLocalPointer<RunLoop::Delegate>>::Leaky tls_delegate =
36 RunLoop::Delegate::Delegate() { in Delegate()
42 RunLoop::Delegate::~Delegate() { in ~Delegate()
51 bool RunLoop::Delegate::ShouldQuitWhenIdle() { in ShouldQuitWhenIdle()
56 void RunLoop::RegisterDelegateForCurrentThread(Delegate* delegate) { in RegisterDelegateForCurrentThread()
70 RunLoop::RunLoop(Type type) in RunLoop() function in base::RunLoop
80 RunLoop::~RunLoop() { in ~RunLoop()
85 void RunLoop::Run() { in Run()
111 void RunLoop::RunUntilIdle() { in RunUntilIdle()
118 void RunLoop::Quit() { in Quit()
[all …]
Drun_loop.h40 class BASE_EXPORT RunLoop {
69 RunLoop(Type type = Type::kDefault);
70 ~RunLoop();
189 friend class RunLoop;
194 using RunLoopStack = base::stack<RunLoop*, std::vector<RunLoop*>>;
197 ObserverList<RunLoop::NestingObserver> nesting_observers_;
304 base::WeakPtrFactory<RunLoop> weak_factory_;
306 DISALLOW_COPY_AND_ASSIGN(RunLoop);
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_set_unittest.cc116 base::RunLoop loop; in TEST_P()
123 base::RunLoop loop; in TEST_P()
129 base::RunLoop loop; in TEST_P()
137 base::RunLoop loop; in TEST_P()
157 base::RunLoop loop; in TEST_P()
164 base::RunLoop loop; in TEST_P()
170 base::RunLoop loop; in TEST_P()
178 base::RunLoop loop; in TEST_P()
194 base::RunLoop run_loop; in TEST_P()
223 base::RunLoop loop; in TEST_P()
[all …]
Dbinding_unittest.cc76 base::RunLoop run_loop; in TEST_P()
94 base::RunLoop run_loop; in TEST_P()
98 base::RunLoop run_loop2; in TEST_P()
118 base::RunLoop().RunUntilIdle(); in TEST_P()
130 base::RunLoop run_loop; in TEST_P()
152 base::RunLoop().RunUntilIdle(); in TEST_P()
158 base::RunLoop().RunUntilIdle(); in TEST_P()
193 base::RunLoop run_loop; in TEST_P()
209 base::RunLoop run_loop; in TEST_P()
223 base::RunLoop().RunUntilIdle(); in TEST_P()
[all …]
Dpickle_unittest.cc207 base::RunLoop loop; in TEST_F()
214 base::RunLoop loop; in TEST_F()
222 base::RunLoop loop; in TEST_F()
233 base::RunLoop loop; in TEST_F()
240 base::RunLoop loop; in TEST_F()
249 base::RunLoop loop; in TEST_F()
259 base::RunLoop loop; in TEST_F()
269 base::RunLoop loop; in TEST_F()
281 base::RunLoop loop; in TEST_F()
289 base::RunLoop loop; in TEST_F()
[all …]
Dinterface_ptr_unittest.cc206 ~InterfacePtrTest() override { base::RunLoop().RunUntilIdle(); } in ~InterfacePtrTest()
208 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
237 base::RunLoop run_loop; in RunTest()
336 base::RunLoop run_loop; in TEST_P()
349 base::RunLoop run_loop2; in TEST_P()
364 base::RunLoop run_loop; in TEST_P()
371 base::RunLoop run_loop2; in TEST_P()
404 base::RunLoop run_loop; in TEST_P()
419 base::RunLoop run_loop; in TEST_P()
430 base::RunLoop run_loop, run_loop2; in TEST_P()
[all …]
Dstruct_traits_unittest.cc210 base::RunLoop loop; in TEST_F()
218 base::RunLoop loop; in TEST_F()
230 base::RunLoop loop; in TEST_F()
238 base::RunLoop loop; in TEST_F()
247 base::RunLoop loop; in TEST_F()
260 base::RunLoop loop; in TEST_F()
268 base::RunLoop loop; in TEST_F()
280 base::RunLoop loop; in TEST_F()
288 base::RunLoop loop; in TEST_F()
328 base::RunLoop loop; in TEST_F()
[all …]
Dmultiplex_router_unittest.cc53 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
78 base::RunLoop run_loop; in TEST_F()
97 base::RunLoop run_loop2; in TEST_F()
163 base::RunLoop run_loop; in TEST_F()
174 base::RunLoop run_loop2; in TEST_F()
196 base::RunLoop run_loop3; in TEST_F()
201 base::RunLoop run_loop4; in TEST_F()
231 base::RunLoop run_loop0, run_loop1; in TEST_F()
240 base::RunLoop run_loop3; in TEST_F()
288 base::RunLoop run_loop; in TEST_F()
Dbinding_callback_unittest.cc132 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
150 base::RunLoop run_loop, run_loop2; in TEST_F()
174 base::RunLoop run_loop3, run_loop4; in TEST_F()
199 base::RunLoop run_loop; in TEST_F()
211 base::RunLoop run_loop2; in TEST_F()
256 base::RunLoop run_loop; in TEST_F()
287 base::RunLoop run_loop; in TEST_F()
322 base::RunLoop run_loop; in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_loop_io_posix_unittest.cc62 RunLoop::QuitCurrentWhenIdleDeprecated(); in OnFileCanReadWithoutBlocking()
67 RunLoop::QuitCurrentWhenIdleDeprecated(); in OnFileCanWriteWithoutBlocking()
177 RunLoop().Run(); in TEST_F()
192 RunLoop().RunUntilIdle(); in TEST_F()
200 RunLoop().Run(); in TEST_F()
223 RunLoop().Run(); in TEST_F()
241 RunLoop().RunUntilIdle(); in TEST_F()
247 RunLoop().RunUntilIdle(); in TEST_F()
251 RunLoop* run_loop) { in StopWatching()
259 RunLoop run_loop; in TEST_F()
[all …]
Dmessage_loop_unittest.cc107 RunLoop::QuitCurrentWhenIdleDeprecated(); in SlowFunc()
251 RunLoop::QuitCurrentWhenIdleDeprecated(); in QuitFunc()
410 RunLoop::QuitCurrentWhenIdleDeprecated(); in SubPumpFunc()
438 RunLoop().Run(); in RunTest_PostDelayedTask_SharedTimer_SubPump()
449 RunLoop().RunUntilIdle(); in RunTest_PostDelayedTask_SharedTimer_SubPump()
540 RunLoop().Run(); in RunTest_RecursiveDenial2()
580 RunLoop().Run(); in RunTest_RecursiveSupport2()
616 RunLoop::QuitCurrentWhenIdleDeprecated(); in PostNTasksThenQuit()
869 FROM_HERE, BindOnce(&RunLoop::QuitCurrentWhenIdleDeprecated)); in TEST_P()
872 RunLoop().Run(); in TEST_P()
[all …]
Dmessage_pump_glib_unittest.cc189 RunLoop().RunUntilIdle(); in TEST_F()
194 RunLoop run_loop; in TEST_F()
216 RunLoop run_loop; in TEST_F()
230 RunLoop run_loop; in TEST_F()
248 RunLoop run_loop; in TEST_F()
270 RunLoop run_loop; in TEST_F()
298 RunLoop run_loop; in TEST_F()
367 RunLoop run_loop; in TEST_F()
410 RunLoop run_loop; in TEST_F()
432 void RunLoop() { in RunLoop() function in base::__anon1e9a7beb0411::GLibLoopRunner
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Dsimple_watcher_unittest.cc53 base::RunLoop run_loop; in TEST_F()
113 base::RunLoop().RunUntilIdle(); in TEST_F()
115 base::RunLoop().RunUntilIdle(); in TEST_F()
137 base::RunLoop run_loop; in TEST_F()
160 base::RunLoop run_loop; in TEST_F()
182 base::RunLoop run_loop; in TEST_F()
220 base::RunLoop().RunUntilIdle(); in TEST_F()
229 base::RunLoop loop; in TEST_F()
233 [](base::RunLoop* loop, MojoResult result) { in TEST_F()
253 base::RunLoop loop; in TEST_F()
[all …]
/external/libvpx/libvpx/test/
Dvp9_ethread_test.cc181 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
184 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
195 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
198 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
211 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
214 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
329 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
335 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
348 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
363 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
[all …]
Dvp8_datarate_test.cc175 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
200 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
231 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
259 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
280 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
311 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
335 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
366 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
394 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
416 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
[all …]
Dvp9_datarate_test.cc277 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
304 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
334 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
358 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
385 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
410 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
453 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
504 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
552 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
602 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
[all …]
Dsvc_end_to_end_test.cc94 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
255 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
282 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
309 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
336 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
365 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
395 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
424 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
449 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dlevel_test.cc75 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
85 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
95 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
105 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
109 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
118 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dkeyframe_test.cc67 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
81 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
91 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
104 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
129 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dalt_ref_aq_segment_test.cc66 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
87 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
108 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
129 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
150 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc138 RunLoop().RunUntilIdle(); in TEST_F()
153 RunLoop().RunUntilIdle(); in TEST_F()
164 RunLoop().RunUntilIdle(); in TEST_F()
175 RunLoop().RunUntilIdle(); in TEST_F()
191 RunLoop().RunUntilIdle(); in TEST_F()
217 RunLoop().RunUntilIdle(); in TEST_F()
247 RunLoop().RunUntilIdle(); in TEST_F()
262 RunLoop().RunUntilIdle(); in TEST_F()
277 RunLoop().RunUntilIdle(); in TEST_F()
293 RunLoop().RunUntilIdle(); in TEST_F()
[all …]
Dfile_descriptor_watcher_posix_unittest.cc81 base::RunLoop().RunUntilIdle(); in TearDown()
98 RunLoop().RunUntilIdle(); in WaitAndRunPendingTasks()
174 RunLoop run_loop; in TEST_P()
176 .WillOnce(testing::Invoke(&run_loop, &RunLoop::Quit)); in TEST_P()
186 RunLoop run_loop; in TEST_P()
206 RunLoop run_loop; in TEST_P()
227 RunLoop run_loop; in TEST_P()
250 RunLoop run_loop; in TEST_P()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc112 RunLoop run_loop; in RunPendingTasks()
221 RunLoop(RunLoop::Type::kNestableTasksAllowed).RunUntilIdle(); in PostFromNestedRunloop()
267 RunLoop().RunUntilIdle(); in TEST_P()
294 RunLoop().RunUntilIdle(); in TEST_P()
309 RunLoop().RunUntilIdle(); in TEST_P()
320 RunLoop().RunUntilIdle(); in TEST_P()
336 RunLoop().RunUntilIdle(); in TEST_P()
362 RunLoop().RunUntilIdle(); in TEST_P()
397 RunLoop().RunUntilIdle(); in TEST_P()
407 RunLoop().RunUntilIdle(); in TEST_P()
[all …]
/external/libchrome/base/task/sequence_manager/test/
Dlazy_thread_controller_for_test.cc32 RunLoop::AddNestingObserverOnCurrentThread(this); in EnsureMessageLoop()
46 RunLoop::NestingObserver* observer) { in AddNestingObserver()
76 RunLoop::AddNestingObserverOnCurrentThread(this); in AddNestingObserver()
80 RunLoop::NestingObserver* observer) { in RemoveNestingObserver()
89 RunLoop::RemoveNestingObserverOnCurrentThread(this); in RemoveNestingObserver()
/external/libchrome/ipc/
Dipc_channel_mojo_unittest.cc154 base::RunLoop().Run(); in TEST_F()
172 base::RunLoop().Run(); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
214 base::RunLoop run_loop; in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
227 base::RunLoop run_loop; in TEST_F()
306 base::RunLoop wait_to_connect_loop; in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
307 base::RunLoop wait_to_quit_loop; in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
341 base::Optional<base::RunLoop> wait_for_error_loop; in TEST_F()
475 base::RunLoop run_loop; in TEST_F()
491 base::RunLoop run_loop; in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
548 base::RunLoop run_loop; in RunTest()
[all …]

12345678