Searched refs:responses (Results 1 - 7 of 7) 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;
116 * @param responses Strings to reply with
118 public void expect(String pattern, String[] responses) { argument
119 Transaction pair = new Transaction(pattern, responses);
127 public void expectLiterally(String literal, String[] responses) { argument
128 expect("^" + Pattern.quote(literal) + "$", responses);
274 * supports banners, multi-line responses, and any other cases where we respond without
331 * If the string was expected, we push the corresponding responses into the mQueuedInput
/packages/services/Telephony/src/com/android/phone/
H A DRejectWithTextMessageManager.java53 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings.
64 * Read the (customizable) canned responses from SharedPreferences,
80 final ArrayList<String> responses = new ArrayList<String>(NUM_CANNED_RESPONSES);
85 responses.add(0, prefs.getString(KEY_CANNED_RESPONSE_PREF_1,
87 responses.add(1, prefs.getString(KEY_CANNED_RESPONSE_PREF_2,
89 responses.add(2, prefs.getString(KEY_CANNED_RESPONSE_PREF_3,
91 responses.add(3, prefs.getString(KEY_CANNED_RESPONSE_PREF_4,
93 return 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/src/com/android/email/mail/store/
H A DImapConnection.java289 * Read and return all of the responses from the most recent command sent to the server
296 ArrayList<ImapResponse> responses = new ArrayList<ImapResponse>();
300 responses.add(response);
308 return responses;
396 // Special case to handle malformed OK responses and ignore them.
421 // Special case to handle malformed OK responses and ignore them.
476 // Special case to handle malformed OK responses and ignore them.
H A DImapFolder.java275 // All "BAD" responses are bad. Only "NO", tagged responses are bad.
280 // Skip untagged responses; they're just status
352 final List<ImapResponse> responses = mConnection.executeSimpleCommand(
357 for (ImapResponse response : responses) {
376 String[] getSearchUids(List<ImapResponse> responses) { argument
379 for (ImapResponse response : responses) {
830 * Handle any untagged responses that the caller doesn't care to handle themselves.
831 * @param responses
833 private void handleUntaggedResponses(List<ImapResponse> responses) { argument
[all...]
H A DImapStore.java75 * Further, the server may return the information in separate FETCH responses
385 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand);
386 for (ImapResponse response : responses) {
521 * Save a {@link ImapConnection} in the pool for reuse. Any responses associated with the

Completed in 91 milliseconds