/packages/apps/Exchange/src/com/android/exchange/ |
H A D | MeetingResponseRequest.java | 25 MeetingResponseRequest(long messageId, int response) { argument 27 mResponse = response; 30 // MeetingResponseRequests are unique by their message id (i.e. there's only one response to
|
H A D | EasResponse.java | 34 * Encapsulate a response to an HTTP POST 52 private EasResponse(HttpResponse response) { argument 53 mResponse = response; 54 mEntity = (response == null) ? null : mResponse.getEntity(); 67 HttpResponse response = client.execute(request); 68 EasResponse result = new EasResponse(response); 69 if (isAuthError(response.getStatusLine().getStatusCode()) 97 * Return an appropriate input stream for the response, either a GZIPInputStream, for 99 * @return the input stream for the response
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
H A D | SnepBasicTests.java | 55 SnepMessage response = null; 58 response = client.getMessage(); 63 assertNotNull(response); 64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 86 SnepMessage response = null; 89 response = client.getMessage(); 94 assertNotNull(response); 95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 117 SnepMessage response = null; 120 response [all...] |
H A D | SnepCustomClientTests.java | 71 SnepMessage response = client.get(getSmallNdef()); 72 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField());
|
H A D | SnepDefaultClientTests.java | 71 SnepMessage response = client.get(getSmallNdef()); 72 assertEquals(SnepMessage.RESPONSE_NOT_IMPLEMENTED, response.getField());
|
H A D | SnepValidationClientTests.java | 152 SnepMessage response = client.get(msg); 153 assertEquals(SnepMessage.RESPONSE_NOT_FOUND, response.getField()); 172 SnepMessage response = client.get(msg); 173 assertEquals(SnepMessage.RESPONSE_EXCESS_DATA, response.getField());
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | EasTestAuthenticatorService.java | 48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 71 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 78 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument 84 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 89 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 101 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument 107 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
|
H A D | EasAuthenticatorService.java | 58 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 113 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 120 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument 126 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 131 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 143 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument 149 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
|
H A D | PopImapAuthenticatorService.java | 56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 91 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 98 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument 104 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 109 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 121 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument 127 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 82 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 95 AccountAuthenticatorResponse response, Account account, Bundle options) { 101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 115 AccountAuthenticatorResponse response, Account account, String[] features) { 126 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument 94 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument 114 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | Pop3Store.java | 242 String response; 243 while ((response = mTransport.readLine()) != null) { 244 parser.parseMultiLine(response); 309 String response = executeSimpleCommand("STAT"); 310 String[] parts = response.split(" "); 460 String response = executeSimpleCommand("UIDL " + msgNum); 461 if (!parser.parseSingleLine(response)) { 469 String response = executeSimpleCommand("UIDL"); 470 while ((response = mTransport.readLine()) != null) { 471 if (!parser.parseMultiLine(response)) { 563 parseSingleLine(String response) argument 595 parseMultiLine(String response) argument [all...] |
H A D | ImapFolder.java | 268 // Process response to get the new UIDs 269 for (ImapResponse response : responseList) { 271 if (response.isBad() || (response.isNo() && response.isTagged())) { 272 String responseText = response.getStatusResponseTextOrEmpty().getString(); 276 if (!response.isTagged()) { 284 ImapList copyResponse = response.getListOrEmpty(1); 350 for (ImapResponse response : responses) { 351 if (response 726 handleUntaggedResponse(ImapResponse response) argument [all...] |
H A D | ImapConnection.java | 70 /** # of command/response lines to log upon crash. */ 129 // NOTE: An IMAP response MUST be processed before issuing any new IMAP 130 // requests. Subsequent requests may destroy previous response data. As 188 * Sets the capability flags according to the response provided by the server. 255 * command, a response will be read which MUST be a continuation request. 271 // Otherwise, read the response from the previous part of the command 272 ImapResponse response = readResponse(); 274 if (!response.isContinuationRequest()) { 299 ImapResponse response; 301 response [all...] |
/packages/providers/DownloadProvider/tests/src/tests/http/ |
H A D | MockWebServer.java | 91 public void enqueue(MockResponse response) { argument 92 responseQueue.add(response); 164 MockResponse response = sendResponse(out, request); 165 if (response.shouldCloseConnectionAfter()) { 261 * Returns a response to satisfy {@code request}. 268 MockResponse response = responseQueue.take(); 269 writeResponse(out, response, false); 270 if (response.getNumPackets() > 0) { 271 // there are continuing packets to send as part of this response. 272 for (int i = 0; i < response 281 writeResponse(OutputStream out, MockResponse response, boolean continuingPacket) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | FetchUrlMimeType.java | 77 HttpResponse response; 81 response = client.execute(request); 85 if (response.getStatusLine().getStatusCode() == 200) { 86 Header header = response.getFirstHeader("Content-Type"); 94 Header contentDispositionHeader = response.getFirstHeader("Content-Disposition");
|
H A D | GoogleAccountLogin.java | 117 HttpResponse response = client.execute(request); 118 int status = response.getStatusLine().getStatusCode(); 122 + response.getStatusLine().getReasonPhrase()); 137 HttpEntity entity = response.getEntity(); 139 Log.d(LOGTAG, "LOGIN_FAIL: Null entity in response");
|
H A D | DownloadTouchIcon.java | 128 HttpResponse response = client.execute(request); 129 if (response.getStatusLine().getStatusCode() == 200) { 130 HttpEntity entity = response.getEntity();
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapResponseParser.java | 35 * IMAP response parser. 111 * Throws IOException() if reaches EOF. As long as logical response lines end with \r\n, 125 * Throws IOException() if reaches EOF. As long as logical response lines end with \r\n, 150 * Reads the next response available on the stream and returns an 161 ImapResponse response = null; 163 response = parseResponse(); 165 Log.d(Logging.LOG_TAG, "<<< " + response.toString()); 179 if (response.is(0, ImapConstants.BYE)) { 181 response.destroy(); 184 mResponsesToDestroy.add(response); [all...] |
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
H A D | ImsFrameworkApp.java | 122 String response = (String) ar.result; 123 Log.d(TAG, "requestIsimAuthentication response: " + response); 129 Message response = mHandler.obtainMessage(EVENT_ISIM_AUTHENTICATION_DONE); 133 phone.requestIsimAuthentication("DUMMY-BASE64-NONCE", response);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | AbstractDownloadManagerFunctionalTest.java | 216 * Enqueue a String response from the MockWebServer. 219 MockResponse response = new MockResponse() 224 mServer.enqueue(response); 225 return response; 228 * Enqueue a byte[] response from the MockWebServer. 231 MockResponse response = new MockResponse() 236 mServer.enqueue(response); 237 return response;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadThread.java | 228 * Fully execute a single download request - setup and send the request, handle the response, 249 HttpResponse response = sendRequest(state, client, request); 250 handleExceptionalStatus(state, innerState, response); 253 Log.v(Constants.TAG, "received response for " + mInfo.mUri); 256 processResponseHeaders(state, innerState, response); 257 InputStream entityStream = openResponseEntity(state, response); 286 * Transfer as much data as possible from the HTTP response to the destination file. 288 * @param entityStream stream for reading the HTTP response entity 466 * Called when we've reached the end of the HTTP response stream, to update the database and 495 * Read some data from the HTTP response strea 525 openResponseEntity(State state, HttpResponse response) argument 547 processResponseHeaders(State state, InnerState innerState, HttpResponse response) argument 609 readResponseHeaders(State state, InnerState innerState, HttpResponse response) argument 670 handleExceptionalStatus(State state, InnerState innerState, HttpResponse response) argument 717 handleRedirect(State state, HttpResponse response, int statusCode) argument 757 handleServiceUnavailable(State state, HttpResponse response) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | IEmailService.aidl | 50 oneway void sendMeetingResponse(long messageId, int response);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
H A D | GoogleSuggestClient.java | 117 HttpResponse response = mHttpClient.execute(method); 118 if (response.getStatusLine().getStatusCode() == 200) { 125 JSONArray results = new JSONArray(EntityUtils.toString(response.getEntity())); 131 if (DBG) Log.d(LOG_TAG, "Request failed " + response.getStatusLine()); 189 Log.w(LOG_TAG, "Error parsing response: " + e); 199 Log.w(LOG_TAG, "Error parsing response: " + e);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageViewFragment.java | 98 * Called when a calender response button is clicked. 100 * @param response one of {@link EmailServiceConstants#MEETING_REQUEST_ACCEPTED}, 104 public void onRespondedToInvite(int response); argument 131 @Override public void onRespondedToInvite(int response) { } argument 365 private void onRespondToInvite(int response, int toastResId) { argument 368 // do not send twice in a row the same response 369 if (mPreviousMeetingResponse != response) { 370 getController().sendMeetingResponse(message.mId, response); 371 mPreviousMeetingResponse = response; 374 mCallback.onRespondedToInvite(response); [all...] |
/packages/apps/Browser/src/com/android/browser/search/ |
H A D | OpenSearchSearchEngine.java | 155 // not including it in the response. 168 * Executes a GET request and returns the response content. 171 * @return The response content. This is the empty string if the response 177 HttpResponse response = mHttpClient.execute(method); 178 if (response.getStatusLine().getStatusCode() == 200) { 179 return EntityUtils.toString(response.getEntity());
|