Home
last modified time | relevance | path

Searched refs:originalValue (Results 1 – 6 of 6) 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/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/
DOtherSoundsSettingsTest.java81 int originalValue = in testOtherSoundsSettings_dialPadTones() local
84 assertTrue("Dial pad tones does not exist.", originalValue != -1); in testOtherSoundsSettings_dialPadTones()
91 1 - originalValue); in testOtherSoundsSettings_dialPadTones()
99 assertTrue("Dial pad tones restore fail.", originalValue == restoreValue); in testOtherSoundsSettings_dialPadTones()
114 int originalValue = in testOtherSoundsSettings_touchSounds() local
117 assertTrue("Touch sounds does not exist.", originalValue != -1); in testOtherSoundsSettings_touchSounds()
123 mContentResolver, Settings.System.SOUND_EFFECTS_ENABLED, 1 - originalValue); in testOtherSoundsSettings_touchSounds()
131 assertTrue("Touch sounds restore fail.", originalValue == restoreValue); in testOtherSoundsSettings_touchSounds()
146 int originalValue = in testOtherSoundsSettings_touchVibration() local
149 assertTrue("Touch vibration does not exist.", originalValue != -1); in testOtherSoundsSettings_touchVibration()
[all …]
/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/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java123 int originalValue = mDevicePolicyManager.getKeyguardDisabledFeatures(mComponent); in testKeyguardDisabledFeatures() local
132 mDevicePolicyManager.setKeyguardDisabledFeatures(mComponent, originalValue); in testKeyguardDisabledFeatures()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java727 final Object originalValue = field.get(volume); in assertStorageVolumesEquals() local
729 assertEquals("Mismatch for field " + field.getName(), originalValue, clonedValue); in assertStorageVolumesEquals()