Home
last modified time | relevance | path

Searched refs:procName (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessList.java225 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()
DLmkdStatsReporter.java70 final String procName = inputData.readUTF(); in logKillOccurred() local
71 FrameworkStatsLog.write(FrameworkStatsLog.LMK_KILL_OCCURRED, uid, procName, oomScore, in logKillOccurred()
DAppProfiler.java703 final String procName; in handlePostDumpHeapNotification() local
710 procName = mMemWatchDumpProcName; in handlePostDumpHeapNotification()
711 Pair<Long, String> val = mMemWatchProcesses.get(procName, uid); in handlePostDumpHeapNotification()
713 val = mMemWatchProcesses.get(procName, 0); in handlePostDumpHeapNotification()
729 if (procName == null) { in handlePostDumpHeapNotification()
734 Slog.d(TAG_PSS, "Showing dump heap notification from " + procName + "/" + uid); in handlePostDumpHeapNotification()
744 dumpFinishedIntent.putExtra(EXTRA_HEAP_DUMP_PROCESS_NAME, procName); in handlePostDumpHeapNotification()
766 private void abortHeapDump(String procName) { in abortHeapDump() argument
768 msg.obj = procName; in abortHeapDump()
772 void handleAbortDumpHeap(String procName) { in handleAbortDumpHeap() argument
[all …]
DActiveServices.java4224 final String procName = r.processName; in bringUpServiceLocked() local
4232 app = mAm.getProcessRecordLocked(procName, r.appInfo.uid); in bringUpServiceLocked()
4282 app = mAm.startSdkSandboxProcessLocked(procName, r.appInfo, true, intentFlags, in bringUpServiceLocked()
4286 app = mAm.startProcessLocked(procName, r.appInfo, true, intentFlags, in bringUpServiceLocked()
/frameworks/av/media/libnblog/
DWriter.cpp46 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/packages/Shell/src/com/android/shell/
DHeapDumpReceiver.java134 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()
DHeapDumpProvider.java94 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/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java436 WindowProcessController addProcess(String pkgName, String procName, int pid, int uid) {
437 return addProcess(mAtmService, pkgName, procName, pid, uid);
441 String procName, int pid, int uid) {
445 return addProcess(atmService, info, procName, pid);
449 ApplicationInfo info, String procName, int pid) {
454 info, procName, uid, UserHandle.getUserId(uid), mockListener, mockListener);
456 atmService.mProcessNames.put(procName, uid, proc);
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java1151 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 …]
DProcessState.java1327 public void dumpProcCheckin(PrintWriter pw, String procName, int uid, long now) { in dumpProcCheckin() argument
1330 pw.print(procName); in dumpProcCheckin()
1338 pw.print(procName); in dumpProcCheckin()
1346 pw.print(procName); in dumpProcCheckin()
1357 pw.print(procName); in dumpProcCheckin()
1441 String procName, int uid, long now) { in dumpDebug() argument
1443 proto.write(ProcessStatsProto.PROCESS, procName); in dumpDebug()
1523 final String procName, final String packageName, final boolean sharedUid) { in writeCompressedProcessName() argument
1526 proto.write(fieldId, procName); in writeCompressedProcessName()
1529 if (TextUtils.equals(procName, packageName)) { in writeCompressedProcessName()
[all …]
DAssociationState.java783 public boolean hasProcessOrPackage(String procName) { in hasProcessOrPackage() argument
784 if (mProcessName.equals(procName)) { in hasProcessOrPackage()
790 if (procName.equals(key.mProcess) || procName.equals(key.mPackage)) { in hasProcessOrPackage()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java17709 String procName = in.readString();
17710 Uid.Proc p = u.getProcessStatsLocked(procName);