/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 | 315 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()
|
D | KernelCpuThreadReaderDiff.java | 176 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()
|
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()
|
D | RuntimeInit.java | 77 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/ |
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/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 44 String8 threadName; in initialize() local 46 threadName = String8::format("Offline-%s-FrameProc", mCameraIdStr.string()); in initialize() 47 mFrameProcessor->run(threadName.string()); in initialize()
|
D | CameraDeviceClient.cpp | 115 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/ |
D | AndroidRuntime.cpp | 1304 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/ |
D | LooperStatsService.java | 111 .thenComparing(entry -> entry.threadName) in dump() 138 entry.threadName, in dump()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 114 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/ |
D | AndroidRuntime.h | 149 const char* threadName,
|
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/ |
D | OnThreadLockChecker.java | 121 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/ |
D | KeyValueBackupReporter.java | 60 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/ |
D | CarServiceHelperService.java | 903 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/ |
D | StatsPullAtomService.java | 2202 .writeString(entry.threadName) 2786 e.writeString(threadCpuUsage.threadName);
|