Searched refs:Method (Results 1 - 25 of 104) sorted by path

12345

/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java21 import java.lang.reflect.Method;
88 Method[] methods = clazz.getMethods();
89 for (Method method : methods) {
143 public boolean accept(Method method);
H A DUiAutomatorTestCaseFilter.java21 import java.lang.reflect.Method;
31 public boolean accept(Method method) {
H A DUiAutomatorTestRunner.java39 import java.lang.reflect.Method;
293 Method testMethod = null;
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java27 import java.lang.reflect.Method;
59 Method mSetter = null;
68 private Method mGetter = null;
103 private static final HashMap<Class, HashMap<String, Method>> sSetterPropertyMap =
104 new HashMap<Class, HashMap<String, Method>>();
105 private static final HashMap<Class, HashMap<String, Method>> sGetterPropertyMap =
106 new HashMap<Class, HashMap<String, Method>>();
660 * function should be and uses reflection to find the Method with that name on the
670 * @return Method the method associated with mPropertyName.
672 private Method getPropertyFunctio
[all...]
/frameworks/base/core/java/android/app/
H A DLoadedApk.java55 import java.lang.reflect.Method;
610 final Method callback;
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java35 import java.lang.reflect.Method;
380 Method method = null;
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DArgumentReplacingDispatcher.java18 import java.lang.reflect.Method;
67 public Object dispatch(Method method, Object[] args) throws Throwable {
H A DBroadcastDispatcher.java19 import java.lang.reflect.Method;
49 public Object dispatch(Method method, Object[] args) throws Throwable {
H A DDispatchable.java18 import java.lang.reflect.Method;
34 public Object dispatch(Method method, Object[] args) throws Throwable;
H A DDuckTypingDispatcher.java19 import java.lang.reflect.Method;
52 public Object dispatch(Method method, Object[] args) {
H A DHandlerDispatcher.java23 import java.lang.reflect.Method;
60 public Object dispatch(final Method method, final Object[] args) throws Throwable {
H A DInvokeDispatcher.java22 import java.lang.reflect.Method;
37 public Object dispatch(Method method, Object[] args) {
H A DMethodNameInvoker.java20 import java.lang.reflect.Method;
26 * Invoke a method on a dispatchable by its name (without knowing the {@code Method} ahead of time).
34 private final ConcurrentHashMap<String, Method> mMethods =
69 Method targetMethod = mMethods.get(methodName);
71 for (Method method : mTargetClass.getMethods()) {
83 "Method " + methodName + " does not exist on class " + mTargetClass);
H A DNullDispatcher.java19 import java.lang.reflect.Method;
35 public Object dispatch(Method method, Object[] args) {
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCameraBinderDecorator.java29 import java.lang.reflect.Method;
65 public void onBeforeInvocation(Method m, Object[] args) {
69 public void onAfterInvocation(Method m, Object[] args, Object result) {
78 public boolean onCatchException(Method m, Object[] args, Throwable t) {
93 public void onFinally(Method m, Object[] args) {
H A DCameraServiceBinderDecorator.java23 import java.lang.reflect.Method;
40 public boolean onCatchException(Method m, Object[] args, Throwable t) {
H A DDecorator.java19 * @param m Method being called
21 void onBeforeInvocation(Method m, Object[] args);
26 * @param m Method being called
29 void onAfterInvocation(Method m, Object[] args, Object result);
35 * @param m Method being called
39 boolean onCatchException(Method m, Object[] args, Throwable t);
44 * @param m Method being called
46 void onFinally(Method m, Object[] args);
74 public Object invoke(Object proxy, Method m, Object[] args)
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java26 import java.lang.reflect.Method;
190 Method updateMethod = tm.getClass().getDeclaredMethod("handleTrustStorageUpdate");
/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/core/java/android/util/
H A DDebugUtils.java19 import java.lang.reflect.Method;
78 Method declaredMethod = null;
H A DReflectiveProperty.java20 import java.lang.reflect.Method;
31 private Method mSetter;
32 private Method mGetter;
/frameworks/base/core/java/android/view/
H A DMenuInflater.java35 import java.lang.reflect.Method;
233 private Method mMethod;
H A DView.java103 import java.lang.reflect.Method;
3995 private Method mHandler;
H A DViewDebug.java45 import java.lang.reflect.Method;
311 private static HashMap<Class<?>, Method[]> mCapturedViewMethodsForClasses = null;
327 private static HashMap<Class<?>, Method[]> sMethodsForClasses;
1036 private static Method[] getExportedPropertyMethods(Class<?> klass) {
1038 sMethodsForClasses = new HashMap<Class<?>, Method[]>(100);
1044 final HashMap<Class<?>, Method[]> map = sMethodsForClasses;
1046 Method[] methods = map.get(klass);
1051 final ArrayList<Method> declaredMethods = new ArrayList();
1054 final ArrayList<Method> foundMethods = new ArrayList<Method>();
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java60 import java.lang.reflect.Method;
141 private static final ArrayMap<Class<? extends View>, ArrayMap<MutablePair<String, Class<?>>, Method>> sMethods =
142 new ArrayMap<Class<? extends View>, ArrayMap<MutablePair<String, Class<?>>, Method>>();
748 private Method getMethod(View view, String methodName, Class<?> paramType) {
749 Method method;
753 ArrayMap<MutablePair<String, Class<?>>, Method> methods = sMethods.get(klass);
755 methods = new ArrayMap<MutablePair<String, Class<?>>, Method>();

Completed in 504 milliseconds

12345