Home
last modified time | relevance | path

Searched refs:threadName (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java117 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();
DLooperStatsTest.java94 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()
DKernelCpuThreadReaderDiffTest.java306 .map(t -> t.threadName) in threadNames()
DKernelCpuThreadReaderTest.java155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java315 final String threadName = getThreadName(threadDirectory); in getThreadCpuUsage() local
325 return new ThreadCpuUsage(threadId, threadName, cpuUsages); in getThreadCpuUsage()
342 final String threadName = ProcStatsUtil.readNullSeparatedFile(threadNamePath.toString()); in getThreadName() local
343 if (threadName == null) { in getThreadName()
346 return threadName; in getThreadName()
541 public final String threadName; field in KernelCpuThreadReader.ThreadCpuUsage
545 public ThreadCpuUsage(int threadId, String threadName, int[] usageTimesMillis) { in ThreadCpuUsage() argument
547 this.threadName = threadName; in ThreadCpuUsage()
DKernelCpuThreadReaderDiff.java176 threadCpuUsage.threadName), in createCpuUsageMap()
201 threadCpuUsage.threadName); in changeToDiffs()
282 ThreadKey(int processId, int threadId, String processName, String threadName) { in ThreadKey() argument
287 this.mThreadNameHash = Objects.hash(threadName); in ThreadKey()
DLooperStats.java350 public final String threadName; field in LooperStats.ExportedEntry
368 this.threadName = entry.handler.getLooper().getThread().getName(); in ExportedEntry()
372 this.threadName = ""; in ExportedEntry()
DTransferPipe.java71 protected TransferPipe(String bufferPrefix, String threadName) throws IOException { in TransferPipe() argument
72 mThread = new Thread(this, threadName); in TransferPipe()
DRuntimeInit.java77 public static void logUncaught(String threadName, String processName, int pid, Throwable e) { in logUncaught() argument
82 message.append("FATAL EXCEPTION: ").append(threadName).append("\n"); in logUncaught()
/frameworks/base/services/core/java/com/android/server/pm/
DAbstractStatsBase.java50 protected AbstractStatsBase(String fileName, String threadName, boolean lock) { in AbstractStatsBase() argument
52 mBackgroundThreadName = threadName; in AbstractStatsBase()
/frameworks/layoutlib/bridge/src/android/animation/
DAnimationThread.java72 public AnimationThread(RenderSessionImpl scene, String threadName, in AnimationThread() argument
74 super(threadName); in AnimationThread()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp44 String8 threadName; in initialize() local
46 threadName = String8::format("Offline-%s-FrameProc", mCameraIdStr.string()); in initialize()
47 mFrameProcessor->run(threadName.string()); in initialize()
DCameraDeviceClient.cpp115 String8 threadName; in initializeImpl() local
117 threadName = String8::format("CDU-%s-FrameProc", mCameraIdStr.string()); in initializeImpl()
118 mFrameProcessor->run(threadName.string()); in initializeImpl()
/frameworks/base/core/jni/
DAndroidRuntime.cpp1304 static int javaAttachThread(const char* threadName, JNIEnv** pEnv) in javaAttachThread() argument
1314 args.name = (char*) threadName; in javaAttachThread()
1319 ALOGI("NOTE: attach of thread '%s' failed\n", threadName); in javaAttachThread()
1378 const char* threadName, in javaCreateThreadEtc() argument
1386 LOG_ALWAYS_FATAL_IF(threadName == nullptr, "threadName not provided to javaCreateThreadEtc"); in javaCreateThreadEtc()
1390 args[2] = (void*) strdup(threadName); // javaThreadShell must free in javaCreateThreadEtc()
1393 threadName, threadPriority, threadStackSize, threadId); in javaCreateThreadEtc()
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java111 .thenComparing(entry -> entry.threadName) in dump()
138 entry.threadName, in dump()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp114 String8 threadName; in initializeImpl() local
117 threadName = String8::format("C2-%d-StreamProc", in initializeImpl()
121 threadName = String8::format("C2-%d-FrameProc", in initializeImpl()
123 mFrameProcessor->run(threadName.string()); in initializeImpl()
126 threadName = String8::format("C2-%d-CaptureSeq", in initializeImpl()
128 mCaptureSequencer->run(threadName.string()); in initializeImpl()
131 threadName = String8::format("C2-%d-JpegProc", in initializeImpl()
133 mJpegProcessor->run(threadName.string()); in initializeImpl()
137 threadName = String8::format("C2-%d-ZslProc", in initializeImpl()
139 mZslProcessor->run(threadName.string()); in initializeImpl()
[all …]
/frameworks/base/core/jni/include/android_runtime/
DAndroidRuntime.h149 const char* threadName,
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java121 OrderData(int tid, String threadName, AnnotatedStackTraceElement[] stack) { in OrderData() argument
123 this.mThreadName = threadName; in OrderData()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupReporter.java60 static void onNewThread(String threadName) { in onNewThread() argument
62 Slog.d(TAG, "Spinning thread " + threadName); in onNewThread()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java903 String threadName = TAG + ".AsyncTask"; in runAsync() local
904 Slog.i(TAG, "Starting thread " + threadName); in runAsync()
908 Slog.i(TAG, "Finishing thread " + threadName); in runAsync()
913 }, threadName).start(); in runAsync()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2202 .writeString(entry.threadName)
2786 e.writeString(threadCpuUsage.threadName);