Home
last modified time | relevance | path

Searched refs:ShadowDeviceStateRotationLockSettingsManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDeviceStateAutoRotateOverviewControllerTest.java24 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
34 @Config(shadows = {ShadowRotationPolicy.class, ShadowDeviceStateRotationLockSettingsManager.class})
44 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable()
54 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_rotationNotSupported_returnsUnsupportedOnDevice()
64 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(false); in getAvailabilityStatus_deviceStateRotationNotSupported_returnsUnsupportedOnDevice()
DSmartAutoRotateControllerTest.java42 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
134 ShadowDeviceStateRotationLockSettingsManager.class,
148 ShadowDeviceStateRotationLockSettingsManager.class,
172 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in enableDeviceStateRotation()
176 ShadowDeviceStateRotationLockSettingsManager shadowManager = in lockDeviceStateRotation()
182 ShadowDeviceStateRotationLockSettingsManager shadowManager = in unlockDeviceStateRotation()
DDeviceStateAutoRotateSettingControllerTest.java34 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
55 ShadowDeviceStateRotationLockSettingsManager.class
100 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable()
110 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(false); in getAvailabilityStatus_deviceStateRotationDisabled_returnsUnsupported()
120 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_rotationDisabled_returnsUnsupported()
DSmartAutoRotatePreferenceControllerTest.java43 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
61 ShadowDeviceStateRotationLockSettingsManager.class
107 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(false); in setUp()
216 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_deviceStateRotationEnabled_returnsUnsupported()
DSmartAutoRotatePreferenceFragmentTest.java49 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
68 ShadowDeviceStateRotationLockSettingsManager.class,
145 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(false); in createHeader_faceDetectionSupported_switchBarIsEnabled()
155 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in createHeader_deviceStateRotationSupported_switchBarIsDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceControllerTest.java29 import com.android.settings.testutils.shadow.ShadowDeviceStateRotationLockSettingsManager;
59 ShadowDeviceStateRotationLockSettingsManager.class
71 ShadowDeviceStateRotationLockSettingsManager.class
75 ShadowDeviceStateRotationLockSettingsManager.setDeviceStateRotationLockEnabled(true); in getAvailabilityStatus_deviceStateRotationEnabled_returnsUnsupported()
84 ShadowDeviceStateRotationLockSettingsManager.class
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDeviceStateRotationLockSettingsManager.java27 public class ShadowDeviceStateRotationLockSettingsManager { class