Searched refs:mOrientationSensorListener (Results 1 – 1 of 1) sorted by relevance
110 private SensorEventListener mOrientationSensorListener; field in DisplayRotationTests277 mOrientationSensorListener = listenerCaptor.getValue(); in verifyOrientationListenerRegistration()425 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed()446 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed()461 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testNotifiesChoiceWhenSensorUpdates_RotationLocked()476 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed()494 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsUserRotation_SensorEnabled_RotationLocked()