/frameworks/av/media/libmediaplayer2/ |
D | JavaVMHelper.cpp | 37 static int javaAttachThread(const char* threadName, JNIEnv** pEnv) { in javaAttachThread() argument 48 args.name = (char*) threadName; in javaAttachThread() 53 ALOGI("NOTE: attach of thread '%s' failed\n", threadName); in javaAttachThread() 116 const char* threadName, in javaCreateThreadEtc() argument 123 LOG_ALWAYS_FATAL_IF(threadName == nullptr, "threadName not provided to javaCreateThreadEtc"); in javaCreateThreadEtc() 127 args[2] = (void*) strdup(threadName); // javaThreadShell must free in javaCreateThreadEtc() 130 threadName, threadPriority, threadStackSize, threadId); in javaCreateThreadEtc()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderEndToEndTest.java | 117 final String threadName = String.format("%s%d", tag, i); in getAverageWorkTime() local 119 assertTrue("Max name length for linux threads is 15", threadName.length() <= 15); in getAverageWorkTime() 120 doWork(work, threadName, workFinishedLatch, threadFinishedLatch); in getAverageWorkTime() 143 .filter((thread) -> thread.threadName.startsWith(tag)) in getAverageWorkTime() 204 String threadName, 220 new Thread(workWrapped, threadName).start();
|
D | LooperStatsTest.java | 94 assertThat(entry.threadName).isEqualTo("TestThread1"); in testSingleMessageDispatched() 126 assertThat(entry.threadName).isEqualTo("TestThread1"); in testThrewException() 202 assertThat(entry1.threadName).isEqualTo("TestThread1"); in testMultipleMessagesDispatched() 216 assertThat(entry2.threadName).isEqualTo("TestThread1"); in testMultipleMessagesDispatched() 231 assertThat(entry3.threadName).isEqualTo("TestThread2"); in testMultipleMessagesDispatched() 387 assertThat(entry1.threadName).isEqualTo(""); in testMessagesOverSizeCap() 399 assertThat(entry2.threadName).isEqualTo("TestThread1"); in testMessagesOverSizeCap()
|
D | KernelCpuThreadReaderDiffTest.java | 306 .map(t -> t.threadName) in threadNames()
|
D | KernelCpuThreadReaderTest.java | 155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 314 final String threadName = getThreadName(threadDirectory); in getThreadCpuUsage() local 324 return new ThreadCpuUsage(threadId, threadName, cpuUsages); in getThreadCpuUsage() 341 final String threadName = ProcStatsUtil.readNullSeparatedFile(threadNamePath.toString()); in getThreadName() local 342 if (threadName == null) { in getThreadName() 345 return threadName; in getThreadName() 540 public final String threadName; field in KernelCpuThreadReader.ThreadCpuUsage 544 public ThreadCpuUsage(int threadId, String threadName, int[] usageTimesMillis) { in ThreadCpuUsage() argument 546 this.threadName = threadName; in ThreadCpuUsage()
|
D | KernelCpuThreadReaderDiff.java | 174 threadCpuUsage.threadName), in createCpuUsageMap() 199 threadCpuUsage.threadName); in changeToDiffs() 280 ThreadKey(int processId, int threadId, String processName, String threadName) { in ThreadKey() argument 285 this.mThreadNameHash = Objects.hash(threadName); in ThreadKey()
|
D | LooperStats.java | 350 public final String threadName; field in LooperStats.ExportedEntry 368 this.threadName = entry.handler.getLooper().getThread().getName(); in ExportedEntry() 372 this.threadName = ""; in ExportedEntry()
|
D | TransferPipe.java | 71 protected TransferPipe(String bufferPrefix, String threadName) throws IOException { in TransferPipe() argument 72 mThread = new Thread(this, threadName); in TransferPipe()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.cpp | 152 InterceptVSyncsCallback interceptVSyncsCallback, const char* threadName) in EventThread() argument 153 : EventThread(nullptr, std::move(src), std::move(interceptVSyncsCallback), threadName) {} in EventThread() 156 const char* threadName) in EventThread() argument 157 : EventThread(src, nullptr, std::move(interceptVSyncsCallback), threadName) {} in EventThread() 160 InterceptVSyncsCallback interceptVSyncsCallback, const char* threadName) in EventThread() argument 164 mThreadName(threadName) { in EventThread() 175 pthread_setname_np(mThread.native_handle(), threadName); in EventThread()
|
D | EventThread.h | 127 EventThread(VSyncSource*, InterceptVSyncsCallback, const char* threadName); 128 EventThread(std::unique_ptr<VSyncSource>, InterceptVSyncsCallback, const char* threadName); 158 InterceptVSyncsCallback interceptVSyncsCallback, const char* threadName);
|
/frameworks/opt/gamesdk/src/swappy/ |
D | ChoreographerFilter.cpp | 175 std::string threadName = "Filter"; in threadMain() local 176 threadName += swappy::to_string(thread); in threadMain() 177 pthread_setname_np(pthread_self(), threadName.c_str()); in threadMain()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AbstractStatsBase.java | 50 protected AbstractStatsBase(String fileName, String threadName, boolean lock) { in AbstractStatsBase() argument 52 mBackgroundThreadName = threadName; in AbstractStatsBase()
|
/frameworks/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 72 public AnimationThread(RenderSessionImpl scene, String threadName, in AnimationThread() argument 74 super(threadName); in AnimationThread()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LooperStatsService.java | 111 .thenComparing(entry -> entry.threadName) in dump() 138 entry.threadName, in dump()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 113 String8 threadName; in initializeImpl() local 116 threadName = String8::format("C2-%d-StreamProc", in initializeImpl() 120 threadName = String8::format("C2-%d-FrameProc", in initializeImpl() 122 mFrameProcessor->run(threadName.string()); in initializeImpl() 125 threadName = String8::format("C2-%d-CaptureSeq", in initializeImpl() 127 mCaptureSequencer->run(threadName.string()); in initializeImpl() 130 threadName = String8::format("C2-%d-JpegProc", in initializeImpl() 132 mJpegProcessor->run(threadName.string()); in initializeImpl() 136 threadName = String8::format("C2-%d-ZslProc", in initializeImpl() 138 mZslProcessor->run(threadName.string()); in initializeImpl() [all …]
|
/frameworks/base/core/jni/ |
D | AndroidRuntime.cpp | 1276 static int javaAttachThread(const char* threadName, JNIEnv** pEnv) in javaAttachThread() argument 1286 args.name = (char*) threadName; in javaAttachThread() 1291 ALOGI("NOTE: attach of thread '%s' failed\n", threadName); in javaAttachThread() 1350 const char* threadName, in javaCreateThreadEtc() argument 1358 LOG_ALWAYS_FATAL_IF(threadName == nullptr, "threadName not provided to javaCreateThreadEtc"); in javaCreateThreadEtc() 1362 args[2] = (void*) strdup(threadName); // javaThreadShell must free in javaCreateThreadEtc() 1365 threadName, threadPriority, threadStackSize, threadId); in javaCreateThreadEtc()
|
/frameworks/base/core/jni/include/android_runtime/ |
D | AndroidRuntime.h | 150 const char* threadName,
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupReporter.java | 60 static void onNewThread(String threadName) { in onNewThread() argument 62 Slog.d(TAG, "Spinning thread " + threadName); in onNewThread()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 112 String8 threadName; in initializeImpl() local 114 threadName = String8::format("CDU-%s-FrameProc", mCameraIdStr.string()); in initializeImpl() 115 mFrameProcessor->run(threadName.string()); in initializeImpl()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 1355 e.writeString(entry.threadName); in pullLooperStats() 1861 e.writeString(threadCpuUsage.threadName); in pullCpuTimePerThreadFreq()
|