Home
last modified time | relevance | path

Searched refs:TaskRunnerImpl (Results 1 – 17 of 17) sorted by relevance

/external/openscreen/platform/impl/
Dtask_runner.cc33 TaskRunnerImpl::TaskRunnerImpl(ClockNowFunctionPtr now_function, in TaskRunnerImpl() function in openscreen::TaskRunnerImpl
41 TaskRunnerImpl::~TaskRunnerImpl() { in ~TaskRunnerImpl()
46 void TaskRunnerImpl::PostPackagedTask(Task task) { in PostPackagedTask()
56 void TaskRunnerImpl::PostPackagedTaskWithDelay(Task task, in PostPackagedTaskWithDelay()
72 bool TaskRunnerImpl::IsRunningOnTaskRunner() { in IsRunningOnTaskRunner()
76 void TaskRunnerImpl::RunUntilStopped() { in RunUntilStopped()
112 void TaskRunnerImpl::RunUntilSignaled() { in RunUntilSignaled()
127 void TaskRunnerImpl::RequestStopSoon() { in RequestStopSoon()
131 void TaskRunnerImpl::RunRunnableTasks() { in RunRunnableTasks()
141 void TaskRunnerImpl::ScheduleDelayedTasks() { in ScheduleDelayedTasks()
[all …]
Dtask_runner_unittest.cc33 class FakeTaskWaiter final : public TaskRunnerImpl::TaskWaiter {
59 void SetTaskRunner(TaskRunnerImpl* task_runner) { in SetTaskRunner()
65 TaskRunnerImpl* task_runner_;
72 static std::unique_ptr<TaskRunnerImpl> Create( in Create()
75 auto runner = std::make_unique<TaskRunnerImpl>( in Create()
91 TaskRunnerImpl runner(&fake_clock.now); in TEST()
103 TaskRunnerImpl runner(&fake_clock.now); in TEST()
131 TaskRunnerImpl runner(&fake_clock.now); in TEST()
154 TaskRunnerImpl runner(&fake_clock.now); in TEST()
186 TaskRunnerImpl runner(&fake_clock.now); in TEST()
[all …]
Dtask_runner.h25 class TaskRunnerImpl final : public TaskRunner {
49 explicit TaskRunnerImpl(
55 ~TaskRunnerImpl() final;
145 OSP_DISALLOW_COPY_AND_ASSIGN(TaskRunnerImpl);
Dplatform_client_posix.cc20 std::unique_ptr<TaskRunnerImpl> task_runner) { in Create()
80 : task_runner_(new TaskRunnerImpl(Clock::now)), in PlatformClientPosix()
85 std::thread(&TaskRunnerImpl::RunUntilStopped, task_runner_.get())) {} in PlatformClientPosix()
89 std::unique_ptr<TaskRunnerImpl> task_runner) in PlatformClientPosix()
Dplatform_client_posix.h52 std::unique_ptr<TaskRunnerImpl> task_runner);
88 std::unique_ptr<TaskRunnerImpl> task_runner);
95 std::unique_ptr<TaskRunnerImpl> task_runner_;
/external/cronet/base/android/java/src/org/chromium/base/task/
DTaskRunnerImpl.java31 public class TaskRunnerImpl implements TaskRunner { class
72 private static class TaskRunnerCleaner extends WeakReference<TaskRunnerImpl> {
75 TaskRunnerCleaner(TaskRunnerImpl runner) { in TaskRunnerCleaner()
119 TaskRunnerImpl(@TaskTraits int traits) { in TaskRunnerImpl() method in TaskRunnerImpl
130 protected TaskRunnerImpl( in TaskRunnerImpl() method in TaskRunnerImpl
175 assert !getClass().equals(TaskRunnerImpl.class); in belongsToCurrentThreadInternal()
DPostTask.java33 private static List<TaskRunnerImpl> sPreNativeTaskRunners = new ArrayList<>();
211 static boolean registerPreNativeTaskRunner(TaskRunnerImpl taskRunner) { in registerPreNativeTaskRunner()
233 List<TaskRunnerImpl> preNativeTaskRunners; in onNativeSchedulerReady()
238 for (TaskRunnerImpl taskRunner : preNativeTaskRunners) { in onNativeSchedulerReady()
257 for (TaskRunnerImpl taskRunner : sPreNativeTaskRunners) { in flushJobsAndResetForTesting()
DSequencedTaskRunnerImpl.java13 public class SequencedTaskRunnerImpl extends TaskRunnerImpl implements SequencedTaskRunner {
DSingleThreadTaskRunnerImpl.java19 public class SingleThreadTaskRunnerImpl extends TaskRunnerImpl implements SingleThreadTaskRunner {
DThreadPoolTaskExecutor.java25 return new TaskRunnerImpl(taskTraits); in createTaskRunner()
/external/openscreen/cast/standalone_receiver/
Dmain.cc103 void RunCastService(TaskRunnerImpl* runner, CastService::Configuration config) { in RunCastService()
228 auto* const task_runner = new TaskRunnerImpl(&Clock::now); in RunStandaloneReceiver()
230 std::unique_ptr<TaskRunnerImpl>(task_runner)); in RunStandaloneReceiver()
/external/openscreen/cast/standalone_sender/
Dmain.cc212 auto* const task_runner = new TaskRunnerImpl(&Clock::now); in StandaloneSenderMain()
214 std::unique_ptr<TaskRunnerImpl>(task_runner)); in StandaloneSenderMain()
/external/cronet/base/android/javatests/src/org/chromium/base/task/
DTaskRunnerImplTest.java28 TaskRunner taskQueue = new TaskRunnerImpl(TaskTraits.USER_BLOCKING); in testPreNativePostTask()
/external/cronet/base/android/junit/src/org/chromium/base/task/
DSequencedTaskRunnerTaskMigrationTest.java168 private static class FakeTaskRunnerImplNatives implements TaskRunnerImpl.Natives {
/external/cronet/base/
DBUILD.gn4143 "android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
4369 "android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
/external/cronet/
DAndroid.bp2846 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3018 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
3121 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3293 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
7472 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7709 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7947 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
8183 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
13604 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
13863 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
/external/cronet/android/tools/gn2bp/
DAndroid.bp.swp2846 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3018 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
3121 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3293 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
7472 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7709 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7942 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
8173 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
13594 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
13853 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",