Home
last modified time | relevance | path

Searched refs:getMethodName (Results 1 – 25 of 27) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java57 ste1.getMethodName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
63 ste1.getMethodName(), ste2.getMethodName()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
72 ste2.getMethodName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
90 ste2.getMethodName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
106 ste1.getMethodName(), in test_equalsLjava_lang_Object()
158 e.getStackTrace()[0].getMethodName()); in test_getMethodName()
161 e.getStackTrace()[1].getMethodName()); in test_getMethodName()
173 ste1.getMethodName(), in test_hashCode()
DStackWalkerTest.java54 assertEquals("invokeWalker", f.getMethodName()); in testGetByteCodeIndex()
62 assertEquals("test", f.getMethodName()); in testGetByteCodeIndex()
68 assertEquals("testGetByteCodeIndex", f.getMethodName()); in testGetByteCodeIndex()
DErrorTest.java49 topStackTraceElement.getMethodName()); in withWritableStackTrace_nonEmptyGetStackTrace()
DRuntimeExceptionTest.java49 topStackTraceElement.getMethodName()); in withWritableStackTrace_nonEmptyGetStackTrace()
DThreadTest.java315 && trace.getMethodName().equals("doSomething")); in getStackTrace()
394 assertEquals(result.getMethodName(), methodName); in getStackTraceElement()
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackRecorderUtil.java91 if (compareMethodNames && !tf.methodName.equals(sf.getMethodName())) { in compareFrame()
93 ", but got: " + sf.getMethodName()); in compareFrame()
98 ste.getMethodName().equals(tf.methodName)) && in compareFrame()
104 || !Objects.equals(ste.getMethodName(), sf.getMethodName()) in compareFrame()
DAcrossThreads.java98 Integer i = methods.putIfAbsent(f.getMethodName(), 1); in assertWalker()
100 methods.put(f.getMethodName(), i + 1); in assertWalker()
110 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
113 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
116 assertTrue(walker.walk(s -> s.map(StackFrame::getMethodName) in assertWalker()
DMultiThreadStackWalk.java145 .append(sfi.toStackTraceElement().getMethodName()) in consume()
173 … } else if (count == max && !sfi.toStackTraceElement().getMethodName().equals("runTest")) { in consume()
175 + count + ", found " + sfi.toStackTraceElement().getMethodName()); in consume()
181 if (count == max && !sfi.toStackTraceElement().getMethodName().equals("run")) { in consume()
183 + count + ", found " + sfi.toStackTraceElement().getMethodName()); in consume()
204 ("." + st.getMethodName() in consume()
DDumpStackTest.java68 String getMethodName() { in getMethodName() method in DumpStackTest.CallFrame
245 "getThreadStackTrace".equals(actual[i].getMethodName())) { in assertStackTrace()
254 !actual.getMethodName().equals(expected.getMethodName())) { in assertEquals()
DLocalsAndOperands.java162 .filter(f -> KnownLocalsTester.TEST_METHODS.contains(f.getMethodName())) in checkLocalValues()
269 s.filter(f -> TEST_METHODS.contains(f.getMethodName())) in testLocalsUnused()
286 s.filter(f -> TEST_METHODS.contains(f.getMethodName())) in testLocalsKeepAlive()
303 s.filter(f -> TEST_METHODS.contains(f.getMethodName())) in testLocalsKeepAliveArgs()
349 s.filter(f -> "usedLong".equals(f.getMethodName())) in usedLong()
373 s.filter(f -> "unusedLong".equals(f.getMethodName())) in unusedLong()
396 s.filter(f -> "usedDouble".equals(f.getMethodName())) in usedDouble()
DStackStreamTest.java136 .map(StackFrame::getMethodName) in g()
182 !methodNames.get(i).equals(stes.get(i).getMethodName())) { in checkStackTraceElements()
193 System.out.println(" " + ste.getClassName() + ", " + ste.getMethodName()); in dumpSTEInfo()
205 System.out.println(e.getClassName() + "," + e.getMethodName()); in firstFrame()
DBasic.java86 MethodType type = methodTypes.get(f.getMethodName()); in testMethodSignature()
88 System.out.format("%s.%s %s%n", f.getClassName(), f.getMethodName(), in testMethodSignature()
165 return f.getClassName() + "::" + f.getMethodName(); in frame()
DEmbeddedStackWalkTest.java143 .filter(f -> c.getName().equals(f.getClassName()) && mn.equals(f.getMethodName())) in verify()
151 assertEquals(mn, st.getMethodName()); in verify()
DVerifyStackTrace.java283 "main".equals(f.getMethodName()); in recordSTE()
DStackWalkTest.java132 System.out.println("\t" + sf.getClassName() + "." + sf.getMethodName()); in consume()
/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java256 public String getMethodName() { in getMethodName() method in StackTraceElement
548 StackTraceElement ste = new StackTraceElement(sfi.getClassName(), sfi.getMethodName(), in of()
DStackFrameInfo.java91 public String getMethodName() { in getMethodName() method in StackFrameInfo
DStackWalker.java117 public String getMethodName(); in getMethodName() method
/libcore/ojluni/annotations/hiddenapi/java/lang/
DStackTraceElement.java53 public java.lang.String getMethodName() { in getMethodName() method in StackTraceElement
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java586 setSourceMethodName(frame.getMethodName()); in inferCaller()
DXMLFormatter.java208 escape(sb, frame.getMethodName()); in format()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java363 violations.add(type + " [caller= " + violator.getMethodName() + "]"); in addViolation()
/libcore/ojluni/src/main/java/sun/util/logging/
DPlatformLogger.java574 sourceMethodName = frame.getMethodName(); in getCallerInfo()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java940 if ("test_getStackTrace".equals(e.getMethodName())) { in test_getStackTrace()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodTest.java650 while (!stack[i++].getMethodName().equals("identifyCaller")) {} in identifyCaller()

12