/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 154 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 D | generate_java.cpp | 313 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 D | InputBindResult.java | 23 * 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 D | DateKeyListener.java | 17 package android.text.method;
|
H A D | DateTimeKeyListener.java | 17 package android.text.method;
|
H A D | TimeKeyListener.java | 17 package android.text.method;
|
H A D | TransformationMethod.java | 17 package android.text.method; 40 * This method is called when the TextView that uses this
|
H A D | HideReturnsTransformationMethod.java | 17 package android.text.method; 27 * This transformation method causes any carriage return characters (\r)
|
H A D | KeyListener.java | 17 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 D | SingleLineTransformationMethod.java | 17 package android.text.method; 29 * This transformation method causes any newline characters (\n) to be
|
H A D | MovementMethod.java | 17 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 D | HasClassAnnotationTest.java | 39 Method method = aClass.getMethod("testSomeTest"); 41 TestMethod testMethod = new TestMethod(method, aClass);
|
H A D | HasMethodAnnotationTest.java | 42 Method method = aClass.getMethod(methodName); 43 TestMethod testMethod = new TestMethod(method, aClass);
|
H A D | HasAnnotationTest.java | 46 Method method = aClass.getMethod(methodName); 47 TestMethod testMethod = new TestMethod(method, aClass);
|
/frameworks/base/core/java/android/test/ |
H A D | InstrumentationTestCase.java | 41 * 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 D | EditText.java | 24 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 D | ActivityInstrumentationTestCase2.java | 31 * <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 D | AssignableFromTest.java | 54 Method method = aClass.getMethod("testX"); 55 return new TestMethod(method, aClass);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 36 * {@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 D | ClassTest.java | 69 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 D | android_nio_utils.cpp | 82 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 D | ViewDebug.java | 170 * 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 D | ZipUtils.cpp | 279 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 D | Network.java | 148 * @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 D | RequestQueue.java | 246 * 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...] |