Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 20 of 20) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMessage.java31 private HashSet<Flag> mFlags = null;
95 private HashSet<Flag> getFlagSet() { in getFlagSet()
97 mFlags = new HashSet<Flag>(); in getFlagSet()
105 public Flag[] getFlags() { in getFlags()
106 return getFlagSet().toArray(new Flag[] {}); in getFlags()
113 public final void setFlagDirectlyForTest(Flag flag, boolean set) throws MessagingException { in setFlagDirectlyForTest()
121 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag()
130 public void setFlags(Flag[] flags, boolean set) throws MessagingException { in setFlags()
131 for (Flag flag : flags) { in setFlags()
136 public boolean isSet(Flag flag) { in isSet()
DFolder.java144 public Message[] getMessages(Flag[] setFlags, Flag[] clearFlags, in getMessages()
158 public abstract void setFlags(Message[] messages, Flag[] flags, boolean value) in setFlags()
170 public abstract Flag[] getPermanentFlags() throws MessagingException; in getPermanentFlags()
DFlag.java22 public enum Flag { enum
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java42 import com.android.emailcommon.mail.Flag;
74 private final static Flag[] PERMANENT_FLAGS =
75 { Flag.DELETED, Flag.SEEN, Flag.FLAGGED, Flag.ANSWERED };
706 message.setFlagInternal(Flag.DELETED, true); in fetchInternal()
708 message.setFlagInternal(Flag.ANSWERED, true); in fetchInternal()
710 message.setFlagInternal(Flag.SEEN, true); in fetchInternal()
712 message.setFlagInternal(Flag.FLAGGED, true); in fetchInternal()
830 public Flag[] getPermanentFlags() { in getPermanentFlags()
1068 Flag[] flags = message.getFlags(); in appendMessage()
1071 for (final Flag flag : flags) { in appendMessage()
[all …]
DPop3Store.java29 import com.android.emailcommon.mail.Flag;
58 private static final Flag[] PERMANENT_FLAGS = { Flag.DELETED };
624 public Flag[] getPermanentFlags() { in getPermanentFlags()
647 public void setFlags(Message[] messages, Flag[] flags, boolean value) in setFlags()
649 if (!value || !Utility.arrayContains(flags, Flag.DELETED)) { in setFlags()
783 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag()
785 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
DImapStore.java37 import com.android.emailcommon.mail.Flag;
650 public void setFlagInternal(Flag flag, boolean set) throws MessagingException { in setFlagInternal()
655 public void setFlag(Flag flag, boolean set) throws MessagingException { in setFlag()
657 mFolder.setFlags(new Message[] { this }, new Flag[] { flag }, set); in setFlag()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java45 import com.android.emailcommon.mail.Flag;
87 private static final Flag[] FLAG_LIST_SEEN = new Flag[] { Flag.SEEN };
88 private static final Flag[] FLAG_LIST_FLAGGED = new Flag[] { Flag.FLAGGED };
89 private static final Flag[] FLAG_LIST_ANSWERED = new Flag[] { Flag.ANSWERED };
307 if (!localExists && message.isSet(Flag.DELETED)) { in downloadFlagAndEnvelope()
329 if (!message.isSet(Flag.SEEN) && unseenMessages != null) { in downloadFlagAndEnvelope()
649 for (Flag flag : remoteFolder.getPermanentFlags()) { in synchronizeMailboxGeneric()
650 if (flag == Flag.SEEN) { in synchronizeMailboxGeneric()
653 if (flag == Flag.FLAGGED) { in synchronizeMailboxGeneric()
656 if (flag == Flag.ANSWERED) { in synchronizeMailboxGeneric()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java25 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/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java29 import com.android.voicemail.impl.mail.Flag;
58 Flag.DELETED, Flag.SEEN, Flag.FLAGGED, Flag.ANSWERED
327 message.setFlagInternal(Flag.DELETED, true); in fetchInternal()
329 message.setFlagInternal(Flag.ANSWERED, true); in fetchInternal()
331 message.setFlagInternal(Flag.SEEN, true); in fetchInternal()
333 message.setFlagInternal(Flag.FLAGGED, true); in fetchInternal()
682 if (flag == Flag.SEEN) { in setFlags()
684 } else if (flag == Flag.DELETED) { in setFlags()
686 } else if (flag == Flag.FLAGGED) { in setFlags()
688 } else if (flag == Flag.ANSWERED) { in setFlags()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DFlagTests.java19 import com.android.emailcommon.mail.Flag;
36 for (Flag flag : Flag.values()) { in testFlagsUpperCase()
DMockFolder.java98 public Flag[] getPermanentFlags() { in getPermanentFlags()
117 public void setFlags(Message[] messages, Flag[] flags, boolean value) { in setFlags()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java35 import com.android.emailcommon.mail.Flag;
103 localMessage.mFlagRead = message.isSet(Flag.SEEN); in updateMessageFields()
104 if (message.isSet(Flag.ANSWERED)) { in updateMessageFields()
117 localMessage.mFlagFavorite = message.isSet(Flag.FLAGGED); in updateMessageFields()
383 message.setFlag(Flag.DELETED, in makeMessage()
385 message.setFlag(Flag.SEEN, localMessage.mFlagRead); in makeMessage()
386 message.setFlag(Flag.FLAGGED, localMessage.mFlagFavorite); in makeMessage()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java31 import com.android.emailcommon.mail.Flag;
297 Flag[] flags = mFolder.getPermanentFlags(); in testSmallFolderFunctions()
299 assertEquals(Flag.DELETED, flags[0]); in testSmallFolderFunctions()
691 mFolder.setFlags(messages, new Flag[] { Flag.DELETED }, true); in testCatchClosed4()
DImapStoreUnitTests.java47 import com.android.emailcommon.mail.Flag;
798 assertTrue(message.isSet(Flag.SEEN)); in testFetchFlagEnvelope()
1127 assertFalse(message1.isSet(Flag.SEEN)); in testExcessFetchResult()
1143 assertTrue(message1.isSet(Flag.SEEN)); in testExcessFetchResult()
1152 message.setFlagDirectlyForTest(Flag.SEEN, true); in prepareForAppendTest()
1836 mFolder.setFlags(messages, new Flag[] {Flag.FLAGGED, Flag.SEEN}, true); in testSetFlags()
1844 mFolder.setFlags(messages, new Flag[] {Flag.DELETED}, false); in testSetFlags()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java40 import com.android.voicemail.impl.mail.Flag;
162 return setFlags(voicemails, Flag.SEEN); in markMessagesAsRead()
167 return setFlags(voicemails, Flag.DELETED); in markMessagesAsDeleted()
253 boolean isRead = Arrays.asList(messageDetails.getFlags()).contains(Flag.SEEN); in getVoicemailFromMessageStructure()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java32 import com.android.emailcommon.mail.Flag;
381 assertEquals(tag, expect.mFlagRead, actual.isSet(Flag.SEEN)); in checkLegacyMessage()
382 assertEquals(tag, expect.mFlagFavorite, actual.isSet(Flag.FLAGGED)); in checkLegacyMessage()
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_MifareStdMap.cpp40 uint8_t* Flag,
44 uint8_t* Flag,
1796 uint8_t* Flag, in phFriNfc_MifStd_H_RemainTLV() argument
1861 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
1877 *Flag = PH_FRINFC_MIFARESTD_FLAG1; in phFriNfc_MifStd_H_RemainTLV()
1884 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
1942 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
1947 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
2028 uint8_t* Flag, in phFriNfc_MifStd_H_IntLenWioutNdef() argument
2088 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_IntLenWioutNdef()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DFlag.java19 public class Flag { class
/packages/apps/Messaging/
DForceProguard.mk31 $(info *** Flag files used for proguard have changed; forcing proguard to rerun.)
/packages/inputmethods/LatinIME/dictionaries/
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...