OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ImapConstants
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Email/src/com/android/email/mail/store/imap/
ImapResponse.java
33
return
ImapConstants
.OK.equalsIgnoreCase(symbol)
34
||
ImapConstants
.NO.equalsIgnoreCase(symbol)
35
||
ImapConstants
.BAD.equalsIgnoreCase(symbol)
36
||
ImapConstants
.PREAUTH.equalsIgnoreCase(symbol)
37
||
ImapConstants
.BYE.equalsIgnoreCase(symbol);
62
return is(0,
ImapConstants
.OK);
69
return is(0,
ImapConstants
.BAD);
76
return is(0,
ImapConstants
.NO);
106
if (!getResponseCodeOrEmpty().is(
ImapConstants
.ALERT)) {
ImapConstants.java
21
public final class
ImapConstants
{
22
private
ImapConstants
() {}
ImapResponseParser.java
179
if (response.is(0,
ImapConstants
.BYE)) {
387
if (
ImapConstants
.NIL.equalsIgnoreCase(s)) {
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapResponseTest.java
21
import com.android.email.mail.store.imap.
ImapConstants
;
52
assertTrue(SEARCH.isDataResponse(0,
ImapConstants
.SEARCH));
53
assertTrue(EXISTS.isDataResponse(1,
ImapConstants
.EXISTS));
56
assertFalse(SEARCH.isDataResponse(1,
ImapConstants
.SEARCH));
57
assertFalse(EXISTS.isDataResponse(0,
ImapConstants
.EXISTS));
59
assertFalse(EXISTS.isDataResponse(1,
ImapConstants
.FETCH));
62
assertFalse(TAGGED_EXISTS.isDataResponse(1,
ImapConstants
.EXISTS));
/packages/apps/Email/src/com/android/email/mail/store/
ImapFolder.java
27
import com.android.email.mail.store.imap.
ImapConstants
;
101
mConnection.executeSimpleCommand(
ImapConstants
.NOOP);
191
ImapConstants
.STATUS + " \"%s\" (" +
ImapConstants
.UIDVALIDITY + ")",
237
ImapConstants
.CREATE + " \"%s\"",
261
String.format(Locale.US,
ImapConstants
.UID_COPY + " %s \"%s\"",
288
if (
ImapConstants
.COPYUID.equals(responseCode)) {
351
ImapConstants
.STATUS + " \"%s\" (" +
ImapConstants
.UNSEEN + ")",
355
if (response.isDataResponse(0,
ImapConstants
.STATUS))
[
all
...]
ImapConnection.java
25
import com.android.email.mail.store.imap.
ImapConstants
;
93
mLoginPhrase =
ImapConstants
.LOGIN + " " + mUsername + " "
121
capabilities.contains(
ImapConstants
.STARTTLS);
193
if (capabilities.contains(
ImapConstants
.ID)) {
196
if (capabilities.contains(
ImapConstants
.NAMESPACE)) {
199
if (capabilities.contains(
ImapConstants
.UIDPLUS)) {
202
if (capabilities.contains(
ImapConstants
.STARTTLS)) {
350
for (ImapResponse r : executeSimpleCommand(
ImapConstants
.CAPABILITY)) {
351
if (r.is(0,
ImapConstants
.CAPABILITY)) {
382
mIdPhrase =
ImapConstants
.ID + " (" + mUserAgent + ")"
[
all
...]
ImapStore.java
32
import com.android.email.mail.store.imap.
ImapConstants
;
392
connection.executeSimpleCommand(
ImapConstants
.NOOP);
393
String imapCommand =
ImapConstants
.LIST + " \"\" \"*\"";
395
imapCommand =
ImapConstants
.LIST + " \"\" \"" + mPathPrefix + "*\"";
400
if (response.isDataResponse(0,
ImapConstants
.LIST)) {
406
if (
ImapConstants
.INBOX.equalsIgnoreCase(folderName)) continue;
410
!response.getListOrEmpty(1).contains(
ImapConstants
.FLAG_NO_SELECT);
422
addMailbox(mContext, mAccount.mId,
ImapConstants
.INBOX, '\0', true /*selectable*/);
423
mailboxes.put(
ImapConstants
.INBOX, (ImapFolder)newFolder);
510
connection.executeSimpleCommand(
ImapConstants
.NOOP)
[
all
...]
Completed in 293 milliseconds