Home
last modified time | relevance | path

Searched refs:newFlags (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/mclinker/lib/Target/Mips/
DMipsAbiFlags.cpp265 const MipsAbiFlags& newFlags) { in merge() argument
267 oldFlags = newFlags; in merge()
271 if (newFlags.m_IsaLevel > oldFlags.m_IsaLevel) in merge()
272 oldFlags.m_IsaLevel = newFlags.m_IsaLevel; in merge()
274 oldFlags.m_IsaRev = std::max(oldFlags.m_IsaRev, newFlags.m_IsaRev); in merge()
275 oldFlags.m_GprSize = std::max(oldFlags.m_GprSize, newFlags.m_GprSize); in merge()
276 oldFlags.m_Cpr1Size = std::max(oldFlags.m_Cpr1Size, newFlags.m_Cpr1Size); in merge()
277 oldFlags.m_Cpr2Size = std::max(oldFlags.m_Cpr2Size, newFlags.m_Cpr2Size); in merge()
278 oldFlags.m_Ases |= newFlags.m_Ases; in merge()
279 oldFlags.m_Flags1 |= newFlags.m_Flags1; in merge()
[all …]
DMipsAbiFlags.h47 const MipsAbiFlags& newFlags);
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java247 int newFlags = ask ? (curFlags&~COMPAT_FLAG_DONT_ASK) : (curFlags|COMPAT_FLAG_DONT_ASK); in setPackageAskCompatModeLocked() local
248 if (curFlags != newFlags) { in setPackageAskCompatModeLocked()
249 if (newFlags != 0) { in setPackageAskCompatModeLocked()
250 mPackages.put(packageName, newFlags); in setPackageAskCompatModeLocked()
260 final int newFlags = notify ? (curFlags&~UNSUPPORTED_ZOOM_FLAG_DONT_NOTIFY) : in setPackageNotifyUnsupportedZoomLocked() local
262 if (curFlags != newFlags) { in setPackageNotifyUnsupportedZoomLocked()
263 if (newFlags != 0) { in setPackageNotifyUnsupportedZoomLocked()
264 mPackages.put(packageName, newFlags); in setPackageNotifyUnsupportedZoomLocked()
335 int newFlags = curFlags; in setPackageScreenCompatModeLocked() local
337 newFlags |= COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
[all …]
/frameworks/base/libs/hwui/
DLayerBuilder.cpp88 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument
91 bool newClipExists = newFlags & side; in checkSide()
154 const int newFlags = op->computedState.clipSideFlags; in canMergeWith() local
155 if (currentFlags != OpClipSideFlags::None || newFlags != OpClipSideFlags::None) { in canMergeWith()
158 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Left, boundsDelta)) return false; in canMergeWith()
160 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Top, boundsDelta)) return false; in canMergeWith()
164 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Right, boundsDelta)) return false; in canMergeWith()
166 … if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Bottom, boundsDelta)) return false; in canMergeWith()
DDeferredDisplayList.cpp158 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, in checkSide() argument
161 bool newClipExists = newFlags & side; in checkSide()
207 const int newFlags = state->mClipSideFlags; in canMergeWith() local
208 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) { in canMergeWith()
211 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false; in canMergeWith()
213 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false; in canMergeWith()
217 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false; in canMergeWith()
219 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false; in canMergeWith()
/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java390 final int newFlags = permissionData.getFlags(userId); in updatePermissionFlags() local
392 && (newFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) != 0) { in updatePermissionFlags()
398 && (newFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) == 0) { in updatePermissionFlags()
708 final int newFlags = flagValues & flagMask; in updateFlags() local
713 userState.mFlags = (userState.mFlags & ~flagMask) | newFlags; in updateFlags()
718 } else if (newFlags != 0) { in updateFlags()
720 userState.mFlags = newFlags; in updateFlags()
DDefaultPermissionGrantPolicy.java862 int newFlags = PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in grantRuntimePermissionsLPw() local
864 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in grantRuntimePermissionsLPw()
868 newFlags, newFlags, userId); in grantRuntimePermissionsLPw()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java199 int newFlags, String newTag, String newPackageName, int newOwnerUid, in onWakeLockChanging() argument
203 final int newMonitorType = getBatteryStatsWakeLockMonitorType(newFlags); in onWakeLockChanging()
207 Slog.d(TAG, "onWakeLockChanging: flags=" + newFlags + ", tag=\"" + newTag in onWakeLockChanging()
214 && (newFlags & PowerManager.UNIMPORTANT_FOR_LOGGING) != 0; in onWakeLockChanging()
224 onWakeLockAcquired(newFlags, newTag, newPackageName, newOwnerUid, newOwnerPid, in onWakeLockChanging()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1963 final int newFlags = computeFlags(p.flags); in update() local
1964 if (newFlags != p.flags) { in update()
1965 p.flags = newFlags; in update()
2075 final int newFlags = computeFlags(p.flags); in update()
2076 if (newFlags != p.flags) { in update()
2077 p.flags = newFlags; in update()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java432 int newFlags = 0; in remove() local
448 newFlags |= alarm.flags; in remove()
456 flags = newFlags; in remove()
472 int newFlags = 0; in remove() local
488 newFlags |= alarm.flags; in remove()
495 flags = newFlags; in remove()
504 int newFlags = 0; in removeForStopped() local
522 newFlags |= alarm.flags; in removeForStopped()
531 flags = newFlags; in removeForStopped()
/frameworks/base/media/java/android/media/
DMediaCodec.java1487 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument
1491 flags = newFlags; in set()
/frameworks/base/core/java/android/view/
DKeyEvent.java1643 int newRepeat, int newFlags) { in changeTimeRepeat() argument
1647 ret.mFlags = newFlags; in changeTimeRepeat()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1566 const uint32_t newFlags = (mCurrentState.flags & ~mask) | (flags & mask); local
1567 if (mCurrentState.flags == newFlags)
1570 mCurrentState.flags = newFlags;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4091 uint32_t newFlags = 0; in resolveReference() local
4092 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
4102 if (inoutTypeSpecFlags != NULL) *inoutTypeSpecFlags |= newFlags; in resolveReference()