Home
last modified time | relevance | path

Searched defs:ON (Results 1 – 25 of 82) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DPoliteNotifWorkProfileToggleControllerTest.java119 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in isChecked_coolDownEnabled_enabledForWorkProfile_shouldReturnTrue() local
130 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in isChecked_coolDownDisabled_enabledForWorkProfile_shouldReturnFalse() local
152 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in setChecked_coolDownEnabled_setTrue_shouldEnablePoliteNotifForWorkProfile() local
160 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in setChecked_coolDownEnabled_setFalse_shouldDisablePoliteNotifForWorkProfile() local
164 Settings.System.NOTIFICATION_COOLDOWN_ENABLED, ON, in setChecked_coolDownEnabled_setFalse_shouldDisablePoliteNotifForWorkProfile() local
DBadgingNotificationPreferenceControllerTest.java98 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, ON); in updateState_preferenceSetCheckedWhenSettingIsOn() local
129 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in isChecked_settingIsOn_shouldReturnTrue() local
136 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in setChecked_setFalse_disablesSetting() local
DSnoozeNotificationPreferenceControllerTest.java84 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, ON); in isChecked_settingIsOn_shouldReturnTrue() local
91 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, ON); in setChecked_setFalse_disablesSetting() local
DShowOnlyUnseenNotificationsOnLockscreenPreferenceControllerTest.java94 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, ON); in isChecked_settingIsOn_shouldReturnTrue() local
102 LOCK_SCREEN_SHOW_ONLY_UNSEEN_NOTIFICATIONS, ON); in setChecked_setFalse_disablesSetting() local
DBubbleNotificationPreferenceControllerTest.java124 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in onSwitchChanged_false_settingIsOn_flagShouldOff() local
134 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in setChecked_setFalse_disablesSetting() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DMagnificationOneFingerPanningPreferenceControllerTest.java121 Settings.Secure.putInt(mContext.getContentResolver(), ONE_FINGER_PANNING_KEY, ON); in isChecked_settingsOn_returnTrue() local
148 Settings.Secure.putInt(mContext.getContentResolver(), ONE_FINGER_PANNING_KEY, ON); in getSummary_switchModeAndSettingsOn_enabledSummaryTextUsed() local
180 Settings.Secure.putInt(mContext.getContentResolver(), ONE_FINGER_PANNING_KEY, ON); in performClick_settingsOn_toggleOff() local
DKeyboardStickyKeyPreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_STICKY_KEYS, ON); in isChecked_enableStickyKey_onResumeShouldReturnTrue() local
106 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_STICKY_KEYS, ON); in performClick_disableStickyKey_shouldReturnFalse() local
DKeyboardBounceKeyPreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_BOUNCE_KEYS, ON); in isChecked_enableBounceKey_onResumeShouldReturnTrue() local
106 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_BOUNCE_KEYS, ON); in performClick_disableBounceKey_shouldReturnFalse() local
DKeyboardSlowKeyPreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_SLOW_KEYS, ON); in isChecked_enableSlowKey_onResumeShouldReturnTrue() local
106 Settings.Secure.putInt(mContext.getContentResolver(), KEY_ACCESSIBILITY_SLOW_KEYS, ON); in performClick_disableSlowKey_shouldReturnFalse() local
DAudioDescriptionPreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), KEY_AUDIO_DESCRIPTION, ON); in isChecked_enableAudioDescription_onResumeShouldReturnTrue() local
106 Settings.Secure.putInt(mContext.getContentResolver(), KEY_AUDIO_DESCRIPTION, ON); in performClick_disableAudioDescription_shouldReturnFalse() local
DToggleColorInversionPreferenceFragmentTest.java105 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onResume_colorCorrectEnabled_shouldReturnTrue() local
129 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips() local
161 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView() local
DToggleDaltonizerPreferenceFragmentTest.java128 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onResume_colorCorrectEnabled_shouldReturnTrue() local
152 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips() local
184 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView() local
DCaptioningTogglePreferenceControllerTest.java86 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in displayPreference_captionEnabled_shouldSetChecked() local
106 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in performClick_captionEnabled_shouldSetCaptionDisabled() local
DVibrationPreferenceControllerTest.java53 private static final int ON = 1; field in VibrationPreferenceControllerTest
107 Settings.System.putInt(mContext.getContentResolver(), Settings.System.VIBRATE_ON, ON); in getSummary_vibrateSettingOn_returnsOnText() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java46 private static final int ON = 1; field in BatteryManagerPreferenceControllerTest
82 Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, ON); in updateState_smartBatteryWithoutRestriction_showSummary() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceControllerTest.java55 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, ON, UserHandle.USER_CURRENT); in isChecked_enabledShortcutOnLockScreen_shouldReturnTrue() local
89 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, ON, in setChecked_setFalse_shouldDisableShortcutOnLockScreen() local
DReduceBrightColorsPersistencePreferenceControllerTest.java36 private static final int ON = 1; field in ReduceBrightColorsPersistencePreferenceControllerTest
47 Settings.Secure.putInt(mContext.getContentResolver(), RBC_PERSIST, ON); in isChecked_enabledRbc_shouldReturnTrue() local
DFontWeightAdjustmentPreferenceControllerTest.java40 private static final int ON = FontWeightAdjustmentPreferenceController.BOLD_TEXT_ADJUSTMENT; field in FontWeightAdjustmentPreferenceControllerTest
69 Settings.Secure.FONT_WEIGHT_ADJUSTMENT, ON); in isChecked_enabledBoldText_shouldReturnTrue() local
DPrimaryMonoPreferenceControllerTest.java38 private static final int ON = 1; field in PrimaryMonoPreferenceControllerTest
62 Settings.System.MASTER_MONO, ON, UserHandle.USER_CURRENT); in isChecked_enabledMonoAudio_shouldReturnTrue() local
DHighTextContrastPreferenceControllerTest.java44 private static final int ON = 1; field in HighTextContrastPreferenceControllerTest
76 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, ON); in isChecked_enabledTextContrast_shouldReturnTrue() local
/packages/services/Car/car-lib/src/android/car/
DVehicleLightState.java32 public static final int ON = 1; field in VehicleLightState
DVehicleLightSwitch.java32 public static final int ON = 1; field in VehicleLightSwitch
/packages/services/Car/car-lib/src/android/car/hardware/property/
DWindshieldWipersState.java58 public static final int ON = 2; field in WindshieldWipersState
/packages/apps/Settings/src/com/android/settings/notification/
DPoliteNotificationGlobalPreferenceController.java30 public static final int ON = 1; field in PoliteNotificationGlobalPreferenceController
/packages/apps/Settings/src/com/android/settings/accessibility/
DLargePointerIconPreferenceController.java30 static final int ON = 1; field in LargePointerIconPreferenceController

1234