Home
last modified time | relevance | path

Searched refs:GetThreadId (Results 1 – 17 of 17) 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()
86 tid = GetThreadId(); in set_sched_policy()
177 tid = GetThreadId(); in get_sched_policy()
Dtask_profiles.cpp39 using android::base::GetThreadId;
104 if (tid == 0 || tid == GetThreadId()) { in ExecuteForTask()
273 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.cpp127 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()
Dbacktrace_offline_test.cpp95 fn_arg->tid = android::base::GetThreadId(); in OfflineThreadFunc()
/system/core/base/include/android-base/
Dthreads.h23 uint64_t GetThreadId();
/system/core/base/
Dthreads.cpp33 uint64_t GetThreadId() { in GetThreadId() function
Dlogging.cpp222 timestamp, getpid(), GetThreadId(), file, line, message); in StderrLogger()
/system/core/adb/
Dfdevent.cpp94 CHECK_EQ(main_thread_id, android::base::GetThreadId()); in check_main_thread()
100 main_thread_id = android::base::GetThreadId(); in set_main_thread()
/system/bt/btif/src/
Dbtif_core.cc237 return jni_thread.GetThreadId() == PlatformThread::CurrentId(); in is_on_jni_thread()