Searched defs:method (Results 76 - 100 of 128) sorted by last modified time

123456

/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")));
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java485 private void handleException(IAccountAuthenticatorResponse response, String method, argument
489 Log.v(TAG, method + "(" + data + ")", e);
494 Log.v(TAG, method + "(" + data + ")", e);
497 method + " not supported");
500 Log.v(TAG, method + "(" + data + ")", e);
503 method + " not supported");
505 Log.w(TAG, method + "(" + data + ")", e);
507 method + " failed");
757 * Note: when overriding this method, {@link #finishSession} should be
817 * Note: when overriding this method, {
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java85 * main thread, and must avoid performing lengthy operations. See the method
396 String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) {
400 return ContentProvider.this.call(method, arg, extras);
775 * this content provider. This method can be called from multiple
797 * this content provider. This method can be called from multiple
819 * this content provider. This method can be called from multiple
843 * This method is called for all registered content providers on the
860 * from this method. (Instead, override
870 * This method is always called on the application main thread, and must
874 * Override this method t
395 call( String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) argument
1801 call(@onNull String method, @Nullable String arg, @Nullable Bundle extras) argument
[all...]
H A DContentProviderClient.java450 public @Nullable Bundle call(@NonNull String method, @Nullable String arg, argument
452 Preconditions.checkNotNull(method, "method");
456 return mContentProvider.call(mPackageName, method, arg, extras);
H A DContentProviderNative.java279 String method = data.readString();
283 Bundle responseBundle = call(callingPkg, method, stringArg, args);
632 public Bundle call(String callingPkg, String method, String request, Bundle args) argument
640 data.writeString(method);
H A DContentResolver.java754 * ContentProvider.openFile()} method, so will <em>not</em> work with
796 * ContentProvider.openFile()} method, so will <em>not</em> work with
858 * method of the provider associated with the given URI, to retrieve any file stored there.
911 * method of the provider associated with the given URI, to retrieve any file stored there.
1062 * {@link ContentProvider#openTypedAssetFile} method of the provider
1095 * {@link ContentProvider#openTypedAssetFile} method of the provider
1421 * Call a provider-defined method. This can be used to implement
1425 * @param method provider-defined method name to call. Opaque to
1431 * @throws NullPointerException if uri or method i
1434 call(@onNull Uri uri, @NonNull String method, @Nullable String arg, @Nullable Bundle extras) argument
[all...]
H A DIContentProvider.java61 String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras)
60 call( String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) argument
/frameworks/base/core/java/android/hardware/camera2/dispatch/
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);
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 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 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 DNullDispatcher.java35 public Object dispatch(Method method, Object[] args) { argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java310 * This method is especially useful if the document can be in multiple parents.
709 public Bundle call(String method, String arg, Bundle extras) { argument
710 if (!method.startsWith("android:")) {
712 return super.call(method, arg, extras);
716 return callUnchecked(method, arg, extras);
718 throw new IllegalStateException("Failed call " + method, e);
722 private Bundle callUnchecked(String method, String arg, Bundle extras) argument
740 if (METHOD_IS_CHILD_DOCUMENT.equals(method)) {
752 } else if (METHOD_CREATE_DOCUMENT.equals(method)) {
766 } else if (METHOD_RENAME_DOCUMENT.equals(method)) {
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java60 * 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
2275 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java24 import android.text.method.TextKeyListener;
1879 private char getEllipsisChar(TextUtils.TruncateAt method) { argument
1880 return (method == TextUtils.TruncateAt.END_SMALL) ?
1886 char[] dest, int destoff, TextUtils.TruncateAt method) {
1900 c = getEllipsisChar(method); // ellipsis
1885 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java16 package android.text.method;
H A DArrowKeyMovementMethod.java17 package android.text.method;
29 * A movement method that provides cursor movement and selection.
H A DBaseKeyListener.java17 package android.text.method;
25 import android.text.method.TextKeyListener.Capitalize;
H A DBaseMovementMethod.java17 package android.text.method;
147 * {@link #onKeyDown(TextView, Spannable, int, KeyEvent)} calls this method once
149 * {@link #onKeyOther(TextView, Spannable, KeyEvent)} calls this method repeatedly
H A DCharacterPickerDialog.java17 package android.text.method;
H A DDateKeyListener.java17 package android.text.method;
H A DDateTimeKeyListener.java17 package android.text.method;
H A DDialerKeyListener.java17 package android.text.method;
52 * Overrides the superclass's lookup method to prefer the number field

Completed in 3703 milliseconds

123456