/external/libmojo/mojo/android/javatests/ |
H A D | 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/ |
H A D | 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 147 base::RunLoop run_loop; local [all...] |
H A D | 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 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 D | 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 285 base::RunLoop run_loop; local 320 base::RunLoop run_loop; local [all...] |
H A D | associated_interface_unittest.cc | 13 #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 D | 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 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 D | 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 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 D | 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 314 base::RunLoop run_loop; local [all...] |
H A D | 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 288 base::RunLoop run_loop; local [all...] |
H A D | 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 [all...] |
H A D | 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();
|
H A D | 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 342 base::RunLoop run_loop, run_loop2; local [all...] |
H A D | 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 538 base::RunLoop run_loop; local 675 base::RunLoop run_loop; local [all...] |
H A D | 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 [all...] |
/external/libmojo/mojo/common/ |
H A D | 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 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 D | 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 170 base::RunLoop run_loop; local 185 base::RunLoop run_loop; local [all...] |
H A D | 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) { 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 D | 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/ |
H A D | 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 146 base::RunLoop run_loop; local [all...] |
/external/libbrillo/brillo/message_loops/ |
H A D | base_message_loop.cc | 23 #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 D | application_status_listener_unittest.cc | 13 #include "base/run_loop.h" 35 RunLoop run_loop; local 36 run_loop.RunUntilIdle();
|
/external/libbrillo/brillo/daemons/ |
H A D | daemon.cc | 13 #include <base/run_loop.h>
|
/external/libbrillo/brillo/http/ |
H A D | 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();
|
/external/libmojo/mojo/edk/js/tests/ |
H A D | js_to_cpp_tests.cc | 16 #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 D | memory_dump_manager_unittest.cc | 16 #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...] |