Searched refs:sMockWm (Results 1 – 1 of 1) sorted by relevance
120 private static WindowManagerService sMockWm; field in DisplayRotationTests154 sMockWm = mock(WindowManagerService.class); in setUpOnce()155 sMockWm.mPowerManagerInternal = mock(PowerManagerInternal.class); in setUpOnce()156 sMockWm.mPolicy = mock(WindowManagerPolicy.class); in setUpOnce()162 sMockWm = null; in tearDownOnce()661 clearInvocations(sMockWm); in testUpdatesRotationWhenSensorUpdates_RotationThawed()665 verify(sMockWm).updateRotation(false, false); in testUpdatesRotationWhenSensorUpdates_RotationThawed()706 clearInvocations(sMockWm); in testNotifiesChoiceWhenSensorUpdates_immersiveApp()713 verify(sMockWm).updateRotation(false, false); in testNotifiesChoiceWhenSensorUpdates_immersiveApp()905 final RotationWatcherController controller = new RotationWatcherController(sMockWm) { in testProposedRotationListener()[all …]