/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | binding_unittest.cc | 86 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 …]
|
D | interface_ptr_unittest.cc | 233 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 …]
|
D | multiplex_router_unittest.cc | 82 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 …]
|
D | router_unittest.cc | 56 &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 …]
|
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() 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()
|
D | pickle_unittest.cc | 196 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 …]
|
D | connector_unittest.cc | 129 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 …]
|
D | struct_traits_unittest.cc | 175 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()
|
D | request_response_unittest.cc | 103 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()
|
D | handle_passing_unittest.cc | 214 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()
|
D | e2e_perftest.cc | 89 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 | associated_interface_unittest.cc | 193 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()
|
D | wtf_types_unittest.cc | 263 base::Bind(&ExpectString, strs[i], loop.QuitClosure())); in TEST_F() 289 loop.QuitClosure())); in TEST_F() 316 loop.QuitClosure())); in TEST_F()
|
D | sync_method_unittest.cc | 349 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/libmojo/mojo/common/ |
D | common_custom_types_unittest.cc | 138 ptr->BounceFilePath(file, ExpectResponse(&file, run_loop.QuitClosure())); in TEST_F() 151 ptr->BounceTime(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F() 164 ptr->BounceTimeDelta(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F() 177 ptr->BounceTimeTicks(t, ExpectResponse(&t, run_loop.QuitClosure())); in TEST_F() 202 dict, ExpectResponse(&dict, run_loop.QuitClosure())); in TEST_F() 219 ptr->BounceListValue(list, ExpectResponse(&list, run_loop.QuitClosure())); in TEST_F()
|
/external/libbrillo/brillo/daemons/ |
D | daemon.h | 88 base::Closure QuitClosure() const { in QuitClosure() function 89 return message_loop_.QuitClosure(); in QuitClosure()
|
D | daemon.cc | 47 message_loop_.PostTask(FROM_HERE, QuitClosure()); in QuitWithExitCode()
|
/external/libmojo/mojo/message_pump/ |
D | message_pump_mojo_unittest.cc | 89 handler.set_success_callback(run_loop.QuitClosure(), 2); in TEST() 115 handler.set_success_callback(run_loop.QuitClosure(), 1); in TEST() 135 handler.set_success_callback(run_loop2.QuitClosure(), 2); in TEST() 151 handler.set_error_callback(run_loop.QuitClosure()); in TEST()
|
D | handle_watcher_perftest.cc | 153 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure())); in TEST_P() 193 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure())); in TEST_P()
|
/external/libchrome/base/message_loop/ |
D | message_loop_test.cc | 409 nested_loop.QuitClosure()); in RunNestedLoop() 792 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitTop() 796 FROM_HERE, nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitTop() 822 FROM_HERE, nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitNested() 826 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitNested() 853 bogus_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus() 857 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus() 859 FROM_HERE, nested_run_loop.QuitClosure()); in RunTest_RunLoopQuitBogus() 896 outer_run_loop.QuitClosure()); in RunTest_RunLoopQuitDeep() 900 nested_loop1.QuitClosure()); in RunTest_RunLoopQuitDeep() [all …]
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | watcher_unittest.cc | 117 FROM_HERE, run_loop.QuitClosure()); in TEST_F() 161 FROM_HERE, run_loop.QuitClosure()); in TEST_F()
|
/external/libchrome/base/ |
D | run_loop.h | 71 base::Closure QuitClosure();
|
D | run_loop.cc | 58 base::Closure RunLoop::QuitClosure() { in QuitClosure() function in base::RunLoop
|
/external/libchrome/base/test/ |
D | sequenced_worker_pool_owner.cc | 58 exit_loop_.QuitClosure()); in OnDestruct()
|
/external/libchrome/base/trace_event/ |
D | memory_dump_manager_unittest.cc | 229 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in RequestGlobalDumpAndWait() 508 run_loop.QuitClosure()); in TEST_F() 875 auto quit_closure = run_loop.QuitClosure(); in TEST_F() 946 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in TEST_F() 1028 Bind(&OnTraceDataCollected, run_loop.QuitClosure(), Unretained(&buffer))); in TEST_F() 1139 auto quit_closure = run_loop.QuitClosure(); in TEST_F()
|