/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 89 final String newValue = get(namespace, key); in syncSet() local 91 assertWithMessage("invalid value for '%s' settings", key).that(newValue) in syncSet() 94 assertWithMessage("invalid value for '%s' settings", key).that(newValue) in syncSet() 139 final String newValue = get(namespace, key); in syncDelete() local 140 assertWithMessage("invalid value for '%s' settings", key).that(newValue).isNull(); in syncDelete()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SettingsUtils.java | 90 final String newValue = get(namespace, key); in syncSet() local 92 assertWithMessage("invalid value for '%s' settings", key).that(newValue) in syncSet() 95 assertWithMessage("invalid value for '%s' settings", key).that(newValue) in syncSet() 140 final String newValue = get(namespace, key); in syncDelete() local 141 assertWithMessage("invalid value for '%s' settings", key).that(newValue).isNull(); in syncDelete()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseBooleanArrayTest.java | 66 boolean newValue = false; in testSparseBooleanArrayWithDefaultCapacity() 69 sparseBooleanArray.put(existKey, newValue); in testSparseBooleanArrayWithDefaultCapacity() 70 assertEquals(newValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithDefaultCapacity() 123 boolean newValue = false; in testSparseBooleanArrayWithSpecifiedCapacity() 126 sparseBooleanArray.put(existKey, newValue); in testSparseBooleanArrayWithSpecifiedCapacity() 127 assertEquals(newValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithSpecifiedCapacity()
|
D | SparseIntArrayTest.java | 59 int newValue = 23; in testSparseIntArrayWithDefaultCapacity() local 62 sparseIntArray.put(existKey, newValue); in testSparseIntArrayWithDefaultCapacity() 63 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity() 108 int newValue = 23; in testSparseIntArrayWithSpecifiedCapacity() local 111 sparseIntArray.put(existKey, newValue); in testSparseIntArrayWithSpecifiedCapacity() 112 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity()
|
D | SparseLongArrayTest.java | 65 long newValue = 100; in testSparseArrayWithDefaultCapacity() local 68 sparseArray.put(existKey, newValue); in testSparseArrayWithDefaultCapacity() 69 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 127 long newValue = 100; in testSparseArrayWithSpecifiedCapacity() local 130 sparseArray.put(existKey, newValue); in testSparseArrayWithSpecifiedCapacity() 131 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
|
D | SparseArrayTest.java | 64 Integer newValue = 100; in testSparseArrayWithDefaultCapacity() local 67 sparseArray.put(existKey, newValue); in testSparseArrayWithDefaultCapacity() 68 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 130 Integer newValue = 100; in testSparseArrayWithSpecifiedCapacity() local 133 sparseArray.put(existKey, newValue); in testSparseArrayWithSpecifiedCapacity() 134 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
|
D | LongSparseArrayTest.java | 67 Integer newValue = 100; in testSparseArrayWithDefaultCapacity() local 70 sparseArray.put(existKey, newValue); in testSparseArrayWithDefaultCapacity() 71 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 133 Integer newValue = 100; in testSparseArrayWithSpecifiedCapacity() local 136 sparseArray.put(existKey, newValue); in testSparseArrayWithSpecifiedCapacity() 137 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 56 int newValue = (originalValue + delta); in addByteNoise() local 57 if (newValue < -127) { in addByteNoise() 58 newValue = -127; in addByteNoise() 60 if (newValue > 127) { in addByteNoise() 61 newValue = 127; in addByteNoise() 63 data[n] = (byte)(newValue); in addByteNoise()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 436 double newValue = mMinValue + delta; in ExpandMin() local 441 if (newValue < 0 && mMinValue > 0.f) { in ExpandMin() 444 mMinValue = newValue; in ExpandMin() 477 double newValue = mMaxValue + delta; in ExpandMax() local 482 if (newValue > 0 && mMaxValue < 0.f) { in ExpandMax() 485 mMaxValue = newValue; in ExpandMax()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | CustomPreference.java | 51 protected boolean callChangeListener(Object newValue) { in callChangeListener() argument 52 return super.callChangeListener(newValue); in callChangeListener()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CtsContentCaptureService.java | 157 public void setIgnoreOrphanSessionEvents(boolean newValue) { in setIgnoreOrphanSessionEvents() argument 159 + " to " + newValue); in setIgnoreOrphanSessionEvents() 160 mIgnoreOrphanSessionEvents = newValue; in setIgnoreOrphanSessionEvents()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | NumberPickerTest.java | 486 final int newValue = 8; in testSelectionDividerHeight() local 487 numberPicker.setSelectionDividerHeight(newValue); in testSelectionDividerHeight() 488 assertEquals(newValue, numberPicker.getSelectionDividerHeight()); in testSelectionDividerHeight()
|
D | TextViewTest.java | 7872 final int newValue = 33; 7876 newValue, 7878 assertEquals(newValue, textView.getAutoSizeStepGranularity());
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 1496 final Object newValue = newExtras.get(key); in areBundlesEqual() local 1497 if (!Objects.equals(value, newValue)) { in areBundlesEqual()
|