Home
last modified time | relevance | path

Searched refs:currentValue (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/backup/SharedPreferencesRestoreApp/src/android/cts/backup/sharedprefrestoreapp/
DSharedPrefsRestoreTestActivity.java80 final int currentValue = mPrefs.getInt(INT_PREF, INT_PREF_DEFAULT_VALUE); in processLaunchCommand() local
81 Log.i(TAG, "current value: " + currentValue + " last value : " + mLastValue); in processLaunchCommand()
83 if (currentValue != mLastValue && currentValue != INT_PREF_DEFAULT_VALUE) { in processLaunchCommand()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUserSettings.java126 String currentValue = get(key); in syncSet() local
127 if (value.equals(currentValue)) { in syncSet()
167 String currentValue = get(key); in syncDelete() local
168 logd("syncDelete(%s), currentValue=%s", key, currentValue); in syncDelete()
169 if (currentValue == null) { in syncDelete()
DStateKeeperRule.java70 final T currentValue = mStateManager.get(); in apply() local
71 if (!Objects.equals(previousValue, currentValue)) { in apply()
DStateChangerRule.java65 final T currentValue = mStateManager.get(); in apply() local
66 if (!Objects.equals(currentValue, previousValue)) { in apply()
/cts/tests/credentials/src/android/credentials/cts/testcore/
DDeviceConfigStateRequiredRule.java85 final String currentValue = deviceConfigStateManager.get();
86 if (currentValue == null || TextUtils.equals(currentValue, mExpectedValue)) {
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DDeviceConfigStateRequiredRule.java88 final String currentValue = deviceConfigStateManager.get();
89 if (currentValue == null || TextUtils.equals(currentValue, mExpectedValue)) {
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/content/
DSuggestions.kt45 val currentValue = defaultServiceEnabled(user) in <lambda>() constant
46 if (currentValue == value) { in <lambda>()
56 contentSuggestionsManager.setDefaultServiceEnabled(user.id(), currentValue) in <lambda>()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTestWatcher.java172 boolean currentValue = isSystemTextClassifierEnabled(); in setAndAssertSystemTextclassifierEnabledSetIfNeeded()
173 if (currentValue != value) { in setAndAssertSystemTextclassifierEnabledSetIfNeeded()
183 String currentValue = getOriginalOverrideService(); in setAndAssertServicePackageOverrideSetIfNeeded() local
184 if (!TextUtils.equals(currentValue, value)) { in setAndAssertServicePackageOverrideSetIfNeeded()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java189 float currentValue = (Float) anim.getAnimatedValue(); in testSetCurrentPlayTime() local
192 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
197 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
200 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
207 float currentValue = (Float) anim.getAnimatedValue(); in testSetCurrentPlayTime() local
210 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
214 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
217 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
231 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
234 assertTrue(currentValue > 50); in testSetCurrentPlayTime()
[all …]
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java913 U currentValue = (U) currentCarPropertyValue.getValue(); in restoreInitialValuesByAreaId() local
914 if (valueEquals(originalValue, currentValue)) { in restoreInitialValuesByAreaId()
922 + ", current value: " + currentValue) in restoreInitialValuesByAreaId()
1249 CarPropertyValue<T> currentValue = null; in verifySetNotAvailable() local
1252 currentValue = mCarPropertyManager.getProperty(mPropertyId, areaId); in verifySetNotAvailable()
1273 if (currentValue == null) { in verifySetNotAvailable()
1282 .isEqualTo(currentValue.getValue()); in verifySetNotAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1058 Object currentValue = newBuilder.get(key); in testSessionParametersStateLeakByCamera() local
1059 if ((sessionValue == null) && (currentValue == null)) { in testSessionParametersStateLeakByCamera()
1063 if (((sessionValue == null) && (currentValue != null)) || in testSessionParametersStateLeakByCamera()
1064 ((sessionValue != null) && (currentValue == null)) || in testSessionParametersStateLeakByCamera()
1065 (!sessionValue.equals(currentValue))) { in testSessionParametersStateLeakByCamera()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java2143 boolean currentValue = TestApis.content().suggestions().defaultServiceEnabled(user);
2145 if (currentValue == enabled) {
2150 mOriginalDefaultContentSuggestionsServiceEnabled.put(user, currentValue);
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java1728 final String currentValue = DeviceConfig.getProperty( in runWithKeyValues() local
1730 if (!Objects.equals(previousValue, currentValue)) { in runWithKeyValues()