/frameworks/base/core/java/com/android/internal/util/ |
H A D | WithFramework.java | 19 import java.lang.reflect.Method; 45 Method mainMethod = mainClass.getMethod("main", String[].class);
|
/frameworks/base/awt/java/beans/ |
H A D | PropertyDescriptor.java | 21 import java.lang.reflect.Method; 27 private Method getter; 29 private Method setter; 64 public PropertyDescriptor(String propertyName, Method getter, Method setter) 106 public void setWriteMethod(Method setter) throws IntrospectionException { 125 public void setReadMethod(Method getter) throws IntrospectionException { 147 public Method getWriteMethod() { 151 public Method getReadMethod() { 212 Method[] method [all...] |
H A D | IndexedPropertyDescriptor.java | 20 import java.lang.reflect.Method; 25 private Method indexedGetter; 27 private Method indexedSetter; 43 public IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, 44 Method indexedGetter, Method indexedSetter) throws IntrospectionException { 96 public void setIndexedReadMethod(Method indexedGetter) throws IntrospectionException { 122 public void setIndexedWriteMethod(Method indexedSetter) throws IntrospectionException { 150 public Method getIndexedWriteMetho [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/ |
H A D | TestClassReplacement.java | 19 import java.lang.reflect.Method; 51 Method[] newClassMethods = newClass.getDeclaredMethods(); 52 Method[] oldClassMethods = oldClass.getDeclaredMethods(); 54 for (Method oldMethod : oldClassMethods) { 60 for (Method newMethod : newClassMethods) { 77 private boolean compareMethods(Class<?> newClass, Method newMethod, 78 Class<?> oldClass, Method oldMethod) {
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/ |
H A D | HasClassAnnotationTest.java | 22 import java.lang.reflect.Method; 39 Method method = aClass.getMethod("testSomeTest");
|
H A D | HasMethodAnnotationTest.java | 23 import java.lang.reflect.Method; 42 Method method = aClass.getMethod(methodName);
|
H A D | HasAnnotationTest.java | 26 import java.lang.reflect.Method; 46 Method method = aClass.getMethod(methodName);
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 19 import java.lang.reflect.Method; 75 Method declaredMethod = null;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityInstrumentationTestCase2.java | 22 import java.lang.reflect.Method; 179 Method method = getClass().getMethod(getName(), (Class[]) null);
|
H A D | TestRunner.java | 26 import java.lang.reflect.Method; 284 Method method = getChildrenMethod(clazz); 332 Method[] methods = getAllTestMethods(clazz); 333 for (Method m : methods) { 539 public static Method getChildrenMethod(Class clazz) { 548 public static Method getChildrenMethod(Context c, String className) { 557 Method m = getChildrenMethod(c, className); 581 public static String[] getChildren(Method m) { 607 Method[] methods = getAllTestMethods(clazz); 611 for (Method [all...] |
H A D | TestCaseUtil.java | 27 import java.lang.reflect.Method; 98 Method suiteMethod = testClass.getMethod(
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | AssignableFromTest.java | 21 import java.lang.reflect.Method; 54 Method method = aClass.getMethod("testX");
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 28 import java.lang.reflect.Method; 71 for (Method testMethod : getTestMethods(testCase)) { 78 protected List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) { 79 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); 241 private static class TestMethodPredicate implements Predicate<Method> { 243 public boolean apply(Method method) {
|
H A D | TestMethod.java | 24 import java.lang.reflect.Method; 36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | ClassTest.java | 26 import java.lang.reflect.Method; 69 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); 154 Method[] methods = Button.class.getMethods(); 189 Method[] methods = MyInterface.class.getMethods(); 206 private boolean hasMethod(Method[] methods, String signature) {
|
H A D | MiscRegressionTest.java | 26 import java.lang.reflect.Method; 82 Method m = oClass.getDeclaredMethod("setField", new Class[] { Object.class, Class.class, String.class, short.class}); 123 // Regression test for #1045939: Different output for Method.toString() 127 Method m1 = Object.class.getMethod("notify", new Class[] { }); 128 Method m2 = Object.class.getMethod("toString", new Class[] { }); 129 Method m3 = Object.class.getMethod("wait", new Class[] { long.class, int.class }); 130 Method m4 = Object.class.getMethod("equals", new Class[] { Object.class }); 131 Method m5 = String.class.getMethod("valueOf", new Class[] { char[].class }); 132 Method m6 = Runtime.class.getMethod("exec", new Class[] { String[].class }); 134 assertEquals("Method [all...] |
/frameworks/base/tools/aidl/ |
H A D | generate_java.cpp | 78 Method* ctor = new Method; 93 Method* asBinder = new Method; 106 Method* onTransact = new Method; 135 Method* m = new Method; 212 Method* ctor = new Method; [all...] |
H A D | AST.cpp | 639 Method::Method() function in class:Method 648 Method::~Method() 653 Method::GatherTypes(set<Type*>* types) const 673 Method::Write(FILE* to)
|
H A D | AST.h | 295 struct Method : public ClassElement struct in inherits:ClassElement 306 Method(); 307 virtual ~Method();
|
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 52 import java.lang.reflect.Method; 340 private static HashMap<Class<?>, Method[]> mCapturedViewMethodsForClasses = null; 354 private static HashMap<Class<?>, Method[]> sMethodsForClasses; 1272 private static Method[] getExportedPropertyMethods(Class<?> klass) { 1274 sMethodsForClasses = new HashMap<Class<?>, Method[]>(100); 1280 final HashMap<Class<?>, Method[]> map = sMethodsForClasses; 1283 Method[] methods = map.get(klass); 1288 final ArrayList<Method> foundMethods = new ArrayList<Method>(); 1293 final Method metho [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/metadata/ |
H A D | IIOMetadataUtils.java | 21 import java.lang.reflect.Method; 85 //Method getInstance = cls.getMethod("getInstance");
|
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 28 import java.lang.reflect.Method; 157 Method method = null; 165 fail("Method \""+fName+"\" not found"); 169 fail("Method \""+fName+"\" should be public"); 179 final Method testMethod = method; 198 private void runMethod(Method runMethod, int tolerance) throws Throwable {
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | VCardVerifier.java | 38 import java.lang.reflect.Method; 276 private Method getMockGetEntityIteratorMethod() 294 final Method mockGetEntityIteratorMethod = getMockGetEntityIteratorMethod();
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RuntimeInit.java | 34 import java.lang.reflect.Method; 202 Method m;
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardComposer.java | 55 import java.lang.reflect.Method; 412 public boolean createOneEntry(Method getEntityIteratorMethod) { 460 Method getEntityIteratorMethod) throws VCardException {
|