Home
last modified time | relevance | path

Searched refs:StackTraceElement (Results 1 – 25 of 32) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java46 StackTraceElement ste2 = null; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
51 StackTraceElement ste1 = e.getStackTrace()[0]; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
52 ste2 = new StackTraceElement(ste1.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
67 new StackTraceElement(null, in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
76 new StackTraceElement(ste2.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
85 new StackTraceElement(ste2.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
99 StackTraceElement ste1 = e.getStackTrace()[0]; in test_equalsLjava_lang_Object()
100 StackTraceElement ste2 = in test_equalsLjava_lang_Object()
101 new StackTraceElement(ste1.getClassName(), in test_equalsLjava_lang_Object()
166 StackTraceElement ste1 = e.getStackTrace()[0]; in test_hashCode()
[all …]
DThrowableTest.java61 th.setStackTrace(new StackTraceElement[] { new StackTraceElement("c", "m", "f", -2) }); in testNonWritableStackTrace()
218 throwable.setStackTrace(new StackTraceElement[]{ null }); in testSetStackTraceWithNullElement()
284 throwable.setStackTrace(new StackTraceElement[0]); in testDisableSuppressionSerialization()
313 throwable.setStackTrace(new StackTraceElement[0]); in testEnableSuppressionSerialization()
362 StackTraceElement[] array = new StackTraceElement[stackTraceElements.length]; in newThrowable()
366 = new StackTraceElement("Class" + s, "do" + s, "Class" + s + ".java", i); in newThrowable()
DOldThrowableTest.java75 StackTraceElement[] ste = thr.getStackTrace(); in test_getStackTrace()
119 StackTraceElement[] ste = thr.getStackTrace(); in test_setStackTrace()
DThreadTest.java197 StackTraceElement[] traces = t1.getStackTrace(); in testGetStackTrace()
198 StackTraceElement trace = traces[traces.length - 2]; in testGetStackTrace()
/libcore/ojluni/src/main/java/java/lang/
DThrowable.java147 public static final StackTraceElement STACK_TRACE_ELEMENT_SENTINEL =
148 new StackTraceElement("", "", null, Integer.MIN_VALUE);
154 public static final StackTraceElement[] STACK_TRACE_SENTINEL =
155 new StackTraceElement[] {STACK_TRACE_ELEMENT_SENTINEL};
216 private StackTraceElement[] stackTrace = libcore.util.EmptyArray.STACK_TRACE_ELEMENT;
668 StackTraceElement[] trace = getOurStackTrace(); in printStackTrace()
669 for (StackTraceElement traceElement : trace) in printStackTrace()
688 StackTraceElement[] enclosingTrace, in printEnclosedStackTrace()
700 StackTraceElement[] trace = getOurStackTrace(); in printEnclosedStackTrace()
836 public StackTraceElement[] getStackTrace() { in getStackTrace()
[all …]
DStackTraceElement.java42 public final class StackTraceElement implements java.io.Serializable { class
69 public StackTraceElement(String declaringClass, String methodName, in StackTraceElement() method in StackTraceElement
232 if (!(obj instanceof StackTraceElement)) in equals()
234 StackTraceElement e = (StackTraceElement)obj; in equals()
DThread.java1679 private static final StackTraceElement[] EMPTY_STACK_TRACE
1680 = new StackTraceElement[0];
1718 public StackTraceElement[] getStackTrace() { in getStackTrace()
1720 StackTraceElement ste[] = VMStack.getThreadStackTrace(this); in getStackTrace()
1759 public static Map<Thread, StackTraceElement[]> getAllStackTraces() { in getAllStackTraces()
1794 Map<Thread, StackTraceElement[]> m = new HashMap<Thread, StackTraceElement[]>(); in getAllStackTraces()
1796 StackTraceElement[] stackTrace = threads[i].getStackTrace(); in getAllStackTraces()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThrowable.java93 java.lang.StackTraceElement[] enclosingTrace, in printEnclosedStackTrace()
111 public java.lang.StackTraceElement[] getStackTrace() { in getStackTrace()
116 private synchronized java.lang.StackTraceElement[] getOurStackTrace() { in getOurStackTrace()
120 public void setStackTrace(java.lang.StackTraceElement[] stackTrace) { in setStackTrace()
124 private static native java.lang.StackTraceElement[] nativeGetStackTrace( in nativeGetStackTrace()
167 private java.lang.StackTraceElement[] stackTrace;
191 public static final java.lang.StackTraceElement STACK_TRACE_ELEMENT_SENTINEL;
197 public static final java.lang.StackTraceElement[] STACK_TRACE_SENTINEL;
200 STACK_TRACE_SENTINEL = new java.lang.StackTraceElement[0];
DStackTraceElement.java31 public final class StackTraceElement implements java.io.Serializable { class
33 public StackTraceElement( in StackTraceElement() method in StackTraceElement
DThread.java257 public java.lang.StackTraceElement[] getStackTrace() { in getStackTrace()
261 public static java.util.Map<java.lang.Thread, java.lang.StackTraceElement[]>
342 private static final java.lang.StackTraceElement[] EMPTY_STACK_TRACE;
345 EMPTY_STACK_TRACE = new java.lang.StackTraceElement[0];
/libcore/libart/src/main/java/dalvik/system/
DAnnotatedStackTraceElement.java31 private StackTraceElement stackTraceElement;
50 public StackTraceElement getStackTraceElement() { in getStackTraceElement()
DVMStack.java85 native public static StackTraceElement[] getThreadStackTrace(Thread t); in getThreadStackTrace()
114 StackTraceElement[] stackTraceElements); in fillStackTraceElements()
/libcore/luni/src/main/java/libcore/util/
DEmptyArray.java49 public static final StackTraceElement[] STACK_TRACE_ELEMENT = new StackTraceElement[0];
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThrowable.annotated.java64 public java.lang.@libcore.util.NonNull StackTraceElement @libcore.util.NonNull [] getStackTrace() {… in getStackTrace()
66 public void setStackTrace(java.lang.@libcore.util.NonNull StackTraceElement @libcore.util.NonNull [… in setStackTrace()
DThread.annotated.java126 public java.lang.@libcore.util.NonNull StackTraceElement @libcore.util.NonNull [] getStackTrace() {… in getStackTrace()
128 …bcore.util.NonNull java.lang.Thread,java.lang.@libcore.util.NonNull StackTraceElement @libcore.uti… in getAllStackTraces()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmVmInternal.java80 native public static StackTraceElement[] getStackTraceById(int threadId); in getStackTraceById()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java132 public java.lang.StackTraceElement[] getStackTrace() { throw new RuntimeException("Stub!"); } in getStackTrace()
134 public static java.util.Map<java.lang.Thread,java.lang.StackTraceElement[]> getAllStackTraces() { t… in getAllStackTraces()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DTestThread.java59 StackTraceElement[] st = e.getStackTrace(); in run()
DCipherThread.java106 StackTraceElement[] st = e.getStackTrace(); in run()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java261 private static String stackTraceAsString(StackTraceElement[] stackTraceElements) { in stackTraceAsString()
263 for (StackTraceElement stackTraceElement : stackTraceElements) { in stackTraceAsString()
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java560 StackTraceElement[] stack = VMStack.getThreadStackTrace(Thread.currentThread()); in inferCaller()
572 StackTraceElement frame = stack[ix]; in inferCaller()
DXMLFormatter.java200 StackTraceElement trace[] = th.getStackTrace(); in format()
202 StackTraceElement frame = trace[i]; in format()
/libcore/ojluni/src/main/java/sun/misc/
DMessageUtils.java134 StackTraceElement[] es = t.getStackTrace(); in where()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java900 Map<Thread, StackTraceElement[]> stMap = Thread.getAllStackTraces(); in test_getAllStackTraces()
928 StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace(); in test_getStackTrace()
935 StackTraceElement e = stackTrace[i]; in test_getStackTrace()
984 Map<Thread, StackTraceElement[]> stMap = Thread.getAllStackTraces(); in test_getId()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java360 StackTraceElement[] threadTrace = Thread.currentThread().getStackTrace(); in addViolation()
362 final StackTraceElement violator = threadTrace[4]; in addViolation()

12