/frameworks/av/media/libnblog/ |
D | Writer.cpp | 46 char procName[16]; in Writer() local 47 int status = prctl(PR_GET_NAME, procName); in Writer() 49 procName[0] = '\0'; in Writer() 51 size_t length = strlen(procName); in Writer() 55 memcpy(mPidTag + sizeof(pid_t), procName, length); in Writer()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PhantomProcessList.java | 225 String procName = ProcStatsUtil.readTerminatedProcFile( in getProcessName() local 227 if (procName == null) { in getProcessName() 230 int l = procName.lastIndexOf('/'); in getProcessName() 231 if (l > 0 && l < procName.length() - 1) { in getProcessName() 232 procName = procName.substring(l + 1); in getProcessName() 234 return procName; in getProcessName() 267 String procName = mInjector.getProcessName(pid); in addChildPidLocked() local 268 if (procName == null || uid < 0) { in addChildPidLocked() 272 getOrCreatePhantomProcessIfNeededLocked(procName, uid, pid, true); in addChildPidLocked()
|
D | LmkdStatsReporter.java | 71 final String procName = inputData.readUTF(); in logKillOccurred() local 72 FrameworkStatsLog.write(FrameworkStatsLog.LMK_KILL_OCCURRED, uid, procName, oomScore, in logKillOccurred()
|
D | AppProfiler.java | 1112 final String procName; in handlePostDumpHeapNotification() local 1119 procName = mMemWatchDumpProcName; in handlePostDumpHeapNotification() 1120 Pair<Long, String> val = mMemWatchProcesses.get(procName, uid); in handlePostDumpHeapNotification() 1122 val = mMemWatchProcesses.get(procName, 0); in handlePostDumpHeapNotification() 1138 if (procName == null) { in handlePostDumpHeapNotification() 1143 Slog.d(TAG_PSS, "Showing dump heap notification from " + procName + "/" + uid); in handlePostDumpHeapNotification() 1153 dumpFinishedIntent.putExtra(EXTRA_HEAP_DUMP_PROCESS_NAME, procName); in handlePostDumpHeapNotification() 1175 private void abortHeapDump(String procName) { in abortHeapDump() argument 1177 msg.obj = procName; in abortHeapDump() 1181 void handleAbortDumpHeap(String procName) { in handleAbortDumpHeap() argument [all …]
|
D | ActiveServices.java | 5797 final String procName = r.processName; in bringUpServiceInnerLocked() local 5805 app = mAm.getProcessRecordLocked(procName, r.appInfo.uid); in bringUpServiceInnerLocked() 5837 app = mAm.mProcessList.getSharedIsolatedProcess(procName, r.appInfo.uid, in bringUpServiceInnerLocked() 5893 app = mAm.startSdkSandboxProcessLocked(procName, r.appInfo, true, intentFlags, in bringUpServiceInnerLocked() 5897 app = mAm.startProcessLocked(procName, r.appInfo, true, intentFlags, in bringUpServiceInnerLocked()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpReceiver.java | 134 final String procName = intent.getStringExtra(EXTRA_PROCESS_NAME); in showDumpNotification() local 141 if (procName == null) { in showDumpNotification() 157 : procName; in showDumpNotification() 162 shareIntent.putExtra(EXTRA_PROCESS_NAME, procName); in showDumpNotification()
|
D | HeapDumpProvider.java | 94 static Uri makeUri(@NonNull String procName) { in makeUri() argument 95 return Uri.parse("content://com.android.shell.heapdump/" + procName + FILENAME_SUFFIX); in makeUri()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1151 final String procName = readCommonString(in, version); in readFromParcel() local 1152 if (procName == null) { in readFromParcel() 1174 ProcessState proc = hadData ? mProcesses.get(procName, uid) : null; in readFromParcel() 1180 proc = new ProcessState(this, pkgName, uid, vers, procName); in readFromParcel() 1185 if (DEBUG_PARCEL) Slog.d(TAG, "Adding process: " + procName + " " + uid in readFromParcel() 1187 mProcesses.put(procName, uid, proc); in readFromParcel() 1254 String procName = readCommonString(in, version); in readFromParcel() local 1255 if (procName == null) { in readFromParcel() 1261 + " process " + procName + " hasProc=" + hasProc); in readFromParcel() 1262 ProcessState commonProc = mProcesses.get(procName, uid); in readFromParcel() [all …]
|
D | ProcessState.java | 1348 public void dumpProcCheckin(PrintWriter pw, String procName, int uid, long now) { in dumpProcCheckin() argument 1351 pw.print(procName); in dumpProcCheckin() 1359 pw.print(procName); in dumpProcCheckin() 1367 pw.print(procName); in dumpProcCheckin() 1378 pw.print(procName); in dumpProcCheckin() 1462 String procName, int uid, long now) { in dumpDebug() argument 1464 proto.write(ProcessStatsProto.PROCESS, procName); in dumpDebug() 1544 final String procName, final String packageName, final boolean sharedUid) { in writeCompressedProcessName() argument 1547 proto.write(fieldId, procName); in writeCompressedProcessName() 1550 if (TextUtils.equals(procName, packageName)) { in writeCompressedProcessName() [all …]
|
D | AssociationState.java | 784 public boolean hasProcessOrPackage(String procName) { in hasProcessOrPackage() argument 785 if (mProcessName.equals(procName)) { in hasProcessOrPackage() 791 if (procName.equals(key.mProcess) || procName.equals(key.mPackage)) { in hasProcessOrPackage()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 525 WindowProcessController addProcess(String pkgName, String procName, int pid, int uid) { 526 return addProcess(mAtmService, pkgName, procName, pid, uid); 530 String procName, int pid, int uid) { 534 return addProcess(atmService, info, procName, pid); 538 ApplicationInfo info, String procName, int pid) { 543 info, procName, uid, UserHandle.getUserId(uid), mockListener, mockListener); 545 atmService.mProcessNames.put(procName, uid, proc);
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 16875 String procName = in.readString(); 16876 Uid.Proc p = u.getProcessStatsLocked(procName);
|