Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationTests.java137 private SensorEventListener mOrientationSensorListener; field in DisplayRotationTests
359 mOrientationSensorListener = listenerCaptor.getValue(); in verifyOrientationListenerRegistration()
511 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed()
529 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReverseRotation()
537 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testReverseRotation()
585 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed()
600 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testNotifiesChoiceWhenSensorUpdates_RotationLocked()
684 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testAllowAllRotations_allowAllRotationsBecomesDisabled_forbidsUpsideDownSuggestion()
842 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testProposedRotationListener()
860 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_0)); in testUpdatesRotationWhenSensorUpdates_RotationLocked_HalfFolded()
[all …]