/aosp12/system/core/libprocessgroup/ |
H A D | sched_policy.cpp | 76 char thread_name[255]; in set_sched_policy() local 79 memset(thread_name, 0, sizeof(thread_name)); in set_sched_policy() 94 strncpy(thread_name, p, (q - p)); in set_sched_policy() 98 SLOGD("vvv tid %d (%s)", tid, thread_name); in set_sched_policy() 104 SLOGD("^^^ tid %d (%s)", tid, thread_name); in set_sched_policy() 107 SLOGD("/// tid %d (%s)", tid, thread_name); in set_sched_policy() 110 SLOGD("RT tid %d (%s)", tid, thread_name); in set_sched_policy() 113 SLOGD("??? tid %d (%s)", tid, thread_name); in set_sched_policy()
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_setname_np.cpp | 86 int pthread_setname_np(pthread_t t, const char* thread_name) { in pthread_setname_np() argument 89 size_t thread_name_len = strlen(thread_name); in pthread_setname_np() 94 return prctl(PR_SET_NAME, thread_name) ? errno : 0; in pthread_setname_np() 101 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len)); in pthread_setname_np()
|
/aosp12/art/runtime/ |
H A D | monitor_android.cc | 62 std::string thread_name; in LogContentionEvent() local 63 self->GetThreadName(thread_name); in LogContentionEvent() 64 ctx << thread_name; in LogContentionEvent() 119 thread_name.c_str()); in LogContentionEvent()
|
H A D | runtime_linux.cc | 39 std::string thread_name(GetThreadName(tid)); in HandleUnexpectedSignalLinux() local 41 << "* Process " << getpid() << " thread " << tid << " \"" << thread_name in HandleUnexpectedSignalLinux()
|
H A D | thread.cc | 832 std::string thread_name; in CreateNativeThread() local 836 thread_name = "(Unnamed)"; in CreateNativeThread() 986 ((thread_name != nullptr) ? thread_name : "(Unnamed)"); in Attach() 995 ((thread_name != nullptr) ? thread_name : "(Unnamed)"); in Attach() 1022 if (thread_name != nullptr) { in Attach() 1059 << ((thread_name != nullptr) ? thread_name : "<null>"); in Attach() 1066 if (thread_name != nullptr) { in Attach() 1147 thread_name.get(), in CreatePeer() 1202 thread_name.get(), in CreateCompileTimePeer() 1209 thread_name.get(), in CreateCompileTimePeer() [all …]
|
/aosp12/system/bt/osi/test/ |
H A D | thread_test.cc | 26 ASSERT_STREQ(thread_name(thread), "test_name"); in TEST_F() 32 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F() 38 ASSERT_STREQ("0123456789abcdef", thread_name(thread)); in TEST_F()
|
/aosp12/art/libartbase/base/ |
H A D | utils.cc | 274 void SetThreadName(const char* thread_name) { in SetThreadName() argument 277 const char* s = thread_name; in SetThreadName() 286 int len = s - thread_name; in SetThreadName() 288 s = thread_name; in SetThreadName() 290 s = thread_name + len - 15; in SetThreadName() 302 pthread_setname_np(thread_name); in SetThreadName()
|
/aosp12/art/test/912-classes/ |
H A D | classes.cc | 305 std::string thread_name = GetThreadName(jenv, jni_env, thread); in ClassLoadCallback() local 306 if (thread_name == "") { in ClassLoadCallback() 309 if (thread_name_filter_ != "" && thread_name_filter_ != thread_name) { in ClassLoadCallback() 316 thread_name.c_str())); in ClassLoadCallback() 327 std::string thread_name = GetThreadName(jenv, jni_env, thread); in ClassPrepareCallback() local 328 if (thread_name == "") { in ClassPrepareCallback() 331 if (thread_name_filter_ != "" && thread_name_filter_ != thread_name) { in ClassPrepareCallback() 339 thread_name.c_str(), in ClassPrepareCallback() 391 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name_str.c_str())); in RunEventThread() local 392 CHECK(thread_name.get() != nullptr); in RunEventThread() [all …]
|
/aosp12/system/extras/simpleperf/scripts/test/ |
H A D | report_html_test.py | 40 thread_name = record_data['threadNames'][str(thread['tid'])] 41 event_count_for_thread_name[thread_name] += thread['eventCount'] 52 thread_name = record_data['threadNames'][str(thread['tid'])] 54 event_count_for_thread_name[thread_name])
|
/aosp12/system/bt/test/mock/ |
H A D | mock_common_message_loop_thread.cc | 34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() argument 35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread() 37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() argument 39 : thread_name_(thread_name), in MessageLoopThread()
|
/aosp12/system/bt/common/ |
H A D | message_loop_thread.cc | 34 MessageLoopThread::MessageLoopThread(const std::string& thread_name) in MessageLoopThread() argument 35 : MessageLoopThread(thread_name, false) {} in MessageLoopThread() 37 MessageLoopThread::MessageLoopThread(const std::string& thread_name, in MessageLoopThread() argument 39 : thread_name_(thread_name), in MessageLoopThread()
|
H A D | message_loop_thread.h | 48 explicit MessageLoopThread(const std::string& thread_name); 49 explicit MessageLoopThread(const std::string& thread_name, bool is_main);
|
/aosp12/system/core/debuggerd/handler/ |
H A D | debuggerd_handler.cpp | 170 char thread_name[MAX_TASK_NAME_LEN + 1]; // one more for termination in log_signal_summary() local 171 if (prctl(PR_GET_NAME, reinterpret_cast<unsigned long>(thread_name), 0, 0, 0) != 0) { in log_signal_summary() 172 strcpy(thread_name, "<name unknown>"); in log_signal_summary() 176 thread_name[MAX_TASK_NAME_LEN] = 0; in log_signal_summary() 181 thread_name); in log_signal_summary() 204 … sender_desc, addr_desc, __gettid(), thread_name, self_pid, main_thread_name); in log_signal_summary()
|
/aosp12/art/test/931-agent-thread/ |
H A D | agent_thread.cc | 95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in Java_art_Test931_testAgentThread() local 96 if (thread_name.get() == nullptr) { in Java_art_Test931_testAgentThread() 129 thread.get(), thread_klass.get(), initID, thread_group.get(), thread_name.get()); in Java_art_Test931_testAgentThread()
|
/aosp12/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_vsync.cpp | 57 char thread_name[64] = HWC_VSYNC_THREAD_NAME; in vsync_loop() local 58 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in vsync_loop()
|
H A D | hwc_uevents.cpp | 182 char thread_name[64] = HWC_UEVENT_THREAD_NAME; in uevent_loop() local 183 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in uevent_loop()
|
/aosp12/art/test/1919-vminit-thread-start-timing/ |
H A D | vminit.cc | 83 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("JVMTI_THREAD-Test1919")); in CreateAgentThread() local 84 CHECK(thread_name.get() != nullptr); in CreateAgentThread() 95 env->CallNonvirtualVoidMethod(thread.get(), thread_klass.get(), initID, thread_name.get()); in CreateAgentThread()
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_uevents.cpp | 214 char thread_name[64] = HWC_UEVENT_THREAD_NAME; in uevent_loop() local 215 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in uevent_loop()
|
H A D | hwc_vsync.cpp | 114 char thread_name[64] = HWC_VSYNC_THREAD_NAME; in vsync_loop() local 115 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in vsync_loop()
|
/aosp12/art/test/1971-multi-force-early-return/src/art/ |
H A D | Test1971.java | 92 String thread_name = Thread.currentThread().getName(); in runTest() local 93 con.accept("Thread: " + thread_name + " method returned: " + targetMethod()); in runTest()
|
/aosp12/system/extras/simpleperf/ |
H A D | RecordFilter.cpp | 76 void RecordFilter::AddThreadNameRegex(const std::string& thread_name, bool exclude) { in AddThreadNameRegex() argument 79 cond.thread_name_regs.emplace_back(thread_name, std::regex::optimize); in AddThreadNameRegex()
|
/aosp12/art/tools/jvmti-agents/simple-force-redefine/ |
H A D | forceredefine.cc | 232 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in CbVmInit() local 233 if (thread_name.get() == nullptr) { in CbVmInit() 255 thread_name.get()); in CbVmInit()
|
/aosp12/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_vsync.cpp | 105 char thread_name[64] = HWC_VSYNC_THREAD_NAME; in vsync_loop() local 106 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in vsync_loop()
|
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_vsync.cpp | 95 char thread_name[64] = HWC_VSYNC_THREAD_NAME; in vsync_loop() local 96 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0); in vsync_loop()
|
/aosp12/art/libartpalette/apex/ |
H A D | palette.cc | 230 const char* thread_name) { in PaletteReportLockContention() argument 242 thread_name); in PaletteReportLockContention()
|