Home
last modified time | relevance | path

Searched refs:ThreadTaskRunnerHandle (Results 1 – 25 of 45) sorted by relevance

12

/external/libchrome/base/threading/
Dthread_task_runner_handle.cc18 base::LazyInstance<base::ThreadLocalPointer<ThreadTaskRunnerHandle>>::Leaky
24 scoped_refptr<SingleThreadTaskRunner> ThreadTaskRunnerHandle::Get() { in Get()
25 ThreadTaskRunnerHandle* current = lazy_tls_ptr.Pointer()->Get(); in Get()
31 bool ThreadTaskRunnerHandle::IsSet() { in IsSet()
35 ThreadTaskRunnerHandle::ThreadTaskRunnerHandle( in ThreadTaskRunnerHandle() function in base::ThreadTaskRunnerHandle
45 ThreadTaskRunnerHandle::~ThreadTaskRunnerHandle() { in ~ThreadTaskRunnerHandle()
Dthread_task_runner_handle.h20 class BASE_EXPORT ThreadTaskRunnerHandle {
31 explicit ThreadTaskRunnerHandle(
33 ~ThreadTaskRunnerHandle();
38 DISALLOW_COPY_AND_ASSIGN(ThreadTaskRunnerHandle);
Dsequenced_task_runner_handle.cc30 DCHECK(!base::ThreadTaskRunnerHandle::IsSet()); in Get()
39 DCHECK(!base::ThreadTaskRunnerHandle::IsSet()); in Get()
44 return base::ThreadTaskRunnerHandle::Get(); in Get()
51 base::ThreadTaskRunnerHandle::IsSet(); in IsSet()
Dpost_task_and_reply_impl.cc31 origin_task_runner_(ThreadTaskRunnerHandle::Get()) { in PostTaskAndReplyRelay()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dconnector_unittest.cc117 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
119 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
146 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
148 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
174 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
176 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
203 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
205 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
238 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
240 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
[all …]
Dmultiplex_router_unittest.cc36 base::ThreadTaskRunnerHandle::Get()); in SetUp()
38 base::ThreadTaskRunnerHandle::Get()); in SetUp()
69 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
73 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
116 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
120 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
160 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
163 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
191 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
196 false, base::ThreadTaskRunnerHandle::Get()); in TEST_F()
[all …]
Drouter_unittest.cc43 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
45 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
89 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
91 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
133 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
135 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
161 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
163 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
234 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
241 base::ThreadTaskRunnerHandle::Get()); in TEST_F()
[all …]
Dassociated_interface_unittest.cc167 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
169 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
362 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
364 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
451 true, std::move(pipe.handle0), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
453 false, std::move(pipe.handle1), base::ThreadTaskRunnerHandle::Get())); in TEST_F()
De2e_perftest.cc90 base::ThreadTaskRunnerHandle::Get()->PostTask( in RunTest()
122 if (runner == base::ThreadTaskRunnerHandle::Get().get()) { in RunTestOnTaskRunner()
/external/libmojo/mojo/public/cpp/bindings/
Dbinding.h79 base::ThreadTaskRunnerHandle::Get())
92 base::ThreadTaskRunnerHandle::Get())
103 base::ThreadTaskRunnerHandle::Get())
116 base::ThreadTaskRunnerHandle::Get()) {
127 base::ThreadTaskRunnerHandle::Get()) {
138 base::ThreadTaskRunnerHandle::Get()) {
151 base::ThreadTaskRunnerHandle::Get()) {
Dassociated_binding.h55 base::ThreadTaskRunnerHandle::Get())
65 base::ThreadTaskRunnerHandle::Get())
79 base::ThreadTaskRunnerHandle::Get()) {
89 base::ThreadTaskRunnerHandle::Get()) {
Dinterface_ptr.h79 base::ThreadTaskRunnerHandle::Get()) {
223 base::ThreadTaskRunnerHandle::Get()) {
Dassociated_interface_ptr.h66 base::ThreadTaskRunnerHandle::Get()) {
196 base::ThreadTaskRunnerHandle::Get()) {
Dinterface_request.h130 base::ThreadTaskRunnerHandle::Get()) {
/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc104 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
116 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
151 ThreadTaskRunnerHandle::Get(), in TEST_F()
157 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
167 ImportantFileWriter writer(file_, ThreadTaskRunnerHandle::Get()); in TEST_F()
173 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
184 ThreadTaskRunnerHandle::Get(), in TEST_F()
190 ThreadTaskRunnerHandle::Get()->PostDelayedTask( in TEST_F()
/external/libchrome/base/task/
Dcancelable_task_tracker.cc91 DCHECK(base::ThreadTaskRunnerHandle::IsSet()); in PostTaskAndReply()
119 DCHECK(base::ThreadTaskRunnerHandle::IsSet()); in NewTrackedTaskId()
136 RetainedRef(base::ThreadTaskRunnerHandle::Get()), in NewTrackedTaskId()
/external/libchrome/base/
Dcancelable_callback_unittest.cc177 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
182 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, cancelable.callback()); in TEST()
/external/libmojo/mojo/public/cpp/system/tests/
Dwatcher_unittest.cc116 base::ThreadTaskRunnerHandle::Get()->PostTask( in TEST_F()
160 base::ThreadTaskRunnerHandle::Get()->PostTask( in TEST_F()
/external/libmojo/mojo/android/javatests/
Dmojo_test_case.cc55 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( in RunLoop()
/external/libmojo/mojo/public/cpp/system/
Dwatcher.h46 base::ThreadTaskRunnerHandle::Get());
Dwatcher.cc52 base::ThreadTaskRunnerHandle::Get()), in Watcher()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc229 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in RequestGlobalDumpAndWait()
639 RegisterDumpProvider(&mdp1, ThreadTaskRunnerHandle::Get(), kDefaultOptions); in TEST_F()
640 RegisterDumpProvider(&mdp2, ThreadTaskRunnerHandle::Get(), kDefaultOptions); in TEST_F()
891 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, quit_closure); in TEST_F()
946 ThreadTaskRunnerHandle::Get(), run_loop.QuitClosure()); in TEST_F()
1147 ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, quit_closure); in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner_unittest.cc269 ASSERT_EQ(io_thread_->task_runner(), ThreadTaskRunnerHandle::Get()); in AssertOnIOThread()
274 ASSERT_EQ(file_thread_->task_runner(), ThreadTaskRunnerHandle::Get()); in AssertOnFileThread()
Dmessage_loop.h44 class ThreadTaskRunnerHandle; variable
543 std::unique_ptr<ThreadTaskRunnerHandle> thread_task_runner_handle_;
/external/libmojo/mojo/edk/system/
Dbroker_host_posix.cc37 base::ThreadTaskRunnerHandle::Get()); in BrokerHost()

12