/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
H A D | SizeConfigurationBucketsTest.java | 117 final int oldValue = (int) (minValueInBucket + bucketRange * 0.25); in testCrossesSizeThreshold() 121 checkCrossesSizeThreshold(thresholds, oldValue, minValueInBucket, false); in testCrossesSizeThreshold() 122 checkCrossesSizeThreshold(thresholds, oldValue, in testCrossesSizeThreshold() 124 checkCrossesSizeThreshold(thresholds, oldValue, maxValueInBucket, false); in testCrossesSizeThreshold() 131 checkCrossesSizeThreshold(thresholds, oldValue, minValueInBucket - 20, true); in testCrossesSizeThreshold() 132 checkCrossesSizeThreshold(thresholds, oldValue, minValueInBucket - 1, true); in testCrossesSizeThreshold() 136 checkCrossesSizeThreshold(thresholds, oldValue, maxValueInBucket + 1, true); in testCrossesSizeThreshold() 137 checkCrossesSizeThreshold(thresholds, oldValue, maxValueInBucket + 20, true); in testCrossesSizeThreshold() 359 private void checkCrossesSizeThreshold(int[] thresholds, int oldValue, int newValue, in checkCrossesSizeThreshold() argument 363 oldValue, newValue, expected); in checkCrossesSizeThreshold() [all …]
|
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/collection/ |
H A D | IntBooleanMap.kt | 111 val oldValue = valueAt(index) regex 112 if (value != oldValue) { 119 return oldValue 135 val oldValue = valueAt(index) regex 137 oldValue
|
H A D | IntLongMap.kt | 111 val oldValue = valueAt(index) regex 112 if (value != oldValue) { 119 return oldValue 135 val oldValue = valueAt(index) regex 137 oldValue
|
H A D | IntMap.kt | 112 val oldValue = valueAt(index) regex 113 if (value != oldValue) { 120 return oldValue 133 val oldValue = valueAt(index) regex 135 oldValue
|
H A D | IndexedMap.kt | 112 val oldValue = valueAt(index) regex 113 if (value != oldValue) { 120 return oldValue
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsStrongAuth.java | 202 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleRequireStrongAuthOneUser() local 205 : (oldValue | strongAuthReason); in handleRequireStrongAuthOneUser() 206 if (oldValue != newValue) { in handleRequireStrongAuthOneUser() 224 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleNoLongerRequireStrongAuthOneUser() local 225 int newValue = oldValue & ~strongAuthReason; in handleNoLongerRequireStrongAuthOneUser() 226 if (oldValue != newValue) { in handleNoLongerRequireStrongAuthOneUser() 373 boolean oldValue = mIsNonStrongBiometricAllowedForUser.get(userId, in setIsNonStrongBiometricAllowedOneUser() 375 if (allowed != oldValue) { in setIsNonStrongBiometricAllowedOneUser() 378 + " oldValue=" + oldValue + ", allowed=" + allowed); in setIsNonStrongBiometricAllowedOneUser()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 374 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization() 412 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut() 413 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentPut() 439 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate() 440 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentCreate() 459 boolean evicted, String key, String oldValue, String newValue) { 461 ? (key + "=" + oldValue) 462 : (key + "=" + oldValue + ">" + newValue);
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/ |
H A D | DisplayTransformManager.java | 150 final float[] oldValue = mColorMatrix.get(level); in setColorMatrix() local 151 if (!Arrays.equals(oldValue, value)) { in setColorMatrix() 154 } else if (oldValue == null) { in setColorMatrix() 157 System.arraycopy(value, 0, oldValue, 0, value.length); in setColorMatrix()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 150 boolean oldValue = mAllowPurging; in allowPurging() 151 if (oldValue != allowPurging) { in allowPurging() 155 return oldValue; in allowPurging()
|
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | InstallNonMarketAppsDeprecationTest.java | 56 private String waitTillValueChanges(String errorMessage, String oldValue) { in waitTillValueChanges() argument 60 while (newValue.equals(oldValue) && SystemClock.uptimeMillis() <= (startTime in waitTillValueChanges() 72 assertFalse(errorMessage, oldValue.equals(newValue)); in waitTillValueChanges()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | SparseDoubleArray.java | 117 final double oldValue = get(key); in incrementValue() local 118 put(key, oldValue + summand); in incrementValue()
|
H A D | LruCache.java | 267 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
|
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 396 String oldValue = oldSetting.getValue(); in resetSettingDefaultValueLocked() local 448 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() local 453 oldValue == null ? name.length() : 0 /* deltaKeySize */, in insertSettingLocked() 454 oldValue, value, oldDefaultValue, newDefaultValue); in insertSettingLocked() 472 oldValue, tag, makeDefault, getUserIdFromKey(mKey), in insertSettingLocked() 555 String oldValue = null; in setSettingsLocked() local 562 oldValue = state.value; in setSettingsLocked() 572 oldValue, /* tag */ null, /* make default */ false, in setSettingsLocked() 631 String oldValue = setting.getValue(); in resetSettingLocked() local 634 int newSize = getNewMemoryUsagePerPackageLocked(setting.packageName, 0, oldValue, in resetSettingLocked() [all …]
|
H A D | SettingsHelper.java | 171 String oldValue = null; in restoreValue() local 189 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue() 253 .putExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE, oldValue) in restoreValue()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/ |
H A D | KeyguardUpdateMonitorLogger.kt | 645 fun logFaceEnrolledUpdated(oldValue: Boolean, newValue: Boolean) { 650 bool1 = oldValue 657 fun logFpEnrolledUpdated(userId: Int, oldValue: Boolean, newValue: Boolean) { 663 bool1 = oldValue 672 oldValue: Boolean, 681 bool1 = oldValue
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifLiveDataStoreImpl.kt | 114 val oldValue = atomicValue.getAndSet(value) regex 115 if (oldValue != value) {
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyLogger.java | 157 void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument 161 getRestrictBackgroundChangedLog(oldValue, newValue)); in restrictBackgroundChanged() 163 mEventsBuffer.restrictBackgroundChanged(oldValue, newValue); in restrictBackgroundChanged() 329 private static String getRestrictBackgroundChangedLog(boolean oldValue, boolean newValue) { in getRestrictBackgroundChangedLog() argument 330 return "Changed restrictBackground: " + oldValue + "->" + newValue; in getRestrictBackgroundChangedLog() 490 public void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument 496 data.bfield1 = oldValue; in restrictBackgroundChanged()
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 204 final Object oldValue = map.remove(propertyName); in parse() local 205 if (oldValue != null) { in parse() 208 if (value.getClass() != oldValue.getClass()) { in parse()
|
/aosp14/system/core/libcutils/ |
H A D | hashmap.cpp | 214 void* oldValue = current->value; in hashmapPut() local 216 return oldValue; in hashmapPut()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
H A D | DesktopModeTaskRepository.kt | 323 val oldValue = data.stashed regex 325 if (oldValue != stashed) {
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
H A D | JobStatus.java | 2158 boolean oldValue = false; in readinessStatusWithConstraint() 2162 oldValue = mReadyNotRestrictedInBg; in readinessStatusWithConstraint() 2166 oldValue = mReadyDeadlineSatisfied; in readinessStatusWithConstraint() 2170 oldValue = mReadyNotDozing; in readinessStatusWithConstraint() 2174 oldValue = mReadyTareWealth; in readinessStatusWithConstraint() 2178 oldValue = mReadyWithinQuota; in readinessStatusWithConstraint() 2206 mReadyNotRestrictedInBg = oldValue; in readinessStatusWithConstraint() 2209 mReadyDeadlineSatisfied = oldValue; in readinessStatusWithConstraint() 2212 mReadyNotDozing = oldValue; in readinessStatusWithConstraint() 2215 mReadyTareWealth = oldValue; in readinessStatusWithConstraint() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
H A D | NotificationsQSContainerController.kt | 331 val oldValue = get() regex 333 return oldValue != newValue
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceTest.java | 309 final String oldValue = runShellCommand("getprop " + name); in setSystemProperty() local 312 return oldValue; in setSystemProperty()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SettingsProviderTest.java | 95 final String oldValue = in testRowNameContentUriForSystem() local 103 if (oldValue != null) { in testRowNameContentUriForSystem() 104 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue); in testRowNameContentUriForSystem() local
|
/aosp14/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 235 V oldValue = std::move(it->second); in set() local 241 return oldValue; in set()
|