Home
last modified time | relevance | path

Searched refs:PostTask (Results 1 – 25 of 73) sorted by relevance

123

/external/libchrome/base/message_loop/
Dmessage_loop_test.cc99 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
101 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
103 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
105 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
107 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
109 MessageLoop::current()->PostTask(FROM_HERE, Bind( in RunTest_PostTask()
112 MessageLoop::current()->PostTask( in RunTest_PostTask()
213 loop.PostTask(FROM_HERE, Bind(&SlowFunc, kPause, &num_tasks)); in RunTest_PostDelayedTask_InPostOrder_2()
243 loop.PostTask(FROM_HERE, in RunTest_PostDelayedTask_InPostOrder_3()
312 MessageLoop::current()->PostTask( in ~RecordDeletionProbe()
[all …]
Dmessage_pump_glib_unittest.cc155 MessageLoop::current()->PostTask(from_here, task); in PostMessageLoopTask()
236 loop()->PostTask(FROM_HERE, Bind(&IncrementInt, &task_count)); in TEST_F()
240 loop()->PostTask( in TEST_F()
313 MessageLoop::current()->PostTask( in FromTask()
364 loop()->PostTask( in TEST_F()
366 loop()->PostTask( in TEST_F()
384 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing)); in AddEventsAndDrainGLib()
385 MessageLoop::current()->PostTask(FROM_HERE, Bind(&DoNothing)); in AddEventsAndDrainGLib()
397 loop()->PostTask( in TEST_F()
450 MessageLoop::current()->PostTask( in TestGLibLoopInternal()
[all …]
Dmessage_loop_unittest.cc119 loop.PostTask(FROM_HERE, Bind(&SubPumpFunc)); in RunTest_PostDelayedTask_SharedTimer_SubPump()
262 MessageLoop::current()->PostTask( in RecursiveFunc()
280 target->PostTask(FROM_HERE, in RecursiveFuncWin()
282 target->PostTask(FROM_HERE, in RecursiveFuncWin()
284 target->PostTask(FROM_HERE, in RecursiveFuncWin()
292 target->PostTask(FROM_HERE, in RecursiveFuncWin()
294 target->PostTask(FROM_HERE, in RecursiveFuncWin()
333 worker.message_loop()->PostTask(FROM_HERE, in RunTest_RecursiveDenial2()
377 worker.message_loop()->PostTask(FROM_HERE, in RunTest_RecursiveSupport2()
419 MessageLoop::current()->PostTask( in PostNTasksThenQuit()
[all …]
Dmessage_loop_task_runner_unittest.cc36 task_thread_.message_loop()->PostTask( in SetUp()
256 loop_.PostTask(FROM_HERE, MessageLoop::QuitWhenIdleClosure()); in Quit()
322 TEST_F(MessageLoopTaskRunnerThreadingTest, PostTask) { in TEST_F() argument
323 EXPECT_TRUE(file_thread_->task_runner()->PostTask( in TEST_F()
337 bool ret = task_runner->PostTask( in TEST_F()
350 bool ret = task_runner->PostTask( in TEST_F()
/external/libchrome/base/threading/
Dworker_pool_posix_unittest.cc159 pool_->PostTask(FROM_HERE, CreateNewIncrementingTaskCallback()); in TEST_F()
170 pool_->PostTask(FROM_HERE, CreateNewIncrementingTaskCallback()); in TEST_F()
175 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
176 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
189 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
190 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
205 pool_->PostTask(FROM_HERE, CreateNewIncrementingTaskCallback()); in TEST_F()
211 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
212 pool_->PostTask(FROM_HERE, CreateNewBlockingIncrementingTaskCallback()); in TEST_F()
232 pool_->PostTask(FROM_HERE, CreateNewIncrementingTaskCallback()); in TEST_F()
Dworker_pool_posix.cc38 void PostTask(const tracked_objects::Location& from_here,
54 void WorkerPoolImpl::PostTask(const tracked_objects::Location& from_here, in PostTask() function in base::__anone993f91d0111::WorkerPoolImpl
57 pool_->PostTask(from_here, task); in PostTask()
109 bool WorkerPool::PostTask(const tracked_objects::Location& from_here, in PostTask() function in base::WorkerPool
112 g_lazy_worker_pool.Pointer()->PostTask(from_here, task, task_is_slow); in PostTask()
143 void PosixDynamicThreadPool::PostTask( in PostTask() function in base::PosixDynamicThreadPool
Dworker_pool_unittest.cc71 TEST_F(WorkerPoolTest, PostTask) { in TEST_F() argument
75 WorkerPool::PostTask(FROM_HERE, in TEST_F()
79 WorkerPool::PostTask(FROM_HERE, in TEST_F()
Dworker_pool.cc27 bool PostTask(const tracked_objects::Location& from_here, in PostTask() function in base::__anon1021efab0111::PostTaskAndReplyWorkerPool
29 return WorkerPool::PostTask(from_here, task, task_is_slow_); in PostTask()
89 return WorkerPool::PostTask(from_here, task, tasks_are_slow_); in PostDelayedTaskAssertZeroDelay()
Dthread_unittest.cc156 a.task_runner()->PostTask(FROM_HERE, base::Bind(&ToggleValue, &was_invoked)); in TEST_F()
177 a.task_runner()->PostTask( in TEST_F()
181 a.task_runner()->PostTask(FROM_HERE, in TEST_F()
214 a.task_runner()->PostTask( in TEST_F()
273 t.task_runner()->PostTask( in TEST_F()
Dpost_task_and_reply_impl.cc44 origin_task_runner_->PostTask( in Run()
83 if (!PostTask(from_here, Bind(&PostTaskAndReplyRelay::Run, in PostTaskAndReply()
Dsequenced_worker_pool.cc309 bool PostTask(const std::string* optional_token_name,
608 bool SequencedWorkerPool::Inner::PostTask( in PostTask() function in base::SequencedWorkerPool::Inner
1311 return inner_->PostTask(NULL, SequenceToken(), BLOCK_SHUTDOWN, in PostWorkerTask()
1321 return inner_->PostTask(NULL, SequenceToken(), shutdown_behavior, in PostDelayedWorkerTask()
1329 return inner_->PostTask(NULL, SequenceToken(), shutdown_behavior, in PostWorkerTaskWithShutdownBehavior()
1337 return inner_->PostTask(NULL, sequence_token, BLOCK_SHUTDOWN, in PostSequencedWorkerTask()
1348 return inner_->PostTask(NULL, sequence_token, shutdown_behavior, in PostDelayedSequencedWorkerTask()
1357 return inner_->PostTask(&token_name, SequenceToken(), BLOCK_SHUTDOWN, in PostNamedSequencedWorkerTask()
1366 return inner_->PostTask(NULL, sequence_token, shutdown_behavior, in PostSequencedWorkerTaskWithShutdownBehavior()
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc87 ignore_result(task_tracker_.PostTask(worker_thread.task_runner().get(), in TEST_F()
111 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F()
195 other_thread.task_runner()->PostTask( in TEST_F()
202 other_thread.task_runner()->PostTask( in TEST_F()
215 ignore_result(task_tracker_.PostTask( in TEST_F()
250 ignore_result(task_tracker.PostTask(test_task_runner.get(), in TEST_F()
279 ignore_result(task_tracker_.PostTask( in TEST_F()
367 ignore_result(task_tracker->PostTask( in PostDoNothingTask()
377 bad_thread.task_runner()->PostTask( in TEST_F()
394 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F()
[all …]
/external/libchrome/base/
Dtask_runner.cc23 bool PostTask(const tracked_objects::Location& from_here,
35 bool PostTaskAndReplyTaskRunner::PostTask( in PostTask() function in base::__anon5b169eff0111::PostTaskAndReplyTaskRunner
38 return destination_->PostTask(from_here, task); in PostTask()
43 bool TaskRunner::PostTask(const tracked_objects::Location& from_here, in PostTask() function in base::TaskRunner
Dcancelable_callback_unittest.cc163 TEST(CancelableCallbackTest, PostTask) { in TEST() argument
170 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
175 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
/external/webrtc/webrtc/modules/utility/include/mock/
Dmock_process_thread.h25 MOCK_METHOD1(PostTask, void(ProcessTask* task));
32 void PostTask(rtc::scoped_ptr<ProcessTask> task) override { in PostTask() function
33 PostTask(task.get()); in PostTask()
/external/libchrome/dbus/
Dobject_proxy.cc144 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, task); in CallMethodWithErrorCallback()
166 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task); in CallMethodWithErrorCallback()
203 bus_->GetDBusTaskRunner()->PostTask( in WaitForServiceToBeAvailable()
266 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, task); in StartAsyncMethodCall()
308 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, task); in OnPendingCallIsComplete()
332 bus_->GetDBusTaskRunner()->PostTask( in RunResponseCallback()
359 bus_->GetDBusTaskRunner()->PostTask( in RunResponseCallback()
441 bus_->GetOriginTaskRunner()->PostTask( in WaitForServiceToBeAvailableInternal()
450 bus_->GetOriginTaskRunner()->PostTask( in WaitForServiceToBeAvailableInternal()
513 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, in HandleMessage()
[all …]
Dexported_object.cc82 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task); in ExportMethod()
105 bus_->GetDBusTaskRunner()->PostTask( in SendSignal()
134 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, in ExportMethodInternal()
223 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, in HandleMessage()
261 bus_->GetDBusTaskRunner()->PostTask( in SendResponse()
Dbus.cc264 GetDBusTaskRunner()->PostTask( in RemoveObjectProxyWithOptions()
279 GetOriginTaskRunner()->PostTask(FROM_HERE, callback); in RemoveObjectProxyInternal()
315 GetDBusTaskRunner()->PostTask( in UnregisterExportedObject()
361 GetDBusTaskRunner()->PostTask( in RemoveObjectManager()
379 GetOriginTaskRunner()->PostTask( in RemoveObjectManagerInternal()
518 GetDBusTaskRunner()->PostTask( in ShutdownOnDBusThreadAndBlock()
538 GetDBusTaskRunner()->PostTask( in RequestOwnership()
553 GetOriginTaskRunner()->PostTask(FROM_HERE, in RequestOwnershipInternal()
894 GetDBusTaskRunner()->PostTask( in GetServiceOwner()
906 GetOriginTaskRunner()->PostTask(FROM_HERE, in GetServiceOwnerInternal()
[all …]
/external/libchrome/base/test/
Dtest_io_thread.cc52 void TestIOThread::PostTask(const tracked_objects::Location& from_here, in PostTask() function in base::TestIOThread
54 task_runner()->PostTask(from_here, task); in PostTask()
60 task_runner()->PostTask(from_here, in PostTaskAndWait()
/external/libchrome/base/files/
Dfile_path_watcher_fsevents.cc101 g_task_runner.Get().PostTask( in Watch()
112 g_task_runner.Get().PostTask( in Cancel()
147 g_task_runner.Get().PostTask( in FSEventsCallback()
170 task_runner()->PostTask( in OnFilePathsChanged()
244 task_runner()->PostTask( in UpdateEventStream()
255 task_runner()->PostTask( in ResolveTargetPath()
/external/libchrome/base/memory/
Dweak_ptr_unittest.cc28 creator_thread.task_runner()->PostTask( in NewObject()
68 task_runner()->PostTask( in CreateArrowFromTarget()
76 task_runner()->PostTask( in CreateArrowFromArrow()
84 task_runner()->PostTask( in DeleteTarget()
92 task_runner()->PostTask( in CopyAndAssignArrow()
100 task_runner()->PostTask( in CopyAndAssignArrowBase()
108 task_runner()->PostTask( in DeleteArrow()
117 task_runner()->PostTask(FROM_HERE, base::Bind(&BackgroundThread::DoDeRef, in DeRef()
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc202 origin_task_runner_->PostTask( in Reset()
212 g_io_thread.Pointer()->task_runner()->PostTask( in Reset()
222 g_io_thread.Pointer()->task_runner()->PostTask( in Stop()
250 origin_task_runner_->PostTask( in OnFileCanReadWithoutBlocking()
305 origin_task_runner_->PostTask( in OnTimerFired()
/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc77 TaskId task_id = this->loop_->PostTask(FROM_HERE, in TYPED_TEST()
87 TaskId task_id = this->loop_->PostTask(FROM_HERE, in TYPED_TEST()
233 task_id = this->loop_->PostTask( in TYPED_TEST()
316 timeout_task = this->loop_->PostTask(FROM_HERE, Bind(timeout_callback)); in TYPED_TEST()
320 timeout_task = this->loop_->PostTask(FROM_HERE, timeout_callback); in TYPED_TEST()
Dmessage_loop.h62 TaskId PostTask(const base::Closure& task) { in PostTask() function
65 TaskId PostTask(const tracked_objects::Location& from_here, in PostTask() function
/external/libchrome/base/synchronization/
Dwaitable_event_watcher_posix.cc72 message_loop_->task_runner()->PostTask(FROM_HERE, callback_); in Fire()
162 current_ml->task_runner()->PostTask(FROM_HERE, internal_callback_); in StartWatching()

123