/external/libchrome/base/threading/ |
D | thread_task_runner_handle.cc | 21 base::LazyInstance<base::ThreadLocalPointer<ThreadTaskRunnerHandle>>::Leaky 27 scoped_refptr<SingleThreadTaskRunner> ThreadTaskRunnerHandle::Get() { in Get() 28 ThreadTaskRunnerHandle* current = thread_task_runner_tls.Pointer()->Get(); in Get() 36 bool ThreadTaskRunnerHandle::IsSet() { in IsSet() 41 ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting( in OverrideForTesting() 57 auto top_level_ttrh = std::make_unique<ThreadTaskRunnerHandle>( in OverrideForTesting() 60 [](std::unique_ptr<ThreadTaskRunnerHandle> ttrh_to_release) {}, in OverrideForTesting() 64 ThreadTaskRunnerHandle* ttrh = thread_task_runner_tls.Pointer()->Get(); in OverrideForTesting() 77 ThreadTaskRunnerHandle* ttrh = thread_task_runner_tls.Pointer()->Get(); in OverrideForTesting() 90 ThreadTaskRunnerHandle::ThreadTaskRunnerHandle( in ThreadTaskRunnerHandle() function in base::ThreadTaskRunnerHandle [all …]
|
D | thread_task_runner_handle.h | 22 class BASE_EXPORT ThreadTaskRunnerHandle { 45 explicit ThreadTaskRunnerHandle( 47 ~ThreadTaskRunnerHandle(); 52 DISALLOW_COPY_AND_ASSIGN(ThreadTaskRunnerHandle);
|
D | thread_checker_unittest.cc | 65 ThreadTaskRunnerHandle thread_task_runner_handle( in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle() 81 ThreadTaskRunnerHandle thread_task_runner_handle( in TEST() 132 ThreadTaskRunnerHandle thread_task_runner_handle( in TEST() 149 ThreadTaskRunnerHandle thread_task_runner_handle( in TEST() 182 ThreadTaskRunnerHandle thread_task_runner_handle( in TEST()
|
D | sequenced_task_runner_handle.cc | 33 CHECK(ThreadTaskRunnerHandle::IsSet()) in Get() 36 return ThreadTaskRunnerHandle::Get(); in Get() 42 ThreadTaskRunnerHandle::IsSet(); in IsSet()
|
D | thread_checker_impl.cc | 33 !ThreadTaskRunnerHandle::IsSet())) { in CalledOnValidThread()
|
/external/libchrome/base/message_loop/ |
D | message_loop_unittest.cc | 242 ThreadTaskRunnerHandle::Get()->PostTask( in RecursiveFunc() 257 ThreadTaskRunnerHandle::Get()->PostTask( in PostNTasks() 385 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P() 536 FROM_HERE, BindOnce(&RecursiveFuncWin, ThreadTaskRunnerHandle::Get(), in RunTest_RecursiveDenial2() 576 FROM_HERE, BindOnce(&RecursiveFuncWin, ThreadTaskRunnerHandle::Get(), in RunTest_RecursiveSupport2() 613 ThreadTaskRunnerHandle::Get()->PostTask( in PostNTasksThenQuit() 855 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TEST_P() 857 ThreadTaskRunnerHandle::Get()->PostTask( in TEST_P() 859 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TEST_P() 861 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TEST_P() [all …]
|
D | message_pump_glib_unittest.cc | 154 ThreadTaskRunnerHandle::Get()->PostTask(from_here, std::move(task)); in PostMessageLoopTask() 325 ThreadTaskRunnerHandle::Get()->PostTask( in FromTask() 397 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib() 398 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in AddEventsAndDrainGLib() 464 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TestGLibLoopInternal() 466 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TestGLibLoopInternal() 472 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGLibLoopInternal() 475 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TestGLibLoopInternal() 497 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TestGtkLoopInternal() 499 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in TestGtkLoopInternal() [all …]
|
D | message_loop.h | 38 class ThreadTaskRunnerHandle; variable 326 std::unique_ptr<ThreadTaskRunnerHandle> thread_task_runner_handle_;
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | connector_unittest.cc | 117 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 119 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 143 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 145 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 168 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 170 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 194 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 196 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 226 base::ThreadTaskRunnerHandle::Get()); in TEST_F() 228 base::ThreadTaskRunnerHandle::Get()); in TEST_F() [all …]
|
D | multiplex_router_unittest.cc | 36 base::ThreadTaskRunnerHandle::Get()); in SetUp() 39 base::ThreadTaskRunnerHandle::Get()); in SetUp() 68 base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 72 base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 115 base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 119 base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 162 false, base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 167 false, base::ThreadTaskRunnerHandle::Get(), in TEST_F() 234 false, base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 244 false, base::ThreadTaskRunnerHandle::Get(), in TEST_F() [all …]
|
D | bindings_perftest.cc | 198 true, base::ThreadTaskRunnerHandle::Get())); in TEST_F() 202 false, base::ThreadTaskRunnerHandle::Get())); in TEST_F() 209 false, base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 212 false, base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F() 254 true, base::ThreadTaskRunnerHandle::Get())); in TEST_F() 258 false, base::ThreadTaskRunnerHandle::Get(), 0u); in TEST_F()
|
D | e2e_perftest.cc | 89 base::ThreadTaskRunnerHandle::Get()->PostTask( in RunTest() 121 if (runner == base::ThreadTaskRunnerHandle::Get().get()) { in RunTestOnTaskRunner()
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner_unittest.cc | 87 EXPECT_FALSE(ThreadTaskRunnerHandle::IsSet()); in TEST() 97 ThreadTaskRunnerHandle::Get()->PostTask( in TEST() 100 ThreadTaskRunnerHandle::Get()->PostTask( in TEST() 103 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 107 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 111 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 115 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 132 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 134 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() 155 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST() [all …]
|
D | scoped_task_environment_unittest.cc | 51 ThreadTaskRunnerHandle::Get()->PostTask( in RunUntilIdleTest() 159 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P() 180 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P() 188 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_P() 197 ThreadTaskRunnerHandle::Get()->PostTask( in TEST_P() 281 ThreadTaskRunnerHandle::Get()->PostDelayedTask(FROM_HERE, base::DoNothing(), in TEST_F() 285 ThreadTaskRunnerHandle::Get()->PostDelayedTask(FROM_HERE, base::DoNothing(), in TEST_F()
|
D | test_simple_task_runner.cc | 89 if (!ThreadTaskRunnerHandle::IsSet() || in RunPendingTasks() 90 ThreadTaskRunnerHandle::Get() != this) { in RunPendingTasks() 91 undo_override = ThreadTaskRunnerHandle::OverrideForTesting(this); in RunPendingTasks()
|
D | test_mock_time_task_runner.cc | 187 : on_destroy_(ThreadTaskRunnerHandle::OverrideForTesting(scope)) { in ScopedContext() 215 std::make_unique<ThreadTaskRunnerHandle>(proxy_task_runner_); in TestMockTimeTaskRunner() 391 if (!ThreadTaskRunnerHandle::IsSet() || in ProcessAllTasksNoLaterThan() 392 ThreadTaskRunnerHandle::Get() != proxy_task_runner_.get()) { in ProcessAllTasksNoLaterThan() 394 ThreadTaskRunnerHandle::OverrideForTesting(proxy_task_runner_.get()); in ProcessAllTasksNoLaterThan()
|
D | test_mock_time_task_runner.h | 30 class ThreadTaskRunnerHandle; variable 285 std::unique_ptr<ThreadTaskRunnerHandle> thread_task_runner_handle_;
|
/external/libchrome/ipc/ |
D | ipc_test_base.cc | 43 base::ThreadTaskRunnerHandle::Get(), base::ThreadTaskRunnerHandle::Get()); in CreateChannel() 69 base::ThreadTaskRunnerHandle::Get(), base::ThreadTaskRunnerHandle::Get()); in Connect() 77 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, in Close()
|
D | ipc_mojo_bootstrap_unittest.cc | 114 IPC::Channel::MODE_SERVER, base::ThreadTaskRunnerHandle::Get(), in TEST_F() 115 base::ThreadTaskRunnerHandle::Get()), in TEST_F() 139 IPC::Channel::MODE_CLIENT, base::ThreadTaskRunnerHandle::Get(), in MULTIPROCESS_TEST_MAIN_WITH_SETUP() 140 base::ThreadTaskRunnerHandle::Get()), in MULTIPROCESS_TEST_MAIN_WITH_SETUP() 160 IPC::Channel::MODE_SERVER, base::ThreadTaskRunnerHandle::Get(), in TEST_F() 161 base::ThreadTaskRunnerHandle::Get()), in TEST_F() 187 IPC::Channel::MODE_CLIENT, base::ThreadTaskRunnerHandle::Get(), in MULTIPROCESS_TEST_MAIN_WITH_SETUP() 188 base::ThreadTaskRunnerHandle::Get()), in MULTIPROCESS_TEST_MAIN_WITH_SETUP()
|
D | ipc_sync_message_filter.cc | 57 if (base::ThreadTaskRunnerHandle::IsSet()) { in Send() 58 DCHECK(base::ThreadTaskRunnerHandle::Get() != listener_task_runner_); in Send() 59 DCHECK(base::ThreadTaskRunnerHandle::Get() != io_task_runner_); in Send() 106 io_task_runner_ = base::ThreadTaskRunnerHandle::Get(); in OnFilterAdded() 147 listener_task_runner_(base::ThreadTaskRunnerHandle::Get()), in SyncMessageFilter()
|
D | ipc_channel_common.cc | 42 base::ThreadTaskRunnerHandle::Get()); in CreateClient() 58 base::ThreadTaskRunnerHandle::Get()); in CreateServer()
|
/external/libchrome/base/files/ |
D | important_file_writer_unittest.cc | 134 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 146 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 186 ThreadTaskRunnerHandle::Get()); in TEST_F() 235 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get(), in TEST_F() 254 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 269 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 284 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 299 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F() 316 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
|
/external/libchrome/base/ |
D | cancelable_callback_unittest.cc | 179 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST() 184 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
|
/external/libchrome/base/debug/ |
D | task_annotator_unittest.cc | 196 auto main_thread_a = ThreadTaskRunnerHandle::Get(); in TEST_F() 352 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, DoNothing()); in TEST_F() 354 ThreadTaskRunnerHandle::Get()->PostTask(location2, std::move(task2)); in TEST_F()
|
/external/libchrome/libchrome_tools/patch/ |
D | message_loop.patch | 14 class ThreadTaskRunnerHandle;
|