Home
last modified time | relevance | path

Searched refs:oldValue (Results 1 – 8 of 8) 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/common/device-side/util/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()
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.java63 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local
65 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
129 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local
131 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java710 private void assertMultipathPreferenceIsEventually(Network network, int oldValue, in assertMultipathPreferenceIsEventually() argument
714 assertNotSame(oldValue, expectedValue); in assertMultipathPreferenceIsEventually()
721 if (actualValue != oldValue) { in assertMultipathPreferenceIsEventually()
722 fail("Multipath preference is neither previous (" + oldValue in assertMultipathPreferenceIsEventually()