Searched defs:method (Results 1 - 25 of 128) sorted by path

123456

/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp297 AString method; local
303 if (itemMeta->findString("cipher-method", &method)) {
310 method = "NONE";
312 buffer->meta()->setString("cipher-method", method.c_str());
314 if (method == "NONE") {
316 } else if (!(method == "AES-128")) {
317 ALOGE("Unsupported cipher method '%s'", method
410 AString method; local
1406 AString method; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp768 // support the method.
947 const AString &request, AString *method, AString *url) {
954 method->setTo(request, 0, space1);
988 AString method, url; local
989 GetMethodAndURL(*request, &method, &url);
999 A2.append(method);
946 GetMethodAndURL( const AString &request, AString *method, AString *url) argument
H A DMyTransmitter.h293 AString *request, const char *method, const char *url) {
313 A2.append(method);
292 addAuthentication( AString *request, const char *method, const char *url) argument
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1058 AString method; local
1060 data->getRequestField(0, &method);
1068 if (method.startsWith("RTSP/")) {
1106 if (method == "OPTIONS") {
1108 } else if (method == "SETUP") {
1110 } else if (method == "PLAY") {
1112 } else if (method == "PAUSE") {
1114 } else if (method == "TEARDOWN") {
1116 } else if (method == "GET_PARAMETER") {
1118 } else if (method
[all...]
/frameworks/av/services/audioflinger/
H A DLinearMap.h39 The method findX() can be used to retrieve an x value from a given y value and is
226 T findX(T y, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
227 return findU(y, mX, mY, method, extrapolation, startValue);
233 T findY(T x, FindMethod *method = NULL, double extrapolation = 0.0, T startValue = 0) const {
234 return findU(x, mY, mX, method, extrapolation, startValue);
289 // method: [out] how the returned value was computed.
298 // whether there are samples in history by the method hasData().
301 T findU(T v, T *uArray, T *vArray, FindMethod *method, argument
304 if (method != NULL) {
305 *method
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp117 // bitmap will go out of scope when we return from this method.
181 // bitmap will go out of scope when we return from this method.
610 uint16_t method; local
612 if (mZip->getEntryInfo(entry, &method, NULL, NULL, NULL, NULL, NULL)) {
613 if (method == ZipFileRO::kCompressStored) {
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java116 + "usage: adb shell content call --uri <URI> --method <METHOD> [--arg <ARG>]\n"
118 + " <METHOD> is the name of a provider-defined method\n"
142 private static final String ARGUMENT_METHOD = "--method";
263 String method = null;
274 method = argumentValueRequired(argument);
288 if (method == null) {
289 throw new IllegalArgumentException("Content provider method not specified.");
291 return new CallCommand(uri, userId, method, arg, values);
481 public CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) { argument
483 mMethod = method;
[all...]
/frameworks/base/cmds/idmap/
H A Dscan.cpp134 uint16_t method; local
135 if (!zip->getEntryInfo(entry, &method, &uncompLen, NULL, NULL, NULL, NULL)) {
139 if (method != ZipFileRO::kCompressDeflated) {
140 ALOGW("%s: cannot handle zip compression method %" PRIu16 "\n", __FUNCTION__, method);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
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());
105 protected void addSingleTestMethod(Class<?> clazz, String method) { argument
111 testCase.setName(method);
134 * Determine if a class and its method should be accepted into test suite
140 * Determine that based on the method signatur
143 accept(Method method) argument
[all...]
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...]

Completed in 1029 milliseconds

123456