Home
last modified time | relevance | path

Searched refs:getStackTrace (Results 1 – 25 of 41) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDebugLogUtils.java43 public static String getStackTrace() { in getStackTrace() method in DebugLogUtils
44 return getStackTrace(Integer.MAX_VALUE - 1); in getStackTrace()
52 public static String getStackTrace(final int limit) { in getStackTrace() method in DebugLogUtils
57 final StackTraceElement[] frames = e.getStackTrace(); in getStackTrace()
71 public static String getStackTrace(final Throwable t) { in getStackTrace() method in DebugLogUtils
73 final StackTraceElement[] frames = t.getStackTrace(); in getStackTrace()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java77 if (e.getStackTrace() == null || e.getStackTrace().length < 1) { in isAudioTrackSetPlaybackParamsError()
80 for (StackTraceElement element : e.getStackTrace()) { in isAudioTrackSetPlaybackParamsError()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/errorlogging/
DAbstractAdServicesErrorLogger.java62 StackTraceElement[] stackTrace = exception.getStackTrace(); in logErrorInternal()
78 if (tr.getStackTrace().length == 0) { in populateExceptionInfo()
82 StackTraceElement element = tr.getStackTrace()[0]; in populateExceptionInfo()
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/src/android/app/sdksandbox/testutils/testscenario/
DSdkSandboxTestScenarioRunner.java117 resultCallback.onError(getStackTrace(error)); in onLoadSdk()
159 String errorStackTrace = getStackTrace(error); in invokeMethodOnTestInstance()
177 private String getStackTrace(Exception error) { in getStackTrace() method in SdkSandboxTestScenarioRunner
/packages/modules/Wifi/service/java/com/android/server/wifi/
DRunnerHandler.java106 String signature = getSignature(new Throwable("RunnerHandler:").getStackTrace(), in sendMessageAtTime()
154 String signature = getSignature(new Throwable("RunnerHandler:").getStackTrace(), in postToFront()
DWifiThreadRunner.java96 wifiThreadThrowable.setStackTrace(mHandler.getLooper().getThread().getStackTrace()); in call()
162 wifiThreadThrowable.setStackTrace(mHandler.getLooper().getThread().getStackTrace()); in runAtFront()
DLogcatLog.java251 StackTraceElement[] stackTrace = (new Throwable()).getStackTrace(); in getNameOfCallingMethod()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDebugLogUtil.java29 String methodName = new Throwable().getStackTrace()[1].getMethodName(); in logAndReturn()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DTestFailure.java37 setStackTrace(cause.getStackTrace()); in TestFailure()
DAbstractProcessLifeguardRule.java265 setStackTrace(cause.getStackTrace()); in UncaughtBackgroundException()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java35 StackTraceElement[] stack = Thread.currentThread().getStackTrace(); in getTestMethod()
DLogcatLogTest.java284 (new Throwable()).getStackTrace().length); in traceLogMessageDoesNotCrashOnOversizedNumFramesToIgnore()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DAdbUtils.java31 StackTraceElement[] stElements = Thread.currentThread().getStackTrace(); in getCallerClassName()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/scenarios/
DAbstractTestAction.java77 StackTraceElement[] stacktrace = Thread.currentThread().getStackTrace(); in generateLog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DProvisionLogger.java175 StackTraceElement[] trace = Thread.currentThread().getStackTrace(); in getTag()
/packages/services/Iwlan/src/com/google/android/iwlan/proto/
DMetricsAtom.java140 StackTraceElement[] iwlanErrorWrappedStackTraceElements = iwlanErrorWrapped.getStackTrace(); in setIwlanErrorWrappedClassnameAndStack()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DReceiverTrackingContext.java164 + String.format(" called by %s", new Throwable().getStackTrace()[2]); in addReceiver()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java127 StackTraceElement[] stack = thread.getStackTrace(); in sampleStack()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DConcurrentInterpreter.kt233 lineNum)) + super.getStackTrace()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java248 final StackTraceElement[] stackTrace = new Throwable().getStackTrace(); in addItemToDatabase()
451 mStackTrace = new Throwable().getStackTrace(); in UpdateItemBaseRunnable()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DNaptrDnsResolver.java260 pe.setStackTrace(e.getStackTrace()); in onAnswer()
DSrvDnsResolver.java329 pe.setStackTrace(e.getStackTrace()); in onAnswer()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java329 if (error.hasStackTrace() && !error.getStackTrace().isEmpty()) { in dump()
330 writer.println("\t\tStack trace: " + error.getStackTrace()); in dump()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java187 Log.e(TAG, DebugLogUtils.getStackTrace(2)); in checkConsistencyForDebug()
279 Log.e(TAG, DebugLogUtils.getStackTrace(4)); in checkBatchEdit()
/packages/services/Car/car-lib/src/android/car/app/
DCarActivityManager.java513 + new Throwable().getStackTrace()[1].getMethodName()); in hasValidToken()

12