Searched refs:response (Results 1 - 25 of 50) sorted by relevance

12

/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DMeetingResponseRequest.java25 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 DEasResponse.java34 * 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 DSnepBasicTests.java55 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 DSnepCustomClientTests.java71 SnepMessage response = client.get(getSmallNdef());
72 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField());
H A DSnepDefaultClientTests.java71 SnepMessage response = client.get(getSmallNdef());
72 assertEquals(SnepMessage.RESPONSE_NOT_IMPLEMENTED, response.getField());
H A DSnepValidationClientTests.java152 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 DEasTestAuthenticatorService.java48 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 DEasAuthenticatorService.java58 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 DPopImapAuthenticatorService.java56 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/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
H A DTestAuthenticator.java62 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 DPop3Store.java243 String response;
244 while ((response = mTransport.readLine()) != null) {
245 parser.parseMultiLine(response);
310 String response = executeSimpleCommand("STAT");
311 String[] parts = response.split(" ");
461 String response = executeSimpleCommand("UIDL " + msgNum);
462 if (!parser.parseSingleLine(response)) {
470 String response = executeSimpleCommand("UIDL");
471 while ((response = mTransport.readLine()) != null) {
472 if (!parser.parseMultiLine(response)) {
564 parseSingleLine(String response) argument
596 parseMultiLine(String response) argument
[all...]
H A DImapFolder.java270 // Process response to get the new UIDs
271 for (ImapResponse response : responseList) {
273 if (response.isBad() || (response.isNo() && response.isTagged())) {
274 String responseText = response.getStatusResponseTextOrEmpty().getString();
278 if (!response.isTagged()) {
286 ImapList copyResponse = response.getListOrEmpty(1);
354 for (ImapResponse response : responses) {
355 if (response
729 handleUntaggedResponse(ImapResponse response) argument
[all...]
H A DImapConnection.java70 /** # 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/apps/Browser/src/com/android/browser/
H A DFetchUrlMimeType.java87 HttpResponse response;
91 response = client.execute(request);
95 if (response.getStatusLine().getStatusCode() == 200) {
96 Header header = response.getFirstHeader("Content-Type");
104 Header contentDispositionHeader = response.getFirstHeader("Content-Disposition");
H A DGoogleAccountLogin.java117 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 DDownloadTouchIcon.java128 HttpResponse response = client.execute(request);
129 if (response.getStatusLine().getStatusCode() == 200) {
130 HttpEntity entity = response.getEntity();
/packages/apps/Calendar/src/com/android/calendar/
H A DQuickResponseSettings.java54 for (String response : mResponses) {
57 et.setTitle(response); // Display Text
58 et.setText(response); // Value to edit
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapResponseParser.java35 * 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 DImsFrameworkApp.java122 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/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIEmailService.aidl50 oneway void sendMeetingResponse(long messageId, int response);
/packages/apps/Nfc/nci/jni/
H A DNfcTag.h214 ** Description: Whether the response is a T2T NACK response.
217 ** response: buffer contains T2T response.
218 ** responseLen: length of the response.
220 ** Returns: True if the response is NACK
223 bool isT2tNackResponse (const UINT8* response, UINT32 responseLen);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestClient.java117 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 DMessageViewFragment.java98 * 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
363 private void onRespondToInvite(int response, int toastResId) { argument
366 // do not send twice in a row the same response
367 if (mPreviousMeetingResponse != response) {
368 getController().sendMeetingResponse(message.mId, response);
369 mPreviousMeetingResponse = response;
372 mCallback.onRespondedToInvite(response);
[all...]
/packages/apps/Browser/src/com/android/browser/search/
H A DOpenSearchSearchEngine.java155 // 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());
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapResponseParserTest.java83 "* a\r\n" // shortest response
322 * Parser shouldn't crash for any response. Should just throw IO/MessagingException.
351 private static void expectMessagingException(String response) throws Exception { argument
352 final ImapResponseParser p = generateParser(100000, response);
355 fail("Didn't throw Exception: response='" + response + "'");
366 * OK response with a long message that contains special chars. (including tabs)

Completed in 460 milliseconds

12