Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningPreferenceControllerTest.java35 private static final int ON = 1; field in CaptioningPreferenceControllerTest
56 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, ON); in getSummary_enabledCaptions_shouldReturnOnSummary() local
DDaltonizerPreferenceControllerTest.java35 private static final int ON = 1; field in DaltonizerPreferenceControllerTest
50 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, ON); in getSummary_enabledColorCorrection_shouldReturnOnSummary() 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
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
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryManagerPreferenceControllerTest.java41 private static final int ON = 1; field in BatteryManagerPreferenceControllerTest
76 Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, ON); in updateState_smartBatteryWithoutRestriction_showSummary() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DFontWeightAdjustmentPreferenceControllerTest.java36 private static final int ON = FontWeightAdjustmentPreferenceController.BOLD_TEXT_ADJUSTMENT; field in FontWeightAdjustmentPreferenceControllerTest
60 Settings.Secure.FONT_WEIGHT_ADJUSTMENT, ON); in isChecked_enabledBoldText_shouldReturnTrue() local
DHighTextContrastPreferenceControllerTest.java37 private static final int ON = 1; field in HighTextContrastPreferenceControllerTest
61 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, ON); in isChecked_enabledTextContrast_shouldReturnTrue() 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
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
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
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBadgingNotificationPreferenceControllerTest.java94 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, ON); in updateState_preferenceSetCheckedWhenSettingIsOn() local
125 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in isChecked_settingIsOn_shouldReturnTrue() local
132 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, ON); in setChecked_setFalse_disablesSetting() local
DSnoozeNotificationPreferenceControllerTest.java83 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, ON); in isChecked_settingIsOn_shouldReturnTrue() local
90 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, ON); in setChecked_setFalse_disablesSetting() local
DBubbleNotificationPreferenceControllerTest.java113 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in onSwitchChanged_false_settingIsOn_flagShouldOff() local
123 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, ON); in setChecked_setFalse_disablesSetting() local
/packages/apps/Settings/src/com/android/settings/sound/
DVibrateForCallsPreferenceFragment.java49 private static final int ON = 1; field in VibrateForCallsPreferenceFragment
80 getContext().getContentResolver(), Settings.System.VIBRATE_WHEN_RINGING, ON); in updateSettings() local
87 getContext().getContentResolver(), Settings.Global.APPLY_RAMPING_RINGER, ON); in updateSettings() local
DVibrateForCallsPreferenceController.java34 private static final int ON = 1; field in VibrateForCallsPreferenceController
/packages/services/Car/car-lib/src/android/car/
DVehicleLightState.java26 public static final int ON = 1; field in VehicleLightState
DVehicleLightSwitch.java26 public static final int ON = 1; field in VehicleLightSwitch
/packages/apps/Settings/src/com/android/settings/notification/
DBubbleSummaryNotificationPreferenceController.java36 static final int ON = 1; field in BubbleSummaryNotificationPreferenceController
DSnoozeNotificationPreferenceController.java32 static final int ON = 1; field in SnoozeNotificationPreferenceController
/packages/apps/Settings/src/com/android/settings/accessibility/
DLargePointerIconPreferenceController.java29 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
DBubbleCategoryPreferenceController.java32 static final int ON = 1; field in BubbleCategoryPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DVibrateForCallsPreferenceFragmentTest.java38 private static final int ON = 1; field in VibrateForCallsPreferenceFragmentTest
DVibrateForCallsPreferenceControllerTest.java50 private static final int ON = 1; field in VibrateForCallsPreferenceControllerTest
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAutoRestrictionPreferenceController.java33 private static final int ON = 1; field in AutoRestrictionPreferenceController

123