Home
last modified time | relevance | path

Searched refs:getDeclaredMethod (Results 1 – 25 of 122) sorted by relevance

12345

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java42 assertNotNull(Request.class.getDeclaredMethod("finish", String.class)); in publicMethods()
53 assertNotNull(Request.class.getDeclaredMethod("getParams")); in publicMethods()
54 assertNotNull(Request.class.getDeclaredMethod("getParamsEncoding")); in publicMethods()
64 … assertNotNull(Request.class.getDeclaredMethod("parseNetworkResponse", NetworkResponse.class)); in publicMethods()
65 assertNotNull(Request.class.getDeclaredMethod("parseNetworkError", VolleyError.class)); in publicMethods()
66 assertNotNull(Request.class.getDeclaredMethod("deliverResponse", Object.class)); in publicMethods()
DResponseTest.java41 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class)); in publicMethods()
43 assertNotNull(Response.ErrorListener.class.getDeclaredMethod("onErrorResponse", in publicMethods()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DBenchmarkClassTest.java38 MyBenchmark.class.getDeclaredMethod("before1"), in beforeMeasurementMethods_AnnotatedBenchmark()
39 MyBenchmark.class.getDeclaredMethod("before2")), in beforeMeasurementMethods_AnnotatedBenchmark()
46 MyBenchmark.class.getDeclaredMethod("after1"), in afterMeasurementMethods_AnnotatedBenchmark()
47 MyBenchmark.class.getDeclaredMethod("after2")), in afterMeasurementMethods_AnnotatedBenchmark()
DRuntimeInstrumentTest.java79 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("macrobenchmark"); in createInstrumentation_macrobenchmark()
87 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("microbenchmark", int.class); in createInstrumentation_microbenchmark()
95 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("picobenchmark", long.class); in createInstrumentation_picobenchmark()
104 RuntimeBenchmark.class.getDeclaredMethod("integerParam", Integer.class); in createInstrumentation_badParam()
112 Method benchmarkMethod = RuntimeBenchmark.class.getDeclaredMethod("notAMacrobenchmark"); in createInstrumentation_notAMacrobenchmark()
121 RuntimeBenchmark.class.getDeclaredMethod("notAMicrobenchmark", int.class); in createInstrumentationnotAMicrobenchmark()
130 RuntimeBenchmark.class.getDeclaredMethod("notAPicobenchmark", long.class); in createInstrumentation_notAPicobenchmark()
DExperimentingRunnerModuleTest.java56 methodA = TestBenchmark.class.getDeclaredMethod("a"); in setUp()
57 methodB = TestBenchmark.class.getDeclaredMethod("b"); in setUp()
58 methodC = TestBenchmark.class.getDeclaredMethod("c"); in setUp()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorUnitTest.java27 ctClass, ctClass.getDeclaredMethod("substring", new CtClass[]{CtClass.intType}), in whenMethodReturnsObject_shouldGenerateMethodBody()
41 ctClass, ctClass.getDeclaredMethod("length"), in whenMethodReturnsPrimitive_shouldGenerateMethodBody()
55 ctClass, ctClass.getDeclaredMethod("wait"), in whenMethodReturnsVoid_shouldGenerateMethodBody()
68 ctClass, ctClass.getDeclaredMethod("valueOf", new CtClass[]{CtClass.intType}), in whenMethodIsStatic_shouldGenerateMethodBody()
89 ctClass, ctClass.getDeclaredMethod("equals", new CtClass[]{ctClass}), in shouldGenerateMethodBodyForEquals()
DRobolectricWiringTest.java81 …return shadowMethod.getDeclaringClass().getDeclaredMethod(shadowMethod.getName(), shadowMethod.get… in isAnnotatedImplementation()
107 return implementedClass.getDeclaredMethod(methodName, parameterTypes); in findMethod()
/external/javassist/sample/vector/
DVectorAssistant.java91 CtMethod addmethod = c.getDeclaredMethod("add"); in makeSubclass()
92 CtMethod atmethod = c.getDeclaredMethod("at"); in makeSubclass()
116 CtMethod addmethod = c.getDeclaredMethod("add"); in makeSubclass2()
117 CtMethod atmethod = c.getDeclaredMethod("at"); in makeSubclass2()
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DJDK6Console.java16 Method writerMethod = console.getClass().getDeclaredMethod("writer", new Class<?>[0]); in JDK6Console()
33 method = console.getClass().getDeclaredMethod("readLine", new Class<?>[0]); in readPassword()
36 method = console.getClass().getDeclaredMethod("readPassword", new Class<?>[0]); in readPassword()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/perc/
DPercSerializationInstantiator.java58 newInstanceMethod = ObjectInputStream.class.getDeclaredMethod("noArgConstruct", in PercSerializationInstantiator()
64 Method getPercClassMethod = percClassClass.getDeclaredMethod("getPercClass", Class.class); in PercSerializationInstantiator()
66 Method findMethodMethod = someObject.getClass().getDeclaredMethod("findMethod", in PercSerializationInstantiator()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DUnsafeAllocator.java60 .getDeclaredMethod("newInstance", Class.class, Class.class); in create()
79 .getDeclaredMethod("getConstructorId", Class.class); in create()
83 .getDeclaredMethod("newInstance", Class.class, int.class); in create()
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java53 static Method getDeclaredMethod(final Class clazz, final String name,
56 return clazz.getDeclaredMethod(name, types);
62 return clazz.getDeclaredMethod(name, types);
DFactoryHelper.java42 defineClass1 = SecurityActions.getDeclaredMethod(
48 defineClass2 = SecurityActions.getDeclaredMethod(
/external/javassist/sample/
DTest.java30 cc.getDeclaredMethod("g"); in main()
37 CtMethod fMethod = cc.getDeclaredMethod("f"); in main()
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeParameterTest.java37 .getDeclaredMethod("testCaptureTypeParameter") in testCaptureTypeParameter()
50 Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); in testEquals()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java62 m_getCurveName = ECParameterSpec.class.getDeclaredMethod("getCurveName");
102 Method setCurveName = spec.getClass().getDeclaredMethod("setCurveName", String.class); in setCurveName()
120 Method m_fromMillis = c_structTimeval.getDeclaredMethod("fromMillis", long.class); in setSocketWriteTimeout()
444 Method getKey = superClass.getDeclaredMethod("getOpenSSLKey"); in wrapRsaKey()
467 getPkeyContext = opensslKey.getClass().getDeclaredMethod("getPkeyContext"); in wrapRsaKey()
657 algNameMapperClass.getDeclaredMethod("map2AlgName", String.class); in oidToAlgorithmName()
674 Method getMethod = algorithmIdClass.getDeclaredMethod("get", String.class); in oidToAlgorithmName()
676 Method getNameMethod = algorithmIdClass.getDeclaredMethod("getName"); in oidToAlgorithmName()
726 Method m_getHostString = InetSocketAddress.class.getDeclaredMethod("getHostString"); in getHostStringFromInetSocketAddress()
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java1230 VisibilityMethods.class.getDeclaredMethod("privateMethod"))); in testVisibility_public()
1232 VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod"))); in testVisibility_public()
1234 VisibilityMethods.class.getDeclaredMethod("protectedMethod"))); in testVisibility_public()
1236 VisibilityMethods.class.getDeclaredMethod("publicMethod"))); in testVisibility_public()
1241 VisibilityMethods.class.getDeclaredMethod("privateMethod"))); in testVisibility_protected()
1243 VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod"))); in testVisibility_protected()
1245 VisibilityMethods.class.getDeclaredMethod("protectedMethod"))); in testVisibility_protected()
1247 VisibilityMethods.class.getDeclaredMethod("publicMethod"))); in testVisibility_protected()
1252 VisibilityMethods.class.getDeclaredMethod("privateMethod"))); in testVisibility_package()
1254 VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod"))); in testVisibility_package()
[all …]
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DSunReflectionFactoryHelper.java69 Method method = reflectionFactoryClass.getDeclaredMethod( in createReflectionFactory()
89 return reflectionFactoryClass.getDeclaredMethod( in getNewConstructorForSerializationMethod()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/android/
DAndroid17Instantiator.java56 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod( in getNewInstanceMethod()
71 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod( in findConstructorIdForJavaLangObjectConstructor()
DAndroid18Instantiator.java56 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod("newInstance", in getNewInstanceMethod()
71 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod("getConstructorId", in findConstructorIdForJavaLangObjectConstructor()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java56 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()
57 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
/external/javassist/src/main/javassist/tools/reflect/
DReflection.java109 trapMethod = c.getDeclaredMethod("trap"); in start()
110 trapStaticMethod = c.getDeclaredMethod("trapStatic"); in start()
111 trapRead = c.getDeclaredMethod("trapRead"); in start()
112 trapWrite = c.getDeclaredMethod("trapWrite"); in start()
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DInvocationInfoTest.java111 return TheAbstract.class.getDeclaredMethod("iAmAbstract"); in iAmAbstract()
118 return TheNotAbstract.class.getDeclaredMethod("iAmNotAbstract"); in iAmNotAbstract()
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java219 Signature fooA = new Signature(Foo.class.getDeclaredMethod( in testSignature()
221 Signature fooB = new Signature(Foo.class.getDeclaredMethod("b")); in testSignature()
222 Signature barA = new Signature(Bar.class.getDeclaredMethod( in testSignature()
224 Signature barB = new Signature(Bar.class.getDeclaredMethod("b")); in testSignature()
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java83 Member method = Obj.class.getDeclaredMethod("method", String.class); in testGetMemberName_method()
125 Member method = Obj.class.getDeclaredMethod("method", String.class); in testGetSourceName_method()

12345