Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationTests.java164 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testLocksUserRotation_LockRotation_DefaultDisplay()
179 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
192 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistUserRotation_UnlockRotation_DefaultDisplay()
204 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
H A DDisplayWindowSettingsTests.java266 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, rotation.getUserRotationMode()); in testDefaultToFreeUserRotation()
348 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation.getUserRotationMode()); in testSetUserRotationMode()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotation.java943 public int getUserRotationMode() { in getUserRotationMode() method in DisplayRotation
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java5303 proto.write(ROTATION_MODE, mDefaultDisplayRotation.getUserRotationMode()); in dumpDebug()
/aosp12/frameworks/base/services/
H A Dart-profile46209 PLcom/android/server/wm/DisplayRotation;->getUserRotationMode()I