Home
last modified time | relevance | path

Searched refs:processName (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java135 return pi.applicationInfo.processName; in getProcessName()
165 String processName = getProcessName(packageName); in launchActivity() local
194 if (error.processName.equals(processName)) { in launchActivity()
208 String processName = getProcessName(packageName); in processStillUp() local
211 if (app.processName.equalsIgnoreCase(processName)) { in processStillUp()
212 Log.d(TAG, "Found process " + app.processName); in processStillUp()
216 if (relatedPackage.equalsIgnoreCase(processName)) { in processStillUp()
217 Log.d(TAG, "Found process " + app.processName); in processStillUp()
222 Log.d(TAG, "Failed to find process " + processName + " with package name " in processStillUp()
/frameworks/base/core/java/android/content/pm/
DComponentInfo.java43 public String processName; field in ComponentInfo
72 processName = orig.processName; in ComponentInfo()
145 + " processName=" + processName); in dumpFront()
164 dest.writeString(processName); in writeToParcel()
173 processName = source.readString(); in ComponentInfo()
DApplicationInfo.java58 public String processName; field in ApplicationInfo
598 pw.println(prefix + "processName=" + processName); in dump()
679 processName = orig.processName; in ApplicationInfo()
729 dest.writeString(processName); in writeToParcel()
778 processName = source.readString(); in ApplicationInfo()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java95 String processName; in testMemory() local
97 processName = startApp(app); in testMemory()
98 measureMemory(app, processName, results); in testMemory()
175 ri.activityInfo.processName); in createMappings()
210 private void measureMemory(String appName, String processName, in measureMemory() argument
217 pss = getPss(processName); in measureMemory()
220 reportError(appName, processName, results); in measureMemory()
263 private void reportError(String appName, String processName, Bundle results) { in reportError() argument
269 if (!crash.processName.equals(processName)) in reportError()
284 private int getPss(String processName) { in getPss() argument
[all …]
/frameworks/base/core/java/android/app/
DIActivityController.aidl46 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
DActivityManagerInternal.java29 String processName, String abiOverride, int uid, Runnable crashHandler); in startIsolatedProcess() argument
DApplicationErrorReport.java109 public String processName; field in ApplicationErrorReport
225 dest.writeString(processName); in writeToParcel()
249 processName = in.readString(); in readFromParcel()
598 pw.println(prefix + "processName: " + processName); in dump()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java118 public static void writeSnapshot(final String processName, final PackageInfo packageInfo) { in writeSnapshot() argument
137 writeSnapshotFile(processName, packageInfo); in writeSnapshot()
162 private static void writeSnapshotFile(String processName, PackageInfo packageInfo) { in writeSnapshotFile() argument
174 String name = processName.replaceAll(":", "."); in writeSnapshotFile()
213 private static void generateSnapshotHeader(String processName, PackageInfo packageInfo, in generateSnapshotHeader() argument
217 out.println("Process: " + processName); in generateSnapshotHeader()
/frameworks/base/services/core/java/com/android/server/am/
DAppWaitingForDebuggerDialog.java44 text.append(app.processName); in AppWaitingForDebuggerDialog()
48 text.append(app.processName); in AppWaitingForDebuggerDialog()
57 attrs.setTitle("Waiting For Debugger: " + app.info.processName); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java56 name.toString(), app.info.processName)); in StrictModeViolationDialog()
58 name = app.processName; in StrictModeViolationDialog()
78 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
DAppNotRespondingDialog.java61 name2 = app.processName; in AppNotRespondingDialog()
66 name2 = app.processName; in AppNotRespondingDialog()
69 name1 = app.processName; in AppNotRespondingDialog()
96 attrs.setTitle("Application Not Responding: " + app.info.processName); in AppNotRespondingDialog()
DAppErrorDialog.java52 name.toString(), app.info.processName)); in AppErrorDialog()
54 name = app.processName; in AppErrorDialog()
74 attrs.setTitle("Application Error: " + app.info.processName); in AppErrorDialog()
DActivityManagerService.java1397 … Slog.w(TAG, "Failed to update time zone for: " + r.info.processName); in handleMessage()
1411 Slog.w(TAG, "Failed to clear dns cache for: " + r.info.processName); in handleMessage()
1437 r.info.processName); in handleMessage()
1853 … Slog.w(TAG, "Failed to update preferences for: " + r.info.processName); in handleMessage()
2123 ProcessRecord app = newProcessRecordLocked(info, info.processName, false, 0); in setSystemProcess()
2128 mProcessNames.put(app.processName, app.uid, app); in setSystemProcess()
2491 pr.info.uid, pr.processName); in updateCpuStatsNow()
2870 final ProcessRecord getProcessRecordLocked(String processName, int uid, boolean keepIfLarge) { in getProcessRecordLocked() argument
2875 SparseArray<ProcessRecord> procs = mProcessNames.getMap().get(processName); in getProcessRecordLocked()
2882 ProcessRecord proc = mProcessNames.get(processName, uid); in getProcessRecordLocked()
[all …]
DProcessRecord.java56 final String processName; // name of the process field in ProcessRecord
384 processName = _processName; in ProcessRecord()
409 info.versionCode, processName); in makeActive()
417 info.versionCode, processName); in makeActive()
515 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill()
537 sb.append(processName); in toShortString()
607 pkg, info.uid, versionCode, processName); in addPackage()
654 info.packageName, info.uid, info.versionCode, processName); in resetPackageList()
DContentProviderRecord.java87 return (info.multiprocess || info.processName.equals(app.processName)) in canRunHere()
146 pw.print(" process="); pw.println(info.processName); in dump()
/frameworks/base/tools/preload/
DPolicy.java80 public static boolean isService(String processName) { in isService() argument
81 return SERVICES.contains(processName); in isService()
DRecord.java89 final String processName; field in Record
132 processName = decode(parts[3]).intern(); in Record()
DWritePreloadedClassFile.java133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom() argument
136 if (proc.name.equals(processName)) { in addAllClassesFrom()
DRoot.java59 if (record.processName.equals("dexopt")) { in indexClassOperation()
128 proc.setName(record.processName); in indexProcess()
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java100 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, in appCrashed() argument
107 public int appEarlyNotResponding(String processName, int pid, String annotation) in appEarlyNotResponding() argument
114 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
DAppLaunchTest.java142 err.info.processName, app.activityInfo.packageName)); in runOneActivity()
167 final String errPkg = err.info.processName; in packageMatches()
237 builder.append(String.format("Process %s encountered %s (%s)", entry.processName, in reportListContents()
290 && strEquals(info.processName, peOther.info.processName) in equals()
311 code *= hash(info.processName); in hashCode()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java227 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/
DFakeApp.java89 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java46 public MediaTestUtil(String memoryOutFileName, String testName, String processName) in MediaTestUtil() argument
50 mProcessName = processName; in MediaTestUtil()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java198 mNameToProcess.put(appName, ri.activityInfo.processName); in createMappings()
298 private void reportError(String appName, String processName) { in reportError() argument
304 if (!crash.processName.equals(processName)) in reportError()

123