Home
last modified time | relevance | path

Searched refs:CurrentId (Results 1 – 25 of 30) sorted by relevance

12

/external/libchrome/base/threading/
Dplatform_thread_posix.cc74 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()
Dplatform_thread_android.cc42 Java_ThreadUtils_setThreadPriorityAudio(env, PlatformThread::CurrentId()); in SetCurrentThreadPriorityForPlatform()
53 env, PlatformThread::CurrentId())) { in GetCurrentThreadPriorityForPlatform()
69 if (PlatformThread::CurrentId() == getpid()) in SetName()
Dplatform_thread_unittest.cc118 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()
Dthread_id_name_manager_unittest.cc68 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F()
80 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); in TEST_F()
Dplatform_thread_linux.cc102 SetThreadCgroupsForThreadPriority(PlatformThread::CurrentId(), priority); in SetCurrentThreadPriorityForPlatform()
136 if (PlatformThread::CurrentId() == getpid()) in SetName()
Dthread_collision_warner.cc17 const PlatformThreadId current_thread_id = PlatformThread::CurrentId(); in CurrentThread()
Dthread.cc253 DCHECK_EQ(id_, PlatformThread::CurrentId()); in Run()
293 id_ = PlatformThread::CurrentId(); in ThreadMain()
Dthread.h231 (id_event_.IsSignaled() && id_ == PlatformThread::CurrentId()) || in task_runner()
Dplatform_thread.h133 static PlatformThreadId CurrentId();
Dthread_id_name_manager.cc63 PlatformThreadId id = PlatformThread::CurrentId(); in SetName()
Dsimple_thread.cc70 tid_ = PlatformThread::CurrentId(); in ThreadMain()
/external/libchrome/base/profiler/
Dstack_sampling_profiler.cc426 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/
Ddbus_statistics.cc47 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()
Dbus.cc163 origin_thread_id_(base::PlatformThread::CurrentId()), in Bus()
804 DCHECK_EQ(origin_thread_id_, base::PlatformThread::CurrentId()); in AssertOnOriginThread()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner.cc24 valid_thread_id_ = PlatformThread::CurrentId(); in BindToCurrentThread()
46 return valid_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
Dmessage_pump_glib.cc144 thread_info->thread_id = PlatformThread::CurrentId(); in CheckThread()
146 DCHECK(thread_info->thread_id == PlatformThread::CurrentId()) << in CheckThread()
/external/libchrome/base/
Ddeferred_sequenced_task_runner.cc35 : created_thread_id_(PlatformThread::CurrentId()) {} in DeferredSequencedTaskRunner()
57 return created_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
/external/libchrome/base/task/sequence_manager/
Dthread_controller_with_message_pump_impl.cc18 : main_thread_id_(PlatformThread::CurrentId()), in ThreadControllerWithMessagePumpImpl()
84 return main_thread_id_ == PlatformThread::CurrentId(); in RunsTasksInCurrentSequence()
Dtask_queue.cc18 thread_id_(PlatformThread::CurrentId()), in TaskQueue()
274 return thread_id_ == PlatformThread::CurrentId(); in IsOnMainThread()
Dtask_queue_impl.cc47 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/
Dstack_trace.cc159 bool is_main_thread = GetCurrentProcId() == PlatformThread::CurrentId(); in GetStackEnd()
183 if (GetCurrentProcId() == PlatformThread::CurrentId()) { in GetStackEnd()
/external/libchrome/base/trace_event/
Dtrace_event.h111 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()
Dtrace_log.cc307 "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()
Dheap_profiler_allocation_context_tracker.cc72 static_cast<unsigned long>(PlatformThread::CurrentId())); in GetAndLeakThreadName()
/external/libchrome/base/test/launcher/
Dtest_launcher_tracer.cc26 event.thread_id = PlatformThread::CurrentId(); in RecordProcessExecution()

12