Home
last modified time | relevance | path

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

12345

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DOneHandedSettingsUtilsTest.java35 private static final int OFF = 0; field in OneHandedSettingsUtilsTest
54 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(ON); in setOneHandedModeEnabled_setEnable_shouldReturnEnabled() local
62 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(OFF); in setOneHandedModeEnabled_setDisable_shouldReturnDisabled() local
70 Settings.Secure.TAPS_APP_TO_EXIT, OFF, mCurrentUserId)).isEqualTo(ON); in setTapsAppToExitEnabled_setEnable_shouldReturnEnabled() local
78 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.java92 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in display_configSet_showDisplay() local
109 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
137 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, OFF); in setChecked_setTrue_enablesSetting() local
DBubbleNotificationPreferenceControllerTest.java99 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in updateState_settingIsOff_preferenceSetUnchecked() local
110 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in onSwitchChanged_true_settingIsOff_flagShouldOn() local
141 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
DLockscreenNotificationMinimalismPreferenceControllerTest.java70 static final int OFF = 0; field in LockscreenNotificationMinimalismPreferenceControllerTest
118 LOCK_SCREEN_NOTIFICATION_MINIMALISM, OFF); in isChecked_settingIsOff_shouldReturnFalse() 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.java140 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, OFF, in isChecked_coolDownEnabled_disabledForWorkProfile_shouldReturnFalse() local
160 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
DHardwareShortcutFromLockscreenPreferenceControllerTest.java87 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in isChecked_disabledShortcutOnLockScreen_shouldReturnFalse() local
101 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in setChecked_setTrue_shouldEnableShortcutOnLockScreen() 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.java53 private static final int OFF = 0; field in VibrationPreferenceControllerTest
118 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_defaultSummaryTextUsed() local
/packages/apps/Settings/tests/componenttests/src/com/android/settings/network/
DAirplaneModePreferenceControllerComponentTest.java41 private static final int OFF = 0; field in AirplaneModePreferenceControllerComponentTest
53 Settings.Global.AIRPLANE_MODE_ON, OFF); in setUp() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DReduceBrightColorsPersistencePreferenceControllerTest.java38 private static final int OFF = 0; field in ReduceBrightColorsPersistencePreferenceControllerTest
60 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
DVehicleIgnitionState.java53 public static final int OFF = 2; field in VehicleIgnitionState
/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.java30 public static final int OFF = 0; field in PoliteNotificationGlobalPreferenceController
DLockscreenNotificationMinimalismPreferenceController.java37 static final int OFF = 0; field in LockscreenNotificationMinimalismPreferenceController
DSnoozeNotificationPreferenceController.java35 static final int OFF = 0; field in SnoozeNotificationPreferenceController

12345