Home
last modified time | relevance | path

Searched refs:stackTrace (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/os/strictmode/
DViolation.java51 public void setStackTrace(StackTraceElement[] stackTrace) { in setStackTrace() argument
52 super.setStackTrace(stackTrace); in setStackTrace()
64 private static int calcStackTraceHashCode(final StackTraceElement[] stackTrace) { in calcStackTraceHashCode() argument
66 if (stackTrace != null) { in calcStackTraceHashCode()
67 for (int i = 0; i < stackTrace.length; i++) { in calcStackTraceHashCode()
68 if (stackTrace[i] != null) { in calcStackTraceHashCode()
69 hashCode = hashCode * 37 + stackTrace[i].hashCode(); in calcStackTraceHashCode()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java259 StackTraceElement stackTrace[] = Thread.currentThread().getStackTrace(); in getCaller() local
260 if (stackTrace.length < MIN_STACK_TRACE_LENGTH) { in getCaller()
264 StackTraceElement caller = stackTrace[METHOD_TO_TRACE_LOCATION]; in getCaller()
265 StackTraceElement previousCaller = stackTrace[CALLER_LOCATION]; in getCaller()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java334 public String stackTrace; field in ApplicationErrorReport.CrashInfo
356 stackTrace = sanitizeString(sw.toString()); in CrashInfo()
391 stackTrace = sanitizeString(stackTrace + tr); in appendStackTrace()
425 stackTrace = in.readString(); in CrashInfo()
440 dest.writeString(stackTrace); in writeToParcel()
449 Slog.d("Error", "ERR: stack=" + stackTrace); in writeToParcel()
464 pw.println(prefix + "stackTrace: " + stackTrace); in dump()
DIActivityController.aidl48 long timeMillis, String stackTrace); in appCrashed() argument
DActivityManager.java3083 public String stackTrace;
3107 dest.writeString(stackTrace);
3118 stackTrace = source.readString();
DAppOpsManager.java262 String stackTrace = getFormattedStackTrace();
266 packageName == null ? "" : packageName, op, stackTrace);
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java430 String stackTrace = crashInfo.stackTrace; in crashApplicationInner() local
459 if (handleAppCrashInActivityController(r, crashInfo, shortMsg, longMsg, stackTrace, in crashApplicationInner()
489 if (r == null || !makeAppCrashingLocked(r, shortMsg, longMsg, stackTrace, data)) { in crashApplicationInner()
568 String stackTrace, long timeMillis, in handleAppCrashInActivityController() argument
575 name, pid, shortMsg, longMsg, timeMillis, crashInfo.stackTrace, () -> { in handleAppCrashInActivityController()
583 if (!makeAppCrashingLocked(r, shortMsg, longMsg, stackTrace, null)) { in handleAppCrashInActivityController()
600 String shortMsg, String longMsg, String stackTrace, AppErrorDialog.Data data) {
603 ActivityManager.ProcessErrorStateInfo.CRASHED, null, shortMsg, longMsg, stackTrace);
606 return handleAppCrashLocked(app, "force-crash" /*reason*/, shortMsg, longMsg, stackTrace,
624 int condition, String activity, String shortMsg, String longMsg, String stackTrace) {
[all …]
DNativeCrashListener.java81 ci.stackTrace = mCrashReport; in run()
DActivityManagerShellCommand.java1213 long timeMillis, String stackTrace) {
1222 mPw.print(stackTrace);
DActivityManagerService.java10272 if (crashInfo != null && crashInfo.stackTrace != null) { in addErrorToDropBox()
10273 sb.append(crashInfo.stackTrace); in addErrorToDropBox()
/frameworks/base/services/core/java/com/android/server/
DWatchdogDiagnostics.java82 StackTraceElement[] stackTrace = blockedThread.getStackTrace(); in diagnoseCheckers() local
83 for (StackTraceElement element : stackTrace) { in diagnoseCheckers()
DLockGuard.java171 final Throwable stackTrace = new RuntimeException(message); in doLog() local
172 new Thread(() -> Slog.wtf(TAG, stackTrace)).start(); in doLog()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java307 builder.append(String.format(" with stack trace:\n%s\n", entry.stackTrace)); in reportListContents()
359 && strEquals(info.stackTrace, peOther.info.stackTrace) in equals()
380 code *= hash(info.stackTrace); in hashCode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLogcatLog.java255 StackTraceElement[] stackTrace = (new Throwable()).getStackTrace(); in getNameOfCallingMethod() local
257 return stackTrace[frameNumOfInterest].getMethodName(); in getNameOfCallingMethod()
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java243 private static String getAnnotatedStackString(AnnotatedStackTraceElement[] stackTrace, in getAnnotatedStackString() argument
246 for (int i = skip; i < stackTrace.length; i++) { in getAnnotatedStackString()
247 AnnotatedStackTraceElement element = stackTrace[i]; in getAnnotatedStackString()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationErrorReportTest.java40 crashInfo.stackTrace.length() < 50000); in testHugeStacktraceLeadsToReasonableReport()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java100 long timeMillis, String stackTrace) throws RemoteException { in appCrashed() argument
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java332 long timeMillis, String stackTrace) throws RemoteException { in appCrashed() argument
334 addProcessError(processName, "crash", stackTrace); in appCrashed()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl113 … void collectNoteOpCallsForValidation(String stackTrace, int op, String packageName, long version); in collectNoteOpCallsForValidation() argument
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java572 String stackTrace = p.readInt() > 0 ? p.readString() : "\t<stack trace unavailable>"; in unparcelException() local
573 msg += "\n" + stackTrace; in unparcelException()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java518 String shortMsg, String longMsg, long timeMillis, String stackTrace, in handleAppCrashInActivityController() argument
DActivityTaskManagerService.java7315 String shortMsg, String longMsg, long timeMillis, String stackTrace, in handleAppCrashInActivityController() argument
7324 stackTrace)) { in handleAppCrashInActivityController()
/frameworks/base/core/java/android/net/
DConnectivityManager.java4737 final String stackTrace = callStack[i].toString(); in printStackTrace() local
4738 if (stackTrace == null || stackTrace.contains("android.os")) { in printStackTrace()
4741 sb.append(" [").append(stackTrace).append("]"); in printStackTrace()
/frameworks/base/core/java/android/os/
DParcel.java2218 StackTraceElement[] stackTrace = e.getStackTrace(); in writeStackTrace() local
2219 final int truncatedSize = Math.min(stackTrace.length, 5); in writeStackTrace()
2222 sb.append("\tat ").append(stackTrace[i]).append('\n'); in writeStackTrace()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java6376 NoteOpTrace(String stackTrace, int op, String packageName, long version) { in NoteOpTrace() argument
6377 mStackTrace = stackTrace; in NoteOpTrace()
6425 public void collectNoteOpCallsForValidation(String stackTrace, int op, String packageName, in collectNoteOpCallsForValidation() argument
6431 Objects.requireNonNull(stackTrace); in collectNoteOpCallsForValidation()
6436 NoteOpTrace noteOpTrace = new NoteOpTrace(stackTrace, op, packageName, version); in collectNoteOpCallsForValidation()

12