Home
last modified time | relevance | path

Searched defs:OFF (Results 1 – 25 of 96) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DOneHandedSettingsUtilsTest.java42 private static final int OFF = 0; field in OneHandedSettingsUtilsTest
61 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(ON); in setOneHandedModeEnabled_setEnable_shouldReturnEnabled() local
69 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(OFF); in setOneHandedModeEnabled_setDisable_shouldReturnDisabled() local
77 Settings.Secure.TAPS_APP_TO_EXIT, OFF, mCurrentUserId)).isEqualTo(ON); in setTapsAppToExitEnabled_setEnable_shouldReturnEnabled() local
85 Settings.Secure.TAPS_APP_TO_EXIT, OFF, mCurrentUserId)).isEqualTo(OFF); in setTapsAppToExitEnabled_setDisable_shouldReturnDisabled() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DShowOnlyUnseenNotificationsOnLockscreenPreferenceControllerTest.java78 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in display_configSet_showDisplay() local
86 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
114 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in setChecked_setTrue_enablesSetting() local
DBubbleNotificationPreferenceControllerTest.java103 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in updateState_settingIsOff_preferenceSetUnchecked() local
114 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in onSwitchChanged_true_settingIsOff_flagShouldOn() local
145 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in setChecked_setTrue_enablesSetting() local
DBadgingNotificationPreferenceControllerTest.java111 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, OFF); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
122 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
147 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in setChecked_setTrue_enablesSetting() local
DSnoozeNotificationPreferenceControllerTest.java77 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
102 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, OFF); in setChecked_setTrue_enablesSetting() local
DPoliteNotifWorkProfileToggleControllerTest.java139 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, in isChecked_coolDownEnabled_disabledForWorkProfile_shouldReturnFalse() local
148 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningTogglePreferenceControllerTest.java74 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, OFF); in tearDown() local
96 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, OFF); in displayPreference_captionDisabled_shouldSetUnchecked() local
118 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, OFF); in performClick_captionDisabled_shouldSetCaptionEnabled() local
DKeyboardStickyKeyPreferenceControllerTest.java73 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_STICKY_KEYS, OFF); in isChecked_disableStickyKey_onResumeShouldReturnFalse() local
93 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_STICKY_KEYS, OFF); in performClick_enableStickyKey_shouldReturnTrue() local
DKeyboardBounceKeyPreferenceControllerTest.java73 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_BOUNCE_KEYS, OFF); in isChecked_disableBounceKey_onResumeShouldReturnFalse() local
93 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_BOUNCE_KEYS, OFF); in performClick_enableBounceKey_shouldReturnTrue() local
DKeyboardSlowKeyPreferenceControllerTest.java73 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_SLOW_KEYS, OFF); in isChecked_disableSlowKey_onResumeShouldReturnFalse() local
93 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_SLOW_KEYS, OFF); in performClick_enableSlowKey_shouldReturnTrue() local
DAudioDescriptionPreferenceControllerTest.java73 Settings.Secure.putInt(mContext.getContentResolver(), KEY_AUDIO_DESCRIPTION, OFF); in isChecked_disableAudioDescription_onResumeShouldReturnFalse() local
93 Settings.Secure.putInt(mContext.getContentResolver(), KEY_AUDIO_DESCRIPTION, OFF); in performClick_enableAudioDescription_shouldReturnTrue() local
DVibrationPreferenceControllerTest.java52 private static final int OFF = 0; field in VibrationPreferenceControllerTest
117 Settings.System.putInt(mContext.getContentResolver(), Settings.System.VIBRATE_ON, OFF); in getSummary_vibrateSettingOff_returnsOffText() local
DMagnificationOneFingerPanningPreferenceControllerTest.java129 Settings.Secure.putInt(mContext.getContentResolver(), ONE_FINGER_PANNING_KEY, OFF); in isChecked_settingsOff_returnFalse() local
138 Settings.Secure.putInt(mContext.getContentResolver(), ONE_FINGER_PANNING_KEY, OFF); in getSummary_switchModeAndSettingsOff_disabledSummaryTextUsed() local
/packages/apps/Settings/tests/componenttests/src/com/android/settings/network/
DAirplaneModePreferenceControllerComponentTest.java42 private static final int OFF = 0; field in AirplaneModePreferenceControllerComponentTest
54 Settings.Global.AIRPLANE_MODE_ON, OFF); in setUp() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceControllerTest.java66 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in isChecked_disabledShortcutOnLockScreen_shouldReturnFalse() local
80 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in setChecked_setTrue_shouldEnableShortcutOnLockScreen() local
DReduceBrightColorsPersistencePreferenceControllerTest.java37 private static final int OFF = 0; field in ReduceBrightColorsPersistencePreferenceControllerTest
57 Settings.Secure.putInt(mContext.getContentResolver(), RBC_PERSIST, OFF); in isChecked_disabledRbc_shouldReturnFalse() local
DFontWeightAdjustmentPreferenceControllerTest.java41 private static final int OFF = 0; field in FontWeightAdjustmentPreferenceControllerTest
80 Settings.Secure.FONT_WEIGHT_ADJUSTMENT, OFF); in isChecked_disabledBoldText_shouldReturnFalse() local
DPrimaryMonoPreferenceControllerTest.java39 private static final int OFF = 0; field in PrimaryMonoPreferenceControllerTest
73 Settings.System.MASTER_MONO, OFF, UserHandle.USER_CURRENT); in isChecked_disabledMonoAudio_shouldReturnFalse() local
DHighTextContrastPreferenceControllerTest.java45 private static final int OFF = 0; field in HighTextContrastPreferenceControllerTest
87 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, OFF); in isChecked_disabledTextContrast_shouldReturnFalse() local
/packages/services/Car/car-lib/src/android/car/
DVehicleLightState.java31 public static final int OFF = 0; field in VehicleLightState
DVehicleLightSwitch.java31 public static final int OFF = 0; field in VehicleLightSwitch
/packages/modules/DnsResolver/doh/
Dmetrics.rs38 const OFF: u32 = 1; constant
/packages/services/Car/car-lib/src/android/car/hardware/property/
DWindshieldWipersState.java50 public static final int OFF = 1; field in WindshieldWipersState
/packages/apps/Settings/src/com/android/settings/notification/
DPoliteNotificationGlobalPreferenceController.java31 public static final int OFF = 0; field in PoliteNotificationGlobalPreferenceController
/packages/apps/Settings/src/com/android/settings/accessibility/
DLargePointerIconPreferenceController.java32 static final int OFF = 0; field in LargePointerIconPreferenceController

1234