Home
last modified time | relevance | path

Searched refs:SETTING_KEY (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperTest.java67 private static final String SETTING_KEY = "setting_key"; field in SettingsHelperTest
115 when(mSettingsHelper.isReplacedSystemSetting(eq(SETTING_KEY))).thenReturn(true); in testOnBackupValue_settingReplaced_returnsRealValue()
117 eq(SETTING_KEY)); in testOnBackupValue_settingReplaced_returnsRealValue()
119 assertEquals(SETTING_REAL_VALUE, mSettingsHelper.onBackupValue(SETTING_KEY, SETTING_VALUE)); in testOnBackupValue_settingReplaced_returnsRealValue()
124 when(mSettingsHelper.isReplacedSystemSetting(eq(SETTING_KEY))).thenReturn(false); in testGetRealValue_settingNotReplaced_returnsSameValue()
126 assertEquals(SETTING_VALUE, mSettingsHelper.onBackupValue(SETTING_KEY, SETTING_VALUE)); in testGetRealValue_settingNotReplaced_returnsSameValue()
131 when(mSettingsHelper.isReplacedSystemSetting(eq(SETTING_KEY))).thenReturn(true); in testRestoreValue_settingReplaced_doesNotRestore()
133 SETTING_KEY, SETTING_VALUE, /* restoredFromSdkInt */ 0); in testRestoreValue_settingReplaced_doesNotRestore()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/data/repository/
DStickyKeysRepository.kt74 .boolSettingForActiveUser(SETTING_KEY, defaultValue = false)
97 const val SETTING_KEY = Settings.Secure.ACCESSIBILITY_STICKY_KEYS constant
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java65 public static final String SETTING_KEY = "lockscreen_show_wallet"; field in QuickAccessWalletClientImpl
107 return checkSecureSetting(SETTING_KEY); in isWalletFeatureAvailableWhenDeviceLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DQuickAccessWalletController.java355 QuickAccessWalletClientImpl.SETTING_KEY, in setupWalletPreferenceObserver()