Searched refs:ImapList (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapListTest.java | 22 import com.android.email.mail.store.imap.ImapList; 37 ImapList list = new ImapList(); in testBasics() 60 assertTrue(ImapList.EMPTY.isEmpty()); in testEmpty() 65 ImapList list = buildList(ImapList.EMPTY, ABC, LIST_1, ImapString.EMPTY); in testIs() 92 assertFalse(ImapList.EMPTY.is(0, "abc")); in testIs() 96 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); in testGetElementOrNone() 98 assertElement(ImapList.EMPTY, list.getElementOrNone(0)); in testGetElementOrNone() 105 assertElement(ImapElement.NONE, ImapList.EMPTY.getElementOrNone(0)); in testGetElementOrNone() 109 ImapList list = buildList(ImapList.EMPTY, STRING_1, LIST_1, ImapString.EMPTY); in testGetListOrEmpty() 111 assertElement(ImapList.EMPTY, list.getListOrEmpty(0)); in testGetListOrEmpty() [all …]
|
D | 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); 66 public static final ImapList buildList(ImapElement... elements) { in buildList() 67 ImapList list = new ImapList(); in buildList()
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
D | ImapList.java | 24 public class ImapList extends ImapElement { class 28 public static final ImapList EMPTY = new ImapList() { 97 public final ImapList getListOrEmpty(int index) { in getListOrEmpty() 99 return el.isList() ? (ImapList) el : EMPTY; in getListOrEmpty() 128 public final ImapList getKeyedListOrEmpty(String key) { in getKeyedListOrEmpty() 136 public final ImapList getKeyedListOrEmpty(String key, boolean prefixMatch) { in getKeyedListOrEmpty() 138 return (e != null) ? ((ImapList) e) : ImapList.EMPTY; in getKeyedListOrEmpty() 224 ImapList thatList = (ImapList) that; in equalsForTest()
|
D | ImapResponseParser.java | 402 private void parseElements(ImapList list, char end) in parseElements() 424 private ImapList parseList(char opening, char closing) in parseList() 427 final ImapList list = new ImapList(); in parseList()
|
D | ImapResponse.java | 23 public class ImapResponse extends ImapList {
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapFolder.java | 29 import com.android.email.mail.store.imap.ImapList; 284 ImapList copyResponse = response.getListOrEmpty(1); in copyMessages() 590 final ImapList fetchList = response.getListOrEmpty(2); in fetchInternal() 599 final ImapList flags = in fetchInternal() 627 ImapList bs = fetchList.getKeyedListOrEmpty( in fetchInternal() 731 private static void parseBodyStructure(ImapList bs, Part part, String id) in parseBodyStructure() 783 final ImapList bodyParams = bs.getListOrEmpty(2); in parseBodyStructure() 824 final ImapList bodyDisposition; in parseBodyStructure() 844 final ImapList bodyDispositionParams = bodyDisposition.getListOrEmpty(1); in parseBodyStructure() 965 final ImapList appendList = response.getListOrEmpty(1); in appendMessages()
|
D | ImapConnection.java | 26 import com.android.email.mail.store.imap.ImapList; 428 ImapList namespaceList = response.getListOrEmpty(1); in doGetNamespace() 429 ImapList namespace = namespaceList.getListOrEmpty(0); in doGetNamespace()
|