Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java110 private SensorEventListener mOrientationSensorListener; field in DisplayRotationTests
277 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()