/external/libchrome/base/threading/ |
D | platform_thread_posix.cc | 74 PlatformThread::CurrentId()); in ThreadFunc() 80 PlatformThread::CurrentId()); in ThreadFunc() 136 PlatformThreadId PlatformThread::CurrentId() { in CurrentId() function in base::PlatformThread 193 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName() 271 << PlatformThread::CurrentId() << ") to " << nice_setting; in SetCurrentThreadPriority() 295 << PlatformThread::CurrentId() << ")"; in GetCurrentThreadPriority()
|
D | platform_thread_android.cc | 42 Java_ThreadUtils_setThreadPriorityAudio(env, PlatformThread::CurrentId()); in SetCurrentThreadPriorityForPlatform() 53 env, PlatformThread::CurrentId())) { in GetCurrentThreadPriorityForPlatform() 69 if (PlatformThread::CurrentId() == getpid()) in SetName()
|
D | platform_thread_unittest.cc | 118 thread_id_ = PlatformThread::CurrentId(); in ThreadMain() 122 EXPECT_EQ(thread_id_, PlatformThread::CurrentId()); in ThreadMain() 165 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST() 181 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST() 185 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST() 216 EXPECT_EQ(main_thread_id, PlatformThread::CurrentId()); in TEST()
|
D | thread_id_name_manager_unittest.cc | 68 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F() 80 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F()
|
D | platform_thread_linux.cc | 102 SetThreadCgroupsForThreadPriority(PlatformThread::CurrentId(), priority); in SetCurrentThreadPriorityForPlatform() 136 if (PlatformThread::CurrentId() == getpid()) in SetName()
|
D | thread_collision_warner.cc | 17 const PlatformThreadId current_thread_id = PlatformThread::CurrentId(); in CurrentThread()
|
D | thread.cc | 253 DCHECK_EQ(id_, PlatformThread::CurrentId()); in Run() 293 id_ = PlatformThread::CurrentId(); in ThreadMain()
|
D | thread.h | 231 (id_event_.IsSignaled() && id_ == PlatformThread::CurrentId()) || in task_runner()
|
D | platform_thread.h | 133 static PlatformThreadId CurrentId();
|
D | thread_id_name_manager.cc | 63 PlatformThreadId id = PlatformThread::CurrentId(); in SetName()
|
D | simple_thread.cc | 70 tid_ = PlatformThread::CurrentId(); in ThreadMain()
|
/external/libchrome/base/profiler/ |
D | stack_sampling_profiler.cc | 426 DCHECK_NE(GetThreadId(), PlatformThread::CurrentId()); in GetOrCreateTaskRunnerForAdd() 473 DCHECK_NE(GetThreadId(), PlatformThread::CurrentId()); in GetTaskRunner() 486 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in GetTaskRunnerOnSamplingThread() 493 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in FinishCollection() 509 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in ScheduleShutdownIfIdle() 530 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in AddCollectionTask() 555 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in RemoveCollectionTask() 571 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in RecordSampleTask() 621 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in ShutdownTask() 655 DCHECK_EQ(GetThreadId(), PlatformThread::CurrentId()); in CleanUp() [all …]
|
/external/libchrome/dbus/ |
D | dbus_statistics.cc | 47 origin_thread_id_(base::PlatformThread::CurrentId()) { in DBusStatistics() 51 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in ~DBusStatistics() 66 if (base::PlatformThread::CurrentId() != origin_thread_id_) { in AddStat() 68 << base::PlatformThread::CurrentId(); in AddStat() 89 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in GetStats()
|
D | bus.cc | 163 origin_thread_id_(base::PlatformThread::CurrentId()), in Bus() 804 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in AssertOnOriginThread()
|
/external/libchrome/base/message_loop/ |
D | message_loop_task_runner.cc | 24 valid_thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread() 46 return valid_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
|
D | message_pump_glib.cc | 144 thread_info->thread_id = PlatformThread::CurrentId(); in CheckThread() 146 DCHECK(thread_info->thread_id == PlatformThread::CurrentId()) << in CheckThread()
|
/external/libchrome/base/ |
D | deferred_sequenced_task_runner.cc | 35 : created_thread_id_(PlatformThread::CurrentId()) {} in DeferredSequencedTaskRunner() 57 return created_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
|
/external/libchrome/base/task/sequence_manager/ |
D | thread_controller_with_message_pump_impl.cc | 18 : main_thread_id_(PlatformThread::CurrentId()), in ThreadControllerWithMessagePumpImpl() 84 return main_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
|
D | task_queue.cc | 18 thread_id_(PlatformThread::CurrentId()), in TaskQueue() 274 return thread_id_ == PlatformThread::CurrentId(); in IsOnMainThread()
|
D | task_queue_impl.cc | 47 thread_id_(PlatformThread::CurrentId()), in TaskQueueImpl() 183 return PlatformThread::CurrentId() == thread_id_; in RunsTasksInCurrentSequence() 218 if (PlatformThread::CurrentId() == thread_id_) { in PostDelayedTaskImpl() 463 if (PlatformThread::CurrentId() != thread_id_) in TraceQueueSize() 613 if (PlatformThread::CurrentId() == thread_id_) in GetTimeDomain()
|
/external/libchrome/base/debug/ |
D | stack_trace.cc | 159 bool is_main_thread = GetCurrentProcId() == PlatformThread::CurrentId(); in GetStackEnd() 183 if (GetCurrentProcId() == PlatformThread::CurrentId()) { in GetStackEnd()
|
/external/libchrome/base/trace_event/ |
D | trace_event.h | 111 static_cast<int>(base::PlatformThread::CurrentId()) 935 const int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 976 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 994 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 1041 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 1061 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 1081 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 1101 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent()
|
D | trace_log.cc | 307 "tracing/thread_%d", static_cast<int>(PlatformThread::CurrentId())); in OnMemoryDump() 1052 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() 1084 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEventWithBindId() 1217 if (thread_id == static_cast<int>(PlatformThread::CurrentId())) { in AddTraceEventWithThreadIdAndTimestamp() 1353 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddMetadataEvent() 1381 trace_event ? trace_event->thread_id() : PlatformThread::CurrentId(); in EventToConsoleMessage() 1476 static_cast<int>(base::PlatformThread::CurrentId()), now, thread_now, in UpdateTraceEventDurationExplicit() 1542 int current_thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddMetadataEventsWhileLocked() 1774 static_cast<int>(base::PlatformThread::CurrentId()), // thread_id in ScopedTraceBinaryEfficient()
|
D | heap_profiler_allocation_context_tracker.cc | 72 static_cast<unsigned long>(PlatformThread::CurrentId())); in GetAndLeakThreadName()
|
/external/libchrome/base/test/launcher/ |
D | test_launcher_tracer.cc | 26 event.thread_id = PlatformThread::CurrentId(); in RecordProcessExecution()
|