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

/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java247 int newFlags = ask ? (curFlags&~COMPAT_FLAG_DONT_ASK) : (curFlags|COMPAT_FLAG_DONT_ASK);
248 if (curFlags != newFlags) {
249 if (newFlags != 0) {
250 mPackages.put(packageName, newFlags);
260 final int newFlags = notify ? (curFlags&~UNSUPPORTED_ZOOM_FLAG_DONT_NOTIFY) :
262 if (curFlags != newFlags) {
263 if (newFlags != 0) {
264 mPackages.put(packageName, newFlags);
335 int newFlags = curFlags;
337 newFlags |
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsAbiFlags.cpp265 const MipsAbiFlags& newFlags) {
267 oldFlags = newFlags;
271 if (newFlags.m_IsaLevel > oldFlags.m_IsaLevel)
272 oldFlags.m_IsaLevel = newFlags.m_IsaLevel;
274 oldFlags.m_IsaRev = std::max(oldFlags.m_IsaRev, newFlags.m_IsaRev);
275 oldFlags.m_GprSize = std::max(oldFlags.m_GprSize, newFlags.m_GprSize);
276 oldFlags.m_Cpr1Size = std::max(oldFlags.m_Cpr1Size, newFlags.m_Cpr1Size);
277 oldFlags.m_Cpr2Size = std::max(oldFlags.m_Cpr2Size, newFlags.m_Cpr2Size);
278 oldFlags.m_Ases |= newFlags.m_Ases;
279 oldFlags.m_Flags1 |= newFlags
264 merge(const Input& pInput, MipsAbiFlags& oldFlags, const MipsAbiFlags& newFlags) argument
[all...]
H A DMipsAbiFlags.h47 const MipsAbiFlags& newFlags);
/frameworks/base/libs/hwui/
H A DLayerBuilder.cpp88 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, argument
91 bool newClipExists = newFlags & side;
154 const int newFlags = op->computedState.clipSideFlags; local
155 if (currentFlags != OpClipSideFlags::None || newFlags != OpClipSideFlags::None) {
158 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Left, boundsDelta)) return false;
160 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Top, boundsDelta)) return false;
164 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Right, boundsDelta)) return false;
166 if (!checkSide(currentFlags, newFlags, OpClipSideFlags::Bottom, boundsDelta)) return false;
H A DDeferredDisplayList.cpp158 static inline bool checkSide(const int currentFlags, const int newFlags, const int side, argument
161 bool newClipExists = newFlags & side;
207 const int newFlags = state->mClipSideFlags; local
208 if (currentFlags != kClipSide_None || newFlags != kClipSide_None) {
211 if (!checkSide(currentFlags, newFlags, kClipSide_Left, boundsDelta)) return false;
213 if (!checkSide(currentFlags, newFlags, kClipSide_Top, boundsDelta)) return false;
217 if (!checkSide(currentFlags, newFlags, kClipSide_Right, boundsDelta)) return false;
219 if (!checkSide(currentFlags, newFlags, kClipSide_Bottom, boundsDelta)) return false;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPermissionsState.java390 final int newFlags = permissionData.getFlags(userId);
392 && (newFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) != 0) {
398 && (newFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) == 0) {
708 final int newFlags = flagValues & flagMask;
713 userState.mFlags = (userState.mFlags & ~flagMask) | newFlags;
718 } else if (newFlags != 0) {
720 userState.mFlags = newFlags;
H A DDefaultPermissionGrantPolicy.java862 int newFlags = PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT;
864 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED;
868 newFlags, newFlags, userId);
/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java199 int newFlags, String newTag, String newPackageName, int newOwnerUid,
203 final int newMonitorType = getBatteryStatsWakeLockMonitorType(newFlags);
207 Slog.d(TAG, "onWakeLockChanging: flags=" + newFlags + ", tag=\"" + newTag
214 && (newFlags & PowerManager.UNIMPORTANT_FOR_LOGGING) != 0;
224 onWakeLockAcquired(newFlags, newTag, newPackageName, newOwnerUid, newOwnerPid,
197 onWakeLockChanging(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag, int newFlags, String newTag, String newPackageName, int newOwnerUid, int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) argument
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java1963 final int newFlags = computeFlags(p.flags);
1964 if (newFlags != p.flags) {
1965 p.flags = newFlags;
2075 final int newFlags = computeFlags(p.flags);
2076 if (newFlags != p.flags) {
2077 p.flags = newFlags;
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java432 int newFlags = 0;
448 newFlags |= alarm.flags;
456 flags = newFlags;
472 int newFlags = 0;
488 newFlags |= alarm.flags;
495 flags = newFlags;
504 int newFlags = 0;
522 newFlags |= alarm.flags;
531 flags = newFlags;
/frameworks/base/core/java/android/view/
H A DKeyEvent.java1639 * @param newFlags New flags for the event, replacing the entire value
1643 int newRepeat, int newFlags) {
1647 ret.mFlags = newFlags;
1642 changeTimeRepeat(KeyEvent event, long eventTime, int newRepeat, int newFlags) argument
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1482 * @param newFlags buffer flags associated with the buffer. This
1487 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) {
1491 flags = newFlags;
1486 set( int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) argument
/frameworks/native/services/surfaceflinger/
H A 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/
H A DResourceTypes.cpp4091 uint32_t newFlags = 0; local
4092 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags,
4102 if (inoutTypeSpecFlags != NULL) *inoutTypeSpecFlags |= newFlags;

Completed in 355 milliseconds