Home
last modified time | relevance | path

Searched refs:originalValue (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminWithEnterprisePoliciesBlockedTest.java27 boolean originalValue = dpm.getCameraDisabled(mAdminComponent); in testCameraDisabled()
29 assertEquals(originalValue, dpm.getCameraDisabled(mAdminComponent)); in testCameraDisabled()
33 int originalValue = dpm.getKeyguardDisabledFeatures(mAdminComponent); in testKeyguardDisabledFeatures() local
36 assertEquals(originalValue, dpm.getKeyguardDisabledFeatures(mAdminComponent)); in testKeyguardDisabledFeatures()
48 int originalValue = dpm.getPasswordHistoryLength(mAdminComponent); in testPasswordHistoryLength() local
50 assertEquals(originalValue, dpm.getPasswordHistoryLength(mAdminComponent)); in testPasswordHistoryLength()
54 int originalValue = dpm.getPasswordMinimumLength(mAdminComponent); in testPasswordMinimumLength() local
56 assertEquals(originalValue, dpm.getPasswordMinimumLength(mAdminComponent)); in testPasswordMinimumLength()
60 int originalValue = dpm.getPasswordMinimumLetters(mAdminComponent); in testPasswordMinimumLetters() local
62 assertEquals(originalValue, dpm.getPasswordMinimumLetters(mAdminComponent)); in testPasswordMinimumLetters()
[all …]
DDeviceAdminTest.java62 int originalValue = dpm.getPasswordHistoryLength(mAdminComponent); in testPasswordHistoryLength() local
70 dpm.setPasswordHistoryLength(mAdminComponent, originalValue); in testPasswordHistoryLength()
78 long originalValue = dpm.getPasswordExpirationTimeout(mAdminComponent); in testPasswordExpirationTimeout() local
87 dpm.setPasswordExpirationTimeout(mAdminComponent, originalValue); in testPasswordExpirationTimeout()
/cts/tests/tests/hardware/src/android/hardware/hdmi/cts/
DHdmiControlManagerTest.java201 int originalValue = mHdmiControlManager.getHdmiCecEnabled(); in testHdmiCecConfig_HdmiCecEnabled() local
214 mHdmiControlManager.setHdmiCecEnabled(originalValue); in testHdmiCecConfig_HdmiCecEnabled()
215 assertThat(mHdmiControlManager.getHdmiCecEnabled()).isEqualTo(originalValue); in testHdmiCecConfig_HdmiCecEnabled()
222 int originalValue = mHdmiControlManager.getHdmiCecEnabled(); in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor() local
256 mHdmiControlManager.setHdmiCecEnabled(originalValue); in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
257 assertThat(mHdmiControlManager.getHdmiCecEnabled()).isEqualTo(originalValue); in testHdmiCecConfig_HdmiCecEnabled_ListenerWithCustomExecutor()
264 int originalValue = mHdmiControlManager.getHdmiCecEnabled(); in testHdmiCecConfig_HdmiCecEnabled_Listener() local
297 mHdmiControlManager.setHdmiCecEnabled(originalValue); in testHdmiCecConfig_HdmiCecEnabled_Listener()
298 assertThat(mHdmiControlManager.getHdmiCecEnabled()).isEqualTo(originalValue); in testHdmiCecConfig_HdmiCecEnabled_Listener()
305 int originalValue = mHdmiControlManager.getHdmiCecVersion(); in testHdmiCecConfig_HdmiCecVersion() local
[all …]
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/
DOtherSoundsSettingsTest.java100 int originalValue = prepareSystemSetting(Settings.System.DTMF_TONE_WHEN_DIALING); in testOtherSoundsSettings_dialPadTones() local
101 assertTrue("Dial pad tones does not exist.", originalValue != -1); in testOtherSoundsSettings_dialPadTones()
106 1 - originalValue); in testOtherSoundsSettings_dialPadTones()
114 assertTrue("Dial pad tones restore fail.", originalValue == restoreValue); in testOtherSoundsSettings_dialPadTones()
129 int originalValue = prepareSystemSetting(Settings.System.SOUND_EFFECTS_ENABLED); in testOtherSoundsSettings_touchSounds() local
130 assertTrue("Touch sounds does not exist.", originalValue != -1); in testOtherSoundsSettings_touchSounds()
135 1 - originalValue); in testOtherSoundsSettings_touchSounds()
143 assertTrue("Touch sounds restore fail.", originalValue == restoreValue); in testOtherSoundsSettings_touchSounds()
166 int originalValue = prepareSystemSetting(Settings.System.HAPTIC_FEEDBACK_ENABLED); in testOtherSoundsSettings_touchVibration() local
167 assertTrue("Touch vibration does not exist.", originalValue != -1); in testOtherSoundsSettings_touchVibration()
[all …]
/cts/tests/translation/src/android/translation/cts/
DHelper.java154 String originalValue = System.getProperty(LOG_TAG, ""); in enableDebugLog() local
156 Log.d(TAG, "enableDebugLog(), original value = " + originalValue); in enableDebugLog()
157 return originalValue; in enableDebugLog()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java50 final int originalValue = data[n]; in addByteNoise() local
56 int newValue = (originalValue + delta); in addByteNoise()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderValuesTest.kt756 val originalValue = getValue(res) in <lambda>() constant
778 assertEquals(originalValue, getValue(res)) in <lambda>()
785 val originalValue = getValue(res) in <lambda>() constant
798 assertEquals(originalValue, getValue(res)) in <lambda>()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java937 final int originalValue = Settings.System.getInt(mContext.getContentResolver(),
941 final int valueToSet = originalValue > 128 ? 40 : 200; // sufficiently different value
947 assertEquals(originalValue, newValue); // verify that setting the new value failed.
953 Settings.System.SCREEN_BRIGHTNESS, originalValue);
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java148 int originalValue = mDevicePolicyManager.getKeyguardDisabledFeatures(mComponent); in testKeyguardDisabledFeatures() local
157 mDevicePolicyManager.setKeyguardDisabledFeatures(mComponent, originalValue); in testKeyguardDisabledFeatures()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java845 final Object originalValue = field.get(volume); in assertStorageVolumesEquals() local
847 assertEquals("Mismatch for field " + field.getName(), originalValue, clonedValue); in assertStorageVolumesEquals()