Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTimeout.java117 final long oldValue = mCurrentValue; in increase() local
119 if (oldValue != mCurrentValue) { in increase()
120 Log.w(TAG, mName + " increased from " + oldValue + "ms to " + mCurrentValue + "ms at " in increase()
123 return oldValue; in increase()
/cts/tests/tests/util/src/android/util/cts/
DSparseBooleanArrayTest.java65 boolean oldValue = VALUES[0]; // true in testSparseBooleanArrayWithDefaultCapacity()
67 assertEquals(oldValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithDefaultCapacity()
122 boolean oldValue = VALUES[0]; // true in testSparseBooleanArrayWithSpecifiedCapacity()
124 assertEquals(oldValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithSpecifiedCapacity()
DLruCacheTest.java392 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization()
432 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut()
433 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentPut()
460 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate()
461 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentCreate()
480 boolean evicted, String key, String oldValue, String newValue) {
482 ? (key + "=" + oldValue)
483 : (key + "=" + oldValue + ">" + newValue);
DSparseLongArrayTest.java64 long oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local
66 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
126 long oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local
128 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
DSparseIntArrayTest.java58 int oldValue = VALUES[0]; // 0 in testSparseIntArrayWithDefaultCapacity() local
60 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity()
107 int oldValue = VALUES[0]; // 0 in testSparseIntArrayWithSpecifiedCapacity() local
109 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity()
DLongSparseArrayTest.java66 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local
68 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
132 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local
134 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
DSparseArrayTest.java70 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local
72 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
136 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local
138 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
/cts/tests/signature/lib/common/src/android/signature/cts/
DApiComplianceChecker.java46 private String oldValue; field in ApiComplianceChecker.FieldValuePair
49 private FieldValuePair(String oldValue, String newValue) { in FieldValuePair() argument
50 this.oldValue = oldValue; in FieldValuePair()
487 && IGNORE_FIELD_VALUES_MODIFIER_ALLOWED_LIST.get(fieldName).oldValue.equals( in checkFieldValueCompliance()
/cts/tests/tests/hibernation/src/android/hibernation/cts/
DAppHibernationUtils.kt207 val oldValue = runWithShellPermissionIdentity(ThrowingSupplier { in withDeviceConfig() constant
217 DeviceConfig.setProperty(namespace, name, oldValue, false /* makeDefault */) in withDeviceConfig()