Searched defs:method (Results 51 - 75 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/net/http/
H A DRequest.java99 * @param method GET/POST/PUT
108 Request(String method, HttpHost host, HttpHost proxyHost, String path, argument
119 if (bodyProvider == null && !"POST".equalsIgnoreCase(method)) {
120 mHttpRequest = new BasicHttpRequest(method, getUri());
123 method, getUri());
185 * method: it calls addHeader for each pair in the map.
465 * Derived executors can override this method to handle
468 * @param request the request, to obtain the executed method
H A DRequestQueue.java242 * If platform notifications have been enabled, call this method
285 * @param method "GET" or "POST."
293 String url, String method,
297 return queueRequest(url, uri, method, headers, eventHandler,
305 * @param method "GET" or "POST."
313 String url, WebAddress uri, String method, Map<String, String> headers,
329 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider,
340 this, url, uri, method, headers, bodyProvider, bodyLength,
367 String method, Map<String, String> headers,
376 Request req = new Request(method, hos
292 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
312 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
366 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
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
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java620 public Bundle call(String method, String arg, Bundle extras) { argument
621 if (!method.startsWith("android:")) {
623 return super.call(method, arg, extras);
639 if (METHOD_CREATE_DOCUMENT.equals(method)) {
653 } else if (METHOD_RENAME_DOCUMENT.equals(method)) {
677 } else if (METHOD_DELETE_DOCUMENT.equals(method)) {
685 throw new UnsupportedOperationException("Method not supported " + method);
688 throw new IllegalStateException("Failed call " + method, e);
/frameworks/base/core/java/android/text/method/
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 DPasswordTransformationMethod.java17 package android.text.method;
H A DTextKeyListener.java17 package android.text.method;
H A DMetaKeyKeyListener.java17 package android.text.method;
170 * is stored into the text buffer. This method retrieves the meta state
268 * Call this method after you handle a keypress so that the meta
305 * Call this if you are a method that ignores the locked meta state
429 * Call this if you are a method that ignores the locked meta state
512 * Call this method after you handle a keypress so that the meta
/frameworks/base/libs/androidfw/
H A DZipUtils.cpp266 int method, flags; local
272 method = getc(fp);
276 if (method == EOF || flags == EOF)
278 if (method != ZipFileRO::kCompressDeflated)
325 *pCompressionMethod = method;
H A DAsset.cpp185 int method; local
208 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen,
219 result = pAsset->openChunk(fd, offset, method, uncompressedLen,
293 int method, size_t uncompressedLen, AccessMode mode)
299 result = pAsset->openChunk(dataMap, method, uncompressedLen);
292 createFromCompressedMap(FileMap* dataMap, int method, size_t uncompressedLen, AccessMode mode) argument
/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");
67 throw new UnsupportedOperationException("unimplemented mock method");
72 throw new UnsupportedOperationException("unimplemented mock method");
77 throw new UnsupportedOperationException("unimplemented mock method");
83 throw new UnsupportedOperationException("unimplemented mock method");
88 throw new UnsupportedOperationException("unimplemented mock method");
93 throw new UnsupportedOperationException("unimplemented mock method");
96 call(String callingPackage, String method, String request, Bundle args) argument
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java113 * @return The {@link TestGrouping} for method chaining.
135 * @return The {@link TestGrouping} for method chaining.
146 * if that method was never called.
249 public boolean apply(Method method) { argument
250 return ((method.getParameterTypes().length == 0) &&
251 (method.getName().startsWith("test")) &&
252 (method.getReturnType().getSimpleName().equals("void")));
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp383 void reportEvent(JNIEnv *env, jclass cls, const char *method, const char *signature, ...) argument
388 jmethodID methodID = env->GetStaticMethodID(cls, method, signature);
389 if (method == NULL) {
390 ALOGE("Error in getting method ID");
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java115 + "usage: adb shell content call --uri <URI> --method <METHOD> [--arg <ARG>]\n"
117 + " <METHOD> is the name of a provider-defined method\n"
141 private static final String ARGUMENT_METHOD = "--method";
262 String method = null;
273 method = argumentValueRequired(argument);
287 if (method == null) {
288 throw new IllegalArgumentException("Content provider method not specified.");
290 return new CallCommand(uri, userId, method, arg, values);
464 public CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) { argument
466 mMethod = method;
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java110 * Invokes a static "main(argv[]) method on class "className".
145 "Main method is not public and static on " + className);
150 * by invoking the exception's run() method. This arrangement
884 * Helper exception class which holds a method and arguments and
890 /** method to call */
896 public MethodAndArgsCaller(Method method, String[] args) { argument
897 mMethod = method;
/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
H A Dgenerate_java_binder.cpp250 generate_method(const method_type* method, Class* interface, argument
257 const bool oneway = proxyClass->mOneWay || method->oneway;
261 transactCodeName += method->name.data;
273 decl->comment = gather_comments(method->comments_token->extra);
275 decl->returnType = NAMES.Search(method->type.type.data);
276 decl->returnTypeDimension = method->type.dimension;
277 decl->name = method->name.data;
279 arg = method->args;
291 // == the stub method ====================================================
295 MethodCall* realCall = new MethodCall(THIS_VALUE, method
[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/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java112 private CSeqHeader createCSeqHeader(String method) argument
115 return mHeaderFactory.createCSeqHeader(sequence, method);
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp768 // support the method.
954 const AString &request, AString *method, AString *url) {
961 method->setTo(request, 0, space1);
996 AString method, url; local
997 GetMethodAndURL(*request, &method, &url);
1007 A2.append(method);
953 GetMethodAndURL( const AString &request, AString *method, AString *url) argument
H A DMyTransmitter.h290 AString *request, const char *method, const char *url) {
310 A2.append(method);
289 addAuthentication( AString *request, const char *method, const char *url) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp120 // bitmap will go out of scope when we return from this method.
184 // bitmap will go out of scope when we return from this method.
532 int method; local
534 if (mZip->getEntryInfo(entry, &method, NULL, NULL, NULL, NULL, NULL)) {
535 if (method == ZipFileRO::kCompressStored) {
/frameworks/base/tools/aapt/
H A DZipFile.cpp465 int method; local
468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen,
470 if (!scanResult || method != ZipEntry::kCompressDeflated) {

Completed in 408 milliseconds

1234