Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DDeviceStateRotationLockSettingControllerTest.java19 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED;
160 2, DEVICE_STATE_ROTATION_LOCK_IGNORED); in whenDeviceStateSwitched_ignoredSetting_fallbackValueChanges_usesFallbackValue()
202 8, DEVICE_STATE_ROTATION_LOCK_IGNORED, 1, DEVICE_STATE_ROTATION_LOCK_UNLOCKED); in whenDeviceStateSwitchedToIgnoredState_noFallback_newSettingsSaveForPreviousState()
264 2, DEVICE_STATE_ROTATION_LOCK_IGNORED); in onRotationLockStateChanged_deviceStateIsIgnored_newSettingIsPersistedToFallback()
285 8, DEVICE_STATE_ROTATION_LOCK_IGNORED); in onRotationLockStateChange_stateIgnored_noFallback_settingIsPersistedToPrevious()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceStateRotationLockSettingControllerLogger.kt20 import android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED
136 DEVICE_STATE_ROTATION_LOCK_IGNORED -> "IGNORED"
H A DDeviceStateRotationLockSettingController.java19 import static android.provider.Settings.Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED;
148 if (rotationLockSetting == DEVICE_STATE_ROTATION_LOCK_IGNORED) { in readPersistedSetting()
/aosp14/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
H A DSecureSettingsValidators.java353 Secure.DEVICE_STATE_ROTATION_LOCK_IGNORED, in VALIDATORS.put()
/aosp14/frameworks/base/core/java/android/provider/
H A DSettings.java11575 public static final int DEVICE_STATE_ROTATION_LOCK_IGNORED = 0; field in Settings.Secure
11593 DEVICE_STATE_ROTATION_LOCK_IGNORED,