/frameworks/base/test-runner/src/android/test/ |
H A D | TestRunner.java | 96 * Implemented method of the interface TestListener which will listen for the 106 * Implemented method of the interface TestListener which will listen for the 119 * Implemented method of the interface TestListener which will listen for an 285 Method method = getChildrenMethod(clazz); 286 if (method != null) { 287 String[] children = getChildren(method); 377 + " children method: " + className); 561 throw new RuntimeException("couldn't get children method for " 585 throw new RuntimeException("children method is not static"); 690 Method method [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | DelegateClassAdapterTest.java | 83 // This is expected to fail since the native method is not implemented. 86 // Now process it but tell the delegate to not modify any method 113 // This is expected to fail since the native method has NOT been 118 // Check that the native method does NOT have the new annotation 121 for (Method method : m) { 122 if ("native_instance".equals(method.getName())) { 123 nativeInstanceMethod = method; 193 // Check that the native method now has the new annotation and is not native 196 for (Method method : m) { 197 if ("native_instance".equals(method [all...] |
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleViewDebug.java | 73 /** Invoke a method on the view. */ 304 * Invokes provided method on the view. 305 * The method name and its arguments are passed in as inputs via the byte buffer. 307 * <li> len(method name) </li> 308 * <li> method name </li> 317 * Methods that take no arguments need only specify the method name. 372 "Unsupported parameter type (" + c + ") to invoke view method."); 377 Method method = null; 379 method = targetView.getClass().getMethod(methodName, argTypes); 381 Log.e(TAG, "No such method [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DialerFilter.java | 27 import android.text.method.DialerKeyListener; 28 import android.text.method.KeyListener; 29 import android.text.method.TextKeyListener;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaHTTPConnection.java | 226 String method = mConnection.getRequestMethod(); 228 !method.equals("GET") && !method.equals("HEAD")) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatViewInflater.java | 189 * android:onClick doesn't handle views with a ContextWrapper context. This method 267 * named click handling method from a parent or ancestor context. 291 "Could not execute non-public method for android:onClick", e); 294 "Could not execute method for android:onClick", e); 303 final Method method = context.getClass().getMethod(mMethodName, View.class); 304 if (method != null) { 305 mResolvedMethod = method; 311 // Failed to find method, keep searching up the hierarchy. 325 throw new IllegalStateException("Could not find method " + mMethodName
|
/frameworks/base/core/java/android/text/method/ |
H A D | AllCapsTransformationMethod.java | 16 package android.text.method;
|
H A D | ScrollingMovementMethod.java | 17 package android.text.method; 26 * A movement method that interprets movement keys by scrolling the text buffer.
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | TextViewBindingAdapterTest.java | 30 import android.text.method.DialerKeyListener; 31 import android.text.method.DigitsKeyListener; 32 import android.text.method.KeyListener; 33 import android.text.method.TextKeyListener;
|
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | MultiDex.java | 82 * loaded from the application apk. This method should be called in the 264 * Locates a given method anywhere in the class inheritance hierarchy. 266 * @param instance an object to search the method into. 267 * @param name method name 268 * @param parameterTypes method parameter types 269 * @return a method object 270 * @throws NoSuchMethodException if the method cannot be located 276 Method method = clazz.getDeclaredMethod(name, parameterTypes); 279 if (!method.isAccessible()) { 280 method [all...] |
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
H A D | EmojiEditTextHelper.java | 24 import android.text.method.KeyListener; 45 * public void setKeyListener(android.text.method.KeyListener keyListener) { 113 * KeyListener. When used on devices running API 18 or below, this method returns 129 * this method returns {@code inputConnection} that is given as a parameter.
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 38 #define ARGS(method) method ## Args 56 #define SETUP_TASK(method) \ 57 LOG_ALWAYS_FATAL_IF( METHOD_INVOKE_PAYLOAD_SIZE < sizeof(ARGS(method)), \ 58 "METHOD_INVOKE_PAYLOAD_SIZE %zu is smaller than sizeof(" #method "Args) %zu", \ 59 METHOD_INVOKE_PAYLOAD_SIZE, sizeof(ARGS(method))); \ 60 MethodInvokeRenderTask* task = new MethodInvokeRenderTask((RunnableMethod) Bridge_ ## method); \ 61 ARGS(method) *args = (ARGS(method) *) task->payload()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
H A D | TelephonyMetricsTest.java | 119 Method method = TelephonyMetrics.class.getDeclaredMethod("buildProto"); 120 method.setAccessible(true); 121 return (TelephonyLog) method.invoke(mMetrics); 125 Method method = TelephonyMetrics.class.getDeclaredMethod("reset"); 126 method.setAccessible(true); 127 method.invoke(mMetrics); 133 Method method = TelephonyMetrics.class.getDeclaredMethod("convertProtoToBase64String", 135 method.setAccessible(true); 136 return (String) method.invoke(null, log);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 60 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method 736 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, argument 738 return runAction(action, errorResult, method, false, onlyEstablishedConnection); 741 private <R> R runAction(Action<R> action, R errorResult, String method) { argument 742 return runAction(action, errorResult, method, true, true); 745 private <R> R runAction(Action<R> action, R errorResult, String method, argument 749 Log.w(TAG, method + " failed: not bound to TTS engine"); 752 return mServiceConnection.runAction(action, errorResult, method, reconnect, 836 * It is good practice for instance to call this method in the onDestroy() method o 2289 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 66 #define INVOKEV(object, method, ...) \ 67 env->CallVoidMethod(object, method, __VA_ARGS__)
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 186 uint16_t method; local 189 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) { 196 if (method != ZipFileRO::kCompressStored) {
|
/frameworks/base/libs/androidfw/ |
H A D | ZipFileRO.cpp | 108 *pMethod = ze.method; 205 if (ze.method == kCompressStored) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 198 Method method = clazz.getMethod("setDataSource", String.class); 199 method.invoke(instance, filePath); 201 // The method name changes between API Level 9 and 10.
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 542 public Bundle call(String method, String arg, Bundle extras) { argument 543 Bundle bundle = super.call(method, arg, extras); 544 if (bundle == null && !TextUtils.isEmpty(method)) { 545 switch (method) { 578 Log.w(TAG, "unknown method passed to call(): " + method);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 1056 AString method; local 1058 data->getRequestField(0, &method); 1066 if (method.startsWith("RTSP/")) { 1104 if (method == "OPTIONS") { 1106 } else if (method == "SETUP") { 1108 } else if (method == "PLAY") { 1110 } else if (method == "PAUSE") { 1112 } else if (method == "TEARDOWN") { 1114 } else if (method == "GET_PARAMETER") { 1116 } else if (method [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MOManager.java | 229 * R1 *only* addSP method. 621 EAPMethod method = cred.getEAPMethod(); 632 if (method.getEAPMethodID() == EAP.EAPMethodID.EAP_SIM 633 || method.getEAPMethodID() == EAP.EAPMethodID.EAP_AKA 634 || method.getEAPMethodID() == EAP.EAPMethodID.EAP_AKAPrim) { 639 Integer.toString(EAP.mapEAPMethod(method.getEAPMethodID())), null); 641 } else if (method.getEAPMethodID() == EAP.EAPMethodID.EAP_TTLS) { 650 Integer.toString(EAP.mapEAPMethod(method.getEAPMethodID())), null); 652 ((NonEAPInnerAuth) method.getAuthParam()).getOMAtype(), null); 654 } else if (method [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 477 public @Nullable Bundle call(@NonNull String method, @Nullable String arg, argument 479 Preconditions.checkNotNull(method, "method"); 483 return mContentProvider.call(mPackageName, method, arg, extras);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 47 * this class offers the {@link #getBestDateTimePattern} method. 232 * <p>This method will automatically correct for grammatical necessity. Given the 233 * same "MMMMd" input, this method will return "d LLLL" in the {@code fa_IR} locale, 238 * <p>This method will only return patterns that are in CLDR, and is useful whenever
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
H A D | AnnotationClass.java | 75 for (ModelMethod method : getMethods("get", 1)) { 76 ModelClass parameter = method.getParameterTypes()[0]; 80 return (AnnotationClass) method.getReturnType(parameters);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiControllerTest.java | 74 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); 75 method.setAccessible(true); 76 return (IState) method.invoke(mWifiController);
|