Searched refs:method (Results 1 - 25 of 157) sorted by relevance

1234567

/frameworks/base/core/java/android/text/method/
H A DTransformationMethod2.java16 package android.text.method;
H A DDateKeyListener.java17 package android.text.method;
H A DDateTimeKeyListener.java17 package android.text.method;
H A DHideReturnsTransformationMethod.java17 package android.text.method;
20 * This transformation method causes any carriage return characters (\r)
H A DSingleLineTransformationMethod.java17 package android.text.method;
20 * This transformation method causes any newline characters (\n) to be
H A DTimeKeyListener.java17 package android.text.method;
H A DTransformationMethod.java17 package android.text.method;
39 * This method is called when the TextView that uses this
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java31 public boolean accept(Method method) { argument
32 return ((method.getParameterTypes().length == 0) &&
33 (method.getName().startsWith("test")) &&
34 (method.getReturnType().getSimpleName().equals("void")));
H A DTestCaseCollector.java46 * The class name may be in "<class name>#<method name>" format
60 * The class name may be in "<class name>#<method name>" format
76 * Adds class to test by providing class name and method name in separate strings
89 for (Method method : methods) {
90 if (mFilter.accept(method)) {
91 addSingleTestMethod(clazz, method.getName());
105 protected void addSingleTestMethod(Class<?> clazz, String method) { argument
111 testCase.setName(method);
134 * Determine if a class and its method should be accepted into test suite
140 * Determine that based on the method signatur
143 accept(Method method) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl_language_y.y197 p->next = (interface_item_type*)$2.method;
200 $$.interface_item = (interface_item_type*)$2.method;
204 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
212 method_type *method = (method_type*)malloc(sizeof(method_type));
213 method->interface_item.item_type = METHOD_TYPE;
214 method->interface_item.next = NULL;
215 method->oneway = false;
216 method->type = $1.type;
217 memset(&method->oneway_token, 0, sizeof(buffer_type));
218 method
[all...]
/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DDispatchable.java21 * Dynamically dispatch a method and its argument to some object.
23 * <p>This can be used to intercept method calls and do work around them, redirect work,
28 * Dispatch the method and arguments to this object.
29 * @param method a method defined in class {@code T}
30 * @param args arguments corresponding to said {@code method}
31 * @return the object returned when invoking {@code method}
32 * @throws Throwable any exception that might have been raised while invoking the method
34 public Object dispatch(Method method, Object[] args) throws Throwable; argument
H A DInvokeDispatcher.java37 public Object dispatch(Method method, Object[] args) { argument
39 return method.invoke(mTarget, args);
46 Log.wtf(TAG, "IllegalAccessException while invoking " + method, e);
49 Log.wtf(TAG, "IllegalArgumentException while invoking " + method, e);
H A DDuckTypingDispatcher.java27 * <p>For example, if two types have identical method names and arguments, but
52 public Object dispatch(Method method, Object[] args) { argument
53 return mDuck.invoke(method.getName(), args);
H A DHandlerDispatcher.java33 * <p>Any exceptions thrown on the handler while trying to invoke a method
49 * @param dispatchTarget the destination whose method calls will be redirected into the handler
60 public Object dispatch(final Method method, final Object[] args) throws Throwable { argument
65 mDispatchTarget.dispatch(method, args);
72 Log.wtf(TAG, "IllegalAccessException while invoking " + method, e);
75 Log.wtf(TAG, "IllegalArgumentException while invoking " + method, e);
H A DMethodNameInvoker.java26 * Invoke a method on a dispatchable by its name (without knowing the {@code Method} ahead of time).
38 * Create a new method name invoker.
49 * Invoke a method by its name.
51 * <p>If more than one method exists in {@code targetClass}, the first method with the right
52 * number of arguments will be used, and later calls will all use that method.</p>
55 * The name of the method, which will be matched 1:1 to the destination method
63 * @throws Throwable will rethrow anything that the target method would normally throw
71 for (Method method
[all...]
H A DNullDispatcher.java35 public Object dispatch(Method method, Object[] args) { argument
H A DArgumentReplacingDispatcher.java47 * <p>For example, if a method {@code onAction(T1 a, Integer b, T2 c)} is invoked, and we wanted
51 * <p>If a method dispatched has less arguments than {@code argumentIndex}, it is
67 public Object dispatch(Method method, Object[] args) throws Throwable { argument
74 return mTarget.dispatch(method, args);
H A DBroadcastDispatcher.java49 public Object dispatch(Method method, Object[] args) throws Throwable { argument
54 Object localResult = dispatchTarget.dispatch(method, args);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java46 Method method = null;
54 method = testClass.getMethod(fName, (Class[]) null);
59 if (!Modifier.isPublic(method.getModifiers())) {
65 if (method.isAnnotationPresent(FlakyTest.class)) {
66 runCount = method.getAnnotation(FlakyTest.class).tolerance();
67 } else if (method.isAnnotationPresent(RepetitiveTest.class)) {
68 runCount = method.getAnnotation(RepetitiveTest.class).numIterations();
72 if (method.isAnnotationPresent(UiThreadTest.class)) {
75 final Method testMethod = method;
89 } else if (method
[all...]
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java25 * Contains a utility method for adapting a given interface against a real implementation.
34 * proxy object implementing that interface, which will forward all method calls made on the
50 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
53 .getMethod(method.getName(), method.getParameterTypes())
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeBasicsTest.java191 public void method() { throw new RuntimeException("foo"); }
193 assertRaisesException("testObject.method()");
212 private void method() {}
215 executeJavaScriptAndGetStringResult("typeof testObject.method"));
220 public void method() { mTestController.setStringValue("object 1"); }
222 executeJavaScript("testObject.method()");
226 public void method() { mTestController.setStringValue("object 2"); }
228 executeJavaScript("testObject.method()");
246 public void method() { mTestController.setStringValue("0 args"); }
247 public void method(in
[all...]
/frameworks/multidex/library/resources/JACK-INF/
H A DlegacyMultidexInstallation.jpp34 method void <init>();
47 method void attachBaseContext(class android.content.Context)
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DViewUtils.java45 Log.d(TAG, "Could not find method computeFitSystemWindows. Oh well.");
69 * Allow calling the hidden method {@code computeFitSystemWindows(Rect, Rect)} through
83 * Allow calling the hidden method {@code makeOptionalFitsSystem()} through reflection on
90 // and ViewGroup implement the method
91 Method method = view.getClass().getMethod("makeOptionalFitsSystemWindows");
92 if (!method.isAccessible()) {
93 method.setAccessible(true);
95 method.invoke(view);
97 Log.d(TAG, "Could not find method makeOptionalFitsSystemWindows. Oh well...");
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java24 * Bundle of information returned by input method manager about a successful
25 * binding to an input method.
31 * The input method service.
33 public final IInputMethodSession method; field in class:InputBindResult
41 * The ID for this input method, as found in InputMethodInfo; null if
42 * no input method will be bound.
58 method = _method;
66 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
79 return "InputBindResult{" + method + " " + id
93 dest.writeStrongInterface(method);
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotationTest.java39 Method method = aClass.getMethod("testSomeTest");
41 TestMethod testMethod = new TestMethod(method, aClass);

Completed in 354 milliseconds

1234567