Home
last modified time | relevance | path

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

12

/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.java141 final float[] oldValue = mColorMatrix.get(level); in setColorMatrix() local
142 if (!Arrays.equals(oldValue, value)) { in setColorMatrix()
145 } else if (oldValue == null) { in setColorMatrix()
148 System.arraycopy(value, 0, oldValue, 0, value.length); in setColorMatrix()
/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/core/java/android/os/
DMemoryFile.java150 boolean oldValue = mAllowPurging; in allowPurging()
151 if (oldValue != allowPurging) { in allowPurging()
155 return oldValue; in allowPurging()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DInternal.java495 RealValue oldValue = realMap.put(key, valueConverter.doBackward(value)); in put() local
496 if (oldValue == null) { in put()
499 return valueConverter.doForward(oldValue); in put()
567 RealValue oldValue = realEntry.setValue( in setValue() local
569 if (oldValue == null) { in setValue()
572 return valueConverter.doForward(oldValue); in setValue()
DSmallSortedMap.java432 final V oldValue = this.value; in setValue() local
434 return oldValue; in setValue()
/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/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java127 void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument
130 getRestrictBackgroundChangedLog(oldValue, newValue)); in restrictBackgroundChanged()
131 mEventsBuffer.restrictBackgroundChanged(oldValue, newValue); in restrictBackgroundChanged()
258 private static String getRestrictBackgroundChangedLog(boolean oldValue, boolean newValue) { in getRestrictBackgroundChangedLog() argument
259 return "Changed restrictBackground: " + oldValue + "->" + newValue; in getRestrictBackgroundChangedLog()
392 public void restrictBackgroundChanged(boolean oldValue, boolean newValue) { in restrictBackgroundChanged() argument
398 data.bfield1 = oldValue; in restrictBackgroundChanged()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStrongAuth.java102 int oldValue = mStrongAuthForUser.get(userId, mDefaultStrongAuthFlags); in handleRequireStrongAuthOneUser() local
105 : (oldValue | strongAuthReason); in handleRequireStrongAuthOneUser()
106 if (oldValue != newValue) { in handleRequireStrongAuthOneUser()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java365 String oldValue = oldSetting.getValue(); in resetSettingDefaultValueLocked() local
371 updateMemoryUsagePerPackageLocked(newSetting.getPackageName(), oldValue, in resetSettingDefaultValueLocked() local
393 String oldValue = (oldState != null) ? oldState.value : null; in insertSettingLocked() local
407 StatsLog.write(StatsLog.SETTING_CHANGED, name, value, newState.value, oldValue, tag, in insertSettingLocked()
412 updateMemoryUsagePerPackageLocked(packageName, oldValue, value, in insertSettingLocked()
459 String oldValue = setting.getValue(); in resetSettingLocked() local
469 updateMemoryUsagePerPackageLocked(setting.packageName, oldValue, in resetSettingLocked()
578 private void updateMemoryUsagePerPackageLocked(String packageName, String oldValue, in updateMemoryUsagePerPackageLocked() argument
588 final int oldValueSize = (oldValue != null) ? oldValue.length() : 0; in updateMemoryUsagePerPackageLocked()
DSettingsHelper.java122 String oldValue = null; in restoreValue() local
136 oldValue = table.lookup(cr, name, UserHandle.USER_SYSTEM); in restoreValue()
172 .putExtra(Intent.EXTRA_SETTING_PREVIOUS_VALUE, oldValue) in restoreValue()
DSettingsProvider.java3521 final String oldValue = systemSecureSettings.getSettingLocked(
3523 if (TextUtils.equals("500", oldValue)) {
3551 final String oldValue = systemSecureSettings.getSettingLocked(
3553 if (TextUtils.equals(null, oldValue)) {
3797 final String oldValue = systemSecureSettings.getSettingLocked(
3799 if (TextUtils.equals(null, oldValue)) {
3864 final String oldValue = systemSecureSettings.getSettingLocked(
3866 if (TextUtils.equals(null, oldValue)) {
3882 final String oldValue = globalSettings.getSettingLocked(
3886 if (TextUtils.equals(null, oldValue)
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java59 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList()
61 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList()
/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/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java632 private boolean updateDefaultValue(List<Integer> primarySubList, int oldValue, in updateDefaultValue() argument
641 if (areSubscriptionsInSameGroup(subId, oldValue)) { in updateDefaultValue()
649 if (oldValue != newValue) { in updateDefaultValue()
650 if (DBG) log("[updateDefaultValue: subId] from " + oldValue + " to " + newValue); in updateDefaultValue()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java1071 boolean oldValue = false; in wouldBeReadyWithConstraint()
1075 oldValue = mReadyNotRestrictedInBg; in wouldBeReadyWithConstraint()
1079 oldValue = mReadyDeadlineSatisfied; in wouldBeReadyWithConstraint()
1083 oldValue = mReadyNotDozing; in wouldBeReadyWithConstraint()
1087 oldValue = mReadyWithinQuota; in wouldBeReadyWithConstraint()
1099 mReadyNotRestrictedInBg = oldValue; in wouldBeReadyWithConstraint()
1102 mReadyDeadlineSatisfied = oldValue; in wouldBeReadyWithConstraint()
1105 mReadyNotDozing = oldValue; in wouldBeReadyWithConstraint()
1108 mReadyWithinQuota = oldValue; in wouldBeReadyWithConstraint()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java599 final boolean oldValue = mInEmergencyCall.getAndSet(value); in setInEmergencyCall()
600 if (oldValue != value) { in setInEmergencyCall()
613 final boolean oldValue = mInEcm.getAndSet(value); in setInEcm()
614 if (oldValue != value) { in setInEcm()
/frameworks/base/core/java/android/util/
DLruCache.java266 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/frameworks/layoutlib/bridge/src/android/util/
DLruCache.java275 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved() argument
/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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBUtilities.m262 GPBMessage *oldValue = *typePtr;
264 GPBClearMessageAutocreator(oldValue);
265 [oldValue release];
348 id oldValue = *typePtr;
352 if (oldValue) {
357 GPBAutocreatedArray *autoArray = oldValue;
363 GPBInt32Array *gpbArray = oldValue;
372 GPBAutocreatedDictionary *autoDict = oldValue;
378 GPBInt32Int32Dictionary *gpbDict = oldValue;
386 GPBMessage *oldMessageValue = oldValue;
[all …]
/frameworks/base/core/java/android/transition/
DTransition.java1827 Object oldValue = oldValues.values.get(key); in isValueChanged() local
1830 if (oldValue == null && newValue == null) { in isValueChanged()
1833 } else if (oldValue == null || newValue == null) { in isValueChanged()
1838 changed = !oldValue.equals(newValue); in isValueChanged()
1843 ": old, new = " + oldValue + ", " + newValue); in isValueChanged()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java71 V oldValue = this.value; in setValue() local
73 return oldValue; in setValue()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1358 PreparedStatement oldValue, PreparedStatement newValue) { in entryRemoved() argument
1359 oldValue.mInCache = false; in entryRemoved()
1360 if (!oldValue.mInUse) { in entryRemoved()
1361 finalizePreparedStatement(oldValue); in entryRemoved()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java471 byte[] oldValue = byteString.toByteArray(); in testNewOutput_Mutating()
475 Arrays.equals(oldValue, newValue)); in testNewOutput_Mutating()

12