Searched refs:mMockDisplayPolicy (Results 1 – 1 of 1) sorted by relevance
99 private DisplayPolicy mMockDisplayPolicy; field in DisplayRotationTests337 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()338 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()339 when(mMockDisplayPolicy.isKeyguardDrawComplete()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()340 when(mMockDisplayPolicy.isWindowManagerDrawComplete()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()352 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(false); in testNotEnablesSensor_ScreenNotOn()353 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()354 when(mMockDisplayPolicy.isKeyguardDrawComplete()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()355 when(mMockDisplayPolicy.isWindowManagerDrawComplete()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()367 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_NotAwake()[all …]