Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DDaltonizerPreferenceControllerTest.java35 private static final int ON = 1; field in DaltonizerPreferenceControllerTest
50 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in getSummary_enabledColorCorrection_shouldReturnOnSummary() 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.java99 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onResume_colorCorrectEnabled_shouldReturnTrue() local
123 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips() local
154 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, ON); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView() local
DMagnificationGesturesPreferenceControllerTest.java64 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); in updateState_shouldRefreshSummary() local
88 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); in isChecked_enabled() local
DToggleDaltonizerPreferenceFragmentTest.java122 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onResume_colorCorrectEnabled_shouldReturnTrue() local
146 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips() local
177 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView() local
DVibrationPreferenceControllerTest.java49 private static final int ON = 1; field in VibrationPreferenceControllerTest
101 Settings.System.putInt(mContext.getContentResolver(), Settings.System.VIBRATE_ON, ON); in getSummary_vibrateSettingOn_returnsOnText() local
DMagnificationNavbarPreferenceControllerTest.java89 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, ON); in updateState_shouldRefreshSummary() local
113 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, ON); in isChecked_enabled() local
DCaptioningPreferenceControllerTest.java58 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in getSummary_enabledCaptions_shouldReturnOnSummary() local
DAccessibilityUtilTest.java44 private static final int ON = 1; field in AccessibilityUtilTest
78 Settings.Secure.putInt(mContext.getContentResolver(), SECURE_TEST_KEY, ON); in getSummary_hasValueAndEqualsToOne_shouldReturnOnString() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
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.java120 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in onSwitchChanged_false_settingIsOn_flagShouldOff() local
130 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in setChecked_setFalse_disablesSetting() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
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
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
DFontWeightAdjustmentPreferenceControllerTest.java39 private static final int ON = FontWeightAdjustmentPreferenceController.BOLD_TEXT_ADJUSTMENT; field in FontWeightAdjustmentPreferenceControllerTest
63 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.java35 public static final int ON = 1; field in VehicleLightState
DVehicleLightSwitch.java35 public static final int ON = 1; field in VehicleLightSwitch
DVehicleIgnitionState.java67 public static final int ON = 4; field in VehicleIgnitionState
/packages/services/Car/car-lib/src/android/car/hardware/property/
DWindshieldWipersState.java65 public static final int ON = 2; field in WindshieldWipersState
/packages/apps/Settings/src/com/android/settings/notification/
DBubbleSummaryNotificationPreferenceController.java36 static final int ON = 1; field in BubbleSummaryNotificationPreferenceController
/packages/apps/Settings/src/com/android/settings/accessibility/
DLargePointerIconPreferenceController.java30 static final int ON = 1; field in LargePointerIconPreferenceController
/packages/apps/Settings/src/com/android/settings/notification/app/
DBubbleLinkPreferenceController.java32 static final int ON = 1; field in BubbleLinkPreferenceController

1234