/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
D | ImapFolder.java | 45 import com.android.phone.common.mail.store.imap.ImapConstants; 106 mConnection.executeSimpleCommand(ImapConstants.NOOP); in open() 181 if (!response.isDataResponse(0, ImapConstants.SEARCH)) { in getSearchUids() 200 final String command = ImapConstants.UID_SEARCH + " " + searchCriteria; in searchForUids() 221 final String[] uids = searchForUids(ImapConstants.UID + " " + uid); in getMessage() 292 fetchFields.add(ImapConstants.UID); in fetchInternal() 294 fetchFields.add(ImapConstants.FLAGS); in fetchInternal() 297 fetchFields.add(ImapConstants.INTERNALDATE); in fetchInternal() 298 fetchFields.add(ImapConstants.RFC822_SIZE); in fetchInternal() 299 fetchFields.add(ImapConstants.FETCH_FIELD_HEADERS); in fetchInternal() [all …]
|
D | ImapConnection.java | 25 import com.android.phone.common.mail.store.imap.ImapConstants; 83 mLoginPhrase = ImapConstants.LOGIN + " " + mImapStore.getUsername() + " " in getLoginPhrase() 148 if (ImapConstants.AUTHENTICATIONFAILED.equals(code) || in doLogin() 149 ImapConstants.EXPIRED.equals(code) || in doLogin() 150 (ImapConstants.NO.equals(status) && TextUtils.isEmpty(code))) { in doLogin() 244 if (ImapConstants.UNAVAILABLE.equals(responseCode)) { in getCommandResponses()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 26 import com.android.email.mail.store.imap.ImapConstants; 109 mConnection.executeSimpleCommand(ImapConstants.NOOP); in open() 199 ImapConstants.STATUS + " \"%s\" (" + ImapConstants.UIDVALIDITY + ")", in exists() 245 ImapConstants.CREATE + " \"%s\"", in create() 269 String.format(Locale.US, ImapConstants.UID_COPY + " %s \"%s\"", in copyMessages() 296 if (ImapConstants.COPYUID.equals(responseCode)) { in copyMessages() 359 ImapConstants.STATUS + " \"%s\" (" + ImapConstants.UNSEEN + ")", in getUnreadMessageCount() 363 if (response.isDataResponse(0, ImapConstants.STATUS)) { in getUnreadMessageCount() 365 .getKeyedStringOrEmpty(ImapConstants.UNSEEN).getNumberOrZero(); in getUnreadMessageCount() 385 if (!response.isDataResponse(0, ImapConstants.SEARCH)) { in getSearchUids() [all …]
|
D | ImapConnection.java | 25 import com.android.email.mail.store.imap.ImapConstants; 116 mLoginPhrase = ImapConstants.AUTHENTICATE + " " + ImapConstants.XOAUTH2 + " " + in getLoginPhrase() 124 mLoginPhrase = ImapConstants.LOGIN + " " + mImapStore.getUsername() + " " in getLoginPhrase() 154 capabilities.contains(ImapConstants.STARTTLS); in open() 226 if (capabilities.contains(ImapConstants.ID)) { in setCapabilities() 229 if (capabilities.contains(ImapConstants.NAMESPACE)) { in setCapabilities() 232 if (capabilities.contains(ImapConstants.UIDPLUS)) { in setCapabilities() 235 if (capabilities.contains(ImapConstants.STARTTLS)) { in setCapabilities() 353 if (ImapConstants.UNAVAILABLE.equals(responseCode)) { in getCommandResponses() 401 for (ImapResponse r : executeSimpleCommand(ImapConstants.CAPABILITY)) { in queryCapabilities() [all …]
|
D | ImapStore.java | 29 import com.android.email.mail.store.imap.ImapConstants; 345 if (ImapConstants.INBOX.equalsIgnoreCase(parentPath)) { in createHierarchy() 348 parentPath = ImapConstants.INBOX; in createHierarchy() 427 connection.executeSimpleCommand(ImapConstants.NOOP); in updateFolders() 428 String imapCommand = ImapConstants.LIST + " \"\" \"*\""; in updateFolders() 430 imapCommand = ImapConstants.LIST + " \"\" \"" + mPathPrefix + "*\""; in updateFolders() 435 if (response.isDataResponse(0, ImapConstants.LIST)) { in updateFolders() 442 if (ImapConstants.INBOX.equalsIgnoreCase(folderName)) continue; in updateFolders() 446 !response.getListOrEmpty(1).contains(ImapConstants.FLAG_NO_SELECT); in updateFolders() 463 mailboxes.put(ImapConstants.INBOX, newFolder); in updateFolders() [all …]
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/ |
D | ImapResponse.java | 32 return ImapConstants.OK.equalsIgnoreCase(symbol) in isStatusResponse() 33 || ImapConstants.NO.equalsIgnoreCase(symbol) in isStatusResponse() 34 || ImapConstants.BAD.equalsIgnoreCase(symbol) in isStatusResponse() 35 || ImapConstants.PREAUTH.equalsIgnoreCase(symbol) in isStatusResponse() 36 || ImapConstants.BYE.equalsIgnoreCase(symbol); in isStatusResponse() 61 return is(0, ImapConstants.OK); in isOk() 68 return is(0, ImapConstants.BAD); in isBad() 75 return is(0, ImapConstants.NO); in isNo() 105 if (!getResponseCodeOrEmpty().is(ImapConstants.ALERT)) { in getAlertTextOrEmpty()
|
D | ImapConstants.java | 23 public final class ImapConstants { class 24 private ImapConstants() {} in ImapConstants() method in ImapConstants
|
D | ImapResponseParser.java | 161 if (response.is(0, ImapConstants.BYE)) { in readResponse() 368 if (ImapConstants.NIL.equalsIgnoreCase(s)) { in parseBareString()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapResponse.java | 33 return ImapConstants.OK.equalsIgnoreCase(symbol) in isStatusResponse() 34 || ImapConstants.NO.equalsIgnoreCase(symbol) in isStatusResponse() 35 || ImapConstants.BAD.equalsIgnoreCase(symbol) in isStatusResponse() 36 || ImapConstants.PREAUTH.equalsIgnoreCase(symbol) in isStatusResponse() 37 || ImapConstants.BYE.equalsIgnoreCase(symbol); in isStatusResponse() 62 return is(0, ImapConstants.OK); in isOk() 69 return is(0, ImapConstants.BAD); in isBad() 76 return is(0, ImapConstants.NO); in isNo() 106 if (!getResponseCodeOrEmpty().is(ImapConstants.ALERT)) { in getAlertTextOrEmpty()
|
D | ImapConstants.java | 23 public final class ImapConstants { class 24 private ImapConstants() {} in ImapConstants() method in ImapConstants
|
D | ImapResponseParser.java | 179 if (response.is(0, ImapConstants.BYE)) { in readResponse() 387 if (ImapConstants.NIL.equalsIgnoreCase(s)) { in parseBareString()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapResponseTest.java | 21 import com.android.email.mail.store.imap.ImapConstants; 52 assertTrue(SEARCH.isDataResponse(0, ImapConstants.SEARCH)); in testIsDataResponse() 53 assertTrue(EXISTS.isDataResponse(1, ImapConstants.EXISTS)); in testIsDataResponse() 56 assertFalse(SEARCH.isDataResponse(1, ImapConstants.SEARCH)); in testIsDataResponse() 57 assertFalse(EXISTS.isDataResponse(0, ImapConstants.EXISTS)); in testIsDataResponse() 59 assertFalse(EXISTS.isDataResponse(1, ImapConstants.FETCH)); in testIsDataResponse() 62 assertFalse(TAGGED_EXISTS.isDataResponse(1, ImapConstants.EXISTS)); in testIsDataResponse()
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/ |
D | ImapHelper.java | 46 import com.android.phone.common.mail.store.imap.ImapConstants; 562 ImapFolder folder = new ImapFolder(mImapStore, ImapConstants.INBOX); in openImapFolder()
|