Searched refs:mMockDisplayPolicy (Results 1 – 1 of 1) sorted by relevance
96 private DisplayPolicy mMockDisplayPolicy; field in DisplayRotationTests288 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()289 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()290 when(mMockDisplayPolicy.isKeyguardDrawComplete()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()291 when(mMockDisplayPolicy.isWindowManagerDrawComplete()).thenReturn(true); in testNotEnablesSensor_AutoRotationNotSupported()303 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(false); in testNotEnablesSensor_ScreenNotOn()304 when(mMockDisplayPolicy.isAwake()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()305 when(mMockDisplayPolicy.isKeyguardDrawComplete()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()306 when(mMockDisplayPolicy.isWindowManagerDrawComplete()).thenReturn(true); in testNotEnablesSensor_ScreenNotOn()318 when(mMockDisplayPolicy.isScreenOnEarly()).thenReturn(true); in testNotEnablesSensor_NotAwake()[all …]