Home
last modified time | relevance | path

Searched refs:QuitClosure (Results 1 – 25 of 33) sorted by relevance

12

/external/libmojo/mojo/public/cpp/bindings/tests/
Dbinding_unittest.cc86 SetFlagAndRunClosure(&called, run_loop.QuitClosure())); in TEST_F()
104 SetFlagAndRunClosure(&encountered_error, run_loop.QuitClosure())); in TEST_F()
111 run_loop2.QuitClosure())); in TEST_F()
125 run_loop2.QuitClosure())); in TEST_F()
140 SetFlagAndRunClosure(&called, run_loop.QuitClosure())); in TEST_F()
202 new ServiceImplWithBinding(&was_deleted, run_loop.QuitClosure(), in TEST_F()
220 run_loop.QuitClosure())); in TEST_F()
230 run_loop.QuitClosure())); in TEST_F()
241 run_loop2.QuitClosure())); in TEST_F()
278 run_loop.QuitClosure())); in TEST_F()
[all …]
Dinterface_ptr_unittest.cc233 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_F()
234 calculator_ui.Multiply(5.0, run_loop2.QuitClosure()); in TEST_F()
251 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_F()
258 calculator_ui.Multiply(5.0, run_loop2.QuitClosure()); in TEST_F()
320 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_F()
333 calculator_ui.set_connection_error_handler(run_loop2.QuitClosure()); in TEST_F()
350 run_loop.QuitClosure())); in TEST_F()
355 calculator_ui.Add(2.0, run_loop2.QuitClosure()); in TEST_F()
388 impl->BeginTest(false, run_loop.QuitClosure()); in TEST_F()
403 impl->BeginTest(true, run_loop.QuitClosure()); in TEST_F()
[all …]
Dmultiplex_router_unittest.cc82 new MessageAccumulator(&message_queue, run_loop.QuitClosure())); in TEST_F()
101 new MessageAccumulator(&message_queue, run_loop2.QuitClosure())); in TEST_F()
173 client0.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
174 client1.set_connection_error_handler(run_loop2.QuitClosure()); in TEST_F()
176 &request, new MessageAccumulator(&message_queue, run_loop.QuitClosure())); in TEST_F()
193 LazyResponseGenerator generator(run_loop.QuitClosure()); in TEST_F()
205 new MessageAccumulator(&message_queue, run_loop2.QuitClosure())); in TEST_F()
225 generator.set_closure(run_loop3.QuitClosure()); in TEST_F()
232 new MessageAccumulator(&message_queue, run_loop4.QuitClosure())); in TEST_F()
266 run_loop0.QuitClosure())); in TEST_F()
[all …]
Drouter_unittest.cc56 &request, new MessageAccumulator(&message_queue, run_loop.QuitClosure())); in TEST_F()
75 new MessageAccumulator(&message_queue, run_loop2.QuitClosure())); in TEST_F()
145 router0.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
146 router1.set_connection_error_handler(run_loop2.QuitClosure()); in TEST_F()
166 LazyResponseGenerator generator(run_loop.QuitClosure()); in TEST_F()
176 new MessageAccumulator(&message_queue, run_loop2.QuitClosure())); in TEST_F()
196 LazyResponseGenerator generator2(run_loop3.QuitClosure()); in TEST_F()
205 new MessageAccumulator(&message_queue, run_loop4.QuitClosure())); in TEST_F()
238 run_loop0.QuitClosure())); in TEST_F()
245 run_loop1.QuitClosure())); in TEST_F()
[all …]
Dbinding_callback_unittest.cc151 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
155 run_loop2.QuitClosure())); in TEST_F()
175 server_impl.set_closure(run_loop3.QuitClosure()); in TEST_F()
179 run_loop4.QuitClosure())); in TEST_F()
203 interface_ptr_.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
211 server_impl.set_closure(run_loop2.QuitClosure()); in TEST_F()
255 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
286 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
321 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
Dpickle_unittest.cc196 ExpectResult(PickledStructChromium(1, 2), loop.QuitClosure())); in TEST_F()
203 ExpectResult(PickledStructChromium(4, 5), loop.QuitClosure())); in TEST_F()
211 ExpectEnumResult(PickledEnumChromium::VALUE_1, loop.QuitClosure())); in TEST_F()
222 ExpectResult(PickledStructChromium(1, 2), loop.QuitClosure())); in TEST_F()
229 ExpectResult(PickledStructChromium(4, 5), loop.QuitClosure())); in TEST_F()
239 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
248 ExpectEnumResult(PickledEnumChromium::VALUE_0, loop.QuitClosure())); in TEST_F()
259 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
270 ExpectResult(PickledStructBlink(1, 1), loop.QuitClosure())); in TEST_F()
278 ExpectEnumResult(PickledEnumBlink::VALUE_0, loop.QuitClosure())); in TEST_F()
[all …]
Dconnector_unittest.cc129 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
179 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
222 accumulator.set_closure(run_loop.QuitClosure()); in TEST_F()
292 connector0.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
318 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
352 MessageAccumulator accumulator2(run_loop2.QuitClosure()); in TEST_F()
424 accumulator.set_closure(run_loop.QuitClosure()); in TEST_F()
452 run_loop.QuitClosure())); in TEST_F()
459 run_loop2.QuitClosure())); in TEST_F()
470 MessageAccumulator accumulator(run_loop3.QuitClosure()); in TEST_F()
[all …]
Dstruct_traits_unittest.cc175 ExpectResult(RectChromium(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
188 ExpectResult(RectChromium(2, 2, 5, 5), loop.QuitClosure())); in TEST_F()
195 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
211 ExpectResult(RectBlink(10, 10, 20, 20), loop.QuitClosure())); in TEST_F()
224 ExpectResult(RectBlink(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
264 base::Bind(&ExpectStructWithTraits, input, loop.QuitClosure())); in TEST_F()
296 base::Bind(&CaptureMessagePipe, &received, loop.QuitClosure())); in TEST_F()
334 loop.QuitClosure())); in TEST_F()
381 base::Bind(&ExpectUniquePtr, 12345, loop.QuitClosure())); in TEST_F()
Drequest_response_unittest.cc103 base::Bind(&RecordString, &buf, run_loop.QuitClosure())); in TEST_F()
117 run_loop.QuitClosure())); in TEST_F()
132 base::Bind(&WriteToMessagePipe, "hello", run_loop.QuitClosure())); in TEST_F()
149 base::Bind(&RecordEnum, &value, run_loop.QuitClosure())); in TEST_F()
Dhandle_passing_unittest.cc214 run_loop.QuitClosure()); in TEST_F()
225 run_loop2.QuitClosure())); in TEST_F()
249 run_loop.QuitClosure())); in TEST_F()
287 run_loop.QuitClosure())); in TEST_F()
344 object1->GetName(MakeStringRecorder(&name1, run_loop.QuitClosure())); in TEST_F()
347 object2->GetName(MakeStringRecorder(&name2, run_loop2.QuitClosure())); in TEST_F()
Dassociated_interface_unittest.cc193 run_loop.QuitClosure())); in TEST_F()
197 run_loop2.QuitClosure())); in TEST_F()
207 SetFlagAndRunClosure(&ptr0_error_callback_run, run_loop3.QuitClosure())); in TEST_F()
216 SetFlagAndRunClosure(&impl1_error_callback_run, run_loop4.QuitClosure())); in TEST_F()
550 run_loop.QuitClosure())); in TEST_F()
557 base::Bind(&CaptureSenderPtrInfo, &sender1, run_loop2.QuitClosure())); in TEST_F()
563 run_loop3.QuitClosure())); in TEST_F()
De2e_perftest.cc89 quit_closure_ = run_loop.QuitClosure(); in RunTest()
129 run_loop.QuitClosure()); in RunTestOnTaskRunner()
181 run_loop.QuitClosure()))); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dwtf_types_unittest.cc263 base::Bind(&ExpectString, strs[i], loop.QuitClosure())); in TEST_F()
289 loop.QuitClosure())); in TEST_F()
316 loop.QuitClosure())); in TEST_F()
Dsync_method_unittest.cc349 run_loop.QuitClosure())); in TYPED_TEST()
372 run_loop.QuitClosure()); in TYPED_TEST()
624 run_loop3.QuitClosure())); in TYPED_TEST()
678 run_loop.QuitClosure())); in TYPED_TEST()
/external/libbrillo/brillo/daemons/
Ddaemon.h88 base::Closure QuitClosure() const { in QuitClosure() function
89 return message_loop_.QuitClosure(); in QuitClosure()
Ddaemon.cc47 message_loop_.PostTask(FROM_HERE, QuitClosure()); in QuitWithExitCode()
/external/libmojo/mojo/common/
Dcommon_custom_types_unittest.cc211 ptr->BounceFilePath(file, ExpectResponse(&file, run_loop.QuitClosure())); in TEST_F()
224 ptr->BounceNonce(token, ExpectResponse(&token, run_loop.QuitClosure())); in TEST_F()
237 ptr->BounceTime(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F()
250 ptr->BounceTimeDelta(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F()
263 ptr->BounceTimeTicks(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F()
355 ptr->BounceString16(str16, ExpectResponse(&str16, run_loop.QuitClosure())); in TEST_F()
368 ptr->BounceString16(str16, ExpectResponse(&str16, run_loop.QuitClosure())); in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_loop_test.cc408 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, nested_loop.QuitClosure()); in RunNestedLoop()
781 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitTop()
785 nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitTop()
811 nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitNested()
815 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitNested()
842 bogus_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus()
846 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus()
848 nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus()
885 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitDeep()
889 nested_loop1.QuitClosure()); in RunTest_RunLoopQuitDeep()
[all …]
/external/libmojo/mojo/public/cpp/system/tests/
Dwatcher_unittest.cc117 FROM_HERE, run_loop.QuitClosure()); in TEST_F()
161 FROM_HERE, run_loop.QuitClosure()); in TEST_F()
/external/libchrome/base/
Drun_loop.h72 base::Closure QuitClosure();
Drun_loop.cc62 base::Closure RunLoop::QuitClosure() { in QuitClosure() function in base::RunLoop
/external/libchrome/base/test/
Dsequenced_worker_pool_owner.cc62 exit_loop_.QuitClosure()); in OnDestruct()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc263 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in RequestGlobalDumpAndWait()
549 run_loop.QuitClosure()); in TEST_F()
782 auto quit_closure = run_loop.QuitClosure(); in TEST_F()
992 auto quit_closure = run_loop.QuitClosure(); in TEST_F()
1069 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in TEST_F()
1151 Bind(&OnTraceDataCollected, run_loop.QuitClosure(), Unretained(&buffer))); in TEST_F()
1262 auto quit_closure = run_loop.QuitClosure(); in TEST_F()
/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc228 Closure BaseMessageLoop::QuitClosure() const { in QuitClosure() function in brillo::BaseMessageLoop
231 return base_run_loop_->QuitClosure(); in QuitClosure()
/external/libchrome/base/timer/
Dtimer_unittest.cc107 quit_closure_(run_loop_.QuitClosure()) {} in OneShotTimerTester()
118 ThreadTaskRunnerHandle::Get(), FROM_HERE, run_loop_.QuitClosure()); in SetTaskRunner()
159 quit_closure_(run_loop_.QuitClosure()), in RepeatingTimerTester()

12