Home
last modified time | relevance | path

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

12

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DSettingsTest.java78 int newValue = originalValue + 1; in setGlobalSetting_settingIsDeprecated_doesNotChangeSetting() local
83 DEPRECATED_GLOBAL_SETTING, String.valueOf(newValue)); in setGlobalSetting_settingIsDeprecated_doesNotChangeSetting()
115 int newValue = originalValue + 1; in setGlobalSetting_supported_changesValue() local
120 SUPPORTED_GLOBAL_SETTING, String.valueOf(newValue)); in setGlobalSetting_supported_changesValue()
123 .isEqualTo(newValue); in setGlobalSetting_supported_changesValue()
134 int newValue = originalValue + 1; in setSecureSetting_sets() local
139 SECURE_SETTING, String.valueOf(newValue)); in setSecureSetting_sets()
142 .getInt(SECURE_SETTING, /* defaultValue= */ 0)).isEqualTo(newValue); in setSecureSetting_sets()
161 int newValue = originalValue + 1; in setSecureSetting_deviceOwnerOnly_sets() local
166 DEPRECATED_DEVICE_OWNER_ONLY_SECURE_SETTING, String.valueOf(newValue)); in setSecureSetting_deviceOwnerOnly_sets()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DParkingBrakeOnTestActivity.java81 Boolean newValue = (Boolean) value.getValue();
82 Log.i(TAG, "New PARKING_BRAKE_ON value: " + newValue);
88 !mCurrentParkingBrakeOnValue.equals(newValue)) {
92 mCurrentParkingBrakeOnValue = newValue;
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUserSettings.java137 String newValue = get(key); in syncSet() local
139 assertWithMessage("value of '%s'", key).that(newValue).isNull(); in syncSet()
141 assertWithMessage("value of '%s'", key).that(newValue).isEqualTo(value); in syncSet()
179 String newValue = get(key); in syncDelete() local
180 assertWithMessage("value of '%s' after it was removed", key).that(newValue).isNull(); in syncDelete()
/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()
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) {
483 : (key + "=" + oldValue + ">" + newValue);
DSparseArrayTest.java71 Integer newValue = 100; in testSparseArrayWithDefaultCapacity() local
74 sparseArray.put(existKey, newValue); in testSparseArrayWithDefaultCapacity()
75 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
137 Integer newValue = 100; in testSparseArrayWithSpecifiedCapacity() local
140 sparseArray.put(existKey, newValue); in testSparseArrayWithSpecifiedCapacity()
141 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
DCtsThirdPartyInCallServiceControl.java61 public void setExpectedExtra(String newKey, String newValue) {
62 CtsThirdPartyInCallService.getInstance().setExpectedExtra(newKey, newValue);
DCtsThirdPartyInCallService.java150 public void setExpectedExtra(String newKey, String newValue) { in setExpectedExtra() argument
152 mExpectedValue = newValue; in setExpectedExtra()
/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/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/telecom/ThirdPtyInCallServiceTestApp/aidl/android/telecom/cts/thirdptyincallservice/
DICtsThirdPartyInCallServiceControl.aidl31 void setExpectedExtra(String newKey, String newValue); in setExpectedExtra() argument
/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/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/security/src/android/security/cts/
DBitmapWrapper.java55 public BitmapWrapper replace(Field field, int newValue) { in replace() argument
56 mReplaceFields.put(field, newValue); in replace()
/cts/tests/signature/lib/common/src/android/signature/cts/
DApiComplianceChecker.java47 private String newValue; field in ApiComplianceChecker.FieldValuePair
49 private FieldValuePair(String oldValue, String newValue) { in FieldValuePair() argument
51 this.newValue = newValue; in FieldValuePair()
492 && IGNORE_FIELD_VALUES_MODIFIER_ALLOWED_LIST.get(fieldName).newValue.equals( in checkFieldValueCompliance()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/ast/operators/
DComparatorNodeCtsTest.java141 long newValue = 10; in testSetValue_setsValueCorrectly() local
142 lessThanNode.setValue(newValue); in testSetValue_setsValueCorrectly()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleCsAccuracyActivity.java279 TestDistance(double newValue) { in TestDistance() argument
280 mValue = newValue; in TestDistance()
DUwbAccuracyActivity.java273 TestDistance(double newValue) { in TestDistance() argument
274 mValue = newValue; in TestDistance()
DNanAccuracyActivity.java308 TestDistance(final double newValue) { in TestDistance() argument
309 value = newValue; in TestDistance()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DStableUrisTest.java334 final String newValue = uiDevice.executeShellCommand("getprop " + flagName).trim(); in setFlag() local
337 String.valueOf(value).equals(newValue)); in setFlag()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java221 public void setIgnoreOrphanSessionEvents(boolean newValue) { in setIgnoreOrphanSessionEvents() argument
223 + " to " + newValue); in setIgnoreOrphanSessionEvents()
224 mIgnoreOrphanSessionEvents = newValue; in setIgnoreOrphanSessionEvents()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java540 final int newValue = 8; in testSelectionDividerHeight() local
541 numberPicker.setSelectionDividerHeight(newValue); in testSelectionDividerHeight()
542 assertEquals(newValue, numberPicker.getSelectionDividerHeight()); in testSelectionDividerHeight()

12