Searched defs:response (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Exchange/src/com/android/exchange/
H A DMeetingResponseRequest.java27 MeetingResponseRequest(long messageId, int response) { argument
29 mResponse = response;
32 // MeetingResponseRequests are unique by their message id (i.e. there's only one response to
H A DEasResponse.java36 * Encapsulate a response to an HTTP POST
42 // Microsoft-defined HTTP response indicating a redirect to a "better" server.
60 private EasResponse(final HttpResponse response, argument
62 mResponse = response;
63 mEntity = (response == null) ? null : mResponse.getEntity();
69 int status = response.getStatusLine().getStatusCode();
83 final HttpResponse response = client.execute(request);
84 return new EasResponse(response, connManager, reqTime);
96 * @return Whether this response indicates an authentication error.
103 * @return Whether this response indicate
[all...]
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSettings.java71 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
73 return new SettingsParser(response.getInputStream()).parse()
H A DEasOptions.java85 protected int handleResponse(final EasResponse response, final SyncResult syncResult) { argument
86 final Header commands = response.getHeader("MS-ASProtocolCommands");
87 final Header versions = response.getHeader("ms-asprotocolversions");
90 LogUtils.e(LOG_TAG, "OPTIONS response without commands or versions");
H A DEasFolderSync.java110 * @return The response {@link Bundle} expected by the RPC.
157 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
159 if (!response.isEmpty()) {
161 response.getInputStream(), mAccount, mStatusOnly).parse();
H A DEasMoveItems.java73 // Notably, if the server returns 200 with an empty response, we retry. This is
75 // response state really means.
116 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
118 if (!response.isEmpty()) {
119 final MoveItemsParser parser = new MoveItemsParser(response.getInputStream());
130 private void processResponse(final MessageMove request, final MoveResponse response) { argument
136 if (response.sourceMessageId == null) {
137 // The response didn't contain SrcMsgId, despite it being required.
139 "MoveItems response for message %d has no SrcMsgId, using request's server id",
143 sourceMessageId = response
[all...]
H A DEasPing.java93 * latency in the server's response.
189 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
191 if (response.isEmpty()) {
193 throw new IOException("Empty ping response");
196 // Handle a valid response.
197 final PingParser pp = new PingParser(response.getInputStream());
201 // Take the appropriate action for this response.
326 * current ping response.
H A DEasProvision.java43 * The structure of the requests and response are essentially the same for both, so we use the
234 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
236 final ProvisionParser pp = new ProvisionParser(mContext, response.getInputStream());
237 // If this is the response for a remote wipe ack, it doesn't have anything useful in it.
244 throw new IOException("Error while parsing response");
247 // What we care about in the response depends on what phase we're in.
H A DEasSync.java185 protected int handleResponse(final EasResponse response, final SyncResult syncResult) argument
197 response.getInputStream(), mailbox, account);
202 // This indicates a compressed response which was empty, which is OK.
H A DEasOperation.java60 * response. There are also a set of functions that a subclass may override if it's substantially
162 * itself, such as network errors and handling of the HTTP response. However, some errors that
163 * can be indicated in the HTTP response code can also be indicated in the payload of the
164 * response as well, so {@link #handleResponse} should in those cases return the appropriate
166 * response code.
178 final EasResponse response;
180 response = mConnection.executeHttpUriRequest(makeRequest(), getTimeout());
219 // The POST completed, so process the response.
223 if (response.isSuccess()) {
226 responseResult = handleResponse(response, syncResul
401 handleResponse(final EasResponse response, final SyncResult syncResult) argument
[all...]
/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/service/
H A DEasTestAuthenticatorService.java48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument
72 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
79 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument
85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
90 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument
102 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument
108 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
H A DAuthenticatorService.java55 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument
108 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
115 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument
121 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
126 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument
138 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument
144 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
H A DEmailServiceStub.java463 public void sendMeetingResponse(long messageId, int response) throws RemoteException { argument
H A DEmailServiceUtils.java688 public void sendMeetingResponse(long messageId, int response) throws RemoteException { argument
/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)
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasMeetingResponder.java49 /** Value to use if we get a UI response value that we can't handle. */
59 * @param messageOperationResponse The response value that came from the UI.
75 * Send the response to both the EAS server and as email (if appropriate).
78 * @param response The UI's value for the user's response to the meeting.
81 final int response) {
82 final int easResponse = messageOperationResponseToUserResponse(response);
84 LogUtils.e(TAG, "Bad response value: %d", response);
116 * Send an email response t
80 sendMeetingResponse(final Context context, final long messageId, final int response) argument
120 sendMeetingResponseMail(final PackedString meetingInfo, final int response) argument
192 sendResponse(final Message msg, final String mailboxServerId, final int response) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java296 * Send a meeting response for the specified message
299 * @param response the response code, as defined in EmailServiceConstants
302 public void sendMeetingResponse(final long messageId, final int response) argument
307 mService.sendMeetingResponse(messageId, response);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DSetupData.java162 public void setAccountAuthenticatorResponse(AccountAuthenticatorResponse response) { argument
163 mAccountAuthenticatorResponse = response;
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java97 * Give the mock a pattern to wait for. No response will be sent.
105 * Give the mock a pattern to wait for and a response to send back.
107 * @param response String to reply with, or null to acccept string but not respond to it
109 public void expect(String pattern, String response) { argument
110 expect(pattern, (response == null) ? null : new String[] { response });
114 * Give the mock a pattern to wait for and a multi-line response to send back.
277 * If no response text is available, we assert (failing our test) as an underflow.
287 // if there's nothing to read, see if we can find a null-pattern response
/packages/apps/Nfc/nci/jni/
H A DNfcTag.cpp692 in SENSB_RES response, byte 6 through 9 is Application Data, byte 10-12 or 13 is Protocol Info;
747 //iso 15693 response flags: 1 octet
847 //copy higher-layer response bytes into Java object;
852 ALOGD ("%s: T4T; ISO_DEP for tech B; copy response bytes; len=%u", fn, pb_iso.hi_info_len);
880 //iso 15693 response flags: 1 octet
1241 ** Description: Whether the response is a T2T NACK response.
1244 ** response: buffer contains T2T response.
1245 ** responseLen: length of the response
1250 isT2tNackResponse(const UINT8* response, UINT32 responseLen) argument
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfp.cpp458 ALOGE("Failed sending cops response, status: %d", status);
481 const char *response; local
484 response = env->GetStringUTFChars(response_str, NULL);
486 if ( (status = sBluetoothHfpInterface->formatted_at_response(response)) != BT_STATUS_SUCCESS) {
487 ALOGE("Failed formatted AT response, status: %d", status);
489 env->ReleaseStringUTFChars(response_str, response);
499 ALOGE("Failed AT response, status: %d", status);
518 ALOGE("Failed sending CLCC response, status: %d", status);
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapFolder.java273 // Process response to get the new UIDs
274 for (ImapResponse response : responseList) {
276 if (response.isBad() || (response.isNo() && response.isTagged())) {
277 String responseText = response.getStatusResponseTextOrEmpty().getString();
281 if (!response.isTagged()) {
289 ImapList copyResponse = response.getListOrEmpty(1);
357 for (ImapResponse response : responses) {
358 if (response
843 handleUntaggedResponse(ImapResponse response) argument
[all...]
H A DPop3Store.java177 String response;
178 while ((response = mTransport.readLine(false)) != null) {
179 parser.parseMultiLine(response);
243 String response = executeSimpleCommand("STAT");
244 String[] parts = response.split(" ");
395 String response = executeSimpleCommand("UIDL " + msgNum);
396 if (!parser.parseSingleLine(response)) {
404 String response = executeSimpleCommand("UIDL");
405 while ((response = mTransport.readLine(false)) != null) {
406 if (!parser.parseMultiLine(response)) {
465 parseSingleLine(String response) argument
497 parseMultiLine(String response) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarController.java175 * It is the default attendee response and an all day event indicator.
178 * To signal the event is an all-day event, "or" ALL_DAY_MASK with the response.
209 int response = (int)(extraLong & ATTENTEE_STATUS_MASK);
210 switch (response) {
220 Log.wtf(TAG,"Unknown attendee response " + response);
226 public static long buildViewExtraLong(int response, boolean allDay) { argument
229 switch (response) {
243 Log.wtf(TAG,"Unknown attendee response " + response);
756 launchViewEvent(long eventId, long startMillis, long endMillis, int response) argument
[all...]

Completed in 300 milliseconds

12