Home
last modified time | relevance | path

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

123456789

/frameworks/native/libs/sensor/
DSensor.cpp41 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/
DDexoptOptions.java72 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/
DInterfaceConfiguration.java35 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 …]
DUrlQuerySanitizer.java122 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/
DKeyStoreParameter.java51 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/
DAnimationSet.java62 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/
DBundle.java69 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/
DViewNode.java86 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 …]
DContentCaptureCondition.java51 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/
DObbFile.h67 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/
DActionMenuItem.java66 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()
DMenuItemImpl.java88 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/
DLowpanBeaconInfo.java41 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/
DAudioAttributes.java452 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 …]
DAudioFocusInfo.java42 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/
DRuntimePermissionPresentationInfo.java43 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/
DDropBoxManager.cpp37 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/
DSuggestion.java63 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/
DAutofillId.java38 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/
DAudioHwDevice.h50 , 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/
DFusedBatchOptions.java29 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/
DRuntimePermissionPresentationInfo.java43 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/
DSuggestionSpan.java115 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/
DFillRequest.java94 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/
DCrossProfileIntentFilter.java44 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()

123456789