Searched refs:ImapList (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapListTest.java22 import com.android.email.mail.store.imap.ImapList;
37 ImapList list = new ImapList();
57 * Test for {@link ImapList#EMPTY}.
60 assertTrue(ImapList.EMPTY.isEmpty());
65 ImapList list = buildList(ImapList.EMPTY, ABC, LIST_1, ImapString.EMPTY);
92 assertFalse(ImapList.EMPTY.is(0, "abc"));
96 ImapList list = buildList(ImapList
[all...]
H A DImapTestUtils.java21 import com.android.email.mail.store.imap.ImapList;
41 public static final ImapList LIST_1 = buildList(STRING_1);
42 public static final ImapList LIST_2 = buildList(STRING_1, STRING_2, LIST_1);
65 /** Convenience method to build an {@link ImapList} */
66 public static final ImapList buildList(ImapElement... elements) {
67 ImapList list = new ImapList();
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapList.java24 public class ImapList extends ImapElement { class in inherits:ImapElement
26 * {@link ImapList} representing an empty list.
28 public static final ImapList EMPTY = new ImapList() {
95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY}.
97 public final ImapList getListOrEmpty(int index) {
99 return el.isList() ? (ImapList) el : EMPTY;
125 * Return an {@link ImapList} keyed by {@code key}.
126 * Return {@link ImapList#EMPTY} if not found.
128 public final ImapList getKeyedListOrEmpt
[all...]
H A DImapResponse.java23 public class ImapResponse extends ImapList {
H A DImapResponseParser.java402 private void parseElements(ImapList list, char end)
424 private ImapList parseList(char opening, char closing)
427 final ImapList list = new ImapList();
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapFolder.java28 import com.android.email.mail.store.imap.ImapList;
289 ImapList copyResponse = response.getListOrEmpty(1);
687 final ImapList fetchList = response.getListOrEmpty(2);
696 final ImapList flags =
724 ImapList bs = fetchList.getKeyedListOrEmpty(
849 private static void parseBodyStructure(ImapList bs, Part part, String id)
901 final ImapList bodyParams = bs.getListOrEmpty(2);
942 final ImapList bodyDisposition;
962 final ImapList bodyDispositionParams = bodyDisposition.getListOrEmpty(1);
1083 final ImapList appendLis
[all...]
H A DImapConnection.java23 import com.android.email.mail.store.imap.ImapList;
426 ImapList namespaceList = response.getListOrEmpty(1);
427 ImapList namespace = namespaceList.getListOrEmpty(0);

Completed in 116 milliseconds