/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 297 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 D | ARTSPConnection.cpp | 768 // 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 D | MyTransmitter.h | 293 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 D | WifiDisplaySource.cpp | 1058 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 D | LinearMap.h | 39 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 D | BootAnimation.cpp | 117 // 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 D | Content.java | 116 + "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 D | scan.cpp | 134 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 D | TestCaseCollector.java | 46 * 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 D | UiAutomatorTestCaseFilter.java | 31 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 D | AbstractAccountAuthenticator.java | 485 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 D | ContentProvider.java | 85 * 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 D | ContentProviderClient.java | 450 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 D | ContentProviderNative.java | 279 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 D | ContentResolver.java | 754 * 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 D | IContentProvider.java | 61 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 D | ArgumentReplacingDispatcher.java | 47 * <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 D | BroadcastDispatcher.java | 49 public Object dispatch(Method method, Object[] args) throws Throwable { argument 54 Object localResult = dispatchTarget.dispatch(method, args);
|
H A D | Dispatchable.java | 21 * 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 D | DuckTypingDispatcher.java | 27 * <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 D | HandlerDispatcher.java | 33 * <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 D | InvokeDispatcher.java | 37 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 D | NullDispatcher.java | 35 public Object dispatch(Method method, Object[] args) { argument
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 310 * 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 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 2275 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument [all...] |