Home
last modified time | relevance | path

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

1234567

/external/perfetto/src/base/
Dtask_runner_unittest.cc75 task_runner.PostTask([&counter] { counter = (counter << 4) | 1; }); in TYPED_TEST()
76 task_runner.PostTask([&counter] { counter = (counter << 4) | 2; }); in TYPED_TEST()
77 task_runner.PostTask([&counter] { counter = (counter << 4) | 3; }); in TYPED_TEST()
78 task_runner.PostTask([&counter] { counter = (counter << 4) | 4; }); in TYPED_TEST()
79 task_runner.PostTask([&task_runner] { task_runner.Quit(); }); in TYPED_TEST()
98 task_runner.PostTask([&task_runner] { in TYPED_TEST()
99 task_runner.PostTask([&task_runner] { task_runner.Quit(); }); in TYPED_TEST()
106 task_runner.PostTask([&task_runner] { in TYPED_TEST()
117 task_runner.PostTask([&thread_checker] { in TYPED_TEST()
120 task_runner.PostTask([&counter] { counter = (counter << 4) | 1; }); in TYPED_TEST()
[all …]
Dthread_task_runner_unittest.cc35 task_runner.get()->PostTask([this] { atomic_flag_ = true; }); in TEST_F()
47 task_runner.get()->PostTask([&thread_checker] { in TEST_F()
52 task_runner.get()->PostTask([this, &thread_checker] { in TEST_F()
69 task_runner.get()->PostTask([&thread_checker] { in TEST_F()
82 task_runner2.get()->PostTask([this, &thread_checker] { in TEST_F()
120 task_runner.get()->PostTask([this, &thread_checker, &task_runner] { in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc242 ThreadTaskRunnerHandle::Get()->PostTask( in RecursiveFunc()
257 ThreadTaskRunnerHandle::Get()->PostTask( in PostNTasks()
343 java_thread->message_loop()->task_runner()->PostTask(FROM_HERE, in RunTest_AbortDontRunMoreTasks()
345 java_thread->message_loop()->task_runner()->PostTask(FROM_HERE, in RunTest_AbortDontRunMoreTasks()
379 java_thread->message_loop()->task_runner()->PostTask( in TEST_P()
424 message_loop.task_runner()->PostTask(FROM_HERE, BindOnce(&SubPumpFunc)); in RunTest_PostDelayedTask_SharedTimer_SubPump()
484 task_runner->PostTask(FROM_HERE, in RecursiveFuncWin()
486 task_runner->PostTask(FROM_HERE, in RecursiveFuncWin()
488 task_runner->PostTask(FROM_HERE, in RecursiveFuncWin()
496 task_runner->PostTask(FROM_HERE, BindOnce(&EndDialogFunc, order, 4)); in RecursiveFuncWin()
[all …]
Dmessage_pump_glib_unittest.cc154 ThreadTaskRunnerHandle::Get()->PostTask(from_here, std::move(task)); in PostMessageLoopTask()
242 loop()->task_runner()->PostTask(FROM_HERE, in TEST_F()
249 loop()->task_runner()->PostTask( in TEST_F()
325 ThreadTaskRunnerHandle::Get()->PostTask( in FromTask()
377 loop()->task_runner()->PostTask( in TEST_F()
379 loop()->task_runner()->PostTask( in TEST_F()
397 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib()
398 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib()
411 loop()->task_runner()->PostTask( in TEST_F()
464 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TestGLibLoopInternal()
[all …]
Dmessage_loop_task_runner_unittest.cc40 task_thread_.task_runner()->PostTask( in SetUp()
265 loop_.task_runner()->PostTask( in Quit()
332 TEST_F(MessageLoopTaskRunnerThreadingTest, PostTask) { in TEST_F() argument
333 EXPECT_TRUE(file_thread_->task_runner()->PostTask( in TEST_F()
347 bool ret = task_runner->PostTask( in TEST_F()
360 bool ret = task_runner->PostTask( in TEST_F()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc113 test_task_runner_->PostTask(FROM_HERE, run_loop.QuitClosure()); in RunPendingTasks()
216 runner->PostTask(FROM_HERE, std::move(pair.first)); in PostFromNestedRunloop()
260 runners_[0]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
261 runners_[0]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
262 runners_[1]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
263 runners_[1]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
264 runners_[2]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
265 runners_[2]->PostTask(FROM_HERE, BindOnce(&NopTask)); in TEST_P()
290 runners_[0]->PostTask(FROM_HERE, BindOnce(&TestTask, 1, &run_order)); in TEST_P()
291 runners_[0]->PostTask(FROM_HERE, BindOnce(&TestTask, 2, &run_order)); in TEST_P()
[all …]
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc88 ignore_result(task_tracker_.PostTask(worker_thread.task_runner().get(), in TEST_F()
112 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F()
196 other_thread.task_runner()->PostTask( in TEST_F()
203 other_thread.task_runner()->PostTask( in TEST_F()
216 ignore_result(task_tracker_.PostTask( in TEST_F()
251 ignore_result(task_tracker.PostTask(test_task_runner.get(), in TEST_F()
279 ignore_result(task_tracker_.PostTask( in TEST_F()
345 ignore_result(task_tracker->PostTask( in PostDoNothingTask()
354 bad_thread.task_runner()->PostTask( in TEST_F()
373 task_tracker_.PostTask(test_task_runner.get(), FROM_HERE, DoNothing()); in TEST_F()
[all …]
/external/libchrome/ipc/
Dipc_channel_proxy.cc88 listener_task_runner_->PostTask( in TryFilters()
128 listener_task_runner_->PostTask( in OnMessageReceivedNoFilter()
148 listener_task_runner_->PostTask( in OnChannelConnected()
158 listener_task_runner_->PostTask( in OnChannelError()
166 listener_task_runner_->PostTask( in OnAssociatedInterfaceRequest()
298 ipc_task_runner_->PostTask( in AddFilter()
386 ipc_task_runner()->PostTask( in Send()
471 context_->ipc_task_runner()->PostTask( in Init()
477 context_->ipc_task_runner()->PostTask( in Init()
486 context_->ipc_task_runner()->PostTask( in Pause()
[all …]
/external/libchrome/base/
Dtask_runner.cc25 bool PostTask(const Location& from_here, OnceClosure task) override;
36 bool PostTaskAndReplyTaskRunner::PostTask(const Location& from_here, in PostTask() function in base::__anon20f42d080111::PostTaskAndReplyTaskRunner
38 return destination_->PostTask(from_here, std::move(task)); in PostTask()
43 bool TaskRunner::PostTask(const Location& from_here, OnceClosure task) { in PostTask() function in base::TaskRunner
/external/libchrome/base/test/
Dscoped_task_environment_unittest.cc51 ThreadTaskRunnerHandle::Get()->PostTask( in RunUntilIdleTest()
57 PostTask(FROM_HERE, BindOnce(&VerifyRunUntilIdleDidNotReturnAndSetFlag, in RunUntilIdleTest()
97 PostTask(FROM_HERE, BindOnce( in TEST_P()
107 PostTask(FROM_HERE, BindOnce( in TEST_P()
125 PostTask(FROM_HERE, in TEST_P()
143 PostTask(FROM_HERE, in TEST_P()
197 ThreadTaskRunnerHandle::Get()->PostTask( in TEST_P()
203 PostTask(FROM_HERE, Bind( in TEST_P()
Dtest_mock_time_task_runner_unittest.cc34 mock_time_task_runner->PostTask( in TEST()
37 mock_time_task_runner->PostTask( in TEST()
97 ThreadTaskRunnerHandle::Get()->PostTask( in TEST()
100 ThreadTaskRunnerHandle::Get()->PostTask( in TEST()
199 task_runner->PostTask(FROM_HERE, base::BindLambdaForTesting([&]() { in TEST()
230 task_runner->PostTask(FROM_HERE, Bind([]() {})); in TEST()
281 task_runner->PostTask(FROM_HERE, BindOnce([]() { ADD_FAILURE(); })); in TEST()
/external/libchrome/base/task_scheduler/
Dscheduler_worker_pool_unittest.cc82 EXPECT_TRUE(factory_.PostTask(post_nested_task_, Closure())); in Run()
217 EXPECT_FALSE(task_runner->PostTask(FROM_HERE, BindOnce(&ShouldNotRun))); in TEST_P()
226 EXPECT_TRUE(task_runner->PostTask(FROM_HERE, DoNothing())); in TEST_P()
230 EXPECT_FALSE(task_runner->PostTask(FROM_HERE, BindOnce(&ShouldNotRun))); in TEST_P()
245 task_runner->PostTask( in TEST_P()
280 task_runner->PostTask( in TEST_P()
300 task_runner->PostTask( in TEST_P()
302 task_runner->PostTask( in TEST_P()
Dlazy_task_runner_unittest.cc97 task_runner->PostTask(FROM_HERE, in TestTaskRunnerEnvironment()
115 task_runner->PostTask(FROM_HERE, std::move(task)); in TestTaskRunnerEnvironment()
171 g_sequenced_task_runner_user_visible.Get()->PostTask(FROM_HERE, in TEST()
182 g_single_thread_task_runner_user_visible.Get()->PostTask(FROM_HERE, in TEST()
194 g_com_sta_task_runner_user_visible.Get()->PostTask(FROM_HERE, DoNothing()); in TEST()
/external/libchrome/base/threading/
Dthread_unittest.cc160 a.task_runner()->PostTask( in TEST_F()
194 a->task_runner()->PostTask(FROM_HERE, in TEST_F()
220 a.task_runner()->PostTask( in TEST_F()
224 a.task_runner()->PostTask(FROM_HERE, in TEST_F()
291 b.task_runner()->PostTask( in TEST_F()
312 b.task_runner()->PostTask( in TEST_F()
367 a->task_runner()->PostTask( in TEST_F()
404 a.task_runner()->PostTask( in TEST_F()
464 t.task_runner()->PostTask( in TEST_F()
510 a.task_runner()->PostTask( in TEST_F()
[all …]
/external/perfetto/src/base/test/
Dtest_task_runner.cc41 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in RunUntilIdle()
51 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in QuitIfIdle()
95 void TestTaskRunner::PostTask(std::function<void()> closure) { in PostTask() function in perfetto::base::TestTaskRunner
96 task_runner_.PostTask(std::move(closure)); in PostTask()
/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/base/debug/
Dtask_annotator_unittest.cc88 task_runner->PostTask(next_from_here, std::move(task)); in VerifyTraceAndPost()
108 task_runner->PostTask( in VerifyTraceAndPostWithBlocker()
183 loop.task_runner()->PostTask(location0, std::move(task0)); in TEST_F()
274 main_thread_a->PostTask(location_a0, std::move(task_a0)); in TEST_F()
352 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in TEST_F()
354 ThreadTaskRunnerHandle::Get()->PostTask(location2, std::move(task2)); in TEST_F()
363 loop.task_runner()->PostTask(location0, std::move(task0)); in TEST_F()
364 loop.task_runner()->PostTask( in TEST_F()
/external/v4l2_codec2/
DC2VDAAdaptorProxy.cpp53 mMojoTaskRunner->PostTask(FROM_HERE, in establishChannel()
187 mMojoTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAAdaptorProxy::initializeOnMojoThread, in initialize()
217 mMojoTaskRunner->PostTask( in decode()
241 mMojoTaskRunner->PostTask(FROM_HERE, in assignPictureBuffers()
254 mMojoTaskRunner->PostTask( in importBufferForPicture()
279 mMojoTaskRunner->PostTask(FROM_HERE, in reusePictureBuffer()
290 mMojoTaskRunner->PostTask( in flush()
300 mMojoTaskRunner->PostTask( in reset()
/external/libchrome/base/timer/
Dtimer_unittest.cc115 quit_closure_ = Bind(IgnoreResult(&SequencedTaskRunner::PostTask), in SetTaskRunner()
799 Bind(IgnoreResult(&SequencedTaskRunner::PostTask), in TEST_F()
820 task_runner->PostTask( in TEST_F()
827 task_runner->PostTask( in TEST_F()
840 task_runner1->PostTask( in TEST_F()
846 task_runner1->PostTask( in TEST_F()
852 task_runner1->PostTask( in TEST_F()
857 task_runner1->PostTask( in TEST_F()
863 task_runner1->PostTask( in TEST_F()
876 task_runner1->PostTask( in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dthread_safe_interface_ptr.h99 task_runner_->PostTask(FROM_HERE, in Accept()
119 task_runner_->PostTask( in AcceptWithResponder()
138 task_runner_->PostTask( in AcceptWithResponder()
230 caller_task_runner_->PostTask( in Accept()
321 task_runner_->PostTask(FROM_HERE, base::Bind(&PtrWrapper::Bind, this, in BindOnTaskRunner()
333 task_runner_->PostTask(FROM_HERE, base::Bind(&PtrWrapper::Bind, this, in BindOnTaskRunner()
368 task_runner_->PostTask(FROM_HERE, in DeleteOnCorrectThread()
/external/libchrome/dbus/
Dobject_proxy.cc103 origin_task_runner_->PostTask( in ~ReplyCallbackHolder()
208 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, std::move(task)); in CallMethodWithErrorResponse()
226 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, std::move(task)); in CallMethodWithErrorResponse()
283 bus_->GetDBusTaskRunner()->PostTask( in WaitForServiceToBeAvailable()
323 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, std::move(task)); in StartAsyncMethodCall()
479 bus_->GetOriginTaskRunner()->PostTask( in WaitForServiceToBeAvailableInternal()
488 bus_->GetOriginTaskRunner()->PostTask( in WaitForServiceToBeAvailableInternal()
549 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, in HandleMessage()
579 bus_->GetDBusTaskRunner()->PostTask( in RunMethod()
722 bus_->GetOriginTaskRunner()->PostTask( in HandleNameOwnerChanged()
[all …]
Dbus.cc238 GetDBusTaskRunner()->PostTask( in RemoveObjectProxyWithOptions()
253 GetOriginTaskRunner()->PostTask(FROM_HERE, callback); in RemoveObjectProxyInternal()
289 GetDBusTaskRunner()->PostTask( in UnregisterExportedObject()
335 GetDBusTaskRunner()->PostTask( in RemoveObjectManager()
353 GetOriginTaskRunner()->PostTask( in RemoveObjectManagerInternal()
493 GetDBusTaskRunner()->PostTask( in ShutdownOnDBusThreadAndBlock()
513 GetDBusTaskRunner()->PostTask( in RequestOwnership()
528 GetOriginTaskRunner()->PostTask(FROM_HERE, in RequestOwnershipInternal()
861 GetDBusTaskRunner()->PostTask( in GetServiceOwner()
873 GetOriginTaskRunner()->PostTask(FROM_HERE, in GetServiceOwnerInternal()
[all …]
/external/perfetto/src/tracing/core/
Dshared_memory_arbiter_impl.cc246 task_runner_->PostTask([weak_this] { in UpdateCommitDataRequest()
270 task_runner_->PostTask([weak_this, callback] { in FlushPendingCommitDataRequests()
307 task_runner_->PostTask([weak_this, id, target_buffer] { in CreateTraceWriter()
321 task_runner_->PostTask([weak_this, raw_reg, target_buffer]() { in BindStartupTraceWriterRegistry()
377 task_runner_->PostTask([weak_this] { in NotifyFlushComplete()
386 task_runner_->PostTask([weak_this, id] { in ReleaseWriterID()
/external/libchrome/base/synchronization/
Datomic_flag_unittest.cc71 thread.task_runner()->PostTask(FROM_HERE, in TEST()
103 thread.task_runner()->PostTask(FROM_HERE, in TEST()
132 t.task_runner()->PostTask(FROM_HERE, BindOnce(&ExpectSetFlagDeath, &flag)); in TEST()
/external/v4l2_codec2/vda/
Dv4l2_video_decode_accelerator.cc97 client_task_runner->PostTask( in ~BitstreamBufferRef()
223 decoder_thread_.task_runner()->PostTask( in Initialize()
267 decoder_thread_.task_runner()->PostTask( in Decode()
277 decoder_thread_.task_runner()->PostTask( in AssignPictureBuffers()
361 decoder_thread_.task_runner()->PostTask( in ImportBufferForPicture()
418 decoder_thread_.task_runner()->PostTask( in ReusePictureBuffer()
426 decoder_thread_.task_runner()->PostTask( in Flush()
434 decoder_thread_.task_runner()->PostTask( in Reset()
449 decoder_thread_.task_runner()->PostTask( in Destroy()
730 decoder_thread_.task_runner()->PostTask( in ScheduleDecodeBufferTaskIfNeeded()
[all …]

1234567