Searched defs:method (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Mms/src/com/android/mms/transaction/
H A DHttpUtils.java80 * A helper method to send or retrieve data through HTTP protocol.
83 * @param url The URL used in a GET request. Null when the method is
85 * @param pdu The data to be POST. Null when the method is HTTP_GET_METHOD.
86 * @param method HTTP_POST_METHOD or HTTP_GET_METHOD.
93 String url, byte[] pdu, int method, boolean isProxySet,
104 + ((method == HTTP_POST_METHOD) ? "POST"
105 : ((method == HTTP_GET_METHOD) ? "GET" : "UNKNOWN")));
124 switch(method) {
139 Log.e(TAG, "Unknown HTTP method: " + method
92 httpConnection(Context context, long token, String url, byte[] pdu, int method, boolean isProxySet, String proxyHost, int proxyPort) argument
[all...]
/packages/apps/Email/src/com/android/exchange/
H A DEasSyncService.java1117 * @param method the method we are going to send
1120 /*package*/ void setHeaders(HttpRequestBase method, boolean usePolicyKey) { argument
1121 method.setHeader("Authorization", mAuthString);
1122 method.setHeader("MS-ASProtocolVersion", mProtocolVersion);
1123 method.setHeader("Connection", "keep-alive");
1124 method.setHeader("User-Agent", mDeviceType + '/' + Eas.VERSION);
1136 method.setHeader("X-MS-PolicyKey", key);
1170 * Convenience method for executePostWithTimeout for use other than with the Ping command
1172 protected HttpResponse executePostWithTimeout(HttpClient client, HttpPost method, in argument
1186 executePostWithTimeout(HttpClient client, HttpPost method, int timeout, boolean isPingCommand) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchActivity.java472 protected boolean onSearchClicked(int method) { argument
485 getLogger().logSearch(mCorpus, method, query.length());
656 * Hides the input method.
673 * Hides the input method when the suggestions get focus.
679 // The suggestions list got focus, hide the input method
690 // The query box got focus, show the input method
730 * If the input method is in fullscreen mode, and the selector corpus

Completed in 321 milliseconds