Searched refs:ShadowRotationPolicy (Results 1 – 7 of 7) sorted by relevance
30 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})
25 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()
35 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()
43 import com.android.settings.testutils.shadow.ShadowRotationPolicy;135 ShadowRotationPolicy.class149 ShadowRotationPolicy.class171 ShadowRotationPolicy.setRotationSupported(true); in enableDeviceStateRotation()
40 import com.android.settings.testutils.shadow.ShadowRotationPolicy;158 @Config(shadows = {ShadowRotationPolicy.class})160 ShadowRotationPolicy.setRotationSupported(true); in testSetCheck()
50 import com.android.settings.testutils.shadow.ShadowRotationPolicy;69 ShadowRotationPolicy.class154 ShadowRotationPolicy.setRotationSupported(true); in createHeader_deviceStateRotationSupported_switchBarIsDisabled()
27 public class ShadowRotationPolicy { class