/aosp12/frameworks/wilhelm/src/android/ |
H A D | CallbackProtector.cpp | 67 mCallbackThread = pthread_self(); in enterCb() 75 (void *) pthread_self(), gettid(), in enterCb() 115 mRequesterThread = pthread_self(); in requestCbExitAndWait() 123 (void *) pthread_self(), gettid()); in requestCbExitAndWait() 136 mRequesterThread = pthread_self(); in requestCbExit() 144 (void *) pthread_self(), gettid()); in requestCbExit()
|
/aosp12/frameworks/wilhelm/src/ |
H A D | locks.cpp | 82 pthread_t me = pthread_self(); in object_lock_exclusive_() 102 pthread_t me = pthread_self(); in object_lock_exclusive_() 105 if (pthread_equal(pthread_self(), owner)) { in object_lock_exclusive_() 116 thiz->mOwner = pthread_self(); in object_lock_exclusive_() 137 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_() 170 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_attributes_() 291 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_cond_wait_() 302 thiz->mOwner = pthread_self(); in object_cond_wait_()
|
/aosp12/frameworks/wilhelm/src/itf/ |
H A D | IThreadSync.cpp | 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { in IThreadSync_EnterCriticalSection() 40 thiz->mOwner = pthread_self(); in IThreadSync_EnterCriticalSection() 56 if (!thiz->mInCriticalSection || !pthread_equal(thiz->mOwner, pthread_self())) { in IThreadSync_ExitCriticalSection()
|
/aosp12/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 24 mThreadId = pthread_self(); in RenderState() 34 if (pthread_equal(mThreadId, pthread_self())) { in postDecStrong()
|
/aosp12/hardware/interfaces/tests/libhwbinder/1.0/default/ |
H A D | ScheduleTest.cpp | 21 ASSERT(!pthread_getschedparam(pthread_self(), &policy, ¶m)); in threadPri() 32 ASSERT(!pthread_getschedparam(pthread_self(), &policy, ¶m)); in threadDump()
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_setname_np.cpp | 60 if (t == pthread_self()) { in pthread_getname_np() 93 if (t == pthread_self()) { in pthread_setname_np()
|
H A D | pthread_self.cpp | 31 pthread_t pthread_self() { in pthread_self() function
|
H A D | pthread_join.cpp | 39 if (t == pthread_self()) { in pthread_join()
|
/aosp12/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/ |
H A D | native-lib.cpp | 33 pthread_setname_np(pthread_self(), "ProfileThread"); in ProfileThreadFunc() 62 pthread_setname_np(pthread_self(), "BusyThread"); in BusyThreadFunc()
|
/aosp12/frameworks/av/services/oboeservice/ |
H A D | AAudioThread.cpp | 41 ALOGE_IF(pthread_equal(pthread_self(), mThread), in ~AAudioThread() 97 if (pthread_equal(pthread_self(), mThread)) { in stop()
|
/aosp12/packages/services/BuiltInPrintService/jni/plugins/ |
H A D | plugin_pcl.c | 162 param->send_tid = pthread_self(); in _start_thread() 173 if ((result == ERROR) && (param->send_tid != pthread_self())) { in _start_thread() 179 param->send_tid = pthread_self(); in _start_thread() 202 if (!pthread_equal(priv->send_tid, pthread_self())) { in _stop_thread() 209 priv->send_tid = pthread_self(); in _stop_thread() 234 priv->send_tid = pthread_self(); in _start_job()
|
/aosp12/bionic/tests/ |
H A D | pthread_test.cpp | 314 ASSERT_EQ(EDEADLK, pthread_join(pthread_self(), nullptr)); in TEST() 323 data.main_thread = pthread_self(); in main() 527 ASSERT_EQ(0, pthread_kill(pthread_self(), 0)); in TEST() 531 ASSERT_EQ(EINVAL, pthread_kill(pthread_self(), -1)); in TEST() 539 ASSERT_EQ(0, pthread_kill(pthread_self(), SIGALRM)); in pthread_kill__in_signal_handler_helper() 545 ASSERT_EQ(0, pthread_kill(pthread_self(), SIGALRM)); in TEST() 724 pthread_getattr_np(pthread_self(), &attributes); in GetActualGuardSizeFn() 739 pthread_getattr_np(pthread_self(), &attributes); in GetActualStackSizeFn() 1818 ASSERT_EQ(0, pthread_getattr_np(pthread_self(), &attr)); in getstack_signal_handler() 1879 pthread_getattr_np(pthread_self(), &attributes); in pthread_attr_getstack_18908062_helper() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | Timer.cpp | 138 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m) != 0) { in dispatch() 142 if (pthread_setname_np(pthread_self(), "TimerDispatch")) { in dispatch()
|
/aosp12/art/sigchainlib/ |
H A D | sigchain_test.cc | 78 pthread_sigqueue(pthread_self(), SIGSEGV, value); in RaiseHandled() 84 pthread_sigqueue(pthread_self(), SIGSEGV, value); in RaiseUnhandled()
|
/aosp12/system/chre/chpp/platform/linux/include/chpp/platform/ |
H A D | platform_log.h | 41 pthread_getname_np(pthread_self(), name, 16); \
|
/aosp12/system/libhwbinder/ |
H A D | IPCThreadState.cpp | 539 …LOG_THREADPOOL("**** THREAD %p (PID %d) IS JOINING THE THREAD POOL\n", (void*)pthread_self(), getp… in joinThreadPool() 563 (void*)pthread_self(), getpid(), result); in joinThreadPool() 619 alog << "BC_TRANSACTION thr " << (void*)pthread_self() << " / hand " in transact() 666 alog << "BR_REPLY thr " << (void*)pthread_self() << " / hand " in transact() 1170 alog << "BR_TRANSACTION thr " << (void*)pthread_self() in executeCommand() 1241 alog << "BC_REPLY thr " << (void*)pthread_self() << " / obj " in executeCommand()
|
/aosp12/system/bt/osi/src/ |
H A D | reactor.cc | 205 pthread_equal(pthread_self(), reactor->run_thread)) { in reactor_unregister() 235 reactor->run_thread = pthread_self(); in run_reactor()
|
/aosp12/system/netd/libnetdutils/include/netdutils/ |
H A D | ThreadUtil.h | 44 if (int ret = pthread_setname_np(pthread_self(), name.c_str()); ret != 0) { in setThreadName()
|
/aosp12/frameworks/native/libs/renderengine/skia/debug/ |
H A D | CommonPool.cpp | 43 auto self = pthread_self(); in CommonPool()
|
/aosp12/packages/services/BuiltInPrintService/jni/lib/ |
H A D | lib_wprint.c | 504 if (!pthread_equal(_job_status_tid, pthread_self()) && (jq && jq->status_ifc)) { in _stop_status_thread() 509 _job_status_tid = pthread_self(); in _stop_status_thread() 682 if ((result == ERROR) && (_job_status_tid != pthread_self())) { in _start_status_thread() 688 _job_status_tid = pthread_self(); in _start_status_thread() 910 _job_status_tid = pthread_self(); in _job_thread() 1324 _job_tid = pthread_self(); in _start_thread() 1335 if ((result == ERROR) && (_job_tid != pthread_self())) { in _start_thread() 1341 _job_tid = pthread_self(); in _start_thread() 1361 if (!pthread_equal(_job_tid, pthread_self())) { in _stop_thread() 1363 _job_tid = pthread_self(); in _stop_thread()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 619 …LOG_THREADPOOL("**** THREAD %p (PID %d) IS JOINING THE THREAD POOL\n", (void*)pthread_self(), getp… in joinThreadPool() 643 (void*)pthread_self(), getpid(), result); in joinThreadPool() 697 alog << "BC_TRANSACTION thr " << (void*)pthread_self() << " / hand " in transact() 745 alog << "BR_REPLY thr " << (void*)pthread_self() << " / hand " in transact() 1256 alog << "BR_TRANSACTION thr " << (void*)pthread_self() in executeCommand() 1322 alog << "BC_REPLY thr " << (void*)pthread_self() << " / obj " in executeCommand()
|
/aosp12/system/chre/chpp/test/ |
H A D | app_test_base.cpp | 38 pthread_setname_np(pthread_self(), context->linkParams.workThreadName); in workThread()
|
/aosp12/system/netd/libnetdutils/ |
H A D | ThreadUtilTest.cpp | 29 if (const int ret = pthread_getname_np(pthread_self(), name, sizeof(name)); ret != 0) { in getThreadName()
|
/aosp12/system/libhwbinder/vts/performance/ |
H A D | Latency.cpp | 84 REQUIRE(!pthread_getschedparam(pthread_self(), &policy, ¶m)); in threadGetPri() 97 REQUIRE(!pthread_getschedparam(pthread_self(), &policy, ¶m)); in threadDumpPri()
|
/aosp12/frameworks/base/libs/hwui/thread/ |
H A D | CommonPool.cpp | 42 auto self = pthread_self(); in CommonPool()
|