/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | SettingsTest.java | 78 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/ |
D | ParkingBrakeOnTestActivity.java | 81 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/ |
D | UserSettings.java | 137 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/ |
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 | 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 | 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 | 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()
|
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) { 483 : (key + "=" + oldValue + ">" + newValue);
|
D | SparseArrayTest.java | 71 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/ |
D | CtsThirdPartyInCallServiceControl.java | 61 public void setExpectedExtra(String newKey, String newValue) { 62 CtsThirdPartyInCallService.getInstance().setExpectedExtra(newKey, newValue);
|
D | CtsThirdPartyInCallService.java | 150 public void setExpectedExtra(String newKey, String newValue) { in setExpectedExtra() argument 152 mExpectedValue = newValue; in setExpectedExtra()
|
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | LockTaskUtilityActivity.java | 40 private static void setIsActivityResumed(boolean newValue) { in setIsActivityResumed() argument 42 isActivityResumed = newValue; in setIsActivityResumed()
|
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/aidl/android/telecom/cts/thirdptyincallservice/ |
D | ICtsThirdPartyInCallServiceControl.aidl | 31 void setExpectedExtra(String newKey, String newValue); in setExpectedExtra() argument
|
/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/tests/security/src/android/security/cts/ |
D | BitmapWrapper.java | 55 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/ |
D | ApiComplianceChecker.java | 47 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/ |
D | ComparatorNodeCtsTest.java | 141 long newValue = 10; in testSetValue_setsValueCorrectly() local 142 lessThanNode.setValue(newValue); in testSetValue_setsValueCorrectly()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ |
D | BleCsAccuracyActivity.java | 279 TestDistance(double newValue) { in TestDistance() argument 280 mValue = newValue; in TestDistance()
|
D | UwbAccuracyActivity.java | 273 TestDistance(double newValue) { in TestDistance() argument 274 mValue = newValue; in TestDistance()
|
D | NanAccuracyActivity.java | 308 TestDistance(final double newValue) { in TestDistance() argument 309 value = newValue; in TestDistance()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StableUrisTest.java | 334 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/ |
D | CtsContentCaptureService.java | 221 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/ |
D | NumberPickerTest.java | 540 final int newValue = 8; in testSelectionDividerHeight() local 541 numberPicker.setSelectionDividerHeight(newValue); in testSelectionDividerHeight() 542 assertEquals(newValue, numberPicker.getSelectionDividerHeight()); in testSelectionDividerHeight()
|