Searched refs:method (Results 51 - 75 of 138) sorted by relevance

123456

/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java63 String method, Map<String, String> headers,
72 mMethod = method == null? "GET" : method;
87 String method, Map<String, String> headers,
90 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength,
266 * @return HTTP request method (GET, PUT, etc).
62 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request) argument
86 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request, Connection conn) argument
H A DRequest.java102 * @param method GET/POST/PUT
111 Request(String method, HttpHost host, HttpHost proxyHost, String path, argument
122 if (bodyProvider == null && !"POST".equalsIgnoreCase(method)) {
123 mHttpRequest = new BasicHttpRequest(method, getUri());
126 method, getUri());
188 * method: it calls addHeader for each pair in the map.
468 * Derived executors can override this method to handle
471 * @param request the request, to obtain the executed method
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc178 #define OpenSL(obj, method, ...) \
180 LOG_OPENSL_API_CALL("OpenSL " #method "(" #obj ", " #__VA_ARGS__ ")"); \
181 SLresult result = (*obj)->method(obj, __VA_ARGS__); \
182 CheckSLResult("OpenSL " #method "(" #obj ", " #__VA_ARGS__ ")", result); \
186 #define VoidOpenSL(obj, method) \
188 LOG_OPENSL_API_CALL("OpenSL (void) " #method "(" #obj ")"); \
189 (*obj)->method(obj); \
193 #define OpenSL0(obj, method) \
195 LOG_OPENSL_API_CALL("OpenSL " #method "(" #obj ")"); \
196 SLresult result = (*obj)->method(ob
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java162 * Returns the encryption method or {@code null} if it is not present.
176 * Sets the encryption method and the encryption key. The field will be
177 * removed if the method is {@code null}.
179 public void setEncryption(String method, String key) { argument
180 mFields.setEncryption(method, key);
427 * Returns the encryption method or {@code null} if it is not present.
451 * Sets the encryption method and the encryption key. The field will be
452 * removed if the method is {@code null}.
454 public void setEncryption(String method, String key) { argument
455 set("k", '=', (method
[all...]
/frameworks/base/core/java/android/text/method/
H A DBaseKeyListener.java17 package android.text.method;
22 import android.text.method.TextKeyListener.Capitalize;
H A DDigitsKeyListener.java17 package android.text.method;
H A DNumberKeyListener.java17 package android.text.method;
H A DScrollingMovementMethod.java17 package android.text.method;
25 * A movement method that interprets movement keys by scrolling the text buffer.
H A DWordIterator.java18 package android.text.method;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPasswordView.java25 import android.text.method.DigitsKeyListener;
26 import android.text.method.TextKeyListener;
154 * @param imm The input method manager
195 // input method subtype (The current IME should be LatinIME.)
H A DKeyguardPINView.java23 import android.text.method.DigitsKeyListener;
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java114 public Bundle call(String callingPackage, String method, String request, Bundle args) argument
116 return MockContentProvider.this.call(method, request, args);
190 throw new UnsupportedOperationException("unimplemented mock method");
195 throw new UnsupportedOperationException("unimplemented mock method");
200 throw new UnsupportedOperationException("unimplemented mock method");
205 throw new UnsupportedOperationException("unimplemented mock method");
211 throw new UnsupportedOperationException("unimplemented mock method");
216 throw new UnsupportedOperationException("unimplemented mock method");
224 throw new UnsupportedOperationException("unimplemented mock method");
229 throw new UnsupportedOperationException("unimplemented mock method");
241 call(String method, String request, Bundle args) argument
[all...]
H A DMockIContentProvider.java45 throw new UnsupportedOperationException("unimplemented mock method");
51 throw new UnsupportedOperationException("unimplemented mock method");
55 throw new UnsupportedOperationException("unimplemented mock method");
61 throw new UnsupportedOperationException("unimplemented mock method");
66 throw new UnsupportedOperationException("unimplemented mock method");
71 throw new UnsupportedOperationException("unimplemented mock method");
76 throw new UnsupportedOperationException("unimplemented mock method");
82 throw new UnsupportedOperationException("unimplemented mock method");
87 throw new UnsupportedOperationException("unimplemented mock method");
92 throw new UnsupportedOperationException("unimplemented mock method");
95 call(String callingPackage, String method, String request, Bundle args) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java54 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method
613 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, argument
615 return runAction(action, errorResult, method, false, onlyEstablishedConnection);
618 private <R> R runAction(Action<R> action, R errorResult, String method) { argument
619 return runAction(action, errorResult, method, true, true);
622 private <R> R runAction(Action<R> action, R errorResult, String method, argument
626 Log.w(TAG, method + " failed: not bound to TTS engine");
629 return mServiceConnection.runAction(action, errorResult, method, reconnect,
713 * It is good practice for instance to call this method in the onDestroy() method o
1583 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp184 AString method; local
190 if (itemMeta->findString("cipher-method", &method)) {
197 method = "NONE";
199 buffer->meta()->setString("cipher-method", method.c_str());
201 if (method == "NONE") {
203 } else if (!(method == "AES-128")) {
204 ALOGE("Unsupported cipher method '%s'", method
288 AString method; local
971 AString method; local
[all...]
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java107 + "usage: adb shell content call --uri <URI> --method <METHOD> [--arg <ARG>]\n"
109 + " <METHOD> is the name of a provider-defined method\n"
126 private static final String ARGUMENT_METHOD = "--method";
245 String method = null;
256 method = argumentValueRequired(argument);
270 if (method == null) {
271 throw new IllegalArgumentException("Content provider method not specified.");
273 return new CallCommand(uri, userId, method, arg, values);
428 public CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) { argument
430 mMethod = method;
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java95 * Implemented method of the interface TestListener which will listen for the
105 * Implemented method of the interface TestListener which will listen for the
118 * Implemented method of the interface TestListener which will listen for an
284 Method method = getChildrenMethod(clazz);
285 if (method != null) {
286 String[] children = getChildren(method);
376 + " children method: " + className);
560 throw new RuntimeException("couldn't get children method for "
584 throw new RuntimeException("children method is not static");
689 Method method
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java74 /** Invoke a method on the view. */
286 * Invokes provided method on the view.
287 * The method name and its arguments are passed in as inputs via the byte buffer.
289 * <li> len(method name) </li>
290 * <li> method name </li>
299 * Methods that take no arguments need only specify the method name.
354 "Unsupported parameter type (" + c + ") to invoke view method.");
359 Method method = null;
361 method = targetView.getClass().getMethod(methodName, argTypes);
363 Log.e(TAG, "No such method
[all...]
/frameworks/base/core/java/android/widget/
H A DDialerFilter.java27 import android.text.method.DialerKeyListener;
28 import android.text.method.KeyListener;
29 import android.text.method.TextKeyListener;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java255 public Bundle call(String method, String arg, Bundle extras) { argument
256 if (METHOD_PURGE.equals(method)) {
275 } else if (METHOD_PURGE_PACKAGE.equals(method)) {
298 return super.call(method, arg, extras);
/frameworks/base/tools/aidl/
H A Daidl_language.h113 method_type* method; member in union:lexer_type
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java28 import android.text.method.AllCapsTransformationMethod;
29 import android.text.method.TransformationMethod;
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp66 #define INVOKEV(object, method, ...) \
67 env->CallVoidMethod(object, method, __VA_ARGS__)
222 LOG_FATAL_IF(!var, "Unable to find method " methodName);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java199 Method method = clazz.getMethod("setDataSource", String.class);
200 method.invoke(instance, filePath);
202 // The method name changes between API Level 9 and 10.
/frameworks/volley/src/com/android/volley/
H A DRequest.java59 /** Request method of this request. Currently supports GET, POST, PUT, and DELETE. */
118 * Creates a new request with the given method (one of the values from {@link Method}),
123 public Request(int method, String url, Response.ErrorListener listener) { argument
124 mMethod = method;
133 * Return the method for this request. Can be one of the values in {@link Method}.
480 * and return an appropriate response type. This method will be
489 * Subclasses can override this method to parse 'networkError' and return a more specific error.

Completed in 576 milliseconds

123456