| /packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
| D | DaltonizerPreferenceControllerTest.java | 35 private static final int ON = 1; field in DaltonizerPreferenceControllerTest 50 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in getSummary_enabledColorCorrection_shouldReturnOnSummary() local
|
| D | AudioDescriptionPreferenceControllerTest.java | 83 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
|
| D | ToggleColorInversionPreferenceFragmentTest.java | 99 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
|
| D | MagnificationGesturesPreferenceControllerTest.java | 64 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); in updateState_shouldRefreshSummary() local 88 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); in isChecked_enabled() local
|
| D | ToggleDaltonizerPreferenceFragmentTest.java | 122 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
|
| D | VibrationPreferenceControllerTest.java | 49 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
|
| D | MagnificationNavbarPreferenceControllerTest.java | 89 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
|
| D | CaptioningPreferenceControllerTest.java | 58 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in getSummary_enabledCaptions_shouldReturnOnSummary() local
|
| D | AccessibilityUtilTest.java | 44 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/ |
| D | BadgingNotificationPreferenceControllerTest.java | 98 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
|
| D | SnoozeNotificationPreferenceControllerTest.java | 84 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
|
| D | ShowOnlyUnseenNotificationsOnLockscreenPreferenceControllerTest.java | 94 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
|
| D | BubbleNotificationPreferenceControllerTest.java | 120 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/ |
| D | ReduceBrightColorsPersistencePreferenceControllerTest.java | 36 private static final int ON = 1; field in ReduceBrightColorsPersistencePreferenceControllerTest 47 Settings.Secure.putInt(mContext.getContentResolver(), RBC_PERSIST, ON); in isChecked_enabledRbc_shouldReturnTrue() local
|
| D | AccessibilityShortcutPreferenceControllerTest.java | 55 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
|
| D | FontWeightAdjustmentPreferenceControllerTest.java | 39 private static final int ON = FontWeightAdjustmentPreferenceController.BOLD_TEXT_ADJUSTMENT; field in FontWeightAdjustmentPreferenceControllerTest 63 Settings.Secure.FONT_WEIGHT_ADJUSTMENT, ON); in isChecked_enabledBoldText_shouldReturnTrue() local
|
| D | PrimaryMonoPreferenceControllerTest.java | 38 private static final int ON = 1; field in PrimaryMonoPreferenceControllerTest 62 Settings.System.MASTER_MONO, ON, UserHandle.USER_CURRENT); in isChecked_enabledMonoAudio_shouldReturnTrue() local
|
| D | HighTextContrastPreferenceControllerTest.java | 44 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/ |
| D | VehicleLightState.java | 35 public static final int ON = 1; field in VehicleLightState
|
| D | VehicleLightSwitch.java | 35 public static final int ON = 1; field in VehicleLightSwitch
|
| D | VehicleIgnitionState.java | 67 public static final int ON = 4; field in VehicleIgnitionState
|
| /packages/services/Car/car-lib/src/android/car/hardware/property/ |
| D | WindshieldWipersState.java | 65 public static final int ON = 2; field in WindshieldWipersState
|
| /packages/apps/Settings/src/com/android/settings/notification/ |
| D | BubbleSummaryNotificationPreferenceController.java | 36 static final int ON = 1; field in BubbleSummaryNotificationPreferenceController
|
| /packages/apps/Settings/src/com/android/settings/accessibility/ |
| D | LargePointerIconPreferenceController.java | 30 static final int ON = 1; field in LargePointerIconPreferenceController
|
| /packages/apps/Settings/src/com/android/settings/notification/app/ |
| D | BubbleLinkPreferenceController.java | 32 static final int ON = 1; field in BubbleLinkPreferenceController
|