Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java45 private String methodName; field in StackTraceElement
69 public StackTraceElement(String declaringClass, String methodName, in StackTraceElement() argument
72 this.methodName = Objects.requireNonNull(methodName, "Method name is null"); in StackTraceElement()
131 return methodName; in getMethodName()
189 result.append(getClassName()).append(".").append(methodName); in toString()
237 Objects.equals(methodName, e.methodName) && in equals()
245 int result = 31*declaringClass.hashCode() + methodName.hashCode(); in hashCode()
DRuntime.java906 private void checkTargetSdkVersionForLoad(String methodName) { in checkTargetSdkVersionForLoad() argument
909 throw new UnsupportedOperationException(methodName + " is not supported on SDK " + in checkTargetSdkVersionForLoad()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DMethodTest.java87 Class<?> c, String methodName, Class<? extends Annotation> annotationType, in checkDeclaredAnnotation() argument
89 Method method = c.getDeclaredMethod(methodName); in checkDeclaredAnnotation()
123 Class<?> c, Class<? extends Annotation> annotationType, String methodName, in assertGetDeclaredAnnotationsByType() argument
125 Method method = c.getDeclaredMethod(methodName); in assertGetDeclaredAnnotationsByType()
156 String methodName, String... expectedAnnotationStrings) throws Exception { in assertGetAnnotationsByType() argument
157 Method method = c.getDeclaredMethod(methodName); in assertGetAnnotationsByType()
/libcore/ojluni/src/main/java/java/lang/invoke/
DVarHandle.java1839 methodNameToAccessMode.put(am.methodName, am); in methodNameToAccessMode.put() argument
1843 final String methodName; field in VarHandle.AccessMode
1846 AccessMode(final String methodName, AccessType at) { in AccessMode() argument
1847 this.methodName = methodName; in AccessMode()
1858 public String methodName() { in methodName() method in VarHandle.AccessMode
1859 return methodName; in methodName()
1874 public static AccessMode valueFromMethodName(String methodName) { in valueFromMethodName() argument
1875 AccessMode am = methodNameToAccessMode.get(methodName); in valueFromMethodName()
1877 throw new IllegalArgumentException("No AccessMode value for method name " + methodName); in valueFromMethodName()
DMethodHandles.java2479 method = refc.getDeclaredMethod(accessMode.methodName(), Object[].class); in methodHandleForVarHandleAccessor()
/libcore/jsr166-tests/src/test/java/jsr166/
DCollectionTest.java22 CollectionTest(CollectionImplementation impl, String methodName) { in CollectionTest() argument
23 super(methodName); in CollectionTest()
DCollection8Test.java34 Collection8Test(CollectionImplementation impl, String methodName) { in Collection8Test() argument
35 super(methodName); in Collection8Test()
DJSR166TestCase.java536 for (String methodName : testMethodNames(testClass)) in parameterizedTestSuite()
537 suite.addTest((Test) c.newInstance(data, methodName)); in parameterizedTestSuite()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DStackTraceElement.java35 java.lang.String methodName, in StackTraceElement() argument
83 private java.lang.String methodName; field in StackTraceElement
DRuntime.java130 private void checkTargetSdkVersionForLoad(java.lang.String methodName) { in checkTargetSdkVersionForLoad() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignatureSpiTest.java303 boolean wasMethodCalled(String methodName) { in wasMethodCalled() argument
304 return calledMethods.contains(methodName); in wasMethodCalled()
307 void methodCalled(String methodName) { in methodCalled() argument
308 calledMethods.add(methodName); in methodCalled()
/libcore/dalvik/src/main/java/dalvik/annotation/
DTestTarget.java39 String methodName() default ""; in methodName() method
/libcore/luni/src/test/java/libcore/dalvik/system/
DInMemoryDexClassLoaderTest.java211 String className, String methodName, File... files) in createLoaderDirectAndCallMethod() argument
215 Method m = c.getMethod(methodName, (Class[]) null); in createLoaderDirectAndCallMethod()
229 String className, String methodName, File... files) in createLoaderIndirectAndCallMethod() argument
233 Method m = c.getMethod(methodName, (Class[]) null); in createLoaderIndirectAndCallMethod()
DDexClassLoaderTest.java92 String className, String methodName, File... files) in createLoaderAndCallMethod() argument
96 Method m = c.getMethod(methodName, (Class[]) null); in createLoaderAndCallMethod()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodTest.java271 private static void checkToString(String expected, Class<?> clazz, String methodName, in checkToString() argument
273 Method m = clazz.getMethod(methodName, methodArgTypes); in checkToString()
309 private static void checkToGenericString(String expected, Class<?> clazz, String methodName, in checkToGenericString() argument
311 Method m = clazz.getMethod(methodName, methodArgTypes); in checkToGenericString()
633 private static Method getDeclaredMethodOrNull(Class<?> clazz, String methodName) { in getDeclaredMethodOrNull() argument
635 Method m = clazz.getDeclaredMethod(methodName); in getDeclaredMethodOrNull()
DParameterTest.java1099 private Method getMetadataVariationsMethod(String methodName, Class<?>... parameterTypes) in getMetadataVariationsMethod() argument
1103 return metadataVariationsClass.getDeclaredMethod(methodName, parameterTypes); in getMetadataVariationsMethod()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java343 private static StackTraceElement getStackTraceElement(String methodName) throws Exception { in getStackTraceElement() argument
353 Method m = helper.getDeclaredMethod(methodName); in getStackTraceElement()
365 assertEquals(result.getMethodName(), methodName); in getStackTraceElement() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java1894 String methodName) throws IOException { in readWriteReadData() argument