/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 41 mMaxDelay(0), mFlags(0) { in Sensor() 60 mFlags = 0; in Sensor() 96 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 100 mFlags |= SENSOR_FLAG_ON_CHANGE_MODE; in Sensor() 104 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 108 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 112 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 116 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 120 mFlags |= SENSOR_FLAG_CONTINUOUS_MODE; in Sensor() 127 mFlags |= SENSOR_FLAG_ON_CHANGE_MODE; in Sensor() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptOptions.java | 72 private final int mFlags; field in DexoptOptions 109 mFlags = flags; in DexoptOptions() 119 return (mFlags & DEXOPT_CHECK_FOR_PROFILES_UPDATES) != 0; in isCheckForProfileUpdates() 127 return (mFlags & DEXOPT_FORCE) != 0; in isForce() 131 return (mFlags & DEXOPT_BOOT_COMPLETE) != 0; in isBootComplete() 135 return (mFlags & DEXOPT_ONLY_SECONDARY_DEX) != 0; in isDexoptOnlySecondaryDex() 139 return (mFlags & DEXOPT_ONLY_SHARED_DEX) != 0; in isDexoptOnlySharedDex() 143 return (mFlags & DEXOPT_DOWNGRADE) != 0; in isDowngrade() 147 return (mFlags & DEXOPT_AS_SHARED_LIBRARY) != 0; in isDexoptAsSharedLibrary() 151 return (mFlags & DEXOPT_IDLE_BACKGROUND_JOB) != 0; in isDexoptIdleBackgroundJob() [all …]
|
/frameworks/base/core/java/android/net/ |
D | InterfaceConfiguration.java | 35 private HashSet<String> mFlags = Sets.newHashSet(); field in InterfaceConfiguration 54 return mFlags; in getFlags() 59 return mFlags.contains(flag); in hasFlag() 65 mFlags.remove(flag); in clearFlag() 71 mFlags.add(flag); in setFlag() 79 mFlags.remove(FLAG_DOWN); in setInterfaceUp() 80 mFlags.add(FLAG_UP); in setInterfaceUp() 88 mFlags.remove(FLAG_UP); in setInterfaceDown() 89 mFlags.add(FLAG_DOWN); in setInterfaceDown() 96 mFlags.remove(FLAG_UP); in ignoreInterfaceUpDownStatus() [all …]
|
D | UrlQuerySanitizer.java | 122 private int mFlags; field in UrlQuerySanitizer.IllegalCharacterValueSanitizer 287 mFlags = flags; in IllegalCharacterValueSanitizer() 309 if ((mFlags & SCRIPT_URL_OK) != 0) { in sanitize() 321 if ( (mFlags & ALL_WHITESPACE_OK) == 0) { in sanitize() 332 if ((mFlags & SPACE_OK) != 0) { in sanitize() 395 case ' ' : return (mFlags & SPACE_OK) != 0; in characterIsLegal() 397 return (mFlags & OTHER_WHITESPACE_OK) != 0; in characterIsLegal() 398 case '\"': return (mFlags & DQUOTE_OK) != 0; in characterIsLegal() 399 case '\'': return (mFlags & SQUOTE_OK) != 0; in characterIsLegal() 400 case '<' : return (mFlags & LT_OK) != 0; in characterIsLegal() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreParameter.java | 51 private final int mFlags; field in KeyStoreParameter 55 mFlags = flags; in KeyStoreParameter() 62 return mFlags; in getFlags() 79 return (mFlags & KeyStore.FLAG_ENCRYPTED) != 0; in isEncryptionRequired() 103 private int mFlags; field in KeyStoreParameter.Builder 133 mFlags |= KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired() 135 mFlags &= ~KeyStore.FLAG_ENCRYPTED; in setEncryptionRequired() 149 mFlags); in build()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 62 private int mFlags = 0; field in AnimationSet 93 mFlags |= PROPERTY_DURATION_MASK; in AnimationSet() 96 mFlags |= PROPERTY_FILL_BEFORE_MASK; in AnimationSet() 99 mFlags |= PROPERTY_FILL_AFTER_MASK; in AnimationSet() 102 mFlags |= PROPERTY_REPEAT_MODE_MASK; in AnimationSet() 105 mFlags |= PROPERTY_START_OFFSET_MASK; in AnimationSet() 143 mFlags |= mask; in setFlag() 145 mFlags &= ~mask; in setFlag() 155 mFlags |= PROPERTY_FILL_AFTER_MASK; in setFillAfter() 161 mFlags |= PROPERTY_FILL_BEFORE_MASK; in setFillBefore() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Bundle.java | 69 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 83 mFlags = FLAG_ALLOW_FDS; in Bundle() 96 mFlags = FLAG_ALLOW_FDS; in Bundle() 109 mFlags |= FLAG_HAS_FDS | FLAG_HAS_FDS_KNOWN; in maybePrefillHasFds() 111 mFlags |= FLAG_HAS_FDS_KNOWN; in maybePrefillHasFds() 125 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 136 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 150 mFlags = b.mFlags; in Bundle() 162 mFlags = FLAG_HAS_FDS_KNOWN | FLAG_ALLOW_FDS; in Bundle() 205 final boolean orig = (mFlags & FLAG_ALLOW_FDS) != 0; in setAllowFds() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ViewNode.java | 86 private long mFlags; field in ViewNode 121 mFlags = nodeFlags; in ViewNode() 276 return (mFlags & FLAGS_ASSIST_BLOCKED) != 0; in isAssistBlocked() 281 return (mFlags & FLAGS_DISABLED) == 0; in isEnabled() 286 return (mFlags & FLAGS_CLICKABLE) != 0; in isClickable() 291 return (mFlags & FLAGS_LONG_CLICKABLE) != 0; in isLongClickable() 296 return (mFlags & FLAGS_CONTEXT_CLICKABLE) != 0; in isContextClickable() 301 return (mFlags & FLAGS_FOCUSABLE) != 0; in isFocusable() 306 return (mFlags & FLAGS_FOCUSED) != 0; in isFocused() 311 return (mFlags & FLAGS_ACCESSIBILITY_FOCUSED) != 0; in isAccessibilityFocused() [all …]
|
D | ContentCaptureCondition.java | 51 private final @Flags int mFlags; field in ContentCaptureCondition 64 this.mFlags = flags; in ContentCaptureCondition() 81 return mFlags; in getFlags() 88 result = prime * result + mFlags; in hashCode() 99 if (mFlags != other.mFlags) return false; in equals() 111 if (mFlags != 0) { in toString() 114 .append(DebugUtils.flagsToString(ContentCaptureCondition.class, "FLAG_", mFlags)) in toString() 128 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ObbFile.h | 67 return mFlags; in getFlags() 71 mFlags = flags; in setFlags() 75 if ((mFlags & OBB_SALTED) == 0) { in getSalt() 90 mFlags |= OBB_SALTED; in setSalt() 95 return (mFlags & OBB_OVERLAY) == OBB_OVERLAY; in isOverlay() 100 mFlags |= OBB_OVERLAY; in setOverlay() 102 mFlags &= ~OBB_OVERLAY; in setOverlay() 125 int32_t mFlags; variable
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 66 private int mFlags = ENABLED; field in ActionMenuItem 141 return (mFlags & CHECKABLE) != 0; in isCheckable() 145 return (mFlags & CHECKED) != 0; in isChecked() 149 return (mFlags & ENABLED) != 0; in isEnabled() 153 return (mFlags & HIDDEN) == 0; in isVisible() 168 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable() 173 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable() 178 mFlags = (mFlags & ~CHECKED) | (checked ? CHECKED : 0); in setChecked() 183 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled() 301 mFlags = (mFlags & HIDDEN) | (visible ? 0 : HIDDEN); in setVisible()
|
D | MenuItemImpl.java | 88 private int mFlags = ENABLED; field in MenuItemImpl 177 return (mFlags & ENABLED) != 0; in isEnabled() 182 mFlags |= ENABLED; in setEnabled() 184 mFlags &= ~ENABLED; in setEnabled() 558 return (mFlags & CHECKABLE) == CHECKABLE; in isCheckable() 562 final int oldFlags = mFlags; in setCheckable() 563 mFlags = (mFlags & ~CHECKABLE) | (checkable ? CHECKABLE : 0); in setCheckable() 564 if (oldFlags != mFlags) { in setCheckable() 573 mFlags = (mFlags & ~EXCLUSIVE) | (exclusive ? EXCLUSIVE : 0); in setExclusiveCheckable() 577 return (mFlags & EXCLUSIVE) != 0; in isExclusiveCheckable() [all …]
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanBeaconInfo.java | 41 private final TreeSet<Integer> mFlags = new TreeSet<>(); field in LowpanBeaconInfo 96 mBeaconInfo.mFlags.add(x); in setFlag() 101 mBeaconInfo.mFlags.addAll(x); in setFlags() 133 return (Collection<Integer>) mFlags.clone(); in getFlags() 137 return mFlags.contains(flag); in isFlagSet() 158 for (Integer flag : mFlags) { in toString() 174 return Objects.hash(mIdentity, mRssi, mLqi, Arrays.hashCode(mBeaconAddress), mFlags); in hashCode() 187 && mFlags.equals(rhs.mFlags); in equals() 204 dest.writeInt(mFlags.size()); in writeToParcel() 205 for (Integer val : mFlags) { in writeToParcel()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 452 private int mFlags = 0x0; field in AudioAttributes 494 return (mFlags & (FLAG_ALL_PUBLIC)); in getFlags() 505 return (mFlags & FLAG_ALL); in getAllFlags() 536 return (mFlags & FLAG_MUTE_HAPTIC) != 0; in areHapticChannelsMuted() 546 if ((mFlags & FLAG_NO_SYSTEM_CAPTURE) == FLAG_NO_SYSTEM_CAPTURE) { in getAllowedCapturePolicy() 549 if ((mFlags & FLAG_NO_MEDIA_PROJECTION) == FLAG_NO_MEDIA_PROJECTION) { in getAllowedCapturePolicy() 579 private int mFlags = 0x0; field in AudioAttributes.Builder 603 mFlags = aa.getAllFlags(); in Builder() 619 aa.mFlags = mFlags; in build() 621 aa.mFlags |= FLAG_MUTE_HAPTIC; in build() [all …]
|
D | AudioFocusInfo.java | 42 private int mFlags; field in AudioFocusInfo 67 mFlags = flags; in AudioFocusInfo() 132 public int getFlags() { return mFlags; } in getFlags() 147 dest.writeInt(mFlags); in writeToParcel() 154 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode() 184 if (mFlags != other.mFlags) { in equals()
|
/frameworks/base/core/java/android/content/pm/permission/ |
D | RuntimePermissionPresentationInfo.java | 43 private final int mFlags; field in RuntimePermissionPresentationInfo 62 mFlags = flags; in RuntimePermissionPresentationInfo() 67 mFlags = parcel.readInt(); in RuntimePermissionPresentationInfo() 74 return (mFlags & FLAG_GRANTED) != 0; in isGranted() 81 return (mFlags & FLAG_STANDARD) != 0; in isStandard() 101 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/libs/services/src/os/ |
D | DropBoxManager.cpp | 37 mFlags(IS_EMPTY), in Entry() 41 mFlags = IS_EMPTY; in Entry() 47 mFlags(flags), in Entry() 56 mFlags(flags), in Entry() 82 err = out->writeInt32(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe in writeToParcel() 92 err = out->writeInt32(mFlags | HAS_BYTE_ARRAY); in writeToParcel() 119 err = in->readInt32(&mFlags); in readFromParcel() 124 if ((mFlags & HAS_BYTE_ARRAY) != 0) { in readFromParcel() 129 mFlags &= ~HAS_BYTE_ARRAY; in readFromParcel() 161 return mFlags; in getFlags()
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | Suggestion.java | 63 private final int mFlags; field in Suggestion 100 return mFlags; in getFlags() 115 mFlags = builder.mFlags; in Suggestion() 124 mFlags = in.readInt(); in Suggestion() 151 dest.writeInt(mFlags); in writeToParcel() 164 private int mFlags; field in Suggestion.Builder 203 mFlags = flags; in setFlags()
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillId.java | 38 private int mFlags; field in AutofillId 68 mFlags = flags; in AutofillId() 77 final int flags = id.mFlags & ~FLAG_HAS_SESSION; in withoutSession() 120 return (mFlags & FLAG_IS_VIRTUAL_INT) != 0; in isVirtualInt() 133 return (mFlags & FLAG_IS_VIRTUAL_LONG) != 0; in isVirtualLong() 147 return (mFlags & FLAG_HAS_SESSION) != 0; in hasSession() 157 mFlags |= FLAG_HAS_SESSION; in setSessionId() 163 mFlags &= ~FLAG_HAS_SESSION; in resetSessionId() 229 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/av/services/audioflinger/ |
D | AudioHwDevice.h | 50 , mFlags(flags) { } in AudioHwDevice() 54 return (0 != (mFlags & AHWD_CAN_SET_MASTER_VOLUME)); in canSetMasterVolume() 58 return (0 != (mFlags & AHWD_CAN_SET_MASTER_MUTE)); in canSetMasterMute() 62 return (0 != (mFlags & AHWD_IS_INSERT)); in isInsert() 90 const Flags mFlags; variable
|
/frameworks/base/location/java/android/location/ |
D | FusedBatchOptions.java | 29 private volatile int mFlags = 0; field in FusedBatchOptions 80 mFlags |= flag; in setFlag() 84 mFlags &= ~flag; in resetFlag() 88 return (mFlags & flag) != 0; in isFlagSet() 92 return mFlags; in getFlags() 145 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/core/java/android/permission/ |
D | RuntimePermissionPresentationInfo.java | 43 private final int mFlags; field in RuntimePermissionPresentationInfo 64 mFlags = flags; in RuntimePermissionPresentationInfo() 71 return (mFlags & FLAG_GRANTED) != 0; in isGranted() 78 return (mFlags & FLAG_STANDARD) != 0; in isStandard() 98 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionSpan.java | 115 private int mFlags; field in SuggestionSpan 172 mFlags = flags; in SuggestionSpan() 228 mFlags = src.readInt(); in SuggestionSpan() 286 return mFlags; in getFlags() 290 mFlags = flags; in setFlags() 306 dest.writeInt(mFlags); in writeToParcelInternal() 362 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0; in updateDrawState() 363 final boolean easy = (mFlags & FLAG_EASY_CORRECT) != 0; in updateDrawState() 364 final boolean autoCorrection = (mFlags & FLAG_AUTO_CORRECTION) != 0; in updateDrawState() 384 final boolean misspelled = (mFlags & FLAG_MISSPELLED) != 0; in getUnderlineColor() [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillRequest.java | 94 private final @RequestFlags int mFlags; field in FillRequest 104 mFlags = parcel.readInt(); in FillRequest() 111 mFlags = Preconditions.checkFlagsArgument(flags, in FillRequest() 131 return mFlags; in getFlags() 147 return "FillRequest: [id=" + mId + ", flags=" + mFlags + ", ctxts= " + mContexts + "]"; in toString() 177 parcel.writeInt(mFlags); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilter.java | 44 final int mFlags; field in CrossProfileIntentFilter 51 mFlags = flags; in CrossProfileIntentFilter() 59 return mFlags; in getFlags() 69 mFlags = getIntFromXml(parser, ATTR_FLAGS, 0); in CrossProfileIntentFilter() 123 serializer.attribute(null, ATTR_FLAGS, Integer.toString(mFlags)); in writeToXml() 139 && mFlags == other.mFlags; in equalsIgnoreFilter()
|