/art/test/574-irreducible-and-constant-area/src/ |
Main.java | 17 import java.lang.reflect.Method; 25 Method m = c.getMethod("simpleLoop", int.class);
|
/art/test/802-deoptimization/src/ |
Main.java | 17 import java.lang.reflect.Method; 28 * Tests we correctly execute a method starting with a catch handler without 33 Method m = c.getMethod("catchHandlerOnEntry", int.class);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
SensorCtsVerifierTestActivity.java | 25 import java.lang.reflect.Method; 57 for (Method testMethod : findTestMethods()) { 73 private List<Method> findTestMethods() { 74 ArrayList<Method> testMethods = new ArrayList<>(); 75 for (Method method : mTestClass.getDeclaredMethods()) { 76 if (Modifier.isPublic(method.getModifiers()) 77 && method.getParameterTypes().length == 0 78 && method.getName().startsWith("test") 79 && method.getReturnType().equals(String.class)) [all...] |
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
UserDeviceInfo.java | 24 import java.lang.reflect.Method; 38 Method method = UserManager.class.getMethod("getMaxSupportedUsers"); local 39 return (Integer) method.invoke(null);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ThunkerCreateTest.java | 21 import java.lang.reflect.Method; 35 Method create = javaRS.getDeclaredMethod("create", signature);
|
/external/clang/include/clang/Basic/ |
ABI.h | 186 /// \brief Holds a pointer to the overridden method this thunk is for, 191 const CXXMethodDecl *Method; 193 ThunkInfo() : Method(nullptr) { } 196 const CXXMethodDecl *Method = nullptr) 197 : This(This), Return(Return), Method(Method) {} 201 LHS.Method == RHS.Method; 205 return This.isEmpty() && Return.isEmpty() && Method == nullptr;
|
/external/easymock/src/org/easymock/internal/ |
LegacyMatcherProvider.java | 20 import java.lang.reflect.Method;
36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
38 public ArgumentsMatcher getMatcher(Method method) {
39 if (!matchers.containsKey(method)) {
43 matchers.put(method, defaultMatcher);
45 return matchers.get(method);
58 public void setMatcher(Method method, ArgumentsMatcher matcher) { 81 Method method = entry.getKey().getMethod(); local [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListHashCodeTester.java | 23 import java.lang.reflect.Method; 44 * Returns the {@link Method} instance for {@link #testHashCode()} so that 49 public static Method getHashCodeMethod() {
|
/external/guice/core/src/com/google/inject/internal/ |
ConstructionProxy.java | 24 import java.lang.reflect.Method; 47 * code for method interception), the natural constructor is returned. 53 * Returns the interceptors applied to each method, in order of invocation. 55 ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors();
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MixinBeanEmitter.java | 18 import java.lang.reflect.Method; 36 protected Method[] getMethods(Class type) {
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ForwardsInvocations.java | 11 import java.lang.reflect.Method; 29 Method method = invocation.getMethod() ; local 31 return method.invoke(delegatedObject, invocation.getArguments());
|
/external/objenesis/main/src/org/objenesis/instantiator/sun/ |
Sun13InstantiatorBase.java | 19 import java.lang.reflect.Method;
25 * Base class for Sun 1.3 based instantiators. It initializes reflection access to static method
31 static Method allocateNewObjectMethod = null;
|
/external/proguard/src/proguard/classfile/attribute/ |
MethodParametersAttribute.java | 27 * This Attribute represents a method parameters attribute. 61 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) 63 attributeVisitor.visitMethodParametersAttribute(clazz, method, this); 70 public void parametersAccept(Clazz clazz, Method method, ParameterInfoVisitor parameterInfoVisitor) 77 parameterInfoVisitor.visitParameterInfo(clazz, method, index, parameters[index]);
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
TypeAnnotationVisitor.java | 39 public void visitTypeAnnotation(Clazz clazz, Method method, TypeAnnotation typeAnnotation); 40 public void visitTypeAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation);
|
TypePathInfoVisitor.java | 39 public void visitTypePathInfo(Clazz clazz, Method method, TypeAnnotation typeAnnotation, TypePathInfo typePathInfo); 40 public void visitTypePathInfo(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfo typePathInfo);
|
/external/testng/src/main/java/org/testng/junit/ |
JUnit4TestRecognizer.java | 4 import java.lang.reflect.Method; 23 for (Method m : c.getMethods()) {
|
/external/testng/src/main/java/org/testng/xml/dom/ |
Reflect.java | 7 import java.lang.reflect.Method; 12 public static List<Pair<Method, Wrapper>> findMethodsWithAnnotation( 14 List<Pair<Method, Wrapper>> result = Lists.newArrayList(); 15 for (Method m : c.getMethods()) { 24 public static Pair<Method, Wrapper> findSetterForTag( 31 List<Pair<Method, Wrapper>> methods 34 for (Pair<Method, Wrapper> pair : methods) { 43 for (Method m : c.getDeclaredMethods()) {
|
/external/testng/src/test/java/test/annotationtransformer/ |
AnnotationTransformerInvocationCountTest.java | 8 import java.lang.reflect.Method; 22 Constructor testConstructor, Method testMethod) {
|
/external/testng/src/test/java/test/expectedexceptions/ |
ParametersExceptionTest.java | 10 import java.lang.reflect.Method;
28 protected void verify(Method method) {
|
/external/testng/src/test/java/test/hook/ |
BaseConfigurable.java | 9 import java.lang.reflect.Method; 30 public void bm(Method m) {
|
ConfigurableSuccessTest.java | 8 import java.lang.reflect.Method; 20 m_methodName = ((Method) parameters[0]).getName();
|
/external/testng/src/test/java/test/testng195/ |
AfterMethodSampleTest.java | 9 import java.lang.reflect.Method; 24 public void afterMethod(ITestContext c, Method m) {
|
/external/vogar/src/vogar/ |
ClassAnalyzer.java | 19 import java.lang.reflect.Method; 32 Method candidate = klass.getMethod(name, parameters);
|
/external/vogar/src/vogar/android/ |
AndroidProfiler.java | 23 import java.lang.reflect.Method; 28 private final Method newArrayThreadSet; 29 private final Method newThreadGroupThreadSet; 31 private final Method start; 32 private final Method stop; 33 private final Method shutdown; 34 private final Method write; 35 private final Method getHprofData;
|
/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
DuckTypingDispatcher.java | 19 import java.lang.reflect.Method; 27 * <p>For example, if two types have identical method names and arguments, but 52 public Object dispatch(Method method, Object[] args) { 53 return mDuck.invoke(method.getName(), args);
|