Home
last modified time | relevance | path

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

1234

/system/connectivity/shill/
Dconnectivity_trial_unittest.cc145 EXPECT_CALL(dispatcher(), PostDelayedTask(_, kTrialTimeout * 1000)); in StartTrialTask()
179 EXPECT_CALL(dispatcher(), PostDelayedTask(_, delay)); in ExpectTrialRetry()
188 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)); in StartTrial()
194 EXPECT_CALL(dispatcher(), PostDelayedTask( in StartTrial()
235 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)).Times(0); in TEST_F()
248 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)); in TEST_F()
262 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)); in TEST_F()
276 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)).Times(0); in TEST_F()
283 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)).Times(1); in TEST_F()
288 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 10)).Times(1); in TEST_F()
[all …]
Devent_dispatcher.cc51 void EventDispatcher::PostDelayedTask(const Closure& task, int64_t delay_ms) { in PostDelayedTask() function in shill::EventDispatcher
52 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
Dpassive_link_monitor_unittest.cc155 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(1); in TEST_F()
230 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(0); in TEST_F()
243 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(1); in TEST_F()
258 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(0); in TEST_F()
Dicmp_session_unittest.cc96 EXPECT_CALL(dispatcher_, PostDelayedTask(_, GetTimeoutSeconds() * 1000)); in StartAndVerify()
202 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(0); in TEST_F()
245 PostDelayedTask(_, GetEchoRequestIntervalSeconds() * 1000)); in TEST_F()
271 PostDelayedTask(_, GetEchoRequestIntervalSeconds() * 1000)); in TEST_F()
282 EXPECT_CALL(dispatcher_, PostDelayedTask(_, _)).Times(0); in TEST_F()
368 PostDelayedTask(_, GetEchoRequestIntervalSeconds() * 1000)); in TEST_F()
380 PostDelayedTask(_, GetEchoRequestIntervalSeconds() * 1000)); in TEST_F()
407 PostDelayedTask(_, GetEchoRequestIntervalSeconds() * 1000)); in TEST_F()
Ddns_client_unittest.cc172 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in StartValidRequest()
310 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
321 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
332 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
409 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
417 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
430 EXPECT_CALL(dispatcher_, PostDelayedTask(_, kAresWaitMS)); in TEST_F()
Ddns_server_tester_unittest.cc123 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 0)); in TEST_F()
127 EXPECT_CALL(dispatcher(), PostDelayedTask(_, 100)); in TEST_F()
172 EXPECT_CALL(dispatcher(), PostDelayedTask(_, _)).Times(1); in TEST_F()
Dpassive_link_monitor.cc75 dispatcher_->PostDelayedTask(monitor_cycle_timeout_callback_.callback(), in Start()
136 dispatcher_->PostDelayedTask(monitor_cycle_timeout_callback_.callback(), in CycleTimeoutHandler()
Dmock_event_dispatcher.h35 MOCK_METHOD2(PostDelayedTask, void(const base::Closure& task,
Devent_dispatcher.h52 virtual void PostDelayedTask(const base::Closure& task, int64_t delay_ms);
Dtraffic_monitor.cc66 dispatcher_->PostDelayedTask(sample_traffic_callback_.callback(), in Start()
215 dispatcher_->PostDelayedTask(sample_traffic_callback_.callback(), in SampleTraffic()
Dicmp_session.cc86 dispatcher_->PostDelayedTask(timeout_callback_.callback(), in Start()
156 dispatcher_->PostDelayedTask( in TransmitEchoRequestTask()
/system/connectivity/dhcp_client/
Dmessage_loop_event_dispatcher.cc35 bool MessageLoopEventDispatcher::PostDelayedTask(const base::Closure& task, in PostDelayedTask() function in dhcp_client::MessageLoopEventDispatcher
39 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
Devent_dispatcher_interface.h30 virtual bool PostDelayedTask(const base::Closure& task,
Dmessage_loop_event_dispatcher.h35 bool PostDelayedTask(const base::Closure& task,
/system/connectivity/apmanager/
Devent_dispatcher.cc46 bool EventDispatcher::PostDelayedTask(const base::Closure& task, in PostDelayedTask() function in apmanager::EventDispatcher
50 base::MessageLoop::current()->PostDelayedTask( in PostDelayedTask()
Dmock_event_dispatcher.h32 MOCK_METHOD2(PostDelayedTask, bool(const base::Closure& task,
Devent_dispatcher.h36 virtual bool PostDelayedTask(const base::Closure& task,
Dhostapd_monitor.cc103 event_dispatcher_->PostDelayedTask( in HostapdCtrlIfaceCheckTask()
166 event_dispatcher_->PostDelayedTask(attach_timeout_callback_.callback(), in AttachToHostapd()
/system/bt/vendor_libs/test_vendor_lib/src/
Dvendor_manager.cc125 return PostDelayedTask(task, base::TimeDelta::FromMilliseconds(0)); in PostTask()
128 bool VendorManager::PostDelayedTask(const base::Closure& task, in PostDelayedTask() function in test_vendor_lib::VendorManager
130 return thread_.task_runner()->PostDelayedTask(FROM_HERE, task, delay); in PostDelayedTask()
/system/core/metricsd/uploader/
Dupload_service.cc76 base::MessageLoop::current()->PostDelayedTask( in OnInit()
81 base::MessageLoop::current()->PostDelayedTask( in OnInit()
108 base::MessageLoop::current()->PostDelayedTask( in UploadEventCallback()
117 base::MessageLoop::current()->PostDelayedTask( in PersistEventCallback()
/system/update_engine/common/
Dmock_http_fetcher.cc89 timeout_id_ = MessageLoop::current()->PostDelayedTask( in SendData()
101 timeout_id_ = MessageLoop::current()->PostDelayedTask( in TimeoutCallback()
/system/connectivity/shill/wifi/
Dtdls_manager_unittest.cc94 EXPECT_CALL(event_dispatcher_, PostDelayedTask(_, _)).Times(1); in TEST_F()
108 EXPECT_CALL(event_dispatcher_, PostDelayedTask(_, _)).Times(0); in TEST_F()
238 EXPECT_CALL(event_dispatcher_, PostDelayedTask(_, _)).Times(1); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/include/
Dvendor_manager.h76 bool PostDelayedTask(const base::Closure& task, base::TimeDelta delay);
/system/core/metricsd/collectors/
Ddisk_usage_collector.cc72 base::MessageLoop::current()->PostDelayedTask(FROM_HERE, in Schedule()
Daveraged_statistics_collector.cc69 base::MessageLoop::current()->PostDelayedTask(FROM_HERE, in ScheduleWait()
77 base::MessageLoop::current()->PostDelayedTask(FROM_HERE, in ScheduleCollect()

1234