Home
last modified time | relevance | path

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

12

/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_set_unittest.cc117 ping_a->Ping(loop.QuitClosure()); in TEST_P()
124 ping_b->Ping(loop.QuitClosure()); in TEST_P()
131 Sequence(ExpectContext(&bindings, 1), loop.QuitClosure())); in TEST_P()
139 Sequence(ExpectContext(&bindings, 2), loop.QuitClosure())); in TEST_P()
158 ping_a->Ping(loop.QuitClosure()); in TEST_P()
165 ping_b->Ping(loop.QuitClosure()); in TEST_P()
172 Sequence(ExpectBindingId(&bindings, id_a), loop.QuitClosure())); in TEST_P()
180 Sequence(ExpectBindingId(&bindings, id_b), loop.QuitClosure())); in TEST_P()
202 run_loop.QuitClosure())); in TEST_P()
224 ping_a.set_connection_error_handler(loop.QuitClosure()); in TEST_P()
[all …]
Dbinding_unittest.cc78 SetFlagAndRunClosure(&called, run_loop.QuitClosure())); in TEST_P()
96 SetFlagAndRunClosure(&encountered_error, run_loop.QuitClosure())); in TEST_P()
103 run_loop2.QuitClosure())); in TEST_P()
117 run_loop2.QuitClosure())); in TEST_P()
132 SetFlagAndRunClosure(&called, run_loop.QuitClosure())); in TEST_P()
194 new ServiceImplWithBinding(&was_deleted, run_loop.QuitClosure(), in TEST_P()
212 run_loop.QuitClosure())); in TEST_P()
222 run_loop.QuitClosure())); in TEST_P()
233 run_loop2.QuitClosure())); in TEST_P()
263 run_loop.QuitClosure())); in TEST_P()
[all …]
Dinterface_ptr_unittest.cc238 done_closure_ = run_loop.QuitClosure(); in RunTest()
337 calculator_ui.Add(2.0, run_loop.QuitClosure()); in TEST_P()
350 calculator_ui.set_connection_error_handler(run_loop2.QuitClosure()); in TEST_P()
367 run_loop.QuitClosure())); in TEST_P()
372 calculator_ui.Add(2.0, run_loop2.QuitClosure()); in TEST_P()
405 impl->BeginTest(false, run_loop.QuitClosure()); in TEST_P()
420 impl->BeginTest(true, run_loop.QuitClosure()); in TEST_P()
433 run_loop.QuitClosure())); in TEST_P()
436 run_loop2.QuitClosure())); in TEST_P()
453 run_loop.QuitClosure())); in TEST_P()
[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()
204 interface_ptr_.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
212 server_impl.set_closure(run_loop2.QuitClosure()); in TEST_F()
257 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
288 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
323 server_impl.set_closure(run_loop.QuitClosure()); in TEST_F()
Dstruct_traits_unittest.cc214 ExpectResult(RectChromium(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
221 ExpectResult(SharedRect({1, 2, 3, 4}), loop.QuitClosure())); in TEST_F()
234 ExpectResult(RectChromium(2, 2, 5, 5), loop.QuitClosure())); in TEST_F()
241 ExpectResult(SharedRect({1, 2, 3, 4}), loop.QuitClosure())); in TEST_F()
248 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
264 ExpectResult(RectBlink(10, 10, 20, 20), loop.QuitClosure())); in TEST_F()
271 ExpectResult(SharedRect({4, 3, 2, 1}), loop.QuitClosure())); in TEST_F()
284 ExpectResult(RectBlink(1, 1, 4, 5), loop.QuitClosure())); in TEST_F()
291 ExpectResult(SharedRect({4, 3, 2, 1}), loop.QuitClosure())); in TEST_F()
333 base::Bind(&ExpectStructWithTraits, input, loop.QuitClosure())); in TEST_F()
[all …]
Dmultiplex_router_unittest.cc81 run_loop.QuitClosure())); in TEST_F()
100 run_loop2.QuitClosure())); in TEST_F()
164 LazyResponseGenerator generator(run_loop.QuitClosure()); in TEST_F()
177 run_loop2.QuitClosure())); in TEST_F()
197 generator.set_closure(run_loop3.QuitClosure()); in TEST_F()
204 run_loop4.QuitClosure())); in TEST_F()
238 run_loop0.QuitClosure())); in TEST_F()
241 LazyResponseGenerator generator(run_loop3.QuitClosure()); in TEST_F()
249 run_loop1.QuitClosure())); in TEST_F()
289 LazyResponseGenerator generator(run_loop.QuitClosure()); in TEST_F()
Dpickle_unittest.cc210 ExpectResult(PickledStructChromium(1, 2), loop.QuitClosure())); in TEST_F()
217 ExpectResult(PickledStructChromium(4, 5), loop.QuitClosure())); in TEST_F()
225 ExpectEnumResult(PickledEnumChromium::VALUE_1, loop.QuitClosure())); in TEST_F()
236 ExpectResult(PickledStructChromium(1, 2), loop.QuitClosure())); in TEST_F()
243 ExpectResult(PickledStructChromium(4, 5), loop.QuitClosure())); in TEST_F()
253 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
262 ExpectEnumResult(PickledEnumChromium::VALUE_0, loop.QuitClosure())); in TEST_F()
273 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
284 ExpectResult(PickledStructBlink(1, 1), loop.QuitClosure())); in TEST_F()
292 ExpectEnumResult(PickledEnumBlink::VALUE_0, loop.QuitClosure())); in TEST_F()
[all …]
Dconnector_unittest.cc126 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
173 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
210 accumulator.set_closure(run_loop.QuitClosure()); in TEST_F()
275 connector0.set_connection_error_handler(run_loop.QuitClosure()); in TEST_F()
297 MessageAccumulator accumulator(run_loop.QuitClosure()); in TEST_F()
326 MessageAccumulator accumulator2(run_loop2.QuitClosure()); in TEST_F()
392 accumulator.set_closure(run_loop.QuitClosure()); in TEST_F()
419 &ForwardErrorHandler, &error_handler_called0, run_loop.QuitClosure())); in TEST_F()
425 &ForwardErrorHandler, &error_handler_called1, run_loop2.QuitClosure())); in TEST_F()
433 MessageAccumulator accumulator(run_loop3.QuitClosure()); in TEST_F()
[all …]
Dassociated_interface_unittest.cc217 run_loop.QuitClosure())); in TEST_F()
221 run_loop2.QuitClosure())); in TEST_F()
231 SetFlagAndRunClosure(&ptr0_error_callback_run, run_loop3.QuitClosure())); in TEST_F()
240 SetFlagAndRunClosure(&impl1_error_callback_run, run_loop4.QuitClosure())); in TEST_F()
563 run_loop.QuitClosure())); in TEST_F()
570 base::Bind(&CaptureSenderPtrInfo, &sender1, run_loop2.QuitClosure())); in TEST_F()
576 run_loop3.QuitClosure())); in TEST_F()
655 quit_waiting_ = loop.QuitClosure(); in WaitForBindings()
735 ping_a->Ping(loop.QuitClosure()); in TEST_F()
744 ping_b->Ping(loop.QuitClosure()); in TEST_F()
[all …]
Drequest_response_unittest.cc100 base::Bind(&RecordString, &buf, run_loop.QuitClosure())); in TEST_P()
114 run_loop.QuitClosure())); in TEST_P()
129 base::Bind(&WriteToMessagePipe, "hello", run_loop.QuitClosure())); in TEST_P()
146 base::Bind(&RecordEnum, &value, run_loop.QuitClosure())); in TEST_P()
Dhandle_passing_unittest.cc210 run_loop.QuitClosure()); in TEST_P()
219 run_loop2.QuitClosure())); in TEST_P()
244 run_loop.QuitClosure())); in TEST_P()
279 run_loop.QuitClosure())); in TEST_P()
310 object1->GetName(MakeStringRecorder(&name1, run_loop.QuitClosure())); in TEST_P()
313 object2->GetName(MakeStringRecorder(&name2, run_loop2.QuitClosure())); in TEST_P()
Dreport_bad_message_unittest.cc109 proxy()->RejectEventually(loop.QuitClosure()); in TEST_P()
132 loop.QuitClosure())); in TEST_P()
151 loop.QuitClosure(), &bad_message_callback)); in TEST_P()
De2e_perftest.cc88 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.cc207 base::Bind(&ExpectString, strs[i], loop.QuitClosure())); in TEST_F()
233 loop.QuitClosure())); in TEST_F()
260 loop.QuitClosure())); in TEST_F()
Dbindings_perftest.cc73 quit_closure_ = run_loop.QuitClosure(); in Run()
173 quit_closure_ = run_loop.QuitClosure(); in Serve()
/external/libchrome/ipc/
Dipc_channel_mojo_unittest.cc215 ListenerThatQuits listener(run_loop.QuitClosure()); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
228 ListenerExpectingErrors listener(run_loop.QuitClosure()); in TEST_F()
308 ListenerThatExpectsNoError listener(wait_to_connect_loop.QuitClosure(), in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
309 wait_to_quit_loop.QuitClosure()); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
476 ListenerThatExpectsOK listener(run_loop.QuitClosure()); in TEST_F()
492 ListenerThatExpectsMessagePipe listener(run_loop.QuitClosure()); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
550 run_loop.QuitClosure(), receiving_valid_handle); in RunTest()
564 ListenerThatExpectsOK listener(run_loop.QuitClosure()); in TEST_F()
593 ListenerThatExpectsOK listener(run_loop.QuitClosure()); in TEST_F()
620 ListenerThatExpectsOK listener(run_loop.QuitClosure()); in TEST_F()
[all …]
Dipc_mojo_bootstrap_unittest.cc60 binding_.set_connection_error_handler(disconnect_run_loop_.QuitClosure()); in PeerPidReceiver()
122 PeerPidReceiver impl(std::move(receiver), run_loop.QuitClosure()); in TEST_F()
147 PeerPidReceiver impl(std::move(receiver), run_loop.QuitClosure()); in MULTIPROCESS_TEST_MAIN_WITH_SETUP()
168 PeerPidReceiver impl(std::move(receiver), run_loop.QuitClosure(), in TEST_F()
201 PeerPidReceiver impl(std::move(receiver), run_loop.QuitClosure()); in MULTIPROCESS_TEST_MAIN_WITH_SETUP()
Dipc_security_test_util.cc21 FROM_HERE, inject_message, run_loop.QuitClosure()); in PwnMessageReceived()
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc195 injector()->AddEvent(0, run_loop.QuitClosure()); in TEST_F()
217 injector()->AddEvent(0, run_loop.QuitClosure()); in TEST_F()
231 injector()->AddEvent(0, run_loop.QuitClosure()); in TEST_F()
251 run_loop.QuitClosure())); in TEST_F()
274 run_loop.QuitClosure()), in TEST_F()
299 injector()->AddEvent(10, run_loop.QuitClosure()); in TEST_F()
369 new ConcurrentHelper(injector(), run_loop.QuitClosure()); in TEST_F()
413 run_loop.QuitClosure())); in TEST_F()
530 run_loop.QuitClosure())); in TEST_F()
542 run_loop.QuitClosure())); in TEST_F()
Dmessage_loop_io_posix_unittest.cc283 CallClosureHandler handler(run_loop.QuitClosure(), OnceClosure()); in TEST_F()
304 CallClosureHandler handler(run_loop1.QuitClosure(), OnceClosure()); in TEST_F()
315 handler.SetReadClosure(run_loop2.QuitClosure()); in TEST_F()
343 CallClosureHandler handler2(run_loop2.QuitClosure(), OnceClosure()); in TEST_F()
369 FROM_HERE, timer_run_loop.QuitClosure(), in TEST_F()
373 CallClosureHandler handler(watcher_run_loop.QuitClosure(), OnceClosure()); in TEST_F()
404 CallClosureHandler handler(run_loop.QuitClosure(), OnceClosure()); in TEST_F()
Dmessage_loop_unittest.cc1394 outer_run_loop.QuitClosure()); in TEST_P()
1398 nested_run_loop.QuitClosure()); in TEST_P()
1424 nested_run_loop.QuitClosure()); in TEST_P()
1428 outer_run_loop.QuitClosure()); in TEST_P()
1462 nested_run_loop.QuitClosure()); in TEST_P()
1490 bogus_run_loop.QuitClosure()); in TEST_P()
1494 outer_run_loop.QuitClosure()); in TEST_P()
1496 nested_run_loop.QuitClosure()); in TEST_P()
1532 outer_run_loop.QuitClosure()); in TEST_P()
1536 nested_loop1.QuitClosure()); in TEST_P()
[all …]
/external/libchrome/mojo/public/cpp/system/tests/
Dstring_data_pipe_producer_unittest.cc128 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
144 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
160 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
176 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
195 DataPipeReader reader(std::move(pipe.consumer_handle), loop.QuitClosure()); in TEST_F()
Dfile_data_pipe_producer_unittest.cc189 loop.QuitClosure()); in TEST_F()
214 loop.QuitClosure()); in TEST_F()
240 loop.QuitClosure()); in TEST_F()
267 loop.QuitClosure()); in TEST_F()
289 loop.QuitClosure()); in TEST_F()
321 loop.QuitClosure()); in TEST_F()
/external/libbrillo/brillo/daemons/
Ddaemon.h94 base::Closure QuitClosure() const { in QuitClosure() function
95 return message_loop_.QuitClosure(); in QuitClosure()
/external/libchrome/base/debug/
Dtask_annotator_unittest.cc154 run_loop.QuitClosure()); in TEST_F()
236 run_loop.QuitClosure()); in TEST_F()
321 run_loop.QuitClosure()); in TEST_F()
337 nested_run_loop1.QuitClosure()); in TEST_F()

12