Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 21 of 21) 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/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/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/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java34 import com.android.phone.common.mail.Flag;
66 { Flag.DELETED, Flag.SEEN, Flag.FLAGGED, Flag.ANSWERED };
353 message.setFlagInternal(Flag.DELETED, true); in fetchInternal()
355 message.setFlagInternal(Flag.ANSWERED, true); in fetchInternal()
357 message.setFlagInternal(Flag.SEEN, true); in fetchInternal()
359 message.setFlagInternal(Flag.FLAGGED, true); in fetchInternal()
686 if (flag == Flag.SEEN) { in setFlags()
688 } else if (flag == Flag.DELETED) { in setFlags()
690 } else if (flag == Flag.FLAGGED) { in setFlags()
692 } 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/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java38 import com.android.phone.common.mail.Flag;
147 return setFlags(voicemails, Flag.SEEN); in markMessagesAsRead()
152 return setFlags(voicemails, Flag.DELETED); in markMessagesAsDeleted()
238 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/services/Telephony/src/com/android/phone/common/mail/
DFlag.java21 public class Flag { class
/packages/apps/Messaging/
DForceProguard.mk31 $(info *** Flag files used for proguard have changed; forcing proguard to rerun.)
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_MifareStdMap.c40 uint8_t *Flag,
44 uint8_t *Flag,
2015 uint8_t *Flag, in phFriNfc_MifStd_H_RemainTLV() argument
2085 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
2102 *Flag = PH_FRINFC_MIFARESTD_FLAG1; in phFriNfc_MifStd_H_RemainTLV()
2109 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
2174 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
2182 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_RemainTLV()
2263 uint8_t *Flag, in phFriNfc_MifStd_H_IntLenWioutNdef() argument
2326 *Flag = PH_FRINFC_MIFARESTD_FLAG0; in phFriNfc_MifStd_H_IntLenWioutNdef()
[all …]
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt40412 01-13 23:19:10.404 2653 2704 I bt_vendor: TAG Extended Flag : 0
40417 01-13 23:19:10.404 2653 2704 I bt_vendor: TAG Extended Flag : 0
40422 01-13 23:19:10.405 2653 2704 I bt_vendor: TAG Extended Flag : 0
40427 01-13 23:19:10.405 2653 2704 I bt_vendor: TAG Extended Flag : 0
40432 01-13 23:19:10.405 2653 2704 I bt_vendor: TAG Extended Flag : 0
40437 01-13 23:19:10.405 2653 2704 I bt_vendor: TAG Extended Flag : 0