/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | PoliteNotifWorkProfileToggleControllerTest.java | 119 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
|
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 | 124 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/ |
D | MagnificationOneFingerPanningPreferenceControllerTest.java | 121 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
|
D | KeyboardStickyKeyPreferenceControllerTest.java | 83 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
|
D | KeyboardBounceKeyPreferenceControllerTest.java | 83 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
|
D | KeyboardSlowKeyPreferenceControllerTest.java | 83 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
|
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 | 105 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
|
D | ToggleDaltonizerPreferenceFragmentTest.java | 128 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
|
D | CaptioningTogglePreferenceControllerTest.java | 86 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in displayPreference_captionEnabled_shouldSetChecked() local 106 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in performClick_captionEnabled_shouldSetCaptionDisabled() local
|
D | VibrationPreferenceControllerTest.java | 53 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/ |
D | BatteryManagerPreferenceControllerTest.java | 46 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/ |
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 | 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 | FontWeightAdjustmentPreferenceControllerTest.java | 40 private static final int ON = FontWeightAdjustmentPreferenceController.BOLD_TEXT_ADJUSTMENT; field in FontWeightAdjustmentPreferenceControllerTest 69 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 | 32 public static final int ON = 1; field in VehicleLightState
|
D | VehicleLightSwitch.java | 32 public static final int ON = 1; field in VehicleLightSwitch
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | WindshieldWipersState.java | 58 public static final int ON = 2; field in WindshieldWipersState
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | PoliteNotificationGlobalPreferenceController.java | 30 public static final int ON = 1; field in PoliteNotificationGlobalPreferenceController
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | LargePointerIconPreferenceController.java | 30 static final int ON = 1; field in LargePointerIconPreferenceController
|