Searched refs:current_thread_name (Results 1 – 2 of 2) sorted by relevance
93 const std::string current_thread_name(PlatformThread::GetName()); in VerifyTaskEnvironment() local94 EXPECT_NE(std::string::npos, current_thread_name.find("TaskScheduler")); in VerifyTaskEnvironment()96 if (current_thread_name.find("SingleThread") != std::string::npos) { in VerifyTaskEnvironment()102 current_thread_name.find(traits.priority() == TaskPriority::BACKGROUND in VerifyTaskEnvironment()107 current_thread_name.find( in VerifyTaskEnvironment()114 current_thread_name.find("Blocking") != std::string::npos); in VerifyTaskEnvironment()
1224 static auto* current_thread_name = new ThreadLocalPointer<const char>(); in AddTraceEventWithThreadIdAndTimestamp() local1225 if (new_name != current_thread_name->Get() && new_name && *new_name) { in AddTraceEventWithThreadIdAndTimestamp()1226 current_thread_name->Set(new_name); in AddTraceEventWithThreadIdAndTimestamp()