Searched refs:ImapResponse (Results 1 - 14 of 14) sorted by relevance

/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapConnection.java27 import com.android.email.mail.store.imap.ImapResponse;
151 ImapResponse capabilities = queryCapabilities();
157 ImapResponse newCapabilities = doStartTls(hasStartTlsCapability);
225 private void setCapabilities(ImapResponse capabilities) {
262 ImapResponse readResponse() throws IOException, MessagingException {
313 ImapResponse response = readResponse();
326 List<ImapResponse> executeSimpleCommand(String command) throws IOException, MessagingException {
337 List<ImapResponse> getCommandResponses() throws IOException, MessagingException {
338 final List<ImapResponse> responses = new ArrayList<ImapResponse>();
[all...]
H A DImapFolder.java29 import com.android.email.mail.store.imap.ImapResponse;
268 List<ImapResponse> responseList = mConnection.executeSimpleCommand(
279 for (ImapResponse response : responseList) {
357 final List<ImapResponse> responses = mConnection.executeSimpleCommand(
362 for (ImapResponse response : responses) {
381 String[] getSearchUids(List<ImapResponse> responses) {
384 for (ImapResponse response : responses) {
683 ImapResponse response;
838 private void handleUntaggedResponses(List<ImapResponse> responses) {
839 for (ImapResponse respons
[all...]
H A DImapStore.java30 import com.android.email.mail.store.imap.ImapResponse;
432 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand);
433 for (ImapResponse response : responses) {
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
H A DImapResponse.java23 public class ImapResponse extends ImapList { class in inherits:ImapList
27 /* package */ ImapResponse(String tag, boolean isContinuationRequest) { method in class:ImapResponse
144 final ImapResponse thatResponse = (ImapResponse) that;
H A DImapResponseParser.java64 * We store all {@link ImapResponse} in it. {@link #destroyResponses()} must be called from
67 private final ArrayList<ImapResponse> mResponsesToDestroy = new ArrayList<ImapResponse>();
138 * Destroy all the {@link ImapResponse}s stored in the internal storage and clear it.
143 for (ImapResponse r : mResponsesToDestroy) {
151 * {@link ImapResponse} object that represents it.
153 * <p>When this method successfully returns an {@link ImapResponse}, the {@link ImapResponse}
154 * is stored in the internal storage. When the {@link ImapResponse} is no longer used
157 * @return the parsed {@link ImapResponse} objec
[all...]
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
H A DImapResponse.java22 public class ImapResponse extends ImapList { class in inherits:ImapList
26 /* package */ ImapResponse(String tag, boolean isContinuationRequest) { method in class:ImapResponse
143 final ImapResponse thatResponse = (ImapResponse) that;
H A DImapResponseParser.java53 * We store all {@link ImapResponse} in it. {@link #destroyResponses()} must be called from
56 private final ArrayList<ImapResponse> mResponsesToDestroy = new ArrayList<ImapResponse>();
121 * Destroy all the {@link ImapResponse}s stored in the internal storage and clear it.
126 for (ImapResponse r : mResponsesToDestroy) {
134 * {@link ImapResponse} object that represents it.
136 * <p>When this method successfully returns an {@link ImapResponse}, the {@link ImapResponse}
137 * is stored in the internal storage. When the {@link ImapResponse} is no longer used
140 * @return the parsed {@link ImapResponse} objec
[all...]
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapResponseTest.java22 import com.android.email.mail.store.imap.ImapResponse;
43 final ImapResponse OK = buildResponse("tag", false, new ImapSimpleString("OK"));
44 final ImapResponse SEARCH = buildResponse(null, false, new ImapSimpleString("SEARCH"),
46 final ImapResponse EXISTS = buildResponse(null, false, new ImapSimpleString("3"),
49 final ImapResponse TAGGED_EXISTS = buildResponse("tag", false, new ImapSimpleString("1"),
H A DImapTestUtils.java22 import com.android.email.mail.store.imap.ImapResponse;
74 /** Convenience method to build an {@link ImapResponse} */
75 public static final ImapResponse buildResponse(String tag, boolean isContinuationRequest,
77 ImapResponse res = new ImapResponse(tag, isContinuationRequest);
85 * Convenience method to build an {@link ImapResponse} from a single response.
87 public static final ImapResponse parseResponse(String line) {
H A DImapResponseParserTest.java72 ImapResponse r;
147 ImapResponse r;
164 ImapResponse r;
185 ImapResponse r;
224 ImapResponse r;
248 ImapResponse r;
262 ImapResponse r;
369 ImapResponse r;
379 ImapResponse r;
/packages/services/Telephony/src/com/android/phone/common/mail/store/
H A DImapConnection.java25 import com.android.phone.common.mail.store.imap.ImapResponse;
173 ImapResponse readResponse() throws IOException, MessagingException {
177 List<ImapResponse> executeSimpleCommand(String command)
194 List<ImapResponse> executeSimpleCommand(String command, boolean sensitive)
222 List<ImapResponse> getCommandResponses() throws IOException, MessagingException {
223 final List<ImapResponse> responses = new ArrayList<ImapResponse>();
224 ImapResponse response;
H A DImapFolder.java27 import com.android.phone.common.mail.store.imap.ImapResponse;
181 String[] getSearchUids(List<ImapResponse> responses) {
184 for (ImapResponse response : responses) {
333 ImapResponse response;
477 private void handleUntaggedResponses(List<ImapResponse> responses) {
478 for (ImapResponse response : responses) {
487 private void handleUntaggedResponse(ImapResponse response) {
720 final List<ImapResponse> responses = mConnection.executeSimpleCommand(
726 for (ImapResponse response : responses) {
/packages/apps/Email/provider_src/com/android/email/service/
H A DImapTempFileLiteral.java20 import com.android.email.mail.store.imap.ImapResponse;
64 * We should always be calling {@link ImapResponse#destroy()}, but it's here as a last resort.
/packages/apps/Email/tests/src/com/android/email/mail/store/
H A DImapStoreUnitTests.java34 import com.android.email.mail.store.imap.ImapResponse;
92 private final static ImapResponse CAPABILITY_RESPONSE = ImapTestUtils.parseResponse(

Completed in 232 milliseconds