Home
last modified time | relevance | path

Searched refs:mFlags (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java75 ha.mFlags = 0x00000000; in testSetLoginAuthenticate()
77 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate()
79 ha.mFlags = 0x00000000; in testSetLoginAuthenticate()
81 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate()
83 ha.mFlags = 0x00000000; in testSetLoginAuthenticate()
85 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate()
87 ha.mFlags = 0x00000000; in testSetLoginAuthenticate()
89 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate()
91 ha.mFlags = 0xffffffff; in testSetLoginAuthenticate()
93 assertEquals(~HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate()
[all …]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java100 Mailbox.FLAG_CHILDREN_VISIBLE, box1.mFlags); in testSetupParentKeyAndFlag()
103 assertEquals(Mailbox.FLAG_HOLDS_MAIL, box2.mFlags); in testSetupParentKeyAndFlag()
106 assertEquals(Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE, box3.mFlags); in testSetupParentKeyAndFlag()
109 assertEquals(0, box4.mFlags); in testSetupParentKeyAndFlag()
112 assertEquals(Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_ACCEPTS_MOVED_MAIL, box5.mFlags); in testSetupParentKeyAndFlag()
148 assertEquals(PARENT_FLAGS, box1.mFlags); in testParentKeyAddFolder1()
151 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
167 assertEquals(PARENT_FLAGS, box1.mFlags); in testParentKeyAddFolder1()
170 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
173 assertEquals(CHILD_FLAGS, box3.mFlags); in testParentKeyAddFolder1()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java100 Mailbox.FLAG_CHILDREN_VISIBLE, box1.mFlags); in testSetupParentKeyAndFlag()
103 assertEquals(Mailbox.FLAG_HOLDS_MAIL, box2.mFlags); in testSetupParentKeyAndFlag()
106 assertEquals(Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE, box3.mFlags); in testSetupParentKeyAndFlag()
109 assertEquals(0, box4.mFlags); in testSetupParentKeyAndFlag()
112 assertEquals(Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_ACCEPTS_MOVED_MAIL, box5.mFlags); in testSetupParentKeyAndFlag()
148 assertEquals(PARENT_FLAGS, box1.mFlags); in testParentKeyAddFolder1()
151 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
167 assertEquals(PARENT_FLAGS, box1.mFlags); in testParentKeyAddFolder1()
170 assertEquals(CHILD_FLAGS, box2.mFlags); in testParentKeyAddFolder1()
173 assertEquals(CHILD_FLAGS, box3.mFlags); in testParentKeyAddFolder1()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java60 public int mFlags; field in HostAuth
176 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore()
189 values.put(HostAuthColumns.FLAGS, mFlags); in toContentValues()
222 mFlags &= ~FLAG_AUTHENTICATE; in setLogin()
224 mFlags |= FLAG_AUTHENTICATE; in setLogin()
233 if ((mFlags & FLAG_AUTHENTICATE) != 0) { in getLogin()
260 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); in setConnection()
261 mFlags |= (flags & USER_CONFIG_MASK); in setConnection()
271 boolean useSSL = ((mFlags & FLAG_SSL) != 0); in setConnection()
299 return (mFlags & FLAG_SSL) != 0; in shouldUseSsl()
[all …]
DAccount.java120 public int mFlags; field in Account
221 mFlags = FLAGS_NOTIFY_NEW_MAIL; in Account()
267 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore()
380 return mFlags; in getFlags()
391 mFlags = newFlags; in setFlags()
414 mFlags &= ~FLAGS_DELETE_POLICY_MASK; in setDeletePolicy()
415 mFlags |= (newPolicy << FLAGS_DELETE_POLICY_SHIFT) & FLAGS_DELETE_POLICY_MASK; in setDeletePolicy()
423 return (mFlags & FLAGS_DELETE_POLICY_MASK) >> FLAGS_DELETE_POLICY_SHIFT; in getDeletePolicy()
487 return (account.mFlags & Account.FLAGS_SUPPORTS_SEARCH) != 0; in supportsServerSearch()
847 values.put(AccountColumns.FLAGS, mFlags); in toContentValues()
[all …]
DMailbox.java55 public int mFlags; field in Mailbox
262 box.mFlags = Mailbox.FLAG_HOLDS_MAIL; in newSystemMailbox()
326 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore()
353 values.put(MailboxColumns.FLAGS, mFlags); in toContentValues()
573 = mFlags; in getHashes()
618 dest.writeInt(mFlags); in writeToParcel()
645 mFlags = in.readInt(); in Mailbox()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DActivityState.java50 protected int mFlags; field in ActivityState
121 if ((0 != (mFlags & FLAG_SCREEN_ON_ALWAYS)) || in setScreenOnFlags()
122 (mPlugged && 0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED))) { in setScreenOnFlags()
131 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in onPause()
141 if ((mFlags & FLAG_HIDE_ACTION_BAR) != 0) { in resume()
156 boolean lightsOut = ((mFlags & FLAG_HIDE_STATUS_BAR) != 0); in resume()
165 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in resume()
/packages/apps/Email/tests/src/com/android/email/
DNotificationControllerTest.java74 a1.mFlags = Account.FLAGS_VIBRATE_ALWAYS; in testSetupSoundAndVibration()
87 a1.mFlags = Account.FLAGS_VIBRATE_WHEN_SILENT; in testSetupSoundAndVibration()
100 a1.mFlags = 0; in testSetupSoundAndVibration()
116 a1.mFlags = Account.FLAGS_VIBRATE_ALWAYS; in testSetupSoundAndVibration()
129 a1.mFlags = Account.FLAGS_VIBRATE_WHEN_SILENT; in testSetupSoundAndVibration()
142 a1.mFlags = 0; in testSetupSoundAndVibration()
158 a1.mFlags = Account.FLAGS_VIBRATE_ALWAYS; in testSetupSoundAndVibration()
171 a1.mFlags = Account.FLAGS_VIBRATE_WHEN_SILENT; in testSetupSoundAndVibration()
184 a1.mFlags = 0; in testSetupSoundAndVibration()
DLegacyConversionsTests.java473 localMessage2.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in testMakeLegacyMessage()
481 localMessage3.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in testMakeLegacyMessage()
482 localMessage3.mFlags |= EmailContent.Message.FLAG_TYPE_REPLY; in testMakeLegacyMessage()
490 localMessage4.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in testMakeLegacyMessage()
491 localMessage4.mFlags |= EmailContent.Message.FLAG_TYPE_FORWARD; in testMakeLegacyMessage()
560 int replyTypeFlags = expect.mFlags & EmailContent.Message.FLAG_TYPE_MASK; in checkLegacyMessage()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java60 account.mFlags = 4; in setupAccount()
102 hostAuth.mFlags = 200; in setupHostAuth()
145 box.mFlags = 5; in setupMailbox()
177 message.mFlags = 0; in setupMessage()
258 att.mFlags = flags; in setupAttachment()
312 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertAccountEqual()
347 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertHostAuthEqual()
376 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertMailboxEqual()
399 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertMessageEqual()
447 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertAttachmentEqual()
DAccountBackupRestoreTests.java64 assertEquals(" mFlags", expect.mFlags, actual.mFlags); in assertRestoredAccountEqual()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java105 message.mFlags = Message.FLAG_TYPE_REPLY; in createTestMessage()
131 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
139 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
148 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
157 bodyParts = Rfc822Output.buildBodyText(body1, message1.mFlags, false); in testBuildBodyText()
164 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); in testBuildBodyText()
172 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); in testBuildBodyText()
181 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); in testBuildBodyText()
191 bodyParts = Rfc822Output.buildBodyText(body2, message2.mFlags, true); in testBuildBodyText()
206 msg.mFlags = Message.FLAG_TYPE_FORWARD; in testBuildBodyTextWithForward()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/
Dterminal_attributes.h66 const uint8_t mFlags; variable
71 mDict(dict), mFlags(flags), mStartPos(pos) { in TerminalAttributes()
77 return ShortcutIterator(mDict, mStartPos + BinaryFormat::SHORTCUT_LIST_SIZE_SIZE, mFlags); in getShortcutIterator()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DMessage.java31 private HashSet<Flag> mFlags = null; field in Message
109 if (mFlags == null) { in getFlagSet()
110 mFlags = new HashSet<Flag>(); in getFlagSet()
112 return mFlags; in getFlagSet()
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java93 account2.mFlags = 0x08; // set delete policy in testSetImapDeletePolicy()
104 account4.mFlags = 0xa5a5a5a5; // Alternating bits; includes bad delete policy in testSetImapDeletePolicy()
110 account5.mFlags = 0x0c; // All delete policy bits set in testSetImapDeletePolicy()
116 account6.mFlags = 0; // No delete policy bits set in testSetImapDeletePolicy()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DCharGroupInfo.java30 public final int mFlags; field in CharGroupInfo
43 mFlags = flags; in CharGroupInfo()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java88 private int mFlags = FLAG_NEED_LAYOUT; field in GLRootView
117 mFlags |= FLAG_INITIALIZED; in GLRootView()
182 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; in requestLayoutContentPane()
186 if ((mFlags & FLAG_INITIALIZED) == 0) return; in requestLayoutContentPane()
188 mFlags |= FLAG_NEED_LAYOUT; in requestLayoutContentPane()
196 mFlags &= ~FLAG_NEED_LAYOUT; in layoutContentPane()
369 if ((mFlags & FLAG_NEED_LAYOUT) != 0) layoutContentPane(); in onDrawFrameLocked()
/packages/apps/Email/src/com/android/email/
DAttachmentInfo.java73 public final int mFlags; field in AttachmentInfo
86 attachment.mAccountKey, attachment.mFlags); in AttachmentInfo()
97 info.mFlags); in AttachmentInfo()
107 mFlags = flags; in AttachmentInfo()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupExchangeTests.java184 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_SSL; in testLoadSettings()
185 account.mHostAuthRecv.mFlags &= ~HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
195 account.mHostAuthRecv.mFlags |= HostAuth.FLAG_TRUST_ALL; in testLoadSettings()
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
DMailboxUtilities.java163 cv.put(Account.FLAGS, start ? (account.mFlags | ACCOUNT_MAILBOX_CHANGE_FLAG) : in setAccountSyncAdapterFlag()
164 account.mFlags & ~ACCOUNT_MAILBOX_CHANGE_FLAG); in setAccountSyncAdapterFlag()
198 if ((account.mFlags & ACCOUNT_MAILBOX_CHANGE_FLAG) != 0) { in checkMailboxConsistency()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptions.java239 account.mFlags |= Account.FLAGS_INCOMPLETE; in onDone()
245 account.mFlags |= Account.FLAGS_SECURITY_HOLD; in onDone()
334 account.mFlags &= ~Account.FLAGS_INCOMPLETE; in optionsComplete()
338 if ((account.mFlags & Account.FLAGS_SECURITY_HOLD) != 0) { in optionsComplete()
369 account.mFlags &= ~Account.FLAGS_SECURITY_HOLD; in saveAccountAndFinish()
DAccountSetupAccountType.java122 recvAuth.mFlags | HostAuth.FLAG_SSL); in onExchange()
125 sendAuth.mFlags | HostAuth.FLAG_SSL); in onExchange()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DConversionUtilities.java94 localMessage.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in updateBodyFields()
95 localMessage.mFlags |= isQuotedReply in updateBodyFields()
/packages/apps/Email/src/com/android/email/mail/transport/
DSmtpSender.java74 if ((sendAuth.mFlags & HostAuth.FLAG_SSL) != 0) { in SmtpSender()
77 } else if ((sendAuth.mFlags & HostAuth.FLAG_TLS) != 0) { in SmtpSender()
80 boolean trustCertificates = ((sendAuth.mFlags & HostAuth.FLAG_TRUST_ALL) != 0); in SmtpSender()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java1275 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders()
1279 assertEquals(0, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders()
1283 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders()
1287 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders()
2312 mailbox.mFlags = 0xAAAAAAA8; in createFolder()
2349 assertEquals(0xAAAAAAAB, folders[0].mMailbox.mFlags); in testCreateHierarchy()
2352 assertEquals(0xAAAAAAA8, folders[1].mMailbox.mFlags); in testCreateHierarchy()
2355 assertEquals(0xAAAAAAAB, folders[2].mMailbox.mFlags); in testCreateHierarchy()
2358 assertEquals(0xAAAAAAA8, folders[3].mMailbox.mFlags); in testCreateHierarchy()
2361 assertEquals(0xAAAAAAA8, folders[4].mMailbox.mFlags); in testCreateHierarchy()
[all …]

123