Searched refs:getRotationLockSetting (Results 1 – 3 of 3) sorted by relevance
158 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()
163 public int getRotationLockSetting(int deviceState) { in getRotationLockSetting() method in DeviceStateRotationLockSettingsManager187 return getRotationLockSetting(deviceState) == DEVICE_STATE_ROTATION_LOCK_LOCKED; in isRotationLocked()
143 mDeviceStateRotationLockSettingsManager.getRotationLockSetting(state); in readPersistedSetting()