/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | DeviceAdminWithEnterprisePoliciesBlockedTest.java | 31 boolean originalValue = dpm.getCameraDisabled(mAdminComponent); in testCameraDisabled() 33 assertEquals(originalValue, dpm.getCameraDisabled(mAdminComponent)); in testCameraDisabled() 37 int originalValue = dpm.getKeyguardDisabledFeatures(mAdminComponent); in testKeyguardDisabledFeatures() local 40 assertEquals(originalValue, dpm.getKeyguardDisabledFeatures(mAdminComponent)); in testKeyguardDisabledFeatures() 52 int originalValue = dpm.getPasswordHistoryLength(mAdminComponent); in testPasswordHistoryLength() local 54 assertEquals(originalValue, dpm.getPasswordHistoryLength(mAdminComponent)); in testPasswordHistoryLength() 58 int originalValue = dpm.getPasswordMinimumLength(mAdminComponent); in testPasswordMinimumLength() local 60 assertEquals(originalValue, dpm.getPasswordMinimumLength(mAdminComponent)); in testPasswordMinimumLength() 64 int originalValue = dpm.getPasswordMinimumLetters(mAdminComponent); in testPasswordMinimumLetters() local 66 assertEquals(originalValue, dpm.getPasswordMinimumLetters(mAdminComponent)); in testPasswordMinimumLetters() [all …]
|
D | DeviceAdminTest.java | 62 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/ |
D | HdmiControlManagerTest.java | 201 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/ |
D | OtherSoundsSettingsTest.java | 100 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/ |
D | Helper.java | 154 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/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | RetryTest.java | 129 ValueTester(E originalValue, E changedValue, int numberOfIterations) { in ValueTester() argument 130 mOriginalValue = originalValue; in ValueTester()
|
D | PollTest.java | 517 ValueTester(E originalValue, E changedValue, int numberOfIterations) { in ValueTester() argument 518 mOriginalValue = originalValue; in ValueTester()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | BNNMTest.java | 50 final int originalValue = data[n]; in addByteNoise() local 56 int newValue = (originalValue + delta); in addByteNoise()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 990 final int originalValue = Settings.System.getInt(mContext.getContentResolver(), 994 final int valueToSet = originalValue > 128 ? 40 : 200; // sufficiently different value 1000 assertEquals(originalValue, newValue); // verify that setting the new value failed. 1006 Settings.System.SCREEN_BRIGHTNESS, originalValue);
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 149 int originalValue = mDevicePolicyManager.getKeyguardDisabledFeatures(mComponent); in testKeyguardDisabledFeatures() local 158 mDevicePolicyManager.setKeyguardDisabledFeatures(mComponent, originalValue); in testKeyguardDisabledFeatures()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 845 final Object originalValue = field.get(volume); in assertStorageVolumesEquals() local 847 assertEquals("Mismatch for field " + field.getName(), originalValue, clonedValue); in assertStorageVolumesEquals()
|