/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | Message.java | 31 private HashSet<Flag> mFlags = null; 108 private HashSet<Flag> getFlagSet() { in getFlagSet() 110 mFlags = new HashSet<Flag>(); in getFlagSet() 118 public Flag[] getFlags() { in getFlags() 119 return getFlagSet().toArray(new Flag[] {}); in getFlags() 126 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { in setFlagDirectlyForTest() 134 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() 143 public void setFlags(Flag[] flags, boolean set) throws MessagingException { in setFlags() 144 for (Flag flag : flags) { in setFlags() 149 public boolean isSet(Flag flag) { in isSet()
|
D | Folder.java | 139 public Message[] getMessages(Flag[] setFlags, Flag[] clearFlags, in getMessages() 152 public abstract void setFlags(Message[] messages, Flag[] flags, boolean value) in setFlags() 164 public abstract Flag[] getPermanentFlags() throws MessagingException; in getPermanentFlags()
|
D | Flag.java | 22 public enum Flag { enum
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | FlagTests.java | 19 import com.android.emailcommon.mail.Flag; 36 for (Flag flag : Flag.values()) { in testFlagsUpperCase()
|
D | MockFolder.java | 96 public Flag[] getPermanentFlags() { in getPermanentFlags() 115 public void setFlags(Message[] messages, Flag[] flags, boolean value) { in setFlags()
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeMessageTest.java | 21 import com.android.emailcommon.mail.Flag; 324 Flag[] flags = message.getFlags(); in testStoreFlags() 328 message.setFlag(Flag.X_STORE_1, true); in testStoreFlags() 329 assertTrue(message.isSet(Flag.X_STORE_1)); in testStoreFlags() 330 assertFalse(message.isSet(Flag.X_STORE_2)); in testStoreFlags() 333 message.setFlag(Flag.X_STORE_2, true); in testStoreFlags() 334 assertTrue(message.isSet(Flag.X_STORE_1)); in testStoreFlags() 335 assertTrue(message.isSet(Flag.X_STORE_2)); in testStoreFlags() 338 message.setFlag(Flag.X_STORE_1, false); in testStoreFlags() 339 assertFalse(message.isSet(Flag.X_STORE_1)); in testStoreFlags() [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapFolder.java | 44 import com.android.emailcommon.mail.Flag; 65 private final static Flag[] PERMANENT_FLAGS = 66 { Flag.DELETED, Flag.SEEN, Flag.FLAGGED, Flag.ANSWERED }; 604 message.setFlagInternal(Flag.DELETED, true); in fetchInternal() 606 message.setFlagInternal(Flag.ANSWERED, true); in fetchInternal() 608 message.setFlagInternal(Flag.SEEN, true); in fetchInternal() 610 message.setFlagInternal(Flag.FLAGGED, true); in fetchInternal() 707 public Flag[] getPermanentFlags() { in getPermanentFlags() 923 Flag[] flags = message.getFlags(); in appendMessages() 927 Flag flag = flags[i]; in appendMessages() [all …]
|
D | Pop3Store.java | 32 import com.android.emailcommon.mail.Flag; 58 private static final Flag[] PERMANENT_FLAGS = { Flag.DELETED }; 821 public Flag[] getPermanentFlags() { in getPermanentFlags() 839 public void setFlags(Message[] messages, Flag[] flags, boolean value) in setFlags() 841 if (!value || !Utility.arrayContains(flags, Flag.DELETED)) { in setFlags() 987 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() 989 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
|
D | ImapStore.java | 39 import com.android.emailcommon.mail.Flag; 601 public void setFlagInternal(Flag flag, boolean set) throws MessagingException { in setFlagInternal() 606 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag() 608 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
|
/packages/apps/Email/src/com/android/email/ |
D | LegacyConversions.java | 34 import com.android.emailcommon.mail.Flag; 98 localMessage.mFlagRead = message.isSet(Flag.SEEN); in updateMessageFields() 99 if (message.isSet(Flag.ANSWERED)) { in updateMessageFields() 112 localMessage.mFlagFavorite = message.isSet(Flag.FLAGGED); in updateMessageFields() 340 message.setFlag(Flag.DELETED, in makeMessage() 342 message.setFlag(Flag.SEEN, localMessage.mFlagRead); in makeMessage() 343 message.setFlag(Flag.FLAGGED, localMessage.mFlagFavorite); in makeMessage()
|
D | MessagingController.java | 40 import com.android.emailcommon.mail.Flag; 106 private static final Flag[] FLAG_LIST_SEEN = new Flag[] { Flag.SEEN }; 107 private static final Flag[] FLAG_LIST_FLAGGED = new Flag[] { Flag.FLAGGED }; 108 private static final Flag[] FLAG_LIST_ANSWERED = new Flag[] { Flag.ANSWERED }; 568 if (!message.isSet(Flag.SEEN) && unseenMessages != null) { in downloadFlagAndEnvelope() 872 for (Flag flag : remoteFolder.getPermanentFlags()) { in synchronizeMailboxGeneric() 873 if (flag == Flag.SEEN) { in synchronizeMailboxGeneric() 876 if (flag == Flag.FLAGGED) { in synchronizeMailboxGeneric() 879 if (flag == Flag.ANSWERED) { in synchronizeMailboxGeneric() 891 boolean remoteSeen = remoteMessage.isSet(Flag.SEEN); in synchronizeMailboxGeneric() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 32 import com.android.emailcommon.mail.Flag; 298 Flag[] flags = mFolder.getPermanentFlags(); in testSmallFolderFunctions() 300 assertEquals(Flag.DELETED, flags[0]); in testSmallFolderFunctions() 695 mFolder.setFlags(messages, new Flag[] { Flag.DELETED }, true); in testCatchClosed4()
|
D | ImapStoreUnitTests.java | 47 import com.android.emailcommon.mail.Flag; 796 assertTrue(message.isSet(Flag.SEEN)); in testFetchFlagEnvelope() 1125 assertFalse(message1.isSet(Flag.SEEN)); in testExcessFetchResult() 1141 assertTrue(message1.isSet(Flag.SEEN)); in testExcessFetchResult() 1150 message.setFlagDirectlyForTest(Flag.SEEN, true); in prepareForAppendTest() 1834 mFolder.setFlags(messages, new Flag[] {Flag.FLAGGED, Flag.SEEN}, true); in testSetFlags() 1842 mFolder.setFlags(messages, new Flag[] {Flag.DELETED}, false); in testSetFlags()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 28 import com.android.emailcommon.mail.Flag; 509 assertEquals(tag, expect.isSet(Flag.SEEN), actual.mFlagRead); in checkProviderMessage() 510 assertEquals(tag, expect.isSet(Flag.FLAGGED), actual.mFlagFavorite); in checkProviderMessage() 529 assertEquals(tag, expect.mFlagRead, actual.isSet(Flag.SEEN)); in checkLegacyMessage() 530 assertEquals(tag, expect.mFlagFavorite, actual.isSet(Flag.FLAGGED)); in checkLegacyMessage()
|
/packages/inputmethods/LatinIME/java/ |
D | proguard.flags | 6 -keep class com.android.inputmethod.latin.Flag {
|
/packages/apps/Email/ |
D | proguard.flags | 162 -keep class com.android.emailcommon.mail.Flag
|