Home
last modified time | relevance | path

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

1234

/external/libchrome/base/
Drun_loop.cc13 RunLoop::RunLoop() in RunLoop() function in base::RunLoop
24 RunLoop::~RunLoop() { in ~RunLoop()
27 void RunLoop::Run() { in Run()
41 void RunLoop::RunUntilIdle() { in RunUntilIdle()
46 void RunLoop::Quit() { in Quit()
54 void RunLoop::QuitWhenIdle() { in QuitWhenIdle()
58 base::Closure RunLoop::QuitClosure() { in QuitClosure()
59 return base::Bind(&RunLoop::Quit, weak_factory_.GetWeakPtr()); in QuitClosure()
62 base::Closure RunLoop::QuitWhenIdleClosure() { in QuitWhenIdleClosure()
63 return base::Bind(&RunLoop::QuitWhenIdle, weak_factory_.GetWeakPtr()); in QuitWhenIdleClosure()
[all …]
Drun_loop.h29 class BASE_EXPORT RunLoop {
31 RunLoop();
32 ~RunLoop();
95 RunLoop* previous_run_loop_;
109 base::WeakPtrFactory<RunLoop> weak_factory_;
111 DISALLOW_COPY_AND_ASSIGN(RunLoop);
Dobserver_list_unittest.cc114 RunLoop().Run(); in ThreadMain()
223 RunLoop().RunUntilIdle(); in TEST()
230 RunLoop().RunUntilIdle(); in TEST()
253 RunLoop().RunUntilIdle(); in TEST()
264 RunLoop().RunUntilIdle(); in TEST()
286 RunLoop().RunUntilIdle(); in TEST()
300 RunLoop().RunUntilIdle(); in TEST()
314 RunLoop().RunUntilIdle(); in TEST()
359 RunLoop().RunUntilIdle(); in TEST()
399 RunLoop().RunUntilIdle(); in ThreadSafeObserverHarness()
[all …]
Dtask_runner_util_unittest.cc78 RunLoop().RunUntilIdle(); in TEST()
91 RunLoop().RunUntilIdle(); in TEST()
104 RunLoop().RunUntilIdle(); in TEST()
118 RunLoop().RunUntilIdle(); in TEST()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dbinding_unittest.cc84 base::RunLoop run_loop; in TEST_F()
102 base::RunLoop run_loop; in TEST_F()
106 base::RunLoop run_loop2; in TEST_F()
126 base::RunLoop().RunUntilIdle(); in TEST_F()
138 base::RunLoop run_loop; in TEST_F()
160 base::RunLoop().RunUntilIdle(); in TEST_F()
166 base::RunLoop().RunUntilIdle(); in TEST_F()
201 base::RunLoop run_loop; in TEST_F()
217 base::RunLoop run_loop; in TEST_F()
231 base::RunLoop().RunUntilIdle(); in TEST_F()
[all …]
Dpickle_unittest.cc193 base::RunLoop loop; in TEST_F()
200 base::RunLoop loop; in TEST_F()
208 base::RunLoop loop; in TEST_F()
219 base::RunLoop loop; in TEST_F()
226 base::RunLoop loop; in TEST_F()
235 base::RunLoop loop; in TEST_F()
245 base::RunLoop loop; in TEST_F()
255 base::RunLoop loop; in TEST_F()
267 base::RunLoop loop; in TEST_F()
275 base::RunLoop loop; in TEST_F()
[all …]
Dinterface_ptr_unittest.cc194 ~InterfacePtrTest() override { base::RunLoop().RunUntilIdle(); } in ~InterfacePtrTest()
196 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
232 base::RunLoop run_loop, run_loop2; in TEST_F()
250 base::RunLoop run_loop; in TEST_F()
257 base::RunLoop run_loop2; in TEST_F()
319 base::RunLoop run_loop; in TEST_F()
332 base::RunLoop run_loop2; in TEST_F()
347 base::RunLoop run_loop; in TEST_F()
354 base::RunLoop run_loop2; in TEST_F()
387 base::RunLoop run_loop; in TEST_F()
[all …]
Drouter_unittest.cc31 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
54 base::RunLoop run_loop; in TEST_F()
72 base::RunLoop run_loop2; in TEST_F()
144 base::RunLoop run_loop, run_loop2; in TEST_F()
165 base::RunLoop run_loop; in TEST_F()
173 base::RunLoop run_loop2; in TEST_F()
195 base::RunLoop run_loop3; in TEST_F()
202 base::RunLoop run_loop4; in TEST_F()
232 base::RunLoop run_loop0, run_loop1; in TEST_F()
247 base::RunLoop run_loop3; in TEST_F()
[all …]
Dmultiplex_router_unittest.cc46 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
79 base::RunLoop run_loop; in TEST_F()
98 base::RunLoop run_loop2; in TEST_F()
172 base::RunLoop run_loop, run_loop2; in TEST_F()
192 base::RunLoop run_loop; in TEST_F()
202 base::RunLoop run_loop2; in TEST_F()
224 base::RunLoop run_loop3; in TEST_F()
229 base::RunLoop run_loop4; in TEST_F()
259 base::RunLoop run_loop0, run_loop1; in TEST_F()
268 base::RunLoop run_loop3; in TEST_F()
[all …]
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()
210 base::RunLoop run_loop2; in TEST_F()
254 base::RunLoop run_loop; in TEST_F()
285 base::RunLoop run_loop; in TEST_F()
320 base::RunLoop run_loop; in TEST_F()
Drequest_response_unittest.cc88 ~RequestResponseTest() override { base::RunLoop().RunUntilIdle(); } in ~RequestResponseTest()
90 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
101 base::RunLoop run_loop; in TEST_F()
115 base::RunLoop run_loop; in TEST_F()
129 base::RunLoop run_loop; in TEST_F()
147 base::RunLoop run_loop; in TEST_F()
Dassociated_interface_unittest.cc95 ~AssociatedInterfaceTest() override { base::RunLoop().RunUntilIdle(); } in ~AssociatedInterfaceTest()
97 void PumpMessages() { base::RunLoop().RunUntilIdle(); } in PumpMessages()
121 void QuitRunLoop(base::RunLoop* run_loop) { in QuitRunLoop()
190 base::RunLoop run_loop, run_loop2; in TEST_F()
205 base::RunLoop run_loop3; in TEST_F()
214 base::RunLoop run_loop4; in TEST_F()
384 base::RunLoop run_loop; in TEST_F()
409 base::RunLoop run_loop; in TEST_F()
419 base::RunLoop run_loop; in TEST_F()
474 base::RunLoop run_loop; in TEST_F()
[all …]
/external/libvpx/libvpx/test/
Dvp9_ethread_test.cc180 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
183 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
194 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
197 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
210 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
213 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()
350 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
365 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
[all …]
Ddatarate_test.cc168 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
193 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
224 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
252 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
281 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
313 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
337 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
368 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
396 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
422 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
[all …]
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()
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()
Dkeyframe_test.cc67 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
79 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
89 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
102 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
127 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Dframe_size_tests.cc56 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_F()
67 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_F()
83 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_F()
93 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_F()
Dcpu_speed_test.cc85 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
100 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
116 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
133 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
148 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); in TEST_P()
Ddecode_svc_test.cc64 ASSERT_NO_FATAL_FAILURE(RunLoop(video.get())); in TEST_P()
81 ASSERT_NO_FATAL_FAILURE(RunLoop(video.get())); in TEST_P()
98 ASSERT_NO_FATAL_FAILURE(RunLoop(video.get())); in TEST_P()
116 ASSERT_NO_FATAL_FAILURE(RunLoop(video.get())); in TEST_P()
/external/libchrome/base/message_loop/
Dmessage_loop_test.cc118 RunLoop().Run(); in RunTest_PostTask()
139 RunLoop().Run(); in RunTest_PostDelayedTask_Basic()
163 RunLoop().Run(); in RunTest_PostDelayedTask_InDelayOrder()
191 RunLoop().Run(); in RunTest_PostDelayedTask_InPostOrder()
215 RunLoop().Run(); in RunTest_PostDelayedTask_InPostOrder_2()
245 RunLoop().Run(); in RunTest_PostDelayedTask_InPostOrder_3()
272 RunLoop().Run(); in RunTest_PostDelayedTask_SharedTimer()
283 RunLoop().RunUntilIdle(); in RunTest_PostDelayedTask_SharedTimer()
358 RunLoop().Run(); in NestingFunc()
370 RunLoop().Run(); in RunTest_Nesting()
[all …]
/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc108 RunLoop().RunUntilIdle(); in TEST_F()
121 RunLoop().RunUntilIdle(); in TEST_F()
132 RunLoop().RunUntilIdle(); in TEST_F()
142 RunLoop().RunUntilIdle(); in TEST_F()
160 RunLoop().Run(); in TEST_F()
176 RunLoop().Run(); in TEST_F()
193 RunLoop().Run(); in TEST_F()
/external/libmojo/mojo/common/
Dcommon_custom_types_unittest.cc130 base::RunLoop run_loop; in TEST_F()
144 base::RunLoop run_loop; in TEST_F()
157 base::RunLoop run_loop; in TEST_F()
170 base::RunLoop run_loop; in TEST_F()
200 base::RunLoop run_loop; in TEST_F()
218 base::RunLoop run_loop; in TEST_F()
/external/libmojo/mojo/message_pump/
Dmessage_pump_mojo_unittest.cc88 base::RunLoop run_loop; in TEST()
114 base::RunLoop run_loop; in TEST()
134 base::RunLoop run_loop2; in TEST()
150 base::RunLoop run_loop; in TEST()
170 base::RunLoop run_loop; in TEST()
185 base::RunLoop run_loop; in TEST()
/external/libchrome/base/timer/
Dtimer_unittest.cc120 base::RunLoop().Run(); in RunTest_OneShotTimer()
141 base::RunLoop().Run(); in RunTest_OneShotTimer_Cancel()
155 base::RunLoop().Run(); in RunTest_OneShotSelfDeletingTimer()
168 base::RunLoop().Run(); in RunTest_RepeatingTimer()
190 base::RunLoop().Run(); in RunTest_RepeatingTimer_Cancel()
220 base::RunLoop().Run(); in RunTest_DelayTimer_NoCall()
236 base::RunLoop().Run(); in RunTest_DelayTimer_OneCall()
275 base::RunLoop().Run(); in RunTest_DelayTimer_Reset()
518 base::RunLoop().Run(); in TEST()
534 base::RunLoop().Run(); in TEST()

1234