Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DLockScreenRotationPreferenceControllerTest.java30 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
58 ShadowRotationPolicy.class,
62 ShadowRotationPolicy.setRotationSupported(true /* supported */); in getAvailabilityStatus_supportedRotation_shouldReturnAvailable()
70 ShadowRotationPolicy.class,
74 ShadowRotationPolicy.setRotationSupported(true /* supported */); in getAvailabilityStatus_deviceStateRotationEnabled_returnsUnsupported()
83 ShadowRotationPolicy.class,
86 ShadowRotationPolicy.setRotationSupported(false /* supported */); in getAvailabilityStatus_unsupportedRotation_shouldReturnUnsupportedOnDevice()
93 @Config(shadows = {ShadowRotationPolicy.class})
102 @Config(shadows = {ShadowRotationPolicy.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDeviceStateAutoRotateOverviewControllerTest.java25 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
34 @Config(shadows = {ShadowRotationPolicy.class, ShadowDeviceStateRotationLockSettingsManager.class})
43 ShadowRotationPolicy.setRotationSupported(true); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable()
53 ShadowRotationPolicy.setRotationSupported(false); in getAvailabilityStatus_rotationNotSupported_returnsUnsupportedOnDevice()
63 ShadowRotationPolicy.setRotationSupported(true); in getAvailabilityStatus_deviceStateRotationNotSupported_returnsUnsupportedOnDevice()
DDeviceStateAutoRotateSettingControllerTest.java35 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
54 ShadowRotationPolicy.class,
99 ShadowRotationPolicy.setRotationSupported(true); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable()
109 ShadowRotationPolicy.setRotationSupported(true); in getAvailabilityStatus_deviceStateRotationDisabled_returnsUnsupported()
119 ShadowRotationPolicy.setRotationSupported(false); in getAvailabilityStatus_rotationDisabled_returnsUnsupported()
DSmartAutoRotateControllerTest.java43 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
135 ShadowRotationPolicy.class
149 ShadowRotationPolicy.class
171 ShadowRotationPolicy.setRotationSupported(true); in enableDeviceStateRotation()
DAutoRotatePreferenceControllerTest.java40 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
158 @Config(shadows = {ShadowRotationPolicy.class})
160 ShadowRotationPolicy.setRotationSupported(true); in testSetCheck()
DSmartAutoRotatePreferenceFragmentTest.java50 import com.android.settings.testutils.shadow.ShadowRotationPolicy;
69 ShadowRotationPolicy.class
154 ShadowRotationPolicy.setRotationSupported(true); in createHeader_deviceStateRotationSupported_switchBarIsDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRotationPolicy.java27 public class ShadowRotationPolicy { class