Searched refs:ImapResponse (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapConnection.java | 27 import com.android.email.mail.store.imap.ImapResponse; 118 ImapResponse capabilities = queryCapabilities(); in open() 124 ImapResponse newCapabilities = doStartTls(hasStartTlsCapability); in open() 192 private void setCapabilities(ImapResponse capabilities) { in setCapabilities() 229 ImapResponse readResponse() throws IOException, MessagingException { in readResponse() 272 ImapResponse response = readResponse(); in sendComplexCommand() 285 List<ImapResponse> executeSimpleCommand(String command) throws IOException, in executeSimpleCommand() 297 List<ImapResponse> getCommandResponses() throws IOException, MessagingException { in getCommandResponses() 298 ArrayList<ImapResponse> responses = new ArrayList<ImapResponse>(); in getCommandResponses() 299 ImapResponse response; in getCommandResponses() [all …]
|
D | ImapFolder.java | 30 import com.android.email.mail.store.imap.ImapResponse; 258 List<ImapResponse> responseList = mConnection.executeSimpleCommand( in copyMessages() 269 for (ImapResponse response : responseList) { in copyMessages() 346 List<ImapResponse> responses = mConnection.executeSimpleCommand(String.format( in getUnreadMessageCount() 350 for (ImapResponse response : responses) { in getUnreadMessageCount() 369 String[] getSearchUids(List<ImapResponse> responses) { in getSearchUids() 372 for (ImapResponse response : responses) { in getSearchUids() 580 ImapResponse response; in fetchInternal() 715 private void handleUntaggedResponses(List<ImapResponse> responses) { in handleUntaggedResponses() 716 for (ImapResponse response : responses) { in handleUntaggedResponses() [all …]
|
D | ImapStore.java | 33 import com.android.email.mail.store.imap.ImapResponse; 397 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand); in updateFolders() 398 for (ImapResponse response : responses) { in updateFolders()
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapResponseParser.java | 67 private final ArrayList<ImapResponse> mResponsesToDestroy = new ArrayList<ImapResponse>(); 143 for (ImapResponse r : mResponsesToDestroy) { in destroyResponses() 160 public ImapResponse readResponse() throws IOException, MessagingException { in readResponse() 161 ImapResponse response = null; in readResponse() 248 private ImapResponse parseResponse() throws IOException, MessagingException { in parseResponse() 255 ImapResponse responseToDestroy = null; in parseResponse() 256 final ImapResponse responseToReturn; in parseResponse() 263 responseToDestroy = new ImapResponse(null, true); in parseResponse() 281 responseToDestroy = new ImapResponse(tag, false); in parseResponse()
|
D | ImapResponse.java | 23 public class ImapResponse extends ImapList { class 27 /* package */ ImapResponse(String tag, boolean isContinuationRequest) { in ImapResponse() method in ImapResponse 137 final ImapResponse thatResponse = (ImapResponse) that; in equalsForTest()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapResponseTest.java | 22 import com.android.email.mail.store.imap.ImapResponse; 43 final ImapResponse OK = buildResponse("tag", false, new ImapSimpleString("OK")); in testIsDataResponse() 44 final ImapResponse SEARCH = buildResponse(null, false, new ImapSimpleString("SEARCH"), in testIsDataResponse() 46 final ImapResponse EXISTS = buildResponse(null, false, new ImapSimpleString("3"), in testIsDataResponse() 49 final ImapResponse TAGGED_EXISTS = buildResponse("tag", false, new ImapSimpleString("1"), in testIsDataResponse()
|
D | ImapTestUtils.java | 22 import com.android.email.mail.store.imap.ImapResponse; 75 public static final ImapResponse buildResponse(String tag, boolean isContinuationRequest, in buildResponse() 77 ImapResponse res = new ImapResponse(tag, isContinuationRequest); in buildResponse() 87 public static final ImapResponse parseResponse(String line) { in parseResponse()
|
D | ImapResponseParserTest.java | 72 ImapResponse r; in testBasic() 147 ImapResponse r; in testNil() 164 ImapResponse r; in testBareLf() 185 ImapResponse r; in testLiteral() 224 ImapResponse r; in testAlert() 248 ImapResponse r; in testBracket() 262 ImapResponse r; in testNest() 369 ImapResponse r; in testOkWithLongMessage() 379 ImapResponse r; in testLiteralStringConversion()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 35 import com.android.email.mail.store.imap.ImapResponse; 91 private final static ImapResponse CAPABILITY_RESPONSE = ImapTestUtils.parseResponse(
|