Home
last modified time | relevance | path

Searched refs:GetThreadId (Results 1 – 20 of 20) sorted by relevance

/system/bt/common/
Dmessage_loop_thread_unittest.cc38 void GetThreadId(std::promise<base::PlatformThreadId> thread_id_promise) { in GetThreadId() function in MessageLoopThreadTest
97 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
100 ASSERT_LT(message_loop_thread.GetThreadId(), 0); in TEST_F()
107 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
108 ASSERT_NE(message_loop_thread.GetThreadId(), in TEST_F()
115 ASSERT_LT(message_loop_thread.GetThreadId(), 0); in TEST_F()
140 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
156 base::PlatformThreadId thread_id = message_loop_thread.GetThreadId(); in TEST_F()
163 base::BindOnce(&MessageLoopThreadTest::GetThreadId, in TEST_F()
Donce_timer.cc88 if (scheduled_thread->GetThreadId() == base::PlatformThread::CurrentId()) { in CancelHelper()
119 CHECK_EQ(message_loop_thread_->GetThreadId(), in RunTask()
Drepeating_timer.cc98 if (scheduled_thread->GetThreadId() == base::PlatformThread::CurrentId()) { in CancelHelper()
130 CHECK_EQ(message_loop_thread_->GetThreadId(), in RunTask()
Dmessage_loop_thread.h93 base::PlatformThreadId GetThreadId() const;
Dmessage_loop_thread.cc118 base::PlatformThreadId MessageLoopThread::GetThreadId() const { in GetThreadId() function in bluetooth::common::MessageLoopThread
/system/core/libprocessgroup/
Dsched_policy.cpp29 using android::base::GetThreadId;
43 tid = GetThreadId(); in set_cpuset_policy()
69 tid = GetThreadId(); in set_sched_policy()
169 tid = GetThreadId(); in get_sched_policy()
Dtask_profiles.cpp39 using android::base::GetThreadId;
109 if (tid == 0 || tid == GetThreadId()) { in ExecuteForTask()
306 tid = GetThreadId(); in ExecuteForTask()
/system/core/libbacktrace/
DBacktraceCurrent.cpp79 if (Tid() != static_cast<pid_t>(android::base::GetThreadId())) { in Unwind()
118 static_cast<int>(android::base::GetThreadId()), THREAD_SIGNAL); in SignalLogOnly()
124 ThreadEntry* entry = ThreadEntry::Get(getpid(), android::base::GetThreadId(), false); in SignalHandler()
127 static_cast<int>(android::base::GetThreadId())); in SignalHandler()
Dbacktrace_benchmarks.cpp155 std::unique_ptr<Backtrace> backtrace(fn(getpid(), android::base::GetThreadId(), map)); in CreateBacktrace()
DBacktrace.cpp134 tid = android::base::GetThreadId(); in Create()
Dbacktrace_test.cpp546 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), android::base::GetThreadId())); in VerifyLevelThread()
559 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), android::base::GetThreadId())); in VerifyMaxThread()
574 thread->tid = android::base::GetThreadId(); in ThreadLevelRun()
665 thread->tid = android::base::GetThreadId(); in ThreadMaxRun()
1016 thread_data->tid = android::base::GetThreadId(); in ThreadReadTest()
1830 create_func(getpid(), android::base::GetThreadId(), map.get())); in TestFrameSkipNumbering()
/system/libbase/include/android-base/
Dthreads.h23 uint64_t GetThreadId();
/system/libbase/
Dthreads.cpp33 uint64_t GetThreadId() { in GetThreadId() function
Dlogging.cpp293 StderrOutputGenerator(now, getpid(), GetThreadId(), severity, tag, file, line, message); in StderrLogger()
/system/core/adb/fdevent/
Dfdevent_poll.cpp104 main_thread_id_ = android::base::GetThreadId(); in Loop()
Dfdevent_epoll.cpp108 main_thread_id_ = android::base::GetThreadId(); in Loop()
Dfdevent.cpp173 CHECK_EQ(*main_thread_id_, android::base::GetThreadId()); in CheckMainThread()
/system/core/liblog/
Dlogger_write.cpp230 static uint64_t GetThreadId() { in GetThreadId() function
263 uint64_t tid = GetThreadId(); in __android_log_stderr_logger()
/system/bt/btif/src/
Dbtif_core.cc237 return jni_thread.GetThreadId() == PlatformThread::CurrentId(); in is_on_jni_thread()
/system/core/logd/
DLogTags.cpp557 .tid = static_cast<uint16_t>(android::base::GetThreadId()), in WritePmsgEventLogTags()