/frameworks/base/keystore/java/android/security/ |
KeyStoreParameter.java | 48 private int mFlags; 51 mFlags = flags; 58 return mFlags; 66 return (mFlags & KeyStore.FLAG_ENCRYPTED) != 0; 87 private int mFlags; 111 mFlags |= KeyStore.FLAG_ENCRYPTED; 113 mFlags &= ~KeyStore.FLAG_ENCRYPTED; 125 return new KeyStoreParameter(mFlags);
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
HostAuthTests.java | 75 ha.mFlags = 0x00000000; 77 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); 79 ha.mFlags = 0x00000000; 81 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); 83 ha.mFlags = 0x00000000; 85 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); 87 ha.mFlags = 0x00000000; 89 assertEquals(HostAuth.FLAG_AUTHENTICATE, ha.mFlags); 91 ha.mFlags = 0xffffffff; 93 assertEquals(~HostAuth.FLAG_AUTHENTICATE, ha.mFlags); [all...] |
/frameworks/base/core/java/android/net/ |
InterfaceConfiguration.java | 34 private HashSet<String> mFlags = Sets.newHashSet(); 44 builder.append(" mFlags=").append(getFlags()); 49 return mFlags; 54 return mFlags.contains(flag); 59 mFlags.remove(flag); 64 mFlags.add(flag); 71 mFlags.remove(FLAG_DOWN); 72 mFlags.add(FLAG_UP); 79 mFlags.remove(FLAG_UP); 80 mFlags.add(FLAG_DOWN) [all...] |
/frameworks/base/include/androidfw/ |
ObbFile.h | 67 return mFlags; 71 mFlags = flags; 75 if ((mFlags & OBB_SALTED) == 0) { 90 mFlags |= OBB_SALTED; 95 return (mFlags & OBB_OVERLAY) == OBB_OVERLAY; 100 mFlags |= OBB_OVERLAY; 102 mFlags &= ~OBB_OVERLAY; 125 int32_t mFlags;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_node_reader.cpp | 43 mFlags = PatriciaTrieReadingUtils::getFlagsAndAdvancePosition(dictBuf, &pos); 50 dictBuf, mFlags, maxCodePointCount, outCodePoints, &pos); 53 dictBuf, mFlags, MAX_WORD_LENGTH, &pos); 75 if (DynamicPatriciaTrieReadingUtils::isMoved(mFlags)) { 84 if (PatriciaTrieReadingUtils::hasShortcutTargets(mFlags)) { 90 if (PatriciaTrieReadingUtils::hasBigrams(mFlags)) { 102 if (DynamicPatriciaTrieReadingUtils::isMoved(mFlags)) { 111 mFlags = 0;
|
dynamic_patricia_trie_node_reader.h | 42 mShortcutsPolicy(shortcutsPolicy), mHeadPos(NOT_A_DICT_POS), mFlags(0), 71 return DynamicPatriciaTrieReadingUtils::isDeleted(mFlags); 79 return PatriciaTrieReadingUtils::isTerminal(mFlags); 83 return PatriciaTrieReadingUtils::isBlacklisted(mFlags); 87 return PatriciaTrieReadingUtils::isNotAWord(mFlags); 145 DynamicPatriciaTrieReadingUtils::NodeFlags mFlags;
|
/frameworks/base/location/java/android/location/ |
FusedBatchOptions.java | 29 private volatile int mFlags = 0; 70 mFlags |= flag; 74 mFlags &= ~flag; 78 return (mFlags & flag) != 0; 82 return mFlags; 133 parcel.writeInt(mFlags);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItem.java | 52 private int mFlags = ENABLED; 118 return (mFlags & CHECKABLE) != 0; 122 return (mFlags & CHECKED) != 0; 126 return (mFlags & ENABLED) != 0; 130 return (mFlags & HIDDEN) == 0; 139 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); 144 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); 149 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0) [all...] |
MenuItemImpl.java | 72 private int mFlags = ENABLED; 178 return (mFlags & ENABLED) != 0; 183 mFlags |= ENABLED; 185 mFlags &= ~ENABLED; 416 return (mFlags & CHECKABLE) == CHECKABLE; 420 final int oldFlags = mFlags; 421 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); 422 if (oldFlags != mFlags) { 430 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItem.java | 55 private int mFlags = ENABLED; 121 return (mFlags & CHECKABLE) != 0; 125 return (mFlags & CHECKED) != 0; 129 return (mFlags & ENABLED) != 0; 133 return (mFlags & HIDDEN) == 0; 142 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); 147 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); 152 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0) [all...] |
MenuItemImpl.java | 80 private int mFlags = ENABLED; 185 return (mFlags & ENABLED) != 0; 191 mFlags |= ENABLED; 193 mFlags &= ~ENABLED; 448 return (mFlags & CHECKABLE) == CHECKABLE; 453 final int oldFlags = mFlags; 454 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); 455 if (oldFlags != mFlags) { 463 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0) [all...] |
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminReceiverTest.java | 67 private int mFlags = 0; 70 mFlags = 0; 74 return mFlags == flags; 80 mFlags |= PASSWORD_CHANGED; 86 mFlags |= PASSWORD_FAILED; 92 mFlags |= PASSWORD_SUCCEEDED; 98 mFlags |= DEVICE_ADMIN_ENABLED; 103 mFlags |= DEVICE_ADMIN_DISABLE_REQUESTED; 110 mFlags |= DEVICE_ADMIN_DISABLED;
|
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.cpp | 85 mFlags(0), 210 mFlags |= AUTO_LOOPING; 273 if (mFlags & PREPARING) { 274 mFlags |= PREPARE_CANCELLED; 277 while (mFlags & PREPARING) { 326 mFlags = 0; 351 mFlags &= ~CACHE_UNDERRUN; 352 mFlags &= ~INFORMED_AV_EOS; 358 CHECK(!(mFlags & AUDIO_RUNNING)); 364 if (!(mFlags & AUDIOPLAYER_STARTED)) [all...] |
/frameworks/base/core/java/android/view/animation/ |
AnimationSet.java | 62 private int mFlags = 0; 93 mFlags |= PROPERTY_DURATION_MASK; 96 mFlags |= PROPERTY_FILL_BEFORE_MASK; 99 mFlags |= PROPERTY_FILL_AFTER_MASK; 102 mFlags |= PROPERTY_REPEAT_MODE_MASK; 105 mFlags |= PROPERTY_START_OFFSET_MASK; 143 mFlags |= mask; 145 mFlags &= ~mask; 155 mFlags |= PROPERTY_FILL_AFTER_MASK; 161 mFlags |= PROPERTY_FILL_BEFORE_MASK [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
PtNodeInfo.java | 30 public final int mFlags; 44 mFlags = flags;
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MailboxUtilitiesTests.java | 103 Mailbox.FLAG_CHILDREN_VISIBLE | Mailbox.FLAG_SUPPORTS_SETTINGS, box1.mFlags); 106 assertEquals(Mailbox.FLAG_HOLDS_MAIL | Mailbox.FLAG_SUPPORTS_SETTINGS, box2.mFlags); 109 assertEquals(Mailbox.FLAG_HAS_CHILDREN | Mailbox.FLAG_CHILDREN_VISIBLE, box3.mFlags); 112 assertEquals(0, box4.mFlags); 116 Mailbox.FLAG_SUPPORTS_SETTINGS, box5.mFlags); 152 assertEquals(PARENT_FLAGS, box1.mFlags); 155 assertEquals(CHILD_FLAGS, box2.mFlags); 171 assertEquals(PARENT_FLAGS, box1.mFlags); 174 assertEquals(CHILD_FLAGS, box2.mFlags); 177 assertEquals(CHILD_FLAGS, box3.mFlags); [all...] |
/system/core/include/utils/ |
StopWatch.h | 46 uint32_t mFlags;
|
/cts/tests/tests/view/src/android/view/cts/ |
AbsSavedStateTest.java | 79 private int mFlags; 88 mFlags = flags; 97 return mFlags;
|
/frameworks/base/core/java/android/os/ |
DropBoxManager.java | 95 private final int mFlags; 105 mFlags = IS_EMPTY; 117 mFlags = IS_TEXT; 134 mFlags = flags; 151 mFlags = flags; 166 mFlags = flags; 181 public int getFlags() { return mFlags & ~IS_GZIPPED; } // getInputStream() decompresses. 188 if ((mFlags & IS_TEXT) == 0) return null; 219 return (mFlags & IS_GZIPPED) != 0 ? new GZIPInputStream(is) : is; 244 out.writeInt(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be saf [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
copybit.cpp | 60 int mFlags; 174 if (dev->mFlags & COPYBIT_TRANSFORM_ROT_90) { 196 if (dev->mFlags & COPYBIT_TRANSFORM_FLIP_V) { 197 if (dev->mFlags & COPYBIT_TRANSFORM_ROT_90) { 204 if (dev->mFlags & COPYBIT_TRANSFORM_FLIP_H) { 205 if (dev->mFlags & COPYBIT_TRANSFORM_ROT_90) { 219 req->flags = dev->mFlags | flags; 284 ctx->mFlags &= ~0x7; 287 ctx->mFlags &= ~0x7; 288 ctx->mFlags |= MDP_ROT_90 [all...] |
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 50 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 67 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 86 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 102 mFlags = flags; 126 if ((mFlags & DONT_MAP_LOCALLY) == 0) { 180 return mFlags;
|
/frameworks/base/core/java/android/text/style/ |
SuggestionSpan.java | 85 private int mFlags; 132 mFlags = flags; 196 mFlags = src.readInt(); 237 return mFlags; 241 mFlags = flags; 252 dest.writeInt(mFlags); 304 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0; 305 final boolean easy = (mFlags & FLAG_EASY_CORRECT) != 0; 306 final boolean autoCorrection = (mFlags & FLAG_AUTO_CORRECTION) != 0; 327 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0 [all...] |
/frameworks/native/include/binder/ |
BufferedTextOutput.h | 56 uint32_t mFlags;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
HostAuth.java | 61 public int mFlags; 179 mFlags = cursor.getInt(CONTENT_FLAGS_COLUMN); 192 values.put(HostAuthColumns.FLAGS, mFlags); 225 mFlags &= ~FLAG_AUTHENTICATE; 227 mFlags |= FLAG_AUTHENTICATE; 236 if ((mFlags & FLAG_AUTHENTICATE) != 0) { 263 mFlags &= ~(FLAG_SSL | FLAG_TLS | FLAG_TRUST_ALL); 264 mFlags |= (flags & USER_CONFIG_MASK); 274 boolean useSSL = ((mFlags & FLAG_SSL) != 0); 286 return (mFlags & FLAG_SSL) != 0 [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Message.java | 31 private HashSet<Flag> mFlags = null; 96 if (mFlags == null) { 97 mFlags = new HashSet<Flag>(); 99 return mFlags;
|