/frameworks/volley/src/com/android/volley/ |
H A D | Request.java | 64 * Request method of this request. Currently supports GET, POST, PUT, DELETE, HEAD, OPTIONS, 126 * Creates a new request with the given method (one of the values from {@link Method}), 131 public Request(int method, String url, Response.ErrorListener listener) { argument 132 mMethod = method; 141 * Return the method for this request. Can be one of the values in {@link Method}. 526 * and return an appropriate response type. This method will be 535 * Subclasses can override this method to parse 'networkError' and return a more specific error.
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | JsonObjectRequest.java | 38 * @param method the HTTP method to use 45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, argument 47 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener,
|
H A D | JsonRequest.java | 56 public JsonRequest(int method, String url, String requestBody, Listener<T> listener, argument 58 super(method, url, errorListener);
|
H A D | StringRequest.java | 34 * Creates a new request with the given method. 36 * @param method the request {@link Method} to use 41 public StringRequest(int method, String url, Listener<String> listener, argument 43 super(method, url, errorListener);
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockHttpURLConnection.java | 50 public void setRequestMethod(String method) { argument 51 mRequestMethod = method;
|
H A D | TestRequest.java | 36 public Base(int method, String url, Response.ErrorListener listener) { argument 37 super(method, url, listener);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionController.java | 213 private boolean checkNotifyPermission(String method) { argument 219 logd("checkNotifyPermission Permission Denial: " + method + " from pid="
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 162 * 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 D | SipHelper.java | 112 private CSeqHeader createCSeqHeader(String method) argument 115 return mHeaderFactory.createCSeqHeader(sequence, method);
|
H A D | SipSessionGroup.java | 140 // TODO: remove this method once SipWakeupTimer can better handle variety 1674 * method; false otherwise 1676 private static boolean isRequestEvent(String method, EventObject event) { argument 1680 return method.equals(requestEvent.getRequest().getMethod()); 1692 * @return true if the event is a response event and the CSeqHeader method
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 383 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/tools/aapt/ |
H A D | Command.cpp | 109 * Return a short string describing the compression method. 111 const char* compressionName(int method) argument 113 if (method == ZipEntry::kCompressStored) { 115 } else if (method == ZipEntry::kCompressDeflated) {
|
H A D | ZipFile.cpp | 465 int method; local 468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, 470 if (!scanResult || method != ZipEntry::kCompressDeflated) {
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 113 method_type* method; member in union:lexer_type
|
H A D | generate_java_binder.cpp | 250 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...] |
H A D | generate_java_rpc.cpp | 91 void AddMethod(const method_type* method); 153 DispatcherClass::AddMethod(const method_type* method) argument 159 ifs->expression = new MethodCall(new StringLiteralExpression(method->name.data), "equals", 171 MethodCall* realCall = new MethodCall(this->targetExpression, method->name.data); 176 arg = method->args; 200 // Add that parameter to the method call 210 Type* returnType = NAMES.Search(method->type.type.data); 222 method->type.dimension); 239 arg = method->args; 500 void AddMethod(int index, const string& name, Method** method, Variabl 574 AddMethod(int index, const string& name, Method** method, Variable** param) argument 632 generate_results_method(const method_type* method, RpcProxyClass* proxyClass) argument 677 generate_proxy_method(const method_type* method, RpcProxyClass* proxyClass, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument 740 generate_result_dispatcher_method(const method_type* method, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument 796 generate_regular_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ResultDispatcherClass* resultsDispatcherClass, int index) argument 841 generate_event_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ListenerClass* listenerClass, EventListenerClass* presenterClass, int index) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | AppCompatActionBar.java | 144 private static Object invoke(Method method, Object owner, Object... args) { argument 146 return method == null ? null : method.invoke(owner, args);
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 36 * {@link LayoutlibDelegate}, and look for a matching method in the delegate (named the same 38 * If the original native method is not static, then we make sure the delegate method also 88 // with @LayoutlibDelegate, look for a matching method in the delegate class. 89 // The annotation is automatically added by layoutlib_create when it replace a method 101 // if the method is not static, then the class is added as the first parameter 122 // try to load the method with the given parameter types. 129 String.format("Delegate method %1$s.%2$s does not match the " + 130 "corresponding framework method which returns %3$s", 136 // check that the method ha 186 getMethodName(Method method) argument 190 getMethodName(Method method, Class<?>[] parameters) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsProvider.java | 255 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/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 684 public Bundle call(String method, String request, Bundle args) { argument 703 if (Settings.CALL_METHOD_GET_SYSTEM.equals(method)) { 714 if (Settings.CALL_METHOD_GET_SECURE.equals(method)) { 730 if (Settings.CALL_METHOD_GET_GLOBAL.equals(method)) { 761 if (Settings.CALL_METHOD_PUT_SYSTEM.equals(method)) { 790 } else if (Settings.CALL_METHOD_PUT_SECURE.equals(method)) { 826 } else if (Settings.CALL_METHOD_PUT_GLOBAL.equals(method)) { 833 Slog.w(TAG, "call() with invalid method: " + method);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 214 final IInputMethod method; field in class:InputMethodManagerService.SessionState 222 + " method " + Integer.toHexString( 223 System.identityHashCode(method)) 233 method = _method; 275 * Id of the currently selected input method. 286 * The client that is currently bound to an input method. 306 * The input method ID of the input method service that we are currently 312 * The current subtype of the current input method. 331 * Set if the client has asked for the input method t 594 MethodCallback(InputMethodManagerService imms, IInputMethod method, InputChannel channel) argument 1343 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument [all...] |
H A D | MountService.java | 400 final String method; field in class:MountService.UmsEnableCallBack 402 UmsEnableCallBack(String path, String method, boolean force) { argument 404 this.method = method; 410 doShareUnshareVolume(path, method, true); 557 // This method must be run on the main (handler) thread, 732 private void doShareUnshareVolume(String path, String method, boolean enable) { argument 734 if (!method.equals("ums")) { 735 throw new IllegalArgumentException(String.format("Method %s not supported", method)); 739 mConnector.execute("volume", enable ? "share" : "unshare", path, method); 1227 doGetVolumeShared(String path, String method) argument [all...] |
H A D | TelephonyRegistry.java | 1427 private boolean checkNotifyPermission(String method) { argument 1432 String msg = "Modify Phone State Permission Denial: " + method + " from pid="
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 114 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 D | MockIContentProvider.java | 45 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...] |