/frameworks/rs/toolkit/test/ |
D | ReferenceLut.kt | 37 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/ |
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 …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStrongAuth.java | 201 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/ |
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);
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
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()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 150 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/ |
D | MultiResourceFile.java | 167 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/ |
D | BaseFragmentPagerAdapter.java | 184 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/ |
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()
|
/frameworks/base/core/java/android/util/ |
D | SparseDoubleArray.java | 117 final double oldValue = get(key); in incrementValue() local 118 put(key, oldValue + summand); in incrementValue()
|
D | LruCache.java | 267 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/ |
D | NotifLiveDataStoreImpl.kt | 109 val oldValue = atomicValue.getAndSet(value) in setValueAndProvideDispatcher() constant 110 if (oldValue != value) { in setValueAndProvideDispatcher()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 154 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/ |
D | KeyguardUpdateMonitorLogger.kt | 621 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/ |
D | SettingsState.java | 375 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 …]
|
D | SettingsHelper.java | 146 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()
|
D | SettingsProvider.java | 3920 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/ |
D | MultiSimSettingController.java | 936 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/ |
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()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1571 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/ |
D | UserManagerServiceTest.java | 267 final String oldValue = runShellCommand("getprop " + name); in setSystemProperty() local 270 return oldValue; in setSystemProperty()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationsQSContainerController.kt | 300 val oldValue = get() in setAndReportChange() constant 302 return oldValue != newValue in setAndReportChange()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
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
|
/frameworks/native/libs/binder/ndk/ |
D | ibinder.cpp | 274 auto oldValue = static_cast<ABpBinderTag::Value*>( in lookupOrCreateFromBinder() local 279 if (oldValue) { in lookupOrCreateFromBinder() 281 value = oldValue; in lookupOrCreateFromBinder()
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool.cpp | 235 V oldValue = std::move(it->second); in set() local 241 return oldValue; in set()
|