Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DSparseBooleanArrayTest.java66 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()
DSparseLongArrayTest.java65 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()
DSparseIntArrayTest.java59 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()
DLongSparseArrayTest.java67 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()
DSparseArrayTest.java64 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()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSettingsUtils.java89 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/
DSettingsUtils.java90 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/rsblas/src/android/renderscript/cts/
DBNNMTest.java56 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/
DTarget.java436 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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DLockTaskUtilityActivity.java40 private static void setIsActivityResumed(boolean newValue) { in setIsActivityResumed() argument
42 isActivityResumed = newValue; in setIsActivityResumed()
/cts/tests/tests/preference/src/android/preference/cts/
DCustomPreference.java51 protected boolean callChangeListener(Object newValue) { in callChangeListener() argument
52 return super.callChangeListener(newValue); in callChangeListener()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java496 final int newValue = 8; in testSelectionDividerHeight() local
497 numberPicker.setSelectionDividerHeight(newValue); in testSelectionDividerHeight()
498 assertEquals(newValue, numberPicker.getSelectionDividerHeight()); in testSelectionDividerHeight()
DTextViewTest.java7872 final int newValue = 33;
7876 newValue,
7878 assertEquals(newValue, textView.getAutoSizeStepGranularity());
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java158 public void setIgnoreOrphanSessionEvents(boolean newValue) { in setIgnoreOrphanSessionEvents() argument
160 + " to " + newValue); in setIgnoreOrphanSessionEvents()
161 mIgnoreOrphanSessionEvents = newValue; in setIgnoreOrphanSessionEvents()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java1822 final Object newValue = newExtras.get(key); in areBundlesEqual() local
1823 if (!Objects.equals(value, newValue)) { in areBundlesEqual()