HomeSort by relevance Sort by last modified time
    Searched refs:ImapList (Results 1 - 7 of 7) sorted by null

  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapListTest.java 22 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.EMPTY, STRING_1, LIST_1, ImapString.EMPTY)
    [all...]
ImapTestUtils.java 21 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/
ImapList.java 24 public class ImapList extends 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 getKeyedListOrEmpty(String key)
    [all...]
ImapResponse.java 23 public class ImapResponse extends ImapList {
ImapResponseParser.java 402 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/
ImapFolder.java 29 import com.android.email.mail.store.imap.ImapList;
284 ImapList copyResponse = response.getListOrEmpty(1);
590 final ImapList fetchList = response.getListOrEmpty(2);
599 final ImapList flags =
627 ImapList bs = fetchList.getKeyedListOrEmpty(
732 private static void parseBodyStructure(ImapList bs, Part part, String id)
784 final ImapList bodyParams = bs.getListOrEmpty(2);
    [all...]
ImapConnection.java 26 import com.android.email.mail.store.imap.ImapList;
428 ImapList namespaceList = response.getListOrEmpty(1);
429 ImapList namespace = namespaceList.getListOrEmpty(0);

Completed in 424 milliseconds