Home
last modified time | relevance | path

Searched refs:QuitClosure (Results 1 – 25 of 32) 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()
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()
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()
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/libmojo/mojo/common/
Dcommon_custom_types_unittest.cc138 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/
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/message_pump/
Dmessage_pump_mojo_unittest.cc89 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()
Dhandle_watcher_perftest.cc153 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure())); in TEST_P()
193 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure())); in TEST_P()
/external/libchrome/base/message_loop/
Dmessage_loop_test.cc409 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/
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.h71 base::Closure QuitClosure();
Drun_loop.cc58 base::Closure RunLoop::QuitClosure() { in QuitClosure() function in base::RunLoop
/external/libchrome/base/test/
Dsequenced_worker_pool_owner.cc58 exit_loop_.QuitClosure()); in OnDestruct()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc229 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()

12