Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java19 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED;
166 devicePosture, /* valueIfKeyNotFound= */ DEVICE_STATE_ROTATION_LOCK_IGNORED); in getRotationLockSetting()
167 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in getRotationLockSetting()
177 return DEVICE_STATE_ROTATION_LOCK_IGNORED; in getFallbackRotationLockSetting()
181 /* valueIfKeyNotFound= */ DEVICE_STATE_ROTATION_LOCK_IGNORED); in getFallbackRotationLockSetting()
232 boolean isPersistedValueIgnored = value == DEVICE_STATE_ROTATION_LOCK_IGNORED; in initializeInMemoryMap()
234 == DEVICE_STATE_ROTATION_LOCK_IGNORED; in initializeInMemoryMap()
319 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in loadDefaults()
330 boolean isSettable = rotationLockSetting != DEVICE_STATE_ROTATION_LOCK_IGNORED; in loadDefaults()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java19 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED;
161 2, DEVICE_STATE_ROTATION_LOCK_IGNORED); in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()
203 8, DEVICE_STATE_ROTATION_LOCK_IGNORED, 1, DEVICE_STATE_ROTATION_LOCK_UNLOCKED); in whenDeviceStateSwitchedToIgnoredState_noFallback_newSettingsSaveForPreviousState()
265 2, DEVICE_STATE_ROTATION_LOCK_IGNORED); in onRotationLockStateChanged_deviceStateIsIgnored_newSettingIsPersistedToFallback()
286 8, DEVICE_STATE_ROTATION_LOCK_IGNORED); in onRotationLockStateChange_stateIgnored_noFallback_settingIsPersistedToPrevious()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerLogger.kt20 import android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED
136 DEVICE_STATE_ROTATION_LOCK_IGNORED -> "IGNORED" in toRotationLockSettingString()
DDeviceStateRotationLockSettingController.java19 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED;
149 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in readPersistedSetting()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSecureSettingsValidators.java376 Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED, in VALIDATORS.put()
/frameworks/base/core/java/android/provider/
DSettings.java12375 public static final int DEVICE_STATE_ROTATION_LOCK_IGNORED = 0; field in Settings.Secure
12393 DEVICE_STATE_ROTATION_LOCK_IGNORED,