Home
last modified time | relevance | path

Searched refs:currentValue (Results 1 – 8 of 8) 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/
DStateKeeperRule.java70 final T currentValue = mStateManager.get(); in apply() local
71 if (!Objects.equals(previousValue, currentValue)) { in apply()
DSettingsUtils.java78 final String currentValue = get(namespace, key); in syncSet() local
79 if (value.equals(currentValue)) { in syncSet()
128 final String currentValue = get(namespace, key); in syncDelete() local
129 if (currentValue == null) { in syncDelete()
DStateChangerRule.java65 final T currentValue = mStateManager.get(); in apply() local
66 if (!Objects.equals(currentValue, previousValue)) { in apply()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java180 float currentValue = (Float) anim.getAnimatedValue(); in testSetCurrentPlayTime() local
183 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
188 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
191 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
198 float currentValue = (Float) anim.getAnimatedValue(); in testSetCurrentPlayTime() local
201 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
205 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
208 assertEquals(50, currentValue, EPSILON); in testSetCurrentPlayTime()
222 currentValue = (Float) delayedAnim.getAnimatedValue(); in testSetCurrentPlayTime()
225 assertTrue(currentValue > 50); in testSetCurrentPlayTime()
[all …]
/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/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1044 Object currentValue = newBuilder.get(key); in testSessionParametersStateLeakByCamera() local
1045 if ((sessionValue == null) && (currentValue == null)) { in testSessionParametersStateLeakByCamera()
1049 if (((sessionValue == null) && (currentValue != null)) || in testSessionParametersStateLeakByCamera()
1050 ((sessionValue != null) && (currentValue == null)) || in testSessionParametersStateLeakByCamera()
1051 (!sessionValue.equals(currentValue))) { in testSessionParametersStateLeakByCamera()
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java1722 final String currentValue = DeviceConfig.getProperty( in runWithKeyValues() local
1724 if (!Objects.equals(previousValue, currentValue)) { in runWithKeyValues()