/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | binding_set_unittest.cc | 117 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 …]
|
D | binding_unittest.cc | 78 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 …]
|
D | interface_ptr_unittest.cc | 238 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 …]
|
D | binding_callback_unittest.cc | 151 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()
|
D | struct_traits_unittest.cc | 214 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 …]
|
D | multiplex_router_unittest.cc | 81 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()
|
D | pickle_unittest.cc | 210 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 …]
|
D | connector_unittest.cc | 126 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 …]
|
D | associated_interface_unittest.cc | 217 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 …]
|
D | request_response_unittest.cc | 100 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()
|
D | handle_passing_unittest.cc | 210 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()
|
D | report_bad_message_unittest.cc | 109 proxy()->RejectEventually(loop.QuitClosure()); in TEST_P() 132 loop.QuitClosure())); in TEST_P() 151 loop.QuitClosure(), &bad_message_callback)); in TEST_P()
|
D | e2e_perftest.cc | 88 quit_closure_ = run_loop.QuitClosure(); in RunTest() 129 run_loop.QuitClosure()); in RunTestOnTaskRunner() 181 run_loop.QuitClosure()))); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | wtf_types_unittest.cc | 207 base::Bind(&ExpectString, strs[i], loop.QuitClosure())); in TEST_F() 233 loop.QuitClosure())); in TEST_F() 260 loop.QuitClosure())); in TEST_F()
|
D | bindings_perftest.cc | 73 quit_closure_ = run_loop.QuitClosure(); in Run() 173 quit_closure_ = run_loop.QuitClosure(); in Serve()
|
/external/libchrome/ipc/ |
D | ipc_channel_mojo_unittest.cc | 215 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 …]
|
D | ipc_mojo_bootstrap_unittest.cc | 60 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()
|
D | ipc_security_test_util.cc | 21 FROM_HERE, inject_message, run_loop.QuitClosure()); in PwnMessageReceived()
|
/external/libchrome/base/message_loop/ |
D | message_pump_glib_unittest.cc | 195 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()
|
D | message_loop_io_posix_unittest.cc | 283 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()
|
D | message_loop_unittest.cc | 1394 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/ |
D | string_data_pipe_producer_unittest.cc | 128 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()
|
D | file_data_pipe_producer_unittest.cc | 189 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/ |
D | daemon.h | 94 base::Closure QuitClosure() const { in QuitClosure() function 95 return message_loop_.QuitClosure(); in QuitClosure()
|
/external/libchrome/base/debug/ |
D | task_annotator_unittest.cc | 154 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()
|