Searched refs:oldValue (Results 1 – 9 of 9) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | Timeout.java | 117 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/ |
D | SparseBooleanArrayTest.java | 65 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()
|
D | LruCacheTest.java | 392 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);
|
D | SparseLongArrayTest.java | 64 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()
|
D | SparseIntArrayTest.java | 58 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()
|
D | LongSparseArrayTest.java | 66 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()
|
D | SparseArrayTest.java | 70 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/ |
D | ApiComplianceChecker.java | 46 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/ |
D | AppHibernationUtils.kt | 207 val oldValue = runWithShellPermissionIdentity(ThrowingSupplier { in withDeviceConfig() constant 217 DeviceConfig.setProperty(namespace, name, oldValue, false /* makeDefault */) in withDeviceConfig()
|