/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | MethodOverridesTest.java | 30 Method method = StringBuilder.class.getMethod("append", char.class); in testName() local 35 Method method = StringBuilder.class.getMethod("append", char.class); in testParameterTypes() local 41 Method method = StringBuilder.class.getMethod("append", char.class); in testDeclaringClass() local 46 Method method = StringBuilder.class.getMethod("append", char.class); in testReturnType() local 51 Method method = StringBuilder.class.getMethod("append", char.class); in testThrownExceptions() local 82 Method method = Sub.class.getMethod("returner"); in testGetMethodsIncludesSyntheticMethods() local 92 Method method = Sub.class.getMethod("returner"); in testGetDeclaredMethodsIncludesSyntheticMethods() local 109 Method method = Sub.class.getMethod("visibility"); in testSubclassChangesVisibility() local 126 Method method = PublicSub.class.getMethod("unchanged"); in testMoreVisibleSubclassChangesVisibility() local 160 private String signature(Method method) { in signature()
|
D | ParameterTest.java | 112 Method method = SingleParameter.class.getDeclaredMethod("oneParameter", String.class); in testSingleParameterMethod() local 136 Method method = clazz.getDeclaredMethod("oneParameter", String.class); in testSingleParameterMethod_withMetadata() local 168 Method method = GenericParameter.class.getDeclaredMethod( in testGenericParameterMethod() local 195 Method method = clazz.getDeclaredMethod("genericParameter", Function.class); in testGenericParameterMethod_withMetadata() local 229 Method method = TwoParameters.class.getDeclaredMethod( in testTwoParameterMethod() local 258 Method method = clazz.getDeclaredMethod("twoParameters", String.class, Integer.class); in testTwoParameterMethod_withMetadata() local 296 Method method = FinalParameter.class.getDeclaredMethod("finalParameter", String.class); in testFinalParameterMethod() local 320 Method method = clazz.getDeclaredMethod("finalParameter", String.class); in testFinalParameterMethod_withMetdata() local 539 Method method = TestEnum.class.getDeclaredMethod("valueOf", String.class); in testEnumValueOf() local 554 Method method = clazz.getDeclaredMethod("valueOf", String.class); in testEnumValueOf_withMetadata() local [all …]
|
D | GenericExceptionsTest.java | 31 Method method = Thrower.class.getMethod("parameterizedMethod"); in testGenericExceptionsOfMethodsWithTypeParameters() local 37 Method method = Thrower.class.getMethod("genericParameters", List.class); in testGenericExceptionsOfMethodsWithGenericParameters() local 63 Method method = ThrowerT.class.getMethod("throwsTypeVariable"); in testMethodThrowingTypeVariable() local 71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter"); in testThrowingMethodTypeParameter() local 79 Method method = ThrowerT.class.getMethod("throwsEverything"); in testThrowingMethodThrowsEverything() local
|
D | MethodTest.java | 33 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); in test_getExceptionTypes() local 46 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); in test_getParameterTypes() local 63 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); in test_getParameterCount() local 74 Method method = MethodTestHelper.class.getMethod("m1", expectedParameters); in test_getParameters() local 150 Method method = Super.class.getDeclaredMethod("a"); in testGetDeclaredMethodReturnsPrivateMethods() local 175 Method method = anonymous.getClass().getMethod("a"); in testImplementedInterfaceMethodOfAnonymousClass() local 184 Method method = anonymous.getClass().getMethod("a"); in testPublicMethodOfAnonymousClass() local 205 Method method = anonymous.getClass().getDeclaredMethod("a"); in testGetDeclaredMethodReturnsPrivateMethodOfAnonymousClass() local 357 Method method = InterfaceWithStatic.class.getMethod("staticMethod"); in testStaticInterfaceMethod_getMethod() local 374 Method method = InterfaceWithStatic.class.getMethod("staticMethod"); in testStaticInterfaceMethod_invoke() local [all …]
|
D | OldAndroidClassTest.java | 55 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); in testGetDeclaredMethod() local 61 Method method = helloClass.getDeclaredMethod("methodWithArgs", Object.class); in testGetDeclaredMethodWithArgs() local 71 Method method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null); in testGetDeclaredMethodPrivate() local 128 public void method() { in method() method in OldAndroidClassTest
|
D | OldGenericReflectionCornerCases.java | 42 Method method = clazz.getDeclaredMethod("wildcardEquality", Pair.class); in testWildcardEquality() local 85 Method method = clazz.getDeclaredMethod("wildcardUnEquality", Pair.class); in testWildcardUnEquality() local 130 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardUnEquality", Pair.class); in testMultipleBoundedWildcardUnEquality() local 182 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardEquality", Pair.class); in testMultipleBoundedWildcard() local
|
D | MissingClassesTest.java | 72 void method(Unloadable unloadable) {} in method() method in MissingClassesTest.Loadable
|
D | ClassLoaderReflectionTest.java | 115 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericReturnType() local 120 Method method = fClass.getDeclaredMethod("method", bClass, List.class); in testMethodGenericParameterTypes() local 164 B<String> method(B<String> parameter, List<A> anotherParameter) { in method() method in ClassLoaderReflectionTest.F
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericMethodsTests.java | 55 private void checkTypeParameter(Method method) { in checkTypeParameter() 66 private void checkParameterType(Method method) { in checkParameterType() 79 private void checkReturnType(Method method) { in checkReturnType() 87 Method method = clazz.getMethod("noParamNoReturn"); in testNoParamNoReturn() local 92 Method method = clazz.getMethod("paramNoReturn", Object.class); in testParamNoReturn() local 98 Method method = clazz.getMethod("noParamReturn"); in testNoParamReturn() local 104 Method method = clazz.getMethod("paramReturn", Object.class); in testParamReturn() local
|
D | BoundedGenericMethodsTests.java | 50 private void checkBoundedTypeParameter(Method method) { in checkBoundedTypeParameter() 68 private void parameterType(Method method) { in parameterType() 84 private void checkReturnType(Method method) { in checkReturnType() 108 Method method = clazz.getMethod("noParamNoReturn"); in testNoParamNoReturn() local 112 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); in testUnboundedParamNoReturn() local 117 Method method = clazz.getMethod("noParamReturn"); in testNoParamReturn() local 123 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class); in testUnboundedParamReturn() local
|
D | WildcardTypeTest.java | 57 private void checkBoundedTypeParameter(Method method) { in checkBoundedTypeParameter() 68 private void checkLowerBoundedParameter(Method method) { in checkLowerBoundedParameter() 91 private void checkUpperBoundedParameter(Method method) { in checkUpperBoundedParameter() 113 private void checkReturnType(Method method) { in checkReturnType() 129 …Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); in testUpperBoundedParamNoReturn() local 135 … Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); in testLowerBoundedParamReturn() local 142 … Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); in testUpperBoundedParamReturn() local 149 …Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); in testLowerBoundedParamNoReturn() local
|
D | ProxyTest.java | 51 public float method(float _number0, float _number1); in method() method 55 public Object invoke(Object proxy, Method method, Object[] args) in invoke() 303 public Object invoke(Object object, Method method, Object[] args) in invoke()
|
D | MethodTest.java | 403 Method method = TestMethod.class.getDeclaredMethod( in test_getParameterAnnotations() local 435 Method method = TestMethod.class.getDeclaredMethod("annotatedMethod"); in test_getDeclaredAnnotations() local 452 Method method = TestAnno.class.getDeclaredMethod("value"); in test_getDefaultValue() local 461 Method method = ExceptionTest.class.getDeclaredMethod("exceptionTest"); in test_getGenericExceptionTypes() local 475 Method method = GenericReturnType.class in test_getGenericReturnType() local 491 Method method = GenericString.class.getDeclaredMethod("genericString", in test_toGenericString() local
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | MethodTest.java | 38 public void method(String parameter1, String parameter2) {} in method() method in MethodTest.Type 42 Method method = Type.class.getMethod("method", String.class, String.class); in testMethodAnnotations() local 89 Method method = c.getDeclaredMethod(methodName); in checkDeclaredAnnotation() local 125 Method method = c.getDeclaredMethod(methodName); in assertGetDeclaredAnnotationsByType() local 157 Method method = c.getDeclaredMethod(methodName); in assertGetAnnotationsByType() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationTestClass.java | 240 public void method() { in method() method in SerializationTestClass.TestMethodPublic 246 private void method() { in method() method in SerializationTestClass.TestMethodPrivate 251 protected void method() { in method() method in SerializationTestClass.TestMethodProtected 256 strictfp void method() { in method() method in SerializationTestClass.TestMethodStrict 261 static void method() { in method() method in SerializationTestClass.TestMethodStatic 266 final void method() { in method() method in SerializationTestClass.TestMethodFinal 271 synchronized void method() { in method() method in SerializationTestClass.TestMethodSynchronized 276 native void method(); in method() method in SerializationTestClass.TestMethodNative 281 abstract void method(); in method() method in SerializationTestClass.TestMethodAbstractHelper 287 void method() { in method() method in SerializationTestClass.TestMethodAbstract [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 189 private void testChannelRead_exceptionWhenAlreadyClosed(ChannelReader.Method method) in testChannelRead_exceptionWhenAlreadyClosed() 221 private void testChannelRead_exceptionWhenAlreadyInterrupted(ChannelReader.Method method) in testChannelRead_exceptionWhenAlreadyInterrupted() 258 private void testChannelRead_exceptionOnCloseWhenBlocked(ChannelReader.Method method) in testChannelRead_exceptionOnCloseWhenBlocked() 291 private void testChannelRead_exceptionOnInterrupt(ChannelReader.Method method) throws Exception { in testChannelRead_exceptionOnInterrupt() 322 private void testChannelWrite_exceptionWhenAlreadyClosed(ChannelWriter.Method method) in testChannelWrite_exceptionWhenAlreadyClosed() 353 private void testChannelWrite_exceptionWhenAlreadyInterrupted(ChannelWriter.Method method) in testChannelWrite_exceptionWhenAlreadyInterrupted() 390 private void testChannelWrite_exceptionOnCloseWhenBlocked(ChannelWriter.Method method) in testChannelWrite_exceptionOnCloseWhenBlocked() 432 private void testChannelWrite_exceptionOnInterrupt(ChannelWriter.Method method) throws Exception { in testChannelWrite_exceptionOnInterrupt() 539 private final Method method; field in FileIOInterruptTest.ChannelReader 544 ChannelReader(FileChannel channel, Method method) { in ChannelReader() [all …]
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressSource.java | 41 private String method; field in ProgressSource 62 public ProgressSource(URL url, String method) { in ProgressSource() 69 public ProgressSource(URL url, String method, long expected) { in ProgressSource()
|
D | ProgressEvent.java | 42 private String method; field in ProgressEvent 53 …public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSo… in ProgressEvent()
|
D | ProgressMeteringPolicy.java | 39 public boolean shouldMeterInput(URL url, String method); in shouldMeterInput()
|
D | ProgressMonitor.java | 97 public boolean shouldMeterInput(URL url, String method) { in shouldMeterInput() 243 public boolean shouldMeterInput(URL url, String method) in shouldMeterInput()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | InvocationHandler.java | 93 public Object invoke(Object proxy, Method method, Object[] args) in invoke()
|
/libcore/test-rules/src/main/java/libcore/junit/junit3/ |
D | TestCaseWithRules.java | 73 Method method = getClass().getMethod(name, (Class[]) null); in runBare() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | MethodLogger.java | 41 public void add(String method, Object ... args) { in add()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpURLConnection.java | 281 protected String method = "GET"; field in HttpURLConnection 625 public void setRequestMethod(String method) throws ProtocolException { in setRequestMethod()
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 112 Method method, Object socket, in invokeSet() 131 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet()
|