HomeSort by relevance Sort by last modified time
    Searched refs:run_loop (Results 1 - 25 of 43) sorted by null

1 2

  /external/libmojo/mojo/android/javatests/
mojo_test_case.cc 14 #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/
request_response_unittest.cc 9 #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.Run()
147 base::RunLoop run_loop; local
    [all...]
binding_unittest.cc 15 #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.Run()
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...]
binding_callback_unittest.cc 11 #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.Run()
285 base::RunLoop run_loop; local
320 base::RunLoop run_loop; local
    [all...]
associated_interface_unittest.cc 13 #include "base/run_loop.h"
121 void QuitRunLoop(base::RunLoop* run_loop) {
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.Run()
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...]
connector_unittest.cc 16 #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.Run()
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...]
interface_ptr_unittest.cc 11 #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.Run()
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...]
multiplex_router_unittest.cc 13 #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.QuitClosure())
314 base::RunLoop run_loop; local
    [all...]
router_unittest.cc 11 #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.Run()
288 base::RunLoop run_loop; local
    [all...]
e2e_perftest.cc 11 #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.Run()
    [all...]
bindings_perftest.cc 10 #include "base/run_loop.h"
67 base::RunLoop run_loop; local
68 quit_closure_ = run_loop.QuitClosure();
70 run_loop.Run();
handle_passing_unittest.cc 9 #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.Run()
342 base::RunLoop run_loop, run_loop2; local
    [all...]
sync_method_unittest.cc 11 #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.QuitClosure())
538 base::RunLoop run_loop; local
675 base::RunLoop run_loop; local
    [all...]
pickle_unittest.cc 12 #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.Run()
    [all...]
  /external/libmojo/mojo/common/
common_custom_types_unittest.cc 7 #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.Run()
170 base::RunLoop run_loop; local
200 base::RunLoop run_loop; local
218 base::RunLoop run_loop; local
    [all...]
  /system/tpm/trunks/
background_command_transceiver_test.cc 22 #include <base/run_loop.h>
86 base::RunLoop run_loop; local
87 run_loop.RunUntilIdle();
101 base::RunLoop run_loop; local
102 run_loop.RunUntilIdle();
  /external/libmojo/mojo/message_pump/
message_pump_mojo_unittest.cc 9 #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.Run()
170 base::RunLoop run_loop; local
185 base::RunLoop run_loop; local
    [all...]
handle_watcher_unittest.cc 15 #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) {
396 run_loop->Quit();
402 // thread and |run_loop| the run loop that should be quit when there are no mor
464 base::RunLoop run_loop; local
    [all...]
handle_watcher_perftest.cc 14 #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/
watcher_unittest.cc 12 #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.Run()
146 base::RunLoop run_loop; local
    [all...]
  /system/bt/test/suite/core/
thread_performance_test.cc 3 #include <base/run_loop.h>
17 base::RunLoop* run_loop; variable
35 run_loop = new base::RunLoop();
39 run_loop->Run();
44 delete run_loop;
45 run_loop = nullptr;
84 run_loop->QuitWhenIdleClosure());
  /external/libbrillo/brillo/message_loops/
base_message_loop.cc 27 #include <base/run_loop.h>
198 base::RunLoop run_loop; // Uses the base::MessageLoopForIO implicitly. local
199 base_run_loop_ = &run_loop;
201 run_loop.RunUntilIdle();
203 run_loop.Run();
214 base::RunLoop run_loop; // Uses the base::MessageLoopForIO implicitly. local
215 base_run_loop_ = &run_loop;
216 run_loop.Run();
  /external/libmojo/base/android/
application_status_listener_unittest.cc 13 #include "base/run_loop.h"
35 RunLoop run_loop; local
36 run_loop.RunUntilIdle();
  /external/libbrillo/brillo/daemons/
daemon.cc 13 #include <base/run_loop.h>
  /external/libbrillo/brillo/http/
http_transport_curl_unittest.cc 9 #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();

Completed in 269 milliseconds

1 2