/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 | 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 | 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 | 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/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/common/ |
D | common_custom_types_unittest.cc | 211 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/ |
D | message_loop_test.cc | 408 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/ |
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 | 72 base::Closure QuitClosure();
|
D | run_loop.cc | 62 base::Closure RunLoop::QuitClosure() { in QuitClosure() function in base::RunLoop
|
/external/libchrome/base/test/ |
D | sequenced_worker_pool_owner.cc | 62 exit_loop_.QuitClosure()); in OnDestruct()
|
/external/libchrome/base/trace_event/ |
D | memory_dump_manager_unittest.cc | 263 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/ |
D | base_message_loop.cc | 228 Closure BaseMessageLoop::QuitClosure() const { in QuitClosure() function in brillo::BaseMessageLoop 231 return base_run_loop_->QuitClosure(); in QuitClosure()
|
/external/libchrome/base/timer/ |
D | timer_unittest.cc | 107 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()
|