Searched refs:run_loop (Results 1 - 25 of 34) sorted by relevance

12

/external/libmojo/mojo/android/javatests/
H A Dmojo_test_case.cc14 #include "base/run_loop.h"
53 base::RunLoop run_loop; local
58 run_loop.Run();
60 run_loop.RunUntilIdle();
/external/libmojo/mojo/public/cpp/bindings/tests/
H A Drequest_response_unittest.cc9 #include "base/run_loop.h"
101 base::RunLoop run_loop; local
103 base::Bind(&RecordString, &buf, run_loop.QuitClosure()));
105 run_loop.Run();
115 base::RunLoop run_loop; local
117 run_loop.QuitClosure()));
119 run_loop.Run();
129 base::RunLoop run_loop; local
132 base::Bind(&WriteToMessagePipe, "hello", run_loop.QuitClosure()));
134 run_loop
147 base::RunLoop run_loop; local
[all...]
H A Dbinding_unittest.cc15 #include "base/run_loop.h"
84 base::RunLoop run_loop; local
86 SetFlagAndRunClosure(&called, run_loop.QuitClosure()));
92 run_loop.Run();
102 base::RunLoop run_loop; local
104 SetFlagAndRunClosure(&encountered_error, run_loop.QuitClosure()));
118 run_loop.Run();
138 base::RunLoop run_loop; local
140 SetFlagAndRunClosure(&called, run_loop.QuitClosure()));
143 run_loop
201 base::RunLoop run_loop; local
217 base::RunLoop run_loop; local
270 base::RunLoop run_loop; local
293 base::RunLoop run_loop; local
320 base::RunLoop run_loop; local
367 base::RunLoop run_loop; local
388 base::RunLoop run_loop; local
[all...]
H A Dbinding_callback_unittest.cc11 #include "base/run_loop.h"
150 base::RunLoop run_loop, run_loop2; local
151 server_impl.set_closure(run_loop.QuitClosure());
156 run_loop.Run();
199 base::RunLoop run_loop; local
203 interface_ptr_.set_connection_error_handler(run_loop.QuitClosure());
236 run_loop.Run();
254 base::RunLoop run_loop; local
255 server_impl.set_closure(run_loop.QuitClosure());
259 run_loop
285 base::RunLoop run_loop; local
320 base::RunLoop run_loop; local
[all...]
H A Dassociated_interface_unittest.cc13 #include "base/run_loop.h"
121 void QuitRunLoop(base::RunLoop* run_loop) { argument
123 run_loop->Quit();
128 base::Unretained(this), base::Unretained(run_loop)));
190 base::RunLoop run_loop, run_loop2; local
193 run_loop.QuitClosure()));
199 run_loop.Run();
384 base::RunLoop run_loop; local
388 base::Unretained(this), base::Unretained(&run_loop)));
406 run_loop
409 base::RunLoop run_loop; local
419 base::RunLoop run_loop; local
474 base::RunLoop run_loop; local
497 base::RunLoop run_loop; local
507 base::RunLoop run_loop; local
548 base::RunLoop run_loop; local
[all...]
H A Dconnector_unittest.cc16 #include "base/run_loop.h"
128 base::RunLoop run_loop; local
129 MessageAccumulator accumulator(run_loop.QuitClosure());
132 run_loop.Run();
178 base::RunLoop run_loop; local
179 MessageAccumulator accumulator(run_loop.QuitClosure());
189 run_loop.Run();
221 base::RunLoop run_loop; local
222 accumulator.set_closure(run_loop.QuitClosure());
223 run_loop
291 base::RunLoop run_loop; local
317 base::RunLoop run_loop; local
423 base::RunLoop run_loop; local
446 base::RunLoop run_loop, run_loop2; local
522 base::RunLoop run_loop; local
562 base::RunLoop run_loop; local
[all...]
H A Dinterface_ptr_unittest.cc11 #include "base/run_loop.h"
232 base::RunLoop run_loop, run_loop2; local
233 calculator_ui.Add(2.0, run_loop.QuitClosure());
235 run_loop.Run();
250 base::RunLoop run_loop; local
251 calculator_ui.Add(2.0, run_loop.QuitClosure());
254 run_loop.Run();
319 base::RunLoop run_loop; local
320 calculator_ui.Add(2.0, run_loop.QuitClosure());
321 run_loop
347 base::RunLoop run_loop; local
387 base::RunLoop run_loop; local
402 base::RunLoop run_loop; local
413 base::RunLoop run_loop, run_loop2; local
434 base::RunLoop run_loop; local
451 base::RunLoop run_loop; local
523 base::RunLoop run_loop; local
535 base::RunLoop run_loop, run_loop2; local
596 base::RunLoop run_loop; local
608 base::RunLoop run_loop, run_loop2; local
685 base::RunLoop run_loop; local
[all...]
H A Dmultiplex_router_unittest.cc13 #include "base/run_loop.h"
79 base::RunLoop run_loop; local
82 new MessageAccumulator(&message_queue, run_loop.QuitClosure()));
84 run_loop.Run();
172 base::RunLoop run_loop, run_loop2; local
173 client0.set_connection_error_handler(run_loop.QuitClosure());
176 &request, new MessageAccumulator(&message_queue, run_loop.QuitClosure()));
178 run_loop.Run();
192 base::RunLoop run_loop; local
193 LazyResponseGenerator generator(run_loop
314 base::RunLoop run_loop; local
[all...]
H A Drouter_unittest.cc11 #include "base/run_loop.h"
54 base::RunLoop run_loop; local
56 &request, new MessageAccumulator(&message_queue, run_loop.QuitClosure()));
58 run_loop.Run();
144 base::RunLoop run_loop, run_loop2; local
145 router0.set_connection_error_handler(run_loop.QuitClosure());
149 run_loop.Run();
165 base::RunLoop run_loop; local
166 LazyResponseGenerator generator(run_loop.QuitClosure());
177 run_loop
288 base::RunLoop run_loop; local
[all...]
H A De2e_perftest.cc11 #include "base/run_loop.h"
88 base::RunLoop run_loop; local
89 quit_closure_ = run_loop.QuitClosure();
92 run_loop.Run();
125 base::RunLoop run_loop; local
129 run_loop.QuitClosure());
130 run_loop.Run();
175 base::RunLoop run_loop; local
181 run_loop.QuitClosure())));
182 run_loop
[all...]
H A Dbindings_perftest.cc10 #include "base/run_loop.h"
67 base::RunLoop run_loop; local
68 quit_closure_ = run_loop.QuitClosure();
70 run_loop.Run();
H A Dhandle_passing_unittest.cc9 #include "base/run_loop.h"
212 base::RunLoop run_loop; local
214 run_loop.QuitClosure());
230 run_loop.Run();
246 base::RunLoop run_loop; local
249 run_loop.QuitClosure()));
253 run_loop.Run();
284 base::RunLoop run_loop; local
287 run_loop.QuitClosure()));
291 run_loop
342 base::RunLoop run_loop, run_loop2; local
[all...]
H A Dsync_method_unittest.cc11 #include "base/run_loop.h"
282 base::RunLoop run_loop; variable
284 [this, &run_loop](TestSyncAssociatedRequest request) {
286 run_loop.Quit();
291 run_loop.Run();
347 base::RunLoop run_loop; local
349 run_loop.QuitClosure()));
350 run_loop.Run();
368 base::RunLoop run_loop; local
372 run_loop
538 base::RunLoop run_loop; local
675 base::RunLoop run_loop; local
[all...]
H A Dpickle_unittest.cc12 #include "base/run_loop.h"
312 base::RunLoop run_loop; local
328 run_loop.Quit();
330 run_loop.Run();
353 base::RunLoop run_loop; local
375 run_loop.Quit();
377 run_loop.Run();
391 base::RunLoop run_loop; local
401 run_loop.Quit();
403 run_loop
[all...]
/external/libmojo/mojo/common/
H A Dcommon_custom_types_unittest.cc7 #include "base/run_loop.h"
130 base::RunLoop run_loop; local
138 ptr->BounceFilePath(file, ExpectResponse(&file, run_loop.QuitClosure()));
140 run_loop.Run();
144 base::RunLoop run_loop; local
151 ptr->BounceTime(t, ExpectResponse(&t, run_loop.QuitClosure()));
153 run_loop.Run();
157 base::RunLoop run_loop; local
164 ptr->BounceTimeDelta(t, ExpectResponse(&t, run_loop.QuitClosure()));
166 run_loop
170 base::RunLoop run_loop; local
200 base::RunLoop run_loop; local
218 base::RunLoop run_loop; local
[all...]
/external/libmojo/mojo/message_pump/
H A Dmessage_pump_mojo_unittest.cc9 #include "base/run_loop.h"
88 base::RunLoop run_loop; local
89 handler.set_success_callback(run_loop.QuitClosure(), 2);
103 run_loop.Run();
114 base::RunLoop run_loop; local
115 handler.set_success_callback(run_loop.QuitClosure(), 1);
128 run_loop.Run();
150 base::RunLoop run_loop; local
151 handler.set_error_callback(run_loop.QuitClosure());
158 run_loop
170 base::RunLoop run_loop; local
185 base::RunLoop run_loop; local
[all...]
H A Dhandle_watcher_unittest.cc15 #include "base/run_loop.h"
41 base::RunLoop run_loop; local
42 run_loop.RunUntilIdle();
84 base::RunLoop run_loop; local
85 base::AutoReset<base::RunLoop*> reseter(&run_loop_, &run_loop);
86 run_loop.Run();
391 // and if |active_count| is zero quits |run_loop|.
392 void StressThreadDone(base::RunLoop* run_loop, int* active_count) { argument
396 run_loop->Quit();
402 // thread and |run_loop| th
405 RunStressTest(int count, scoped_refptr<base::TaskRunner> task_runner, base::RunLoop* run_loop, int* active_count) argument
464 base::RunLoop run_loop; local
[all...]
H A Dhandle_watcher_perftest.cc14 #include "base/run_loop.h"
150 base::RunLoop run_loop; local
153 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure()));
155 run_loop.Run();
190 base::RunLoop run_loop; local
193 base::Bind(&OnWatcherSignaled, run_loop.QuitClosure()));
195 run_loop.Run();
/external/libmojo/mojo/public/cpp/system/tests/
H A Dwatcher_unittest.cc12 #include "base/run_loop.h"
55 base::RunLoop run_loop; local
62 run_loop.Quit();
68 run_loop.Run();
103 base::RunLoop run_loop; local
117 FROM_HERE, run_loop.QuitClosure());
118 run_loop.Run();
125 base::RunLoop run_loop; local
131 run_loop.Quit();
138 run_loop
146 base::RunLoop run_loop; local
[all...]
/external/libbrillo/brillo/message_loops/
H A Dbase_message_loop.cc23 #include <base/run_loop.h>
194 base::RunLoop run_loop; // Uses the base::MessageLoopForIO implicitly. local
195 base_run_loop_ = &run_loop;
197 run_loop.RunUntilIdle();
199 run_loop.Run();
210 base::RunLoop run_loop; // Uses the base::MessageLoopForIO implicitly. local
211 base_run_loop_ = &run_loop;
212 run_loop.Run();
/external/libmojo/base/android/
H A Dapplication_status_listener_unittest.cc13 #include "base/run_loop.h"
35 RunLoop run_loop; local
36 run_loop.RunUntilIdle();
/external/libbrillo/brillo/daemons/
H A Ddaemon.cc13 #include <base/run_loop.h>
/external/libbrillo/brillo/http/
H A Dhttp_transport_curl_unittest.cc9 #include <base/run_loop.h>
194 base::RunLoop run_loop; local
209 base::RunLoop* run_loop,
212 base::MessageLoop::current()->PostTask(FROM_HERE, run_loop->QuitClosure());
243 base::Unretained(&run_loop)),
281 FROM_HERE, run_loop.QuitClosure(), base::TimeDelta::FromSeconds(1));
282 run_loop.Run();
/external/libmojo/mojo/edk/js/tests/
H A Djs_to_cpp_tests.cc16 #include "base/run_loop.h"
205 // run_loop().
215 void set_run_loop(base::RunLoop* run_loop) { run_loop_ = run_loop; } argument
216 base::RunLoop* run_loop() { return run_loop_; } function in class:mojo::edk::js::__anon10844::CppSideConnection
267 run_loop()->Quit();
306 run_loop()->Quit();
337 run_loop()->Quit();
364 run_loop()->Quit();
/external/libchrome/base/trace_event/
H A Dmemory_dump_manager_unittest.cc16 #include "base/run_loop.h"
226 RunLoop run_loop; local
229 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure());
231 run_loop.Run();
503 RunLoop run_loop; local
508 run_loop.QuitClosure());
509 run_loop.Run();
874 RunLoop run_loop; local
875 auto quit_closure = run_loop.QuitClosure();
900 run_loop
943 RunLoop run_loop; local
1025 RunLoop run_loop; local
1138 RunLoop run_loop; local
[all...]

Completed in 407 milliseconds

12