Home
last modified time | relevance | path

Searched refs:oldFlags (Results 1 – 16 of 16) sorted by relevance

/frameworks/compile/mclinker/lib/Target/Mips/
DMipsAbiFlags.cpp264 bool MipsAbiFlags::merge(const Input& pInput, MipsAbiFlags& oldFlags, in merge() argument
266 if (oldFlags.m_IsaLevel == 0) { in merge()
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()
[all …]
DMipsAbiFlags.h46 static bool merge(const Input& pInput, MipsAbiFlags& oldFlags,
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt411 private fun fromApiFlags(apiFlags: Int, permission: Permission, oldFlags: Int): Int { in fromApiFlags()
413 flags = flags or (oldFlags and INSTALL_GRANTED) in fromApiFlags()
414 flags = flags or (oldFlags and INSTALL_REVOKED) in fromApiFlags()
415 flags = flags or (oldFlags and PROTECTION_GRANTED) in fromApiFlags()
419 flags = flags or (oldFlags and RUNTIME_GRANTED) in fromApiFlags()
435 flags = flags or (oldFlags and LEGACY_GRANTED) in fromApiFlags()
436 flags = flags or (oldFlags and IMPLICIT_GRANTED) in fromApiFlags()
DUidPermissionPolicy.kt234 val oldFlags = getPermissionFlags(appId, userId, permissionName) in <lambda>() constant
235 if (oldFlags.hasAnyBit(SYSTEM_OR_POLICY_FIXED_MASK)) { in <lambda>()
238 var newFlags = oldFlags in <lambda>()
611 _, permissionName, oldFlags -> in <lambda>() method
612 if (permissionName !in STORAGE_AND_MEDIA_PERMISSIONS || oldFlags == 0) { in <lambda>()
630 oldFlags.hasBits(PermissionFlags.RUNTIME_GRANTED)) { in <lambda>()
631 val newFlags = oldFlags andInv ( in <lambda>()
694 val oldFlags = getPermissionFlags(appId, userId, permissionName) in <lambda>() constant
696 if (oldFlags == 0) { in <lambda>()
705 val wasGranted = oldFlags.hasBits(PermissionFlags.INSTALL_GRANTED) in <lambda>()
[all …]
DPermissionService.kt848 val oldFlags = with(policy) { getPermissionFlags(appId, userId, permissionName) } in <lambda>() constant
850 if (permissionName !in androidPackage.requestedPermissions && oldFlags == 0) { in <lambda>()
859 if (oldFlags.hasBits(PermissionFlags.SYSTEM_FIXED)) { in <lambda>()
869 if (oldFlags.hasBits(PermissionFlags.POLICY_FIXED) && !overridePolicyFixed) { in <lambda>()
879 if (isGranted && oldFlags.hasBits(PermissionFlags.RESTRICTION_REVOKED)) { in <lambda>()
889 if (isGranted && oldFlags.hasBits(PermissionFlags.SOFT_RESTRICTED)) { in <lambda>()
906 val newFlags = PermissionFlags.updateRuntimePermissionGranted(oldFlags, isGranted) in <lambda>()
907 if (oldFlags == newFlags) { in <lambda>()
1277 val oldFlags = with(policy) { getPermissionFlags(appId, userId, permissionName) } in <lambda>() constant
1278 if (!isPermissionRequested && oldFlags == 0) { in <lambda>()
[all …]
/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()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionState.java107 final int oldFlags = mFlags; in updateFlags() local
109 return mFlags != oldFlags; in updateFlags()
DPermissionManagerServiceImpl.java1835 final int oldFlags = in resetRuntimePermissionsInternal() local
1857 if ((oldFlags & policyOrSystemFlags) != 0) { in resetRuntimePermissionsInternal()
1862 if ((oldFlags & FLAG_PERMISSION_GRANTED_BY_DEFAULT) != 0 in resetRuntimePermissionsInternal()
1863 || (oldFlags & FLAG_PERMISSION_GRANTED_BY_ROLE) != 0) { in resetRuntimePermissionsInternal()
3760 final int oldFlags = getPermissionFlagsInternal(pkg.getPackageName(), permissionName,
3763 int newFlags = oldFlags;
3800 if (oldFlags == newFlags) {
3806 final boolean wasAllowlisted = (oldFlags
3815 if ((oldFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0) {
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java563 final int oldFlags = mFlags; in setCheckable() local
565 if (oldFlags != mFlags) { in setCheckable()
598 final int oldFlags = mFlags; in setCheckedInt() local
600 if (oldFlags != mFlags) { in setCheckedInt()
622 final int oldFlags = mFlags; in setVisibleInt() local
624 return oldFlags != mFlags; in setVisibleInt()
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp132 const uint32_t oldFlags = flags; in merge() local
148 if ((oldFlags ^ flags) & layer_state_t::eLayerHidden) { in merge()
152 if ((oldFlags ^ flags) & layer_state_t::eIgnoreDestinationFrame) { in merge()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java301 int oldFlags = mContainerLayoutParams.flags; in setFocusable() local
308 if ((mContainerLayoutParams.flags != oldFlags) && mIsVisible) { in setFocusable()
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java866 int oldFlags = getLockTaskFeaturesForUser(userId); in updateLockTaskFeatures() local
867 if (flags == oldFlags) { in updateLockTaskFeatures()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java1376 private int applyFlags(int oldFlags, int flags, int mask) { in applyFlags() argument
1377 return (oldFlags&~mask) | (flags&mask); in applyFlags()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java2422 final int oldFlags = mConfigurationLocked.openFlags; in disableWriteAheadLogging() local
2437 mConfigurationLocked.openFlags = oldFlags; in disableWriteAheadLogging()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java4043 final int oldFlags; in upgradeProfileToTypeLU() local
4045 oldFlags = oldUserType.getDefaultUserInfoFlags(); in upgradeProfileToTypeLU()
4048 oldFlags = UserInfo.FLAG_PROFILE; in upgradeProfileToTypeLU()
4054 userInfo.flags = newUserType.getDefaultUserInfoFlags() | (userInfo.flags ^ oldFlags); in upgradeProfileToTypeLU()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java925 int oldFlags = summary.getSbn().getNotification().flags; in updateAutobundledSummaryFlags() local
926 if (oldFlags != flags) { in updateAutobundledSummaryFlags()