/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | HostAuthTests.java | 82 ha.mFlags = 0x00000000; in testSetLoginAuthenticate() 84 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate() 86 ha.mFlags = 0x00000000; in testSetLoginAuthenticate() 88 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate() 90 ha.mFlags = 0xffffffff; in testSetLoginAuthenticate() 92 assertEquals(~HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate() 94 ha.mFlags = 0x00000000; in testSetLoginAuthenticate() 96 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate() 98 ha.mFlags = 0xffffffff; in testSetLoginAuthenticate() 100 assertEquals(~HostAuth.FLAG_AUTHENTICATE, ha.mFlags); in testSetLoginAuthenticate() [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | Permission.java | 28 private int mFlags; field in Permission 36 mFlags = flags; in Permission() 48 return mFlags; in getFlags() 68 return (mFlags & PackageManager.FLAG_PERMISSION_USER_FIXED) != 0; in isUserFixed() 73 mFlags |= PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 75 mFlags &= ~PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 80 return (mFlags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0; in isSystemFixed() 84 return (mFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0; in isPolicyFixed() 88 return (mFlags & PackageManager.FLAG_PERMISSION_USER_SET) != 0; in isUserSet() 92 return (mFlags & PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT) != 0; in isGrantedByDefault() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 66 public int mFlags; field in HostAuth 138 mFlags |= FLAG_OAUTH; in getOrCreateCredential() 155 mFlags &= ~FLAG_OAUTH; in removeCredential() 228 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 235 mFlags |= FLAG_OAUTH; in restore() 245 values.put(HostAuthColumns.FLAGS, mFlags); in toContentValues() 262 json.put(HostAuthColumns.FLAGS, mFlags); in toJson() 283 h.mFlags = json.getInt(HostAuthColumns.FLAGS); in fromJson() 326 mFlags &= ~FLAG_AUTHENTICATE; in setUserName() 328 mFlags |= FLAG_AUTHENTICATE; in setUserName() [all …]
|
D | Account.java | 132 public int mFlags; field in Account 206 mFlags = 0; in Account() 274 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 409 return mFlags; in getFlags() 417 mFlags = newFlags; in setFlags() 434 mFlags &= ~FLAGS_DELETE_POLICY_MASK; in setDeletePolicy() 435 mFlags |= (newPolicy << FLAGS_DELETE_POLICY_SHIFT) & FLAGS_DELETE_POLICY_MASK; in setDeletePolicy() 443 return (mFlags & FLAGS_DELETE_POLICY_MASK) >> FLAGS_DELETE_POLICY_SHIFT; in getDeletePolicy() 744 values.put(AccountColumns.FLAGS, mFlags); in toContentValues() 777 json.put(AccountColumns.FLAGS, mFlags); in toJson() [all …]
|
D | EmailContent.java | 890 public int mFlags = 0; field in EmailContent.Message 1010 values.put(MessageColumns.FLAGS, mFlags); in toContentValues() 1048 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 1285 mFlags &= ~Message.FLAG_TYPE_MASK; in setFlags() 1286 mFlags |= quotedReply in setFlags() 1365 public int mFlags; field in EmailContent.Attachment 1555 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 1576 values.put(AttachmentColumns.FLAGS, mFlags); in toContentValues() 1604 dest.writeInt(mFlags); in writeToParcel() 1630 mFlags = in.readInt(); in Attachment() [all …]
|
D | Mailbox.java | 170 public int mFlags; field in Mailbox 500 box.mFlags = flags; in newSystemMailbox() 591 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); in restore() 616 values.put(MailboxColumns.FLAGS, mFlags); in toContentValues() 780 = mFlags; in getHashes() 821 dest.writeInt(mFlags); in writeToParcel() 846 mFlags = in.readInt(); in Mailbox()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 34 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 39 : mFlags(Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY), mProbability(NOT_A_PROBABILITY), in ProbabilityEntry() 44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 52 : mFlags(createFlags(unigramProperty->representsBeginningOfSentence(), in ProbabilityEntry() 61 : mFlags(0), mProbability(ngramProperty->getProbability()), in ProbabilityEntry() 65 return (mFlags & Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY) == 0; in isValid() 73 return mFlags; in getFlags() 85 return (mFlags & Ver4DictConstants::FLAG_REPRESENTS_BEGINNING_OF_SENTENCE) != 0; in representsBeginningOfSentence() 89 return (mFlags & Ver4DictConstants::FLAG_NOT_A_WORD) != 0; in isNotAWord() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | pt_node_params.h | 35 PtNodeParams() : mHeadPos(NOT_A_DICT_POS), mFlags(0), mHasMovedFlag(false), in PtNodeParams() 44 : mHeadPos(ptNodeParams.mHeadPos), mFlags(ptNodeParams.mFlags), in PtNodeParams() 64 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(false), mParentPos(NOT_A_DICT_POS), in PtNodeParams() 79 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 93 : mHeadPos(ptNodeParams->getHeadPos()), mFlags(flags), mHasMovedFlag(true), in PtNodeParams() 110 : mHeadPos(NOT_A_DICT_POS), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 132 return mHasMovedFlag && DynamicPtReadingUtils::isDeleted(mFlags); in isDeleted() 136 return mHasMovedFlag && DynamicPtReadingUtils::willBecomeNonTerminal(mFlags); in willBecomeNonTerminal() 144 return PatriciaTrieReadingUtils::isTerminal(mFlags); in isTerminal() 148 return PatriciaTrieReadingUtils::isPossiblyOffensive(mFlags); in isPossiblyOffensive() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_entry.h | 38 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry() 47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 55 return ProbabilityEntry(mFlags, probability, &mHistoricalInfo); in createEntryWithUpdatedProbability() 60 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo() 68 return mFlags; in getFlags() 83 const int mFlags; variable
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTestUtils.java | 60 account.mFlags = 4; in setupAccount() 98 hostAuth.mFlags = 200; in setupHostAuth() 141 box.mFlags = 5; in setupMailbox() 173 message.mFlags = 0; in setupMessage() 247 att.mFlags = flags; in setupAttachment() 301 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertAccountEqual() 331 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertHostAuthEqual() 389 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertMessageEqual() 445 assertEquals(caller + " mFlags", expect.mFlags, actual.mFlags); in assertAttachmentEqual()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ActivityState.java | 52 protected int mFlags; field in ActivityState 151 if ((0 != (mFlags & FLAG_SCREEN_ON_ALWAYS)) || in setScreenFlags() 152 (mPlugged && 0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED))) { in setScreenFlags() 157 if (0 != (mFlags & FLAG_ALLOW_LOCK_WHILE_SCREEN_ON)) { in setScreenFlags() 162 if (0 != (mFlags & FLAG_SHOW_WHEN_LOCKED)) { in setScreenFlags() 187 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in onPause() 202 if ((mFlags & FLAG_HIDE_ACTION_BAR) != 0) { in resume() 217 boolean lightsOut = ((mFlags & FLAG_HIDE_STATUS_BAR) != 0); in resume() 226 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in resume()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallFlowAnalytics.java | 106 private int mFlags; field in InstallFlowAnalytics 166 mFlags = in.readInt(); in InstallFlowAnalytics() 179 dest.writeInt(mFlags); in writeToParcel() 430 | ((mFlags & 0xffff) << 16); in writeToEventLog() 452 if (((mFlags & FLAG_FILE_URI) != 0) in writeToEventLog() 453 && ((mFlags & FLAG_VERIFY_APPS_ENABLED) != 0) in writeToEventLog() 549 mFlags |= flag; in setFlagState() 551 mFlags &= ~flag; in setFlagState() 559 return (mFlags & flag) == flag; in isFlagSet()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | HostAuthCompat.java | 20 private int mFlags; field in HostAuthCompat 35 mFlags = hostAuth.mFlags; in HostAuthCompat() 54 hostAuth.mFlags = mFlags; in toHostAuth() 85 parcel.writeInt(mFlags); in writeToParcel() 104 mFlags = in.readInt(); in HostAuthCompat()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
D | Event.java | 104 final private int mFlags; field in Event 124 mFlags = flags; in Event() 259 source.mX, source.mY, source.mSuggestedWordInfo, source.mFlags | FLAG_CONSUMED, in createConsumedEvent() 279 return 0 != (FLAG_DEAD & mFlags); in isDead() 283 return 0 != (FLAG_REPEAT & mFlags); in isKeyRepeat() 286 public boolean isConsumed() { return 0 != (FLAG_CONSUMED & mFlags); } in isConsumed()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 94 private int mFlags = FLAG_NEED_LAYOUT; field in GLRootView 120 mFlags |= FLAG_INITIALIZED; in GLRootView() 214 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; in requestLayoutContentPane() 218 if ((mFlags & FLAG_INITIALIZED) == 0) return; in requestLayoutContentPane() 220 mFlags |= FLAG_NEED_LAYOUT; in requestLayoutContentPane() 228 mFlags &= ~FLAG_NEED_LAYOUT; in layoutContentPane() 404 || (mFlags & FLAG_NEED_LAYOUT) != 0) { in onDrawFrameLocked()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 1277 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders() 1281 assertEquals(0, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders() 1285 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders() 1289 assertEquals(SELECTABLE_BITS, testFolder.mMailbox.mFlags & SELECTABLE_BITS); in testGetAllFolders() 2314 mailbox.mFlags = 0xAAAAAAA8; in createFolder() 2351 assertEquals(0xAAAAAAAB, folders[0].mMailbox.mFlags); in testCreateHierarchy() 2354 assertEquals(0xAAAAAAA8, folders[1].mMailbox.mFlags); in testCreateHierarchy() 2357 assertEquals(0xAAAAAAAB, folders[2].mMailbox.mFlags); in testCreateHierarchy() 2360 assertEquals(0xAAAAAAA8, folders[3].mMailbox.mFlags); in testCreateHierarchy() 2363 assertEquals(0xAAAAAAA8, folders[4].mMailbox.mFlags); in testCreateHierarchy() [all …]
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
D | MailTransport.java | 64 private int mFlags; field in MailTransport 71 mFlags = flags; in MailTransport() 80 return new MailTransport(mContext, mNetwork, mHost, mPort, mFlags); in clone() 84 return (mFlags & ImapStore.FLAG_SSL) != 0; in canTrySslSecurity() 88 return (mFlags & ImapStore.FLAG_TRUST_ALL) != 0; in canTrustAllCertificates()
|
D | Message.java | 35 private HashSet<String> mFlags = null; field in Message 94 if (mFlags == null) { in getFlagSet() 95 mFlags = new HashSet<String>(); in getFlagSet() 97 return mFlags; in getFlagSet()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | SecurityPolicyTests.java | 279 a2.mFlags = Account.FLAGS_SYNC_DISABLED | Account.FLAGS_SECURITY_HOLD; in testSetClearHoldFlag() 284 assertEquals(Account.FLAGS_SYNC_DISABLED | Account.FLAGS_SECURITY_HOLD, a2a.mFlags); in testSetClearHoldFlag() 288 assertEquals(Account.FLAGS_SYNC_DISABLED, a2.mFlags); in testSetClearHoldFlag() 292 assertEquals(Account.FLAGS_SYNC_DISABLED, a2b.mFlags); in testSetClearHoldFlag() 443 assertEquals(0, account.mFlags & Account.FLAGS_SECURITY_HOLD); in testWipeExpiringAccounts() 445 assertEquals(0, account.mFlags & Account.FLAGS_SECURITY_HOLD); in testWipeExpiringAccounts() 447 assertEquals(Account.FLAGS_SECURITY_HOLD, account.mFlags & Account.FLAGS_SECURITY_HOLD); in testWipeExpiringAccounts()
|
D | LegacyConversionsTests.java | 341 localMessage2.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in brokentestMakeLegacyMessage() 349 localMessage3.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in brokentestMakeLegacyMessage() 350 localMessage3.mFlags |= EmailContent.Message.FLAG_TYPE_REPLY; in brokentestMakeLegacyMessage() 358 localMessage4.mFlags &= ~EmailContent.Message.FLAG_TYPE_MASK; in brokentestMakeLegacyMessage() 359 localMessage4.mFlags |= EmailContent.Message.FLAG_TYPE_FORWARD; in brokentestMakeLegacyMessage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 363 int mFlags = 0; field in CropActivity.BitmapIOTask 391 mFlags = flags; in BitmapIOTask() 439 if ((mFlags & DO_RETURN_DATA) != 0) { in doInBackground() 463 if ((mFlags & (DO_EXTRA_OUTPUT | DO_SET_WALLPAPER)) != 0 && mInStream != null) { in doInBackground() 547 if (mFlags == DO_EXTRA_OUTPUT) { in doInBackground() 562 if ((mFlags & DO_EXTRA_OUTPUT) != 0) { in doInBackground() 581 if ((mFlags & DO_SET_WALLPAPER) != 0 && mWPManager != null) { in doInBackground()
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Message.java | 31 private HashSet<Flag> mFlags = null; field in Message 96 if (mFlags == null) { in getFlagSet() 97 mFlags = new HashSet<Flag>(); in getFlagSet() 99 return mFlags; in getFlagSet()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 95 account2.mFlags = 0x08; // set delete policy in testSetImapDeletePolicy() 106 account4.mFlags = 0xa5a5a5a5; // Alternating bits; includes bad delete policy in testSetImapDeletePolicy() 112 account5.mFlags = 0x0c; // All delete policy bits set in testSetImapDeletePolicy() 118 account6.mFlags = 0; // No delete policy bits set in testSetImapDeletePolicy()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | AttachmentService.java | 777 if (((att.mFlags & Attachment.FLAG_DOWNLOAD_USER_REQUEST) != 0) || in onChange() 778 ((att.mFlags & Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD) != 0)) { in onChange() 816 cv.put(AttachmentColumns.FLAGS, att.mFlags &= ~flags); in markAttachmentAsFailed() 828 cv.put(AttachmentColumns.FLAGS, att.mFlags &= ~flags); in markAttachmentAsCompleted() 852 attachment.mFlags = (int) flags; in processQueue() 1132 if ((attachment.mFlags & Attachment.FLAG_DOWNLOAD_FORWARD) != 0) { in endDownload() 1215 final int flags = att.mFlags; in getAttachmentPriority() 1234 if ((account.mFlags & Account.FLAGS_BACKGROUND_ATTACHMENTS) == 0) { in canPrefetchForAccount()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | AttachmentInfo.java | 80 public final int mFlags; field in AttachmentInfo 93 attachment.mAccountKey, attachment.mFlags); in AttachmentInfo() 104 info.mFlags); in AttachmentInfo() 114 mFlags = flags; in AttachmentInfo()
|