Home
last modified time | relevance | path

Searched refs:oldValue (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/rs/toolkit/test/
DReferenceLut.kt37 val oldValue = input[x, y] in <lambda>() constant
39 table.red[oldValue[0].toInt()], in <lambda>()
40 table.green[oldValue[1].toInt()], in <lambda>()
41 table.blue[oldValue[2].toInt()], in <lambda>()
42 table.alpha[oldValue[3].toInt()] in <lambda>()
/frameworks/base/core/tests/mockingcoretests/src/android/window/
DSizeConfigurationBucketsTest.java117 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 …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java201 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleRequireStrongAuthOneUser() local
204 : (oldValue | strongAuthReason); in handleRequireStrongAuthOneUser()
205 if (oldValue != newValue) { in handleRequireStrongAuthOneUser()
223 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleNoLongerRequireStrongAuthOneUser() local
224 int newValue = oldValue & ~strongAuthReason; in handleNoLongerRequireStrongAuthOneUser()
225 if (oldValue != newValue) { in handleNoLongerRequireStrongAuthOneUser()
372 boolean oldValue = mIsNonStrongBiometricAllowedForUser.get(userId, in setIsNonStrongBiometricAllowedOneUser()
374 if (allowed != oldValue) { in setIsNonStrongBiometricAllowedOneUser()
377 + " oldValue=" + oldValue + ", allowed=" + allowed); in setIsNonStrongBiometricAllowedOneUser()
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java374 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);
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java150 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()
/frameworks/base/core/java/android/os/
DMemoryFile.java150 boolean oldValue = mAllowPurging; in allowPurging()
151 if (oldValue != allowPurging) { in allowPurging()
155 return oldValue; in allowPurging()
/frameworks/layoutlib/bridge/tests/src/com/android/ide/common/resources/deprecated/
DMultiResourceFile.java167 ResourceValue oldValue = list.get(value.getName()); in addResourceValue() local
169 if (oldValue instanceof ResourceValueImpl) { in addResourceValue()
170 ((ResourceValueImpl) oldValue).replaceWith(value); in addResourceValue()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java184 Fragment oldValue, Fragment newValue) { in entryRemoved() argument
186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved()
187 mCurTransaction.remove(oldValue); in entryRemoved()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java56 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()
/frameworks/base/core/java/android/util/
DSparseDoubleArray.java117 final double oldValue = get(key); in incrementValue() local
118 put(key, oldValue + summand); in incrementValue()
DLruCache.java267 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifLiveDataStoreImpl.kt109 val oldValue = atomicValue.getAndSet(value) in setValueAndProvideDispatcher() constant
110 if (oldValue != value) { in setValueAndProvideDispatcher()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java154 void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument
158 getRestrictBackgroundChangedLog(oldValue, newValue)); in restrictBackgroundChanged()
160 mEventsBuffer.restrictBackgroundChanged(oldValue, newValue); in restrictBackgroundChanged()
308 private static String getRestrictBackgroundChangedLog(boolean oldValue, boolean newValue) { in getRestrictBackgroundChangedLog() argument
309 return "Changed restrictBackground: " + oldValue + "->" + newValue; in getRestrictBackgroundChangedLog()
461 public void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument
467 data.bfield1 = oldValue; in restrictBackgroundChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DKeyguardUpdateMonitorLogger.kt621 fun logFaceEnrolledUpdated(oldValue: Boolean, newValue: Boolean) { in logFaceEnrolledUpdated()
626 bool1 = oldValue in logFaceEnrolledUpdated()
633 fun logFpEnrolledUpdated(userId: Int, oldValue: Boolean, newValue: Boolean) { in logFpEnrolledUpdated()
639 bool1 = oldValue in logFpEnrolledUpdated()
648 oldValue: Boolean, in logTrustUsuallyManagedUpdated()
657 bool1 = oldValue in logTrustUsuallyManagedUpdated()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java375 String oldValue = oldSetting.getValue(); in resetSettingDefaultValueLocked() local
381 oldValue, newSetting.getValue(), oldDefaultValue, newSetting.getDefaultValue()); in resetSettingDefaultValueLocked()
414 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() local
419 oldValue == null ? name.length() : 0 /* deltaKeySize */, in insertSettingLocked()
420 oldValue, value, oldDefaultValue, newDefaultValue); in insertSettingLocked()
438 oldValue, tag, makeDefault, getUserIdFromKey(mKey), in insertSettingLocked()
521 String oldValue = null; in setSettingsLocked() local
528 oldValue = state.value; in setSettingsLocked()
538 oldValue, /* tag */ null, /* make default */ false, in setSettingsLocked()
597 String oldValue = setting.getValue(); in resetSettingLocked() local
[all …]
DSettingsHelper.java146 String oldValue = null; in restoreValue() local
164 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue()
227 .putExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE, oldValue) in restoreValue()
DSettingsProvider.java3920 final String oldValue = systemSecureSettings.getSettingLocked(
3922 if (TextUtils.equals("500", oldValue)) {
3952 final String oldValue = systemSecureSettings.getSettingLocked(
3954 if (TextUtils.equals(null, oldValue)) {
4200 final String oldValue = systemSecureSettings.getSettingLocked(
4202 if (TextUtils.equals(null, oldValue)) {
4267 final String oldValue = systemSecureSettings.getSettingLocked(
4269 if (TextUtils.equals(null, oldValue)) {
4306 final String oldValue = globalSettings.getSettingLocked(
4308 if (TextUtils.equals(null, oldValue)) {
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java936 private boolean updateDefaultValue(List<Integer> primarySubList, int oldValue, in updateDefaultValue() argument
938 return updateDefaultValue(primarySubList, oldValue, action, true); in updateDefaultValue()
941 private boolean updateDefaultValue(List<Integer> primarySubList, int oldValue, in updateDefaultValue() argument
953 if (areSubscriptionsInSameGroup(subId, oldValue) in updateDefaultValue()
954 || (!allowInvalidSubId && oldValue == INVALID_SUBSCRIPTION_ID)) { in updateDefaultValue()
962 if (oldValue != newValue) { in updateDefaultValue()
963 if (DBG) log("[updateDefaultValue: subId] from " + oldValue + " to " + newValue); in updateDefaultValue()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java204 final Object oldValue = map.remove(propertyName); in parse() local
205 if (oldValue != null) { in parse()
208 if (value.getClass() != oldValue.getClass()) { in parse()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1571 boolean oldValue = false; in readinessStatusWithConstraint()
1575 oldValue = mReadyNotRestrictedInBg; in readinessStatusWithConstraint()
1579 oldValue = mReadyDeadlineSatisfied; in readinessStatusWithConstraint()
1583 oldValue = mReadyNotDozing; in readinessStatusWithConstraint()
1587 oldValue = mReadyTareWealth; in readinessStatusWithConstraint()
1591 oldValue = mReadyWithinQuota; in readinessStatusWithConstraint()
1610 mReadyNotRestrictedInBg = oldValue; in readinessStatusWithConstraint()
1613 mReadyDeadlineSatisfied = oldValue; in readinessStatusWithConstraint()
1616 mReadyNotDozing = oldValue; in readinessStatusWithConstraint()
1619 mReadyTareWealth = oldValue; in readinessStatusWithConstraint()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java267 final String oldValue = runShellCommand("getprop " + name); in setSystemProperty() local
270 return oldValue; in setSystemProperty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationsQSContainerController.kt300 val oldValue = get() in setAndReportChange() constant
302 return oldValue != newValue in setAndReportChange()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java95 final String oldValue = in testRowNameContentUriForSystem() local
103 if (oldValue != null) { in testRowNameContentUriForSystem()
104 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue); in testRowNameContentUriForSystem() local
/frameworks/native/libs/binder/ndk/
Dibinder.cpp274 auto oldValue = static_cast<ABpBinderTag::Value*>( in lookupOrCreateFromBinder() local
279 if (oldValue) { in lookupOrCreateFromBinder()
281 value = oldValue; in lookupOrCreateFromBinder()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp235 V oldValue = std::move(it->second); in set() local
241 return oldValue; in set()

12