Home
last modified time | relevance | path

Searched refs:PostDelayedTask (Results 1 – 25 of 69) sorted by relevance

123

/external/libbrillo/brillo/message_loops/
Dfake_message_loop_unittest.cc48 loop_->PostDelayedTask(Bind([&order]() { order.push_back(1); }), in TEST_F()
50 loop_->PostDelayedTask(Bind([&order]() { order.push_back(4); }), in TEST_F()
52 loop_->PostDelayedTask(Bind([&order]() { order.push_back(3); }), in TEST_F()
54 loop_->PostDelayedTask(Bind([&order]() { order.push_back(2); }), in TEST_F()
65 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(1)); in TEST_F()
66 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(2)); in TEST_F()
96 loop_->PostDelayedTask(Bind([this] { this->loop_->BreakLoop(); }), in TEST_F()
99 loop_->PostDelayedTask(Bind([this] { this->loop_->BreakLoop(); }), in TEST_F()
111 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(1)); in TEST_F()
Dmessage_loop.h52 virtual TaskId PostDelayedTask(const tracked_objects::Location& from_here,
56 TaskId PostDelayedTask(const base::Closure& task, base::TimeDelta delay) { in PostDelayedTask() function
57 return PostDelayedTask(tracked_objects::Location(), task, delay); in PostDelayedTask()
63 return PostDelayedTask(task, base::TimeDelta()); in PostTask()
67 return PostDelayedTask(from_here, task, base::TimeDelta()); in PostTask()
Dmock_message_loop.h35 ON_CALL(*this, PostDelayedTask(::testing::_, ::testing::_, ::testing::_)) in MockMessageLoop()
42 &FakeMessageLoop::PostDelayedTask))); in MockMessageLoop()
60 MOCK_METHOD3(PostDelayedTask,
64 using MessageLoop::PostDelayedTask;
Dglib_message_loop.h26 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
29 using MessageLoop::PostDelayedTask;
Dfake_message_loop.h39 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
42 using MessageLoop::PostDelayedTask;
Dbase_message_loop.h36 TaskId PostDelayedTask(const tracked_objects::Location& from_here,
39 using MessageLoop::PostDelayedTask;
Dmessage_loop_utils.cc17 MessageLoop::TaskId task_id = loop->PostDelayedTask( in MessageLoopRunUntil()
/external/libweave/examples/provider/
Dssl_stream.cc32 task_runner->PostDelayedTask(FROM_HERE, task, in RetryAsyncTask()
75 task_runner_->PostDelayedTask( in Read()
94 return task_runner_->PostDelayedTask( in Read()
109 return task_runner_->PostDelayedTask( in Write()
133 task_runner_->PostDelayedTask( in Write()
178 task_runner->PostDelayedTask( in ConnectBio()
188 return task_runner->PostDelayedTask( in DoHandshake()
202 task_runner->PostDelayedTask( in DoHandshake()
Dwifi_manager.cc100 return task_runner_->PostDelayedTask(FROM_HERE, in TryToConnect()
115 task_runner_->PostDelayedTask( in TryToConnect()
120 task_runner_->PostDelayedTask( in TryToConnect()
135 task_runner_->PostDelayedTask( in Connect()
/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc236 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(2); in TEST_F()
259 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
277 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(1); in TEST_F()
278 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
391 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(2); in TEST_F()
414 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
433 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, zero_delay)).Times(1); in TEST_F()
434 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
467 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
478 EXPECT_CALL(mock_loop_, PostDelayedTask(_, _, one_sec_delay)).Times(1); in TEST_F()
[all …]
/external/libweave/src/test/
Dfake_stream.cc35 task_runner_->PostDelayedTask( in Read()
44 task_runner_->PostDelayedTask(FROM_HERE, base::Bind(callback, size, nullptr), in Read()
55 task_runner_->PostDelayedTask(FROM_HERE, base::Bind(callback, nullptr), in Write()
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc252 loop()->PostDelayedTask( in TEST_F()
261 loop()->PostDelayedTask( in TEST_F()
458 MessageLoop::current()->PostDelayedTask( in TestGLibLoopInternal()
462 MessageLoop::current()->PostDelayedTask( in TestGLibLoopInternal()
493 MessageLoop::current()->PostDelayedTask( in TestGtkLoopInternal()
497 MessageLoop::current()->PostDelayedTask( in TestGtkLoopInternal()
Dmessage_loop_test.cc134 loop.PostDelayedTask( in RunTest_PostDelayedTask_Basic()
154 loop.PostDelayedTask( in RunTest_PostDelayedTask_InDelayOrder()
160 loop.PostDelayedTask( in RunTest_PostDelayedTask_InDelayOrder()
188 loop.PostDelayedTask( in RunTest_PostDelayedTask_InPostOrder()
191 loop.PostDelayedTask( in RunTest_PostDelayedTask_InPostOrder()
214 loop.PostDelayedTask( in RunTest_PostDelayedTask_InPostOrder_2()
246 loop.PostDelayedTask( in RunTest_PostDelayedTask_InPostOrder_3()
268 loop.PostDelayedTask( in RunTest_PostDelayedTask_SharedTimer()
272 loop.PostDelayedTask( in RunTest_PostDelayedTask_SharedTimer()
330 loop.PostDelayedTask( in RunTest_EnsureDeletion()
[all …]
Dmessage_loop_unittest.cc122 loop.PostDelayedTask( in RunTest_PostDelayedTask_SharedTimer_SubPump()
128 loop.PostDelayedTask( in RunTest_PostDelayedTask_SharedTimer_SubPump()
456 MessageLoop::current()->PostDelayedTask( in RunTest_Dispatcher()
478 MessageLoop::current()->PostDelayedTask( in RunTest_DispatcherWithMessageHook()
741 loop.PostDelayedTask(FROM_HERE, Bind(&PostNTasksThenQuit, 1), in TEST()
748 loop.PostDelayedTask(FROM_HERE, Bind(&PostNTasksThenQuit, 1), in TEST()
891 loop->PostDelayedTask( in TEST()
/external/libweave/src/privet/
Ddevice_delegate.cc39 void PostDelayedTask(const tracked_objects::Location& from_here, in PostDelayedTask() function in weave::privet::__anon924b7c190111::DeviceDelegateImpl
42 task_runner_->PostDelayedTask(from_here, task, delay); in PostDelayedTask()
Dwifi_bootstrap_manager.cc84 task_runner_->PostDelayedTask( in StartBootstrapping()
107 task_runner_->PostDelayedTask( in StartConnecting()
138 task_runner_->PostDelayedTask( in ContinueMonitoring()
190 task_runner_->PostDelayedTask( in ConfigureCredentials()
/external/libchrome/base/mac/
Dlibdispatch_task_runner.cc21 bool LibDispatchTaskRunner::PostDelayedTask( in PostDelayedTask() function in base::mac::LibDispatchTaskRunner
55 return PostDelayedTask(from_here, task, delay); in PostNonNestableDelayedTask()
Dlibdispatch_task_runner.h41 bool PostDelayedTask(const tracked_objects::Location& from_here,
/external/libchrome/base/threading/
Dworker_pool.cc45 bool PostDelayedTask(const tracked_objects::Location& from_here,
72 bool WorkerPoolTaskRunner::PostDelayedTask( in PostDelayedTask() function in base::__anon46de70770111::WorkerPoolTaskRunner
/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc156 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
172 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
189 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
/external/libweave/src/
Dstreams.cc28 task_runner_->PostDelayedTask(FROM_HERE, in Read()
37 task_runner_->PostDelayedTask(FROM_HERE, base::Bind(callback, nullptr), {}); in Write()
/external/libweave/src/notification/
Dxmpp_channel.cc137 task_runner_->PostDelayedTask( in OnStreamEnd()
150 task_runner_->PostDelayedTask( in OnStanza()
311 return task_runner_->PostDelayedTask( in OnSslSocketReady()
409 task_runner_->PostDelayedTask( in SchedulePing()
Dxmpp_iq_stanza_handler.cc78 task_runner_->PostDelayedTask( in SendRequestWithCustomTimeout()
113 task_runner_->PostDelayedTask( in HandleIqStanza()
/external/libweave/src/commands/
Dcloud_command_proxy.cc91 task_runner_->PostDelayedTask( in QueueCommandUpdate()
116 task_runner_->PostDelayedTask( in SendCommandUpdate()
/external/libweave/include/weave/provider/
Dtask_runner.h26 virtual void PostDelayedTask(const tracked_objects::Location& from_here,

123