Searched refs:Method (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRSReflect.java22 import java.lang.reflect.Method;
32 Method mElement_createUser;
33 Method mElement_createVector;
34 Method mElement_createPixel;
36 Method mElementBuilder_add;
37 Method mElementBuilder_create;
43 Method mTypeBuilder_setX;
44 Method mTypeBuilder_setY;
45 Method mTypeBuilder_setMipmaps;
46 Method mTypeBuilder_setFace
[all...]
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java21 import java.lang.reflect.Method;
31 public boolean accept(Method method) {
H A DTestCaseCollector.java21 import java.lang.reflect.Method;
88 Method[] methods = clazz.getMethods();
89 for (Method method : methods) {
133 public boolean accept(Method method);
/frameworks/base/core/java/com/android/internal/util/
H A DWithFramework.java19 import java.lang.reflect.Method;
45 Method mainMethod = mainClass.getMethod("main", String[].class);
/frameworks/ex/common/java/com/android/common/
H A DSharedPreferencesCompat.java22 import java.lang.reflect.Method;
29 private static Method sApplyMethod; // final
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java22 import java.lang.reflect.Method;
83 List<Method> checkedDelegateMethods = new ArrayList<Method>();
89 Method[] originalMethods = originalClass.getDeclaredMethods();
90 for (Method originalMethod : originalMethods) {
121 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(),
154 Method[] delegateMethods = delegateClass.getDeclaredMethods();
155 for (Method delegateMethod : delegateMethods) {
171 private String getMethodName(Method method) {
175 private String getMethodName(Method metho
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotationTest.java22 import java.lang.reflect.Method;
39 Method method = aClass.getMethod("testSomeTest");
H A DHasMethodAnnotationTest.java23 import java.lang.reflect.Method;
42 Method method = aClass.getMethod(methodName);
H A DHasAnnotationTest.java26 import java.lang.reflect.Method;
46 Method method = aClass.getMethod(methodName);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java21 import java.lang.reflect.Method;
50 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp94 Method* processMethod;
124 this->processMethod = new Method;
330 Method* ctor = new Method;
345 Method* get = new Method;
400 Method* ctor = new Method;
481 Method* ctor = new Method;
[all...]
H A Dgenerate_java_binder.cpp41 Method* ctor = new Method;
56 Method* asBinder = new Method;
69 Method* onTransact = new Method;
98 Method* m = new Method;
175 Method* ctor = new Method;
[all...]
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase2.java22 import java.lang.reflect.Method;
185 Method method = getClass().getMethod(getName(), (Class[]) null);
H A DTestRunner.java26 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...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DAssignableFromTest.java21 import java.lang.reflect.Method;
54 Method method = aClass.getMethod("testX");
/frameworks/base/tests/CoreTests/android/core/
H A DHttpHeaderTest.java26 import java.lang.reflect.Method;
80 Method m = CacheManager.class.getDeclaredMethod("parseHeaders",
/frameworks/base/core/java/android/util/
H A DReflectiveProperty.java20 import java.lang.reflect.Method;
31 private Method mSetter;
32 private Method mGetter;
H A DDebugUtils.java19 import java.lang.reflect.Method;
77 Method declaredMethod = null;
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java24 import java.lang.reflect.Method;
46 Method method = null;
56 fail("Method \""+fName+"\" not found");
60 fail("Method \""+fName+"\" should be public");
75 final Method testMethod = method;
116 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable {
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DTestLoader.java25 import java.lang.reflect.Method;
137 for (Method testMethod : loadedClass.getMethods()) {
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java28 import java.lang.reflect.Method;
73 for (Method testMethod : getTestMethods(testCase)) {
80 protected List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) {
81 List<Method> methods = Arrays.asList(testCaseClass.getMethods());
247 private static class TestMethodPredicate implements Predicate<Method> {
249 public boolean apply(Method method) {
H A DTestMethod.java24 import java.lang.reflect.Method;
36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java25 import java.lang.reflect.Method;
55 Method mSetter = null;
64 private Method mGetter = null;
99 private static final HashMap<Class, HashMap<String, Method>> sSetterPropertyMap =
100 new HashMap<Class, HashMap<String, Method>>();
101 private static final HashMap<Class, HashMap<String, Method>> sGetterPropertyMap =
102 new HashMap<Class, HashMap<String, Method>>();
366 * function should be and uses reflection to find the Method with that name on the
376 * @return Method the method associated with mPropertyName.
378 private Method getPropertyFunctio
[all...]
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java28 import java.lang.reflect.Method;
157 Method method = null;
165 fail("Method \""+fName+"\" not found");
169 fail("Method \""+fName+"\" should be public");
184 final Method testMethod = method;
204 private void runMethod(Method runMethod, int tolerance) throws Throwable {
208 private void runMethod(Method runMethod, int tolerance, boolean isRepetitive) throws Throwable {
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java43 import java.lang.reflect.Method;
118 Method[] m = clazz2.getDeclaredMethods();
186 Method[] m = clazz2.getDeclaredMethods();
346 Method m = instance.getClass().getMethod("get",
358 Method m = instance.getClass().getMethod("get_Original",
370 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null);
390 Method m = instance.getClass().getMethod("add",
403 Method m = instance.getClass().getMethod("callNativeInstance",

Completed in 385 milliseconds

12