/frameworks/base/tests/NativeProcessesMemoryTest/src/com/android/tests/nativeprocesses/ |
D | NativeProcessesMemoryTest.java | 105 String processName = entry.getKey(); in sampleAndLogAllProcesses() local 106 if (PROCESSES_TO_IGNORE.contains(processName)) { in sampleAndLogAllProcesses() 113 Optional<MemoryMetric> mem = snapMemoryUsage(processName, pid); in sampleAndLogAllProcesses() 126 logMemoryMetric(processName, combined); in sampleAndLogAllProcesses() 156 String processName = splits[2]; in collectNativeProcesses() local 158 if (nativeProcesses.containsKey(processName)) { in collectNativeProcesses() 159 nativeProcesses.get(processName).add(pid); in collectNativeProcesses() 161 nativeProcesses.put(processName, new ArrayList<>(Arrays.asList(pid))); in collectNativeProcesses() 179 private Optional<MemoryMetric> snapMemoryUsage(String processName, String pid) in snapMemoryUsage() argument 183 logShowmap(processName + "_" + pid, showmap); in snapMemoryUsage() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ProcessMemoryState.java | 29 public final String processName; field in ProcessMemoryState 32 public ProcessMemoryState(int uid, int pid, String processName, int oomScore) { in ProcessMemoryState() argument 35 this.processName = processName; in ProcessMemoryState() 42 processName = in.readString(); in ProcessMemoryState() 67 parcel.writeString(processName); in writeToParcel()
|
D | IActivityController.aidl | 46 boolean appCrashed(String processName, int pid, in appCrashed() argument 53 int appEarlyNotResponding(String processName, int pid, String annotation); in appEarlyNotResponding() argument 60 int appNotResponding(String processName, int pid, String processStats); in appNotResponding() argument
|
/frameworks/base/core/java/android/content/pm/ |
D | ComponentInfo.java | 46 public String processName; field in ComponentInfo 92 processName = orig.processName; in ComponentInfo() 173 if (processName != null && !packageName.equals(processName)) { in dumpFront() 174 pw.println(prefix + "processName=" + processName); in dumpFront() 210 dest.writeString(processName); in writeToParcel() 224 processName = source.readString(); in ComponentInfo()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 98 String processName; in testMemory() local 100 processName = startApp(app); in testMemory() 101 measureMemory(app, processName, results); in testMemory() 178 ri.activityInfo.processName); in createMappings() 213 private void measureMemory(String appName, String processName, in measureMemory() argument 220 pss = getPss(processName); in measureMemory() 223 reportError(appName, processName, results); in measureMemory() 266 private void reportError(String appName, String processName, Bundle results) { in reportError() argument 272 if (!crash.processName.equals(processName)) in reportError() 287 private int getPss(String processName) { in getPss() argument [all …]
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 210 private void checkDropbox(long startTime, String processName) { in checkDropbox() argument 221 if (content.contains(processName)) { in checkDropbox() 222 addProcessError(processName, "dropbox:" + tag, content); in checkDropbox() 281 private void addProcessError(String processName, String errorType, String errorInfo) { in addProcessError() argument 283 String pkgName = processName.split(":", 2)[0]; in addProcessError() 331 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, in appCrashed() argument 333 Log.d(TAG, "app crash: " + processName); in appCrashed() 334 addProcessError(processName, "crash", stackTrace); in appCrashed() 340 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding() argument 347 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppWaitingForDebuggerDialog.java | 44 text.append(app.processName); in AppWaitingForDebuggerDialog() 48 text.append(app.processName); in AppWaitingForDebuggerDialog() 57 attrs.setTitle("Waiting For Debugger: " + app.info.processName); in AppWaitingForDebuggerDialog()
|
D | ProcessList.java | 519 IsolatedUidRange getIsolatedUidRangeLocked(String processName, int uid) { in getIsolatedUidRangeLocked() argument 520 return mAppRanges.get(processName, uid); in getIsolatedUidRangeLocked() 524 IsolatedUidRange getOrCreateIsolatedUidRangeLocked(String processName, int uid) { in getOrCreateIsolatedUidRangeLocked() argument 525 IsolatedUidRange range = getIsolatedUidRangeLocked(processName, uid); in getOrCreateIsolatedUidRangeLocked() 535 mAppRanges.put(processName, uid, range); in getOrCreateIsolatedUidRangeLocked() 543 IsolatedUidRange range = mAppRanges.get(info.processName, info.uid); in freeUidRangeLocked() 550 mAppRanges.remove(info.processName, info.uid); in freeUidRangeLocked() 1413 final ProcessRecord getProcessRecordLocked(String processName, int uid, boolean 1419 SparseArray<ProcessRecord> procs = mProcessNames.getMap().get(processName); 1431 ProcessRecord proc = mProcessNames.get(processName, uid); [all …]
|
D | AppErrors.java | 265 return mBadProcesses.get(info.processName, info.uid) != null; in isBadProcessLocked() 269 mBadProcesses.remove(info.processName, info.uid); in clearBadProcessLocked() 273 mProcessCrashTimes.remove(info.processName, info.uid); in resetProcessCrashTimeLocked() 480 mService.mBatteryStatsService.noteProcessCrash(r.processName, r.uid); in crashApplicationInner() 549 mProcessCrashTimes.put(r.info.processName, r.uid, in crashApplicationInner() 568 String name = r != null ? r.processName : null; in handleAppCrashInActivityController() 622 report.processName = app.processName; 659 report.processName = r.processName; 692 crashTime = mProcessCrashTimes.get(app.info.processName, app.uid); 693 crashTimePersistent = mProcessCrashTimesPersistent.get(app.info.processName, app.uid); [all …]
|
D | StrictModeViolationDialog.java | 56 name.toString(), app.info.processName)); in StrictModeViolationDialog() 58 name = app.processName; in StrictModeViolationDialog() 77 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
|
D | ContentProviderConnection.java | 64 || !provider.info.processName.equals(client.processName))) { in startAssociationIfNeeded() 75 provider.name.getClassName()).startSource(client.uid, client.processName, in startAssociationIfNeeded()
|
D | ProcessRecord.java | 87 final String processName; // name of the process field in ProcessRecord 585 processName = _processName; in ProcessRecord() 593 mService.mActivityTaskManager, info, processName, uid, userId, this, this); in ProcessRecord() 613 uid, processName, pkgList.keyAt(ipkg), in makeActive() 620 info.longVersionCode, processName); in makeActive() 628 info.longVersionCode, processName); in makeActive() 648 uid, processName, pkgList.keyAt(ipkg), in makeInactive() 771 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill() 793 proto.write(ProcessRecordProto.PROCESS_NAME, processName); in writeToProto() 821 sb.append(processName); in toShortString() [all …]
|
D | AppNotRespondingDialog.java | 72 name2 = mProc.processName; in AppNotRespondingDialog() 77 name2 = mProc.processName; in AppNotRespondingDialog() 80 name1 = mProc.processName; in AppNotRespondingDialog() 95 attrs.setTitle("Application Not Responding: " + mProc.info.processName); in AppNotRespondingDialog()
|
D | AppBindRecord.java | 62 + " " + service.shortInstanceName + ":" + client.processName + "}"; in toString() 68 proto.write(AppBindRecordProto.CLIENT_PROC_NAME, client.processName); in writeToProto()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 88 final String processName = processStats.keyAt(i); in calculateApp() local 99 app.packageWithHighestDrain = processName; in calculateApp() 100 } else if (highestDrain < costValue && !processName.startsWith("*")) { in calculateApp() 102 app.packageWithHighestDrain = processName; in calculateApp()
|
D | KernelCpuThreadReader.java | 331 final String processName = ProcStatsUtil.readSingleLineProcFile(processNamePath.toString()); in getProcessName() local 332 if (processName != null) { in getProcessName() 333 return processName; in getProcessName() 520 public final String processName; field in KernelCpuThreadReader.ProcessCpuUsage 527 String processName, in ProcessCpuUsage() argument 531 this.processName = processName; in ProcessCpuUsage()
|
D | KernelCpuThreadReaderDiff.java | 173 processCpuUsage.processName, in createCpuUsageMap() 198 processCpuUsage.processName, in changeToDiffs() 280 ThreadKey(int processId, int threadId, String processName, String threadName) { in ThreadKey() argument 284 this.mProcessNameHash = Objects.hash(processName); in ThreadKey()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | UiAutomationShellWrapper.java | 99 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, in appCrashed() argument 106 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding() argument 113 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
|
/frameworks/base/tools/preload/ |
D | Policy.java | 80 public static boolean isService(String processName) { in isService() argument 81 return SERVICES.contains(processName); in isService()
|
D | Record.java | 89 final String processName; field in Record 132 processName = decode(parts[3]).intern(); in Record()
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 227 final String errPkg = err.info.processName; in packageMatches() 304 builder.append(String.format("Process %s encountered %s (%s)", entry.processName, in reportListContents() 357 && strEquals(info.processName, peOther.info.processName) in equals() 378 code *= hash(info.processName); in hashCode()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeApp.java | 89 String processName = ActivityThread.currentProcessName(); in onCreate() local 90 Slog.i("FakeOEMFeatures", "Creating app in process: " + processName); in onCreate() 91 if (!getApplicationInfo().packageName.equals(processName)) { in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 323 appInfo.processName = "com.android.test.app"; in testIsolatedUidRangeAllocator() 326 appInfo.processName, appInfo.uid); in testIsolatedUidRangeAllocator() 332 appInfo2.processName = "com.android.test.app2"; in testIsolatedUidRangeAllocator() 335 appInfo2.processName, appInfo2.uid); in testIsolatedUidRangeAllocator() 344 range2 = allocator.getOrCreateIsolatedUidRangeLocked(appInfo2.processName, appInfo2.uid); in testIsolatedUidRangeAllocator() 355 appInfo3.processName = "com.android.test.app"; in testIsolatedUidRangeAllocator() 358 appInfo3.processName, appInfo3.uid); in testIsolatedUidRangeAllocator() 369 appInfo.processName = "com.android.test.app" + Integer.toString(i); in testIsolatedUidRangeAllocator() 371 appInfo.processName, appInfo.uid); in testIsolatedUidRangeAllocator() 379 appInfo.processName = "com.android.test.app.failed"; in testIsolatedUidRangeAllocator() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderTest.java | 105 private void setupDirectory(Path processPath, int[] threadIds, String processName, in setupDirectory() argument 115 Files.write(processPath.resolve("cmdline"), processName.getBytes()); in setupDirectory() 139 int[] readerCpuFrequencies, int uid, int processId, int[] threadIds, String processName, in checkResults() argument 144 assertEquals(processName, processCpuUsage.processName); in checkResults()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIApplication.java | 123 String processName = ActivityThread.currentProcessName(); in onCreate() local 125 if (processName != null && processName.startsWith(info.processName + ":")) { in onCreate()
|