Home
last modified time | relevance | path

Searched refs:mRotationPolicyWrapper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRotationLockControllerImplTest.java47 @Mock RotationPolicyWrapper mRotationPolicyWrapper; field in RotationLockControllerImplTest
84 verify(mRotationPolicyWrapper) in captureRotationPolicyListener()
95 mRotationPolicyWrapper, in createRotationLockController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingController.java50 private final RotationPolicyWrapper mRotationPolicyWrapper; field in DeviceStateRotationLockSettingController
72 mRotationPolicyWrapper = rotationPolicyWrapper; in DeviceStateRotationLockSettingController()
145 boolean isLocked = mRotationPolicyWrapper.isRotationLocked(); in readPersistedSetting()
163 mRotationPolicyWrapper.setRotationLock(shouldBeLocked, in readPersistedSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java91 RotationPolicyWrapper mRotationPolicyWrapper; field in RotationLockTileTest
111 mController = new RotationLockControllerImpl(mRotationPolicyWrapper, in setUp()
270 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(false); in enableAutoRotation()
274 when(mRotationPolicyWrapper.isRotationLocked()).thenReturn(true); in disableAutoRotation()
278 when(mRotationPolicyWrapper.isCameraRotationEnabled()).thenReturn(true); in enableCameraBasedRotation()
282 when(mRotationPolicyWrapper.isCameraRotationEnabled()).thenReturn(false); in disableCameraBasedRotation()