| /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
| D | OneHandedSettingsUtilsTest.java | 34 private static final int OFF = 0; field in OneHandedSettingsUtilsTest 53 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(ON); in setOneHandedModeEnabled_setEnable_shouldReturnEnabled() local 61 Settings.Secure.ONE_HANDED_MODE_ENABLED, OFF, mCurrentUserId)).isEqualTo(OFF); in setOneHandedModeEnabled_setDisable_shouldReturnDisabled() local 69 Settings.Secure.TAPS_APP_TO_EXIT, OFF, mCurrentUserId)).isEqualTo(ON); in setTapsAppToExitEnabled_setEnable_shouldReturnEnabled() local 77 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/ |
| D | ShowOnlyUnseenNotificationsOnLockscreenPreferenceControllerTest.java | 78 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
|
| D | BubbleNotificationPreferenceControllerTest.java | 99 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
|
| D | BadgingNotificationPreferenceControllerTest.java | 111 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
|
| D | SnoozeNotificationPreferenceControllerTest.java | 77 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
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
| D | DaltonizerPreferenceControllerTest.java | 36 private static final int OFF = 0; field in DaltonizerPreferenceControllerTest 59 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, OFF); in getSummary_disabledColorCorrection_shouldReturnOffSummary() local
|
| D | MagnificationJoystickPreferenceControllerTest.java | 80 Settings.Secure.putInt(mContext.getContentResolver(), KEY_JOYSTICK, OFF); in isChecked_disableJoystick_onResumeShouldReturnFalse() local 100 Settings.Secure.putInt(mContext.getContentResolver(), KEY_JOYSTICK, OFF); in updateState_disableJoystick_shouldReturnFalse() local
|
| D | MagnificationAlwaysOnPreferenceControllerTest.java | 80 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ALWAYS_ON, OFF); in isChecked_disableAlwaysOn_onResumeShouldReturnFalse() local 100 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ALWAYS_ON, OFF); in updateState_disableAlwaysOn_shouldReturnFalse() local
|
| D | MagnificationFollowTypingPreferenceControllerTest.java | 80 Settings.Secure.putInt(mContext.getContentResolver(), KEY_FOLLOW_TYPING, OFF); in isChecked_disableFollowTyping_onResumeShouldReturnFalse() local 100 Settings.Secure.putInt(mContext.getContentResolver(), KEY_FOLLOW_TYPING, OFF); in updateState_disableFollowTyping_shouldReturnFalse() local
|
| D | AudioDescriptionPreferenceControllerTest.java | 73 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
|
| D | MagnificationGesturesPreferenceControllerTest.java | 70 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); in updateState_shouldRefreshSummary() local 96 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); in isChecked_disabled() local
|
| D | VibrationPreferenceControllerTest.java | 48 private static final int OFF = 0; field in VibrationPreferenceControllerTest 112 Settings.System.putInt(mContext.getContentResolver(), Settings.System.VIBRATE_ON, OFF); in getSummary_vibrateSettingOff_returnsOffText() local
|
| D | MagnificationNavbarPreferenceControllerTest.java | 95 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); in updateState_shouldRefreshSummary() local 121 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); in isChecked_disabled() local
|
| D | CaptioningPreferenceControllerTest.java | 67 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, OFF); in getSummary_disabledCaptions_shouldReturnOffSummary() local
|
| /packages/apps/Settings/tests/componenttests/src/com/android/settings/network/ |
| D | AirplaneModePreferenceControllerComponentTest.java | 42 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/ |
| D | ReduceBrightColorsPersistencePreferenceControllerTest.java | 37 private static final int OFF = 0; field in ReduceBrightColorsPersistencePreferenceControllerTest 57 Settings.Secure.putInt(mContext.getContentResolver(), RBC_PERSIST, OFF); in isChecked_disabledRbc_shouldReturnFalse() local
|
| D | AccessibilityShortcutPreferenceControllerTest.java | 66 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
|
| D | FontWeightAdjustmentPreferenceControllerTest.java | 40 private static final int OFF = 0; field in FontWeightAdjustmentPreferenceControllerTest 74 Settings.Secure.FONT_WEIGHT_ADJUSTMENT, OFF); in isChecked_disabledBoldText_shouldReturnFalse() local
|
| D | PrimaryMonoPreferenceControllerTest.java | 39 private static final int OFF = 0; field in PrimaryMonoPreferenceControllerTest 73 Settings.System.MASTER_MONO, OFF, UserHandle.USER_CURRENT); in isChecked_disabledMonoAudio_shouldReturnFalse() local
|
| D | HighTextContrastPreferenceControllerTest.java | 45 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/ |
| D | VehicleLightState.java | 33 public static final int OFF = 0; field in VehicleLightState
|
| D | VehicleLightSwitch.java | 33 public static final int OFF = 0; field in VehicleLightSwitch
|
| D | VehicleIgnitionState.java | 53 public static final int OFF = 2; field in VehicleIgnitionState
|
| /packages/services/Car/car-lib/src/android/car/hardware/property/ |
| D | WindshieldWipersState.java | 55 public static final int OFF = 1; field in WindshieldWipersState
|
| /packages/apps/Settings/src/com/android/settings/accessibility/ |
| D | LargePointerIconPreferenceController.java | 32 static final int OFF = 0; field in LargePointerIconPreferenceController
|