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

12345

/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 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
H A DHideReturnsTransformationMethod.java17 package android.text.method;
27 * This transformation method causes any carriage return characters (\r)
H A DKeyListener.java17 package android.text.method;
50 * return any other value, a soft input method will be created when the
53 * not be used, instead the soft input method will take care of managing
H A DSingleLineTransformationMethod.java17 package android.text.method;
29 * This transformation method causes any newline characters (\n) to be
/frameworks/testing/uiautomator/library/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());
106 protected void addSingleTestMethod(Class<?> clazz, String method) { argument
112 testCase.setName(method);
124 * Determine if a class and its method should be accepted into test suite
130 * Determine that based on the method signatur
133 accept(Method method) argument
[all...]
/frameworks/base/tools/aidl/
H A Daidl_language_y.y196 p->next = (interface_item_type*)$2.method;
199 $$.interface_item = (interface_item_type*)$2.method;
203 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
211 method_type *method = (method_type*)malloc(sizeof(method_type));
212 method->interface_item.item_type = METHOD_TYPE;
213 method->interface_item.next = NULL;
214 method->type = $1.type;
215 method->oneway = false;
216 memset(&method->oneway_token, 0, sizeof(buffer_type));
217 method
[all...]
H A Dgenerate_java_rpc.cpp91 void AddMethod(const method_type* method);
153 DispatcherClass::AddMethod(const method_type* method) argument
159 ifs->expression = new MethodCall(new StringLiteralExpression(method->name.data), "equals",
171 MethodCall* realCall = new MethodCall(this->targetExpression, method->name.data);
176 arg = method->args;
200 // Add that parameter to the method call
210 Type* returnType = NAMES.Search(method->type.type.data);
222 method->type.dimension);
239 arg = method->args;
500 void AddMethod(int index, const string& name, Method** method, Variabl
574 AddMethod(int index, const string& name, Method** method, Variable** param) argument
632 generate_results_method(const method_type* method, RpcProxyClass* proxyClass) argument
677 generate_proxy_method(const method_type* method, RpcProxyClass* proxyClass, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument
740 generate_result_dispatcher_method(const method_type* method, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument
796 generate_regular_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ResultDispatcherClass* resultsDispatcherClass, int index) argument
841 generate_event_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ListenerClass* listenerClass, EventListenerClass* presenterClass, int index) argument
[all...]
H A Dgenerate_java_binder.cpp250 generate_method(const method_type* method, Class* interface, argument
257 const bool oneway = proxyClass->mOneWay || method->oneway;
261 transactCodeName += method->name.data;
273 decl->comment = gather_comments(method->comments_token->extra);
275 decl->returnType = NAMES.Search(method->type.type.data);
276 decl->returnTypeDimension = method->type.dimension;
277 decl->name = method->name.data;
279 arg = method->args;
291 // == the stub method ====================================================
295 MethodCall* realCall = new MethodCall(THIS_VALUE, method
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java23 * Bundle of information returned by input method manager about a successful
24 * binding to an input method.
30 * The input method service.
32 public final IInputMethodSession method; field in class:InputBindResult
35 * The ID for this input method, as found in InputMethodInfo; null if
36 * no input method will be bound.
46 method = _method;
52 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
59 return "InputBindResult{" + method + " " + id
70 dest.writeStrongInterface(method);
[all...]
/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/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);
H A DHasMethodAnnotationTest.java42 Method method = aClass.getMethod(methodName);
43 TestMethod testMethod = new TestMethod(method, aClass);
H A DHasAnnotationTest.java46 Method method = aClass.getMethod(methodName);
47 TestMethod testMethod = new TestMethod(method, aClass);
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java41 * Injects instrumentation into this test case. This method is
51 * Injects instrumentation into this test case. This method is
73 * Utility method for launching an activity.
101 * Utility method for launching an activity with a specific Intent.
127 * Note, in most cases it is simpler to annotate the test method with
128 * {@link android.test.UiThreadTest}, which will run the entire test method on the UI thread.
129 * Use this method if you need to switch in and out of the UI thread to perform your test.
131 * @param r runnable containing test code in the {@link Runnable#run()} method
157 Method method = null;
163 method
[all...]
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/
H A DNonExecutingJUnit4ClassRunner.java44 protected Statement methodBlock(FrameworkMethod method) { argument
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase2.java31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
80 * For each test method invocation, the Activity will not actually be created until the first
81 * time this method is called.
89 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
90 * will be started automatically just before your test method is run. You still call this
91 * method in order to get the Activity under test.
114 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
121 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
124 * <p>The default Intent (if this method is not called) is:
136 * Call this method befor
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DAssignableFromTest.java54 Method method = aClass.getMethod("testX");
55 return new TestMethod(method, aClass);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java36 * {@link LayoutlibDelegate}, and look for a matching method in the delegate (named the same
38 * If the original native method is not static, then we make sure the delegate method also
86 // with @LayoutlibDelegate, look for a matching method in the delegate class.
87 // The annotation is automatically added by layoutlib_create when it replace a method
99 // if the method is not static, then the class is added as the first parameter
120 // try to load the method with the given parameter types.
124 // check that the method has the annotation
127 "Delegate method %1$s for class %2$s does not have the @LayoutlibDelegate annotation",
132 // check that the method i
171 getMethodName(Method method) argument
175 getMethodName(Method method, Class<?>[] parameters) argument
[all...]

Completed in 350 milliseconds

12345