Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java20 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_LOCKED;
135 0, DEVICE_STATE_ROTATION_LOCK_UNLOCKED, 1, DEVICE_STATE_ROTATION_LOCK_LOCKED); in whenDeviceStateSwitched_loadCorrectSetting()
160 1, DEVICE_STATE_ROTATION_LOCK_LOCKED, in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()
173 0, DEVICE_STATE_ROTATION_LOCK_LOCKED, 1, DEVICE_STATE_ROTATION_LOCK_UNLOCKED); in whenUserChangesSetting_saveSettingForCurrentState()
235 0, DEVICE_STATE_ROTATION_LOCK_LOCKED, 1, DEVICE_STATE_ROTATION_LOCK_UNLOCKED); in whenSettingsChangedExternally_updateRotationPolicy()
243 0, DEVICE_STATE_ROTATION_LOCK_LOCKED, in onRotationLockStateChanged_newSettingIsPersisted()
263 0, DEVICE_STATE_ROTATION_LOCK_LOCKED, in onRotationLockStateChanged_deviceStateIsIgnored_newSettingIsPersistedToFallback()
284 0, DEVICE_STATE_ROTATION_LOCK_LOCKED, in onRotationLockStateChange_stateIgnored_noFallback_settingIsPersistedToPrevious()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerLogger.kt21 import android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_LOCKED
137 DEVICE_STATE_ROTATION_LOCK_LOCKED -> "LOCKED" in toRotationLockSettingString()
DDeviceStateRotationLockSettingController.java20 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_LOCKED;
144 boolean shouldBeLocked = rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_LOCKED; in readPersistedSetting()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java20 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_LOCKED;
147 ? DEVICE_STATE_ROTATION_LOCK_LOCKED in updateSetting()
187 return getRotationLockSetting(deviceState) == DEVICE_STATE_ROTATION_LOCK_LOCKED; in isRotationLocked()
/frameworks/base/core/java/android/provider/
DSettings.java12380 public static final int DEVICE_STATE_ROTATION_LOCK_LOCKED = 1; field in Settings.Secure
12394 DEVICE_STATE_ROTATION_LOCK_LOCKED,