Home
last modified time | relevance | path

Searched refs:run_loop_ (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/dbus/
Dsignal_sender_verification_unittest.cc73 run_loop_.reset(new base::RunLoop); in SetUp()
74 run_loop_->Run(); in SetUp()
93 run_loop_.reset(new base::RunLoop); in SetUp()
94 run_loop_->Run(); in SetUp()
126 run_loop_->Quit(); in OnOwnershipInternal()
134 run_loop_->Quit(); in OnNameOwnerChanged()
142 run_loop_->Quit(); in OnTestSignal()
150 run_loop_->Quit(); in OnConnected()
157 run_loop_.reset(new base::RunLoop); in WaitForTestSignal()
158 run_loop_->Run(); in WaitForTestSignal()
[all …]
Dend_to_end_async_unittest.cc82 run_loop_.reset(new base::RunLoop()); in SetUp()
83 run_loop_->Run(); in SetUp()
98 run_loop_.reset(new base::RunLoop()); in SetUp()
99 run_loop_->Run(); in SetUp()
116 run_loop_.reset(new base::RunLoop()); in SetUp()
117 run_loop_->Run(); in SetUp()
180 run_loop_.reset(new base::RunLoop); in WaitForResponses()
181 run_loop_->Run(); in WaitForResponses()
197 run_loop_->Quit(); in OnResponse()
203 run_loop_.reset(new base::RunLoop); in WaitForErrors()
[all …]
Dobject_manager_unittest.cc116 run_loop_->Quit(); in MethodCallback()
124 run_loop_->Quit(); in PropertiesChangedTestTimeout()
134 run_loop_->Quit(); in ObjectAdded()
141 run_loop_->Quit(); in ObjectRemoved()
158 run_loop_->Quit(); in OnPropertyChanged()
167 run_loop_.reset(new base::RunLoop); in WaitForObject()
168 run_loop_->Run(); in WaitForObject()
178 run_loop_.reset(new base::RunLoop); in WaitForRemoveObject()
179 run_loop_->Run(); in WaitForRemoveObject()
186 run_loop_.reset(new base::RunLoop); in WaitForMethodCallback()
[all …]
Dproperty_unittest.cc113 run_loop_->Quit(); in PropertyCallback()
118 void MethodCallback(Response* response) { run_loop_->Quit(); } in MethodCallback()
124 run_loop_->Quit(); in OnPropertyChanged()
130 run_loop_.reset(new base::RunLoop); in WaitForUpdates()
131 run_loop_->Run(); in WaitForUpdates()
147 run_loop_.reset(new base::RunLoop); in WaitForMethodCallback()
148 run_loop_->Run(); in WaitForMethodCallback()
156 run_loop_.reset(new base::RunLoop); in WaitForCallback()
157 run_loop_->Run(); in WaitForCallback()
162 std::unique_ptr<base::RunLoop> run_loop_; member in dbus::PropertyTest
Dmock_unittest.cc81 run_loop_->Quit(); in OnResponse()
87 std::unique_ptr<base::RunLoop> run_loop_; member in dbus::MockTest
204 run_loop_.reset(new base::RunLoop); in TEST_F()
210 run_loop_->Run(); in TEST_F()
Dbus_unittest.cc40 run_loop_.reset(new base::RunLoop()); in Run()
41 run_loop_->Run(); in Run()
47 run_loop_->Quit(); in QuitIfConditionIsSatisified()
53 std::unique_ptr<base::RunLoop> run_loop_; member in dbus::__anon0d58516f0111::RunLoopWithExpectedCount
/external/libchrome/base/
Drun_loop_unittest.cc242 RunLoop run_loop_; member in base::__anon9391a0600111::RunLoopTest
253 FROM_HERE, BindOnce(&QuitWhenIdleTask, Unretained(&run_loop_), in TEST_P()
260 run_loop_.Run(); in TEST_P()
268 FROM_HERE, BindOnce(&QuitWhenIdleTask, Unretained(&run_loop_), in TEST_P()
275 run_loop_.Run(); in TEST_P()
281 run_loop_.QuitWhenIdleClosure()); in TEST_P()
287 run_loop_.Run(); in TEST_P()
318 Unretained(&run_loop_))); in TEST_P()
329 run_loop_.Run(); in TEST_P()
347 other_sequence->PostTask(FROM_HERE, run_loop_.QuitClosure()); in TEST_P()
[all …]
/external/libchrome/base/message_loop/
Dmessage_pump_android.cc232 run_loop_ = std::make_unique<RunLoop>(); in Attach()
235 if (!run_loop_->BeforeRun()) in Attach()
251 if (run_loop_) { in Quit()
252 run_loop_->AfterRun(); in Quit()
253 run_loop_ = nullptr; in Quit()
302 DCHECK(run_loop_); in QuitWhenIdle()
304 run_loop_->QuitWhenIdle(); in QuitWhenIdle()
Dmessage_pump_android.h70 std::unique_ptr<RunLoop> run_loop_; variable
/external/libchrome/ipc/
Dipc_channel_proxy_unittest.cc79 run_loop_->QuitWhenIdle(); in OnQuit()
89 base::RunLoop* run_loop_ = nullptr; member in __anon67462d880111::QuitListener
128 run_loop_->QuitWhenIdle(); in OnQuit()
131 base::RunLoop* run_loop_ = nullptr; member in __anon67462d880111::ChannelReflectorListener
270 CreateRunLoopAndRun(&listener_->run_loop_); in SendQuitMessageAndWaitForIdle()
409 CreateRunLoopAndRun(&listener_->run_loop_); in SendQuitMessageAndWaitForIdle()
432 CreateRunLoopAndRun(&listener.run_loop_); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
Dipc_channel_mojo_unittest.cc1216 run_loop_.reset(new base::RunLoop); in WaitForValueRequest()
1217 run_loop_->Run(); in WaitForValueRequest()
1239 DCHECK(run_loop_); in RequestValue()
1240 run_loop_->Quit(); in RequestValue()
1253 DCHECK(run_loop_); in OnMessageReceived()
1254 run_loop_->Quit(); in OnMessageReceived()
1272 std::unique_ptr<base::RunLoop> run_loop_; member in __anon673fdb7b0111::SimpleTestClientImpl
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_perftest.cc100 run_loop_->QuitWhenIdle(); in TestDelayedTask()
134 run_loop_->QuitWhenIdle(); in TestImmediateTask()
182 run_loop_.reset(new RunLoop()); in Benchmark()
183 run_loop_->Run(); in Benchmark()
200 std::unique_ptr<RunLoop> run_loop_; member in base::sequence_manager::SequenceManagerPerfTest
/external/libchrome/base/threading/
Dthread.cc336 run_loop_ = &run_loop; in ThreadMain()
337 Run(run_loop_); in ThreadMain()
361 run_loop_ = nullptr; in ThreadMain()
365 DCHECK(run_loop_); in ThreadQuitHelper()
366 run_loop_->QuitWhenIdle(); in ThreadQuitHelper()
Dthread.h328 RunLoop* run_loop_ = nullptr; variable
/external/libchrome/base/timer/
Dtimer_unittest.cc106 quit_closure_(run_loop_.QuitClosure()) {} in OneShotTimerTester()
117 run_loop_.QuitClosure()); in SetTaskRunner()
123 run_loop_.Run(); in WaitAndConfirmTimerFiredAfterDelay()
141 RunLoop run_loop_; member in base::__anon992290430111::OneShotTimerTester
158 quit_closure_(run_loop_.QuitClosure()), in RepeatingTimerTester()
168 run_loop_.Run(); in WaitAndConfirmTimerFiredRepeatedlyAfterDelay()
189 RunLoop run_loop_; member in base::__anon992290430111::RepeatingTimerTester
791 base::RunLoop run_loop_; in TEST_F() local
801 run_loop_.QuitClosure())); in TEST_F()
806 run_loop_.Run(); in TEST_F()