Home
last modified time | relevance | path

Searched refs:current_thread_name (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_scheduler_impl_unittest.cc93 const std::string current_thread_name(PlatformThread::GetName()); in VerifyTaskEnvironment() local
94 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()
/external/libchrome/base/trace_event/
Dtrace_log.cc1224 static auto* current_thread_name = new ThreadLocalPointer<const char>(); in AddTraceEventWithThreadIdAndTimestamp() local
1225 if (new_name != current_thread_name->Get() && new_name && *new_name) { in AddTraceEventWithThreadIdAndTimestamp()
1226 current_thread_name->Set(new_name); in AddTraceEventWithThreadIdAndTimestamp()