Home
last modified time | relevance | path

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

123

/frameworks/base/tools/preload2/src/com/android/preload/
DClientUtils.java45 public Client findClient(IDevice device, String processName, int processPid) { in findClient() argument
46 return findClient(device, processName, processPid, defaultTimeout); in findClient()
59 public Client findClient(IDevice device, String processName, int processPid, int timeout) { in findClient() argument
60 WaitForClient wfc = new WaitForClient(device, processName, processPid, timeout); in findClient()
90 private String processName; field in ClientUtils.WaitForClient
95 public WaitForClient(IDevice device, String processName, int processPid, long timeout) { in WaitForClient() argument
97 this.processName = processName; in WaitForClient()
126 if (processName != null) { in searchForClient()
127 Client tmp = device.getClient(processName); in searchForClient()
157 if (processName != null in isTargetClient()
[all …]
/frameworks/base/core/java/android/content/pm/
DComponentInfo.java45 public String processName; field in ComponentInfo
85 processName = orig.processName; in ComponentInfo()
163 if (processName != null && !packageName.equals(processName)) { in dumpFront()
164 pw.println(prefix + "processName=" + processName); in dumpFront()
197 dest.writeString(processName); in writeToParcel()
210 processName = source.readString(); in ComponentInfo()
DApplicationInfo.java64 public String processName; field in ApplicationInfo
786 pw.println(prefix + "processName=" + processName); in dump()
895 processName = orig.processName; in ApplicationInfo()
951 dest.writeString(processName); in writeToParcel()
1007 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/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()
DCpuPowerCalculator.java79 final String processName = processStats.keyAt(i); in calculateApp() local
90 app.packageWithHighestDrain = processName; in calculateApp()
91 } else if (highestDrain < costValue && !processName.startsWith("*")) { in calculateApp()
93 app.packageWithHighestDrain = processName; in calculateApp()
DRuntimeInit.java81 final String processName = ActivityThread.currentProcessName(); in uncaughtException() local
82 if (processName != null) { in uncaughtException()
83 message.append("Process: ").append(processName).append(", "); in uncaughtException()
/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
DApplicationErrorReport.java109 public String processName; field in ApplicationErrorReport
235 dest.writeString(processName); in writeToParcel()
262 processName = in.readString(); in readFromParcel()
640 pw.println(prefix + "processName: " + processName); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java192 return mBadProcesses.get(info.processName, info.uid) != null; in isBadProcessLocked()
196 mBadProcesses.remove(info.processName, info.uid); in clearBadProcessLocked()
200 mProcessCrashTimes.remove(info.processName, info.uid); in resetProcessCrashTimeLocked()
344 mService.mBatteryStatsService.noteProcessCrash(r.processName, r.uid); in crashApplicationInner()
415 mProcessCrashTimes.put(r.info.processName, r.uid, in crashApplicationInner()
438 String name = r != null ? r.processName : null; in handleAppCrashInActivityController()
514 report.processName = app.processName; in generateProcessError()
551 report.processName = r.processName; in createAppErrorReportLocked()
579 crashTime = mProcessCrashTimes.get(app.info.processName, app.uid); in handleAppCrashLocked()
580 crashTimePersistent = mProcessCrashTimesPersistent.get(app.info.processName, app.uid); in handleAppCrashLocked()
[all …]
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()
77 getWindow().setTitle("Strict Mode Violation: " + app.info.processName); in StrictModeViolationDialog()
DAppNotRespondingDialog.java75 name2 = app.processName; in AppNotRespondingDialog()
80 name2 = app.processName; in AppNotRespondingDialog()
83 name1 = app.processName; in AppNotRespondingDialog()
98 attrs.setTitle("Application Not Responding: " + app.info.processName); in AppNotRespondingDialog()
DAppErrorDialog.java79 bidi.unicodeWrap(mProc.info.processName))); in AppErrorDialog()
81 mName = mProc.processName; in AppErrorDialog()
92 attrs.setTitle("Application Error: " + mProc.info.processName); in AppErrorDialog()
/frameworks/base/cmds/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/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/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java149 return pi.applicationInfo.processName; in getProcessName()
193 String processName = getProcessName(packageName); in launchActivity() local
213 if (error.processName.equals(processName)) { in launchActivity()
/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/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesJankPerfTest.java78 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE)
85 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE)
/frameworks/base/services/core/java/com/android/server/pm/
DProcessLoggingHandler.java52 String processName = bundle.getString("processName"); in handleMessage() local
59 SecurityLog.writeEvent(SecurityLog.TAG_APP_PROCESS_START, processName, in handleMessage()
/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()

123