/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | WalletPrivacyPreferenceControllerTest.java | 51 private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_WALLET; field in WalletPrivacyPreferenceControllerTest 86 Settings.Secure.putInt(mContentResolver, SETTING_KEY, 1); in isChecked_SettingIs1_returnTrue() 93 Settings.Secure.putInt(mContentResolver, SETTING_KEY, 0); in isChecked_SettingIs0_returnFalse() 100 Settings.Secure.putString(mContentResolver, SETTING_KEY, null); in isChecked_SettingIsNotSet_returnFalse() 109 assertThat(Settings.Secure.getInt(mContentResolver, SETTING_KEY, 0)).isNotEqualTo(0); in setChecked_true_SettingIsNot0() 116 assertThat(Settings.Secure.getInt(mContentResolver, SETTING_KEY, 0)).isEqualTo(0); in setChecked_false_SettingIs0()
|
D | ControlsPrivacyPreferenceControllerTest.java | 53 private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_CONTROLS; field in ControlsPrivacyPreferenceControllerTest 82 Settings.Secure.putInt(mContentResolver, SETTING_KEY, 1); in isChecked_SettingIs1_returnTrue() 89 Settings.Secure.putInt(mContentResolver, SETTING_KEY, 0); in isChecked_SettingIs0_returnFalse() 96 Settings.Secure.putString(mContentResolver, SETTING_KEY, null); in isChecked_SettingIsNotSet_returnFalse() 105 assertThat(Settings.Secure.getInt(mContentResolver, SETTING_KEY, 0)).isNotEqualTo(0); in setChecked_true_SettingIsNot0() 112 assertThat(Settings.Secure.getInt(mContentResolver, SETTING_KEY, 0)).isEqualTo(0); in setChecked_false_SettingIs0()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | FakeSliderController.java | 30 private static final String SETTING_KEY = "fake_slider_key"; field in FakeSliderController 38 return Settings.System.getInt(mContext.getContentResolver(), SETTING_KEY, 0); in getSliderPosition() 43 return Settings.System.putInt(mContext.getContentResolver(), SETTING_KEY, position); in setSliderPosition()
|
D | FakeToggleController.java | 34 private static final String SETTING_KEY = "toggle_key"; field in FakeToggleController 48 SETTING_KEY, OFF) == ON; in isChecked() 53 return Settings.System.putInt(mContext.getContentResolver(), SETTING_KEY, in setChecked()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | FakeSliderController.java | 29 private static final String SETTING_KEY = "fake_slider_key"; field in FakeSliderController 37 return Settings.System.getInt(mContext.getContentResolver(), SETTING_KEY, 0); in getSliderPosition() 42 return Settings.System.putInt(mContext.getContentResolver(), SETTING_KEY, position); in setSliderPosition()
|
D | FakeToggleController.java | 34 private static final String SETTING_KEY = "toggle_key"; field in FakeToggleController 48 SETTING_KEY, OFF) == ON; in isChecked() 53 return Settings.System.putInt(mContext.getContentResolver(), SETTING_KEY, in setChecked()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ControlsPrivacyPreferenceController.java | 36 private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_CONTROLS; field in ControlsPrivacyPreferenceController 44 return Settings.Secure.getInt(mContext.getContentResolver(), SETTING_KEY, 0) != 0; in isChecked() 49 return Settings.Secure.putInt(mContext.getContentResolver(), SETTING_KEY, in setChecked()
|
D | WalletPrivacyPreferenceController.java | 37 private static final String SETTING_KEY = Settings.Secure.LOCKSCREEN_SHOW_WALLET; field in WalletPrivacyPreferenceController 47 return Settings.Secure.getInt(mContext.getContentResolver(), SETTING_KEY, 0) != 0; in isChecked() 52 return Settings.Secure.putInt(mContext.getContentResolver(), SETTING_KEY, in setChecked()
|