Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
DDeviceStateRotationLockSettingsManagerTest.java158 mExpect.that(manager.getRotationLockSetting(0)).isEqualTo(1); in persistedInvalidIgnoredState_returnsDefaults()
159 mExpect.that(manager.getRotationLockSetting(1)).isEqualTo(2); in persistedInvalidIgnoredState_returnsDefaults()
160 mExpect.that(manager.getRotationLockSetting(2)).isEqualTo(2); in persistedInvalidIgnoredState_returnsDefaults()
172 mExpect.that(manager.getRotationLockSetting(0)).isEqualTo(2); in persistedValidValues_returnsPersistedValues()
173 mExpect.that(manager.getRotationLockSetting(1)).isEqualTo(1); in persistedValidValues_returnsPersistedValues()
174 mExpect.that(manager.getRotationLockSetting(2)).isEqualTo(1); in persistedValidValues_returnsPersistedValues()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java163 public int getRotationLockSetting(int deviceState) { in getRotationLockSetting() method in DeviceStateRotationLockSettingsManager
187 return getRotationLockSetting(deviceState) == DEVICE_STATE_ROTATION_LOCK_LOCKED; in isRotationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingController.java143 mDeviceStateRotationLockSettingsManager.getRotationLockSetting(state); in readPersistedSetting()