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

1234

/frameworks/base/tools/aidl/
H A Daidl_language_y.y154 p->next = (interface_item_type*)$2.method;
157 $$.interface_item = (interface_item_type*)$2.method;
161 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
169 method_type *method = (method_type*)malloc(sizeof(method_type));
170 method->interface_item.item_type = METHOD_TYPE;
171 method->interface_item.next = NULL;
172 method->type = $1.type;
173 method->oneway = false;
174 memset(&method->oneway_token, 0, sizeof(buffer_type));
175 method
[all...]
H A Dgenerate_java.cpp313 generate_method(const method_type* method, Class* interface, argument
320 const bool oneway = proxyClass->mOneWay || method->oneway;
324 transactCodeName += method->name.data;
336 decl->comment = gather_comments(method->comments_token->extra);
338 decl->returnType = NAMES.Search(method->type.type.data);
339 decl->returnTypeDimension = method->type.dimension;
340 decl->name = method->name.data;
342 arg = method->args;
354 // == the stub method ====================================================
358 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/java/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;
40 * 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;
44 * return any other value, a soft input method will be created when the
47 * 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
H A DMovementMethod.java17 package android.text.method;
44 * Returns true if this movement method allows arbitrary selection
45 * of any text; false if it has no selection (like a movement method
/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/base/core/java/android/widget/
H A DEditText.java24 import android.text.method.ArrowKeyMovementMethod;
25 import android.text.method.MovementMethod;
32 * with a key listener and a movement method wouldn't do!
/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>
74 * For each test method invocation, the Activity will not actually be created until the first
75 * time this method is called.
83 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
84 * will be started automatically just before your test method is run. You still call this
85 * method in order to get the Activity under test.
108 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
115 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
118 * <p>The default Intent (if this method is not called) is:
130 * 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...]
/frameworks/base/tests/CoreTests/android/core/
H A DClassTest.java69 Method method = helloClass.getDeclaredMethod("method", (Class[]) null);
71 method.invoke(new ClassTest(), (Object[]) null);
75 method = helloClass.getDeclaredMethod("methodWithArgs", Object.class);
79 Object ret = method.invoke(new ClassTest(), invokeArgs);
84 method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null);
86 method.invoke(new ClassTest(), (Object[]) null);
89 // call to the private method is being made from the same class.
113 helloClass.getMethod("method", (Class[]) null);
118 helloClass.getMethod("method", argType
140 public void method() { method in class:ClassTest
[all...]
/frameworks/base/core/jni/
H A Dandroid_nio_utils.cpp82 static jmethodID findStaticMethod(JNIEnv* env, jclass c, const char method[], argument
84 jmethodID m = env->GetStaticMethodID(c, method, params);
85 LOG_FATAL_IF(!m, "Unable to find method %s", method);
/frameworks/base/core/java/android/view/
H A DViewDebug.java170 * When resolveId is true, and if the annotated field/method return value
477 * Only one view recycler can be traced at the same time. After calling this method, any
483 * This method will return immediately if TRACE_RECYCLER is false.
511 * Calling this method creates the file <code>/EXTERNAL/view-recycler/PREFIX.traces</code>
512 * containing all the traces (or method calls) relative to the specified view's recycler.
514 * Calling this method creates the file <code>/EXTERNAL/view-recycler/PREFIX.recycler</code>
518 * This method will return immediately if TRACE_RECYCLER is false.
615 * Only one view hierarchy can be traced at the same time. After calling this method, any
619 * Calling this method creates the file <code>/EXTERNAL/view-hierarchy/PREFIX.traces</code>
620 * containing all the traces (or method call
[all...]
/frameworks/base/libs/utils/
H A DZipUtils.cpp279 int method, flags; local
285 method = getc(fp);
289 if (method == EOF || flags == EOF)
291 if (method != ZipFileRO::kCompressDeflated)
338 *pCompressionMethod = method;
/frameworks/base/core/java/android/webkit/
H A DNetwork.java148 * @param method The http method.
154 public boolean requestURL(String method, argument
186 method, headers, loader, bodyProvider, bodyLength);
191 handle = q.queueRequest(url, loader.getWebAddress(), method,
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java246 * If platform notifications have been enabled, call this method
289 * @param method "GET" or "POST."
297 String url, String method,
301 return queueRequest(url, uri, method, headers, eventHandler,
309 * @param method "GET" or "POST."
317 String url, WebAddress uri, String method, Map<String, String> headers,
333 req = new Request(method, httpHost, mProxyHost, uri.mPath, bodyProvider,
344 this, url, uri, method, headers, bodyProvider, bodyLength,
371 String method, Map<String, String> headers,
380 Request req = new Request(method, hos
296 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
316 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
370 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]

Completed in 1479 milliseconds

1234