Home
last modified time | relevance | path

Searched refs:newFlags (Results 1 – 18 of 18) 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/packages/SystemUI/src/com/android/systemui/model/
DSysUiState.java101 private void notifyAndSetSystemUiStateChanged(int newFlags, int oldFlags) { in notifyAndSetSystemUiStateChanged() argument
103 Log.d(TAG, "SysUiState changed: old=" + oldFlags + " new=" + newFlags); in notifyAndSetSystemUiStateChanged()
105 if (newFlags != oldFlags) { in notifyAndSetSystemUiStateChanged()
106 mCallbacks.forEach(callback -> callback.onSystemUiStateChanged(newFlags)); in notifyAndSetSystemUiStateChanged()
107 mFlags = newFlags; in notifyAndSetSystemUiStateChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java544 final int newFlags = set ? (curFlags & ~flag) : (curFlags | flag); in setPackageFlagLocked() local
545 if (curFlags != newFlags) { in setPackageFlagLocked()
546 if (newFlags != 0) { in setPackageFlagLocked()
547 mPackages.put(packageName, newFlags); in setPackageFlagLocked()
601 int newFlags = curFlags; in setPackageScreenCompatModeLocked() local
603 newFlags |= COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
605 newFlags &= ~COMPAT_FLAG_ENABLED; in setPackageScreenCompatModeLocked()
612 newFlags = 0; in setPackageScreenCompatModeLocked()
617 newFlags = 0; in setPackageScreenCompatModeLocked()
620 if (newFlags != curFlags) { in setPackageScreenCompatModeLocked()
[all …]
DAppWarnings.java349 final int newFlags = enabled ? (curFlags | flag) : (curFlags & ~flag); in setPackageFlag() local
350 if (curFlags != newFlags) { in setPackageFlag()
351 if (newFlags != 0) { in setPackageFlag()
352 mPackageFlags.put(name, newFlags); in setPackageFlag()
DTask.java4473 int newFlags = mForceHiddenFlags;
4475 newFlags |= flags;
4477 newFlags &= ~flags;
4479 if (mForceHiddenFlags == newFlags) {
4485 mForceHiddenFlags = newFlags;
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java267 int newFlags = 0; in translateFlagsFromPowerManager() local
270 newFlags = LEVEL_PARTIAL_WAKE_LOCK; in translateFlagsFromPowerManager()
273 newFlags = LEVEL_SCREEN_DIM_WAKE_LOCK; in translateFlagsFromPowerManager()
276 newFlags = LEVEL_SCREEN_BRIGHT_WAKE_LOCK; in translateFlagsFromPowerManager()
279 newFlags = LEVEL_FULL_WAKE_LOCK; in translateFlagsFromPowerManager()
282 newFlags = LEVEL_DOZE_WAKE_LOCK; in translateFlagsFromPowerManager()
285 newFlags = LEVEL_DRAW_WAKE_LOCK; in translateFlagsFromPowerManager()
288 newFlags = LEVEL_PROXIMITY_SCREEN_OFF_WAKE_LOCK; in translateFlagsFromPowerManager()
295 newFlags |= FLAG_ACQUIRE_CAUSES_WAKEUP; in translateFlagsFromPowerManager()
298 newFlags |= FLAG_ON_AFTER_RELEASE; in translateFlagsFromPowerManager()
[all …]
DNotifier.java312 IWakeLockCallback callback, int newFlags, String newTag, String newPackageName, in onWakeLockChanging() argument
317 final int newMonitorType = getBatteryStatsWakeLockMonitorType(newFlags); in onWakeLockChanging()
321 Slog.d(TAG, "onWakeLockChanging: flags=" + newFlags + ", tag=\"" + newTag in onWakeLockChanging()
328 && (newFlags & PowerManager.UNIMPORTANT_FOR_LOGGING) != 0; in onWakeLockChanging()
339 onWakeLockAcquired(newFlags, newTag, newPackageName, newOwnerUid, newOwnerPid, in onWakeLockChanging()
344 onWakeLockAcquired(newFlags, newTag, newPackageName, newOwnerUid, newOwnerPid, in onWakeLockChanging()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionState.java102 final int newFlags = flagValues & flagMask; in updateFlags() local
108 mFlags = (mFlags & ~flagMask) | newFlags; in updateFlags()
DDefaultPermissionGrantPolicy.java1275 int newFlags = PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in grantRuntimePermissions() local
1277 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in grantRuntimePermissions()
1373 newFlags |= (flags & PackageManager.FLAGS_PERMISSION_RESTRICTION_ANY_EXEMPT); in grantRuntimePermissions()
1394 int flagMask = newFlags | PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED; in grantRuntimePermissions()
1395 pm.updatePermissionFlags(permission, pkg, flagMask, newFlags, user); in grantRuntimePermissions()
1807 return state.newFlags; in getPermissionFlags()
1815 state.newFlags = (state.newFlags & ~flagMask) | (flagValues & flagMask); in updatePermissionFlags()
1887 @Nullable Integer newFlags; field in DefaultPermissionGrantPolicy.DelayingPackageManagerCache.PermissionState
1908 + " flags=" + Integer.toBinaryString(newFlags)); in apply()
1913 if (newFlags != null) { in apply()
[all …]
DPermissionManagerServiceImpl.java3717 int newFlags = oldFlags;
3727 newFlags |= FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT;
3729 newFlags &= ~FLAG_PERMISSION_RESTRICTION_SYSTEM_EXEMPT;
3736 newFlags |= FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT;
3738 newFlags &= ~FLAG_PERMISSION_RESTRICTION_UPGRADE_EXEMPT;
3745 newFlags |= FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT;
3747 newFlags &= ~FLAG_PERMISSION_RESTRICTION_INSTALLER_EXEMPT;
3754 if (oldFlags == newFlags) {
3762 final boolean isAllowlisted = (newFlags
3772 newFlags &= ~PackageManager.FLAG_PERMISSION_POLICY_FIXED;
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DBatchingAlarmStore.java332 int newFlags = 0; in remove() local
352 newFlags |= alarm.flags; in remove()
360 mFlags = newFlags; in remove()
/frameworks/base/core/java/android/widget/
DPopupWindow.java2206 final int newFlags = computeFlags(p.flags); in update() local
2207 if (newFlags != p.flags) { in update()
2208 p.flags = newFlags; in update()
2321 final int newFlags = computeFlags(p.flags); in update()
2322 if (newFlags != p.flags) { in update()
2323 p.flags = newFlags; in update()
/frameworks/base/core/java/android/view/
DKeyEvent.java1815 int newRepeat, int newFlags) { in changeTimeRepeat() argument
1820 ret.mFlags = newFlags; in changeTimeRepeat()
2153 public final void setFlags(int newFlags) { in setFlags() argument
2154 mFlags = newFlags; in setFlags()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1010 const uint32_t newFlags = (mDrawingState.flags & ~mask) | (flags & mask); in setFlags() local
1011 if (mDrawingState.flags == newFlags) return false; in setFlags()
1013 mDrawingState.flags = newFlags; in setFlags()
/frameworks/base/media/java/android/media/
DMediaCodec.java1602 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument
1606 flags = newFlags; in set()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4304 final int newFlags = preCreatedUser.flags | flags; in convertPreCreatedUserIfPossible() local
4305 if (!checkUserTypeConsistency(newFlags)) { in convertPreCreatedUserIfPossible()
4315 preCreatedUser.flags = newFlags; in convertPreCreatedUserIfPossible()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4545 uint32_t newFlags = 0; in resolveReference() local
4546 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference()
4556 if (inoutTypeSpecFlags != NULL) *inoutTypeSpecFlags |= newFlags; in resolveReference()