Searched refs:responses (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DQuickResponseActivity.java37 * This presents the user with list if quick responses to be populated in an email
67 // Populate responses
68 String[] responses = Utils.getQuickResponses(this);
69 Arrays.sort(responses);
72 mResponses = new String[responses.length + 1];
74 for (i = 0; i < responses.length; i++) {
75 mResponses[i] = responses[i];
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DMockTransport.java65 Transaction(String pattern, String[] responses) { argument
68 mResponses = responses;
124 * @param responses Strings to reply with
126 public void expect(String pattern, String[] responses) { argument
127 Transaction pair = new Transaction(pattern, responses);
135 public void expectLiterally(String literal, String[] responses) { argument
136 expect("^" + Pattern.quote(literal) + "$", responses);
245 * supports banners, multi-line responses, and any other cases where we respond without
304 * If the string was expected, we push the corresponding responses into the mQueuedInput
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DSapServerTest.java310 public ArrayList<SapMessage> responses = null; field in class:SapServerTest.SapSequencer.SeqStep
315 responses = new ArrayList<SapMessage>();
317 this.responses.add(response);
322 this.responses.add(response);
327 * @return true if one or more of the responses are != null. False otherwise.
330 if(responses == null)
332 for(SapMessage response : responses) {
391 * responses in the step will be searched for a match.
424 /* Handle and validate all responses - if any */
430 for(SapMessage response : step.responses) {
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapConnection.java216 * Read and return all of the responses from the most recent command sent to the server
223 final List<ImapResponse> responses = new ArrayList<ImapResponse>();
227 responses.add(response);
244 return responses;
H A DImapFolder.java181 String[] getSearchUids(List<ImapResponse> responses) { argument
184 for (ImapResponse response : responses) {
474 * Handle any untagged responses that the caller doesn't care to handle themselves.
475 * @param responses
477 private void handleUntaggedResponses(List<ImapResponse> responses) { argument
478 for (ImapResponse response : responses) {
720 final List<ImapResponse> responses = mConnection.executeSimpleCommand(
726 for (ImapResponse response : responses) {
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapResponseParserTest.java39 String responses) {
40 return new ImapResponseParser(new ByteArrayInputStream(Utility.toAscii(responses)),
38 generateParser(int literalKeepInMemoryThreshold, String responses) argument
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapConnection.java331 * Read and return all of the responses from the most recent command sent to the server
338 final List<ImapResponse> responses = new ArrayList<ImapResponse>();
342 responses.add(response);
359 return responses;
450 // Special case to handle malformed OK responses and ignore them.
475 // Special case to handle malformed OK responses and ignore them.
598 // Special case to handle malformed OK responses and ignore them.
H A DImapFolder.java280 // All "BAD" responses are bad. Only "NO", tagged responses are bad.
285 // Skip untagged responses; they're just status
357 final List<ImapResponse> responses = mConnection.executeSimpleCommand(
362 for (ImapResponse response : responses) {
381 String[] getSearchUids(List<ImapResponse> responses) { argument
384 for (ImapResponse response : responses) {
835 * Handle any untagged responses that the caller doesn't care to handle themselves.
836 * @param responses
838 private void handleUntaggedResponses(List<ImapResponse> responses) { argument
[all...]
H A DImapStore.java77 * Further, the server may return the information in separate FETCH responses
432 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand);
433 for (ImapResponse response : responses) {
576 * Save a {@link ImapConnection} in the pool for reuse. Any responses associated with the
/packages/services/Telecomm/src/com/android/server/telecom/
H A DConnectionServiceWrapper.java946 CreateConnectionResponse[] responses = mPendingResponses.values().toArray(
949 for (int i = 0; i < responses.length; i++) {
950 responses[i].handleCreateConnectionFailure(

Completed in 870 milliseconds