/libcore/ojluni/src/main/java/java/lang/ |
D | StackTraceElement.java | 45 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()
|
D | Runtime.java | 906 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/ |
D | MethodTest.java | 87 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/ |
D | VarHandle.java | 1839 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()
|
D | MethodHandles.java | 2479 method = refc.getDeclaredMethod(accessMode.methodName(), Object[].class); in methodHandleForVarHandleAccessor()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CollectionTest.java | 22 CollectionTest(CollectionImplementation impl, String methodName) { in CollectionTest() argument 23 super(methodName); in CollectionTest()
|
D | Collection8Test.java | 34 Collection8Test(CollectionImplementation impl, String methodName) { in Collection8Test() argument 35 super(methodName); in Collection8Test()
|
D | JSR166TestCase.java | 536 for (String methodName : testMethodNames(testClass)) in parameterizedTestSuite() 537 suite.addTest((Test) c.newInstance(data, methodName)); in parameterizedTestSuite()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | StackTraceElement.java | 35 java.lang.String methodName, in StackTraceElement() argument 83 private java.lang.String methodName; field in StackTraceElement
|
D | Runtime.java | 130 private void checkTargetSdkVersionForLoad(java.lang.String methodName) { in checkTargetSdkVersionForLoad() argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SignatureSpiTest.java | 303 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/ |
D | TestTarget.java | 39 String methodName() default ""; in methodName() method
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | InMemoryDexClassLoaderTest.java | 211 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()
|
D | DexClassLoaderTest.java | 92 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/ |
D | MethodTest.java | 271 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()
|
D | ParameterTest.java | 1099 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/ |
D | ThreadTest.java | 343 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/ |
D | DatagramChannelTest.java | 1894 String methodName) throws IOException { in readWriteReadData() argument
|