Searched refs:SETTING_KEY (Results 1 – 4 of 4) sorted by relevance
67 private static final String SETTING_KEY = "setting_key"; field in SettingsHelperTest115 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()
74 .boolSettingForActiveUser(SETTING_KEY, defaultValue = false)97 const val SETTING_KEY = Settings.Secure.ACCESSIBILITY_STICKY_KEYS constant
65 public static final String SETTING_KEY = "lockscreen_show_wallet"; field in QuickAccessWalletClientImpl107 return checkSecureSetting(SETTING_KEY); in isWalletFeatureAvailableWhenDeviceLocked()
355 QuickAccessWalletClientImpl.SETTING_KEY, in setupWalletPreferenceObserver()