Home
last modified time | relevance | path

Searched refs:OFF (Results 1 – 25 of 99) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DVibrateForCallsPreferenceFragmentTest.java37 private static final int OFF = 0; field in VibrateForCallsPreferenceFragmentTest
54 Settings.System.putInt(mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF); in getDefaultKey_applyRampingRinger_keyRampingRinger()
64 Settings.Global.putInt(mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF); in getDefaultKey_enableVibrateWhenRinging_keyAlwaysVibrate()
72 Settings.System.putInt(mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF); in getDefaultKey_notApplyRampingRingerDisableVibrateWhenRinging_keyNeverVibrate()
73 Settings.Global.putInt(mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF); in getDefaultKey_notApplyRampingRingerDisableVibrateWhenRinging_keyNeverVibrate()
84 mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF)).isEqualTo(ON); in setDefaultKey_keyRampingRinger_applyRampingRingerDisableVibrateWhenRinging()
86 mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF)).isEqualTo(OFF); in setDefaultKey_keyRampingRinger_applyRampingRingerDisableVibrateWhenRinging()
94 mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF)).isEqualTo(OFF); in setDefaultKey_keyAlwaysVibrate_notApplyRampingRingerEnableVibrateWhenRinging()
96 mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF)).isEqualTo(ON); in setDefaultKey_keyAlwaysVibrate_notApplyRampingRingerEnableVibrateWhenRinging()
104 mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF)).isEqualTo(OFF); in setDefaultKey_keyNeverVibrate_notApplyRampingRingerDisableVibrateWhenRinging()
[all …]
DVibrateForCallsPreferenceControllerTest.java49 private static final int OFF = 0; field in VibrateForCallsPreferenceControllerTest
96 Settings.System.putInt(mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF); in getSummary_applyRampingRinger_rampingRingerSummary()
106 Settings.Global.putInt(mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF); in getSummary_enableVibrateWhenRinging_alwaysVibrateSummary()
114 Settings.System.putInt(mContentResolver, Settings.System.VIBRATE_WHEN_RINGING, OFF); in getSummary_notApplyRampingRingerDisableVibrateWhenRinging_neverVibrateSummary()
115 Settings.Global.putInt(mContentResolver, Settings.Global.APPLY_RAMPING_RINGER, OFF); in getSummary_notApplyRampingRingerDisableVibrateWhenRinging_neverVibrateSummary()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeTransitionTests.java99 private static final int OFF = 1; field in CallAudioModeTransitionTests
188 case OFF: in modeTransitionTest()
201 case OFF: in modeTransitionTest()
264 OFF // expectedCallWaitingInteraction in generateTestCases()
301 OFF, // expectedRingingInteraction in generateTestCases()
377 OFF, // expectedRingingInteraction in generateTestCases()
397 OFF // expectedCallWaitingInteraction in generateTestCases()
568 OFF // expectedCallWaitingInteraction in generateTestCases()
606 OFF, // expectedRingingInteraction in generateTestCases()
665 OFF // expectedCallWaitingInteraction in generateTestCases()
[all …]
DCallAudioRouteTransitionTests.java70 private static final int OFF = 2; field in CallAudioRouteTransitionTests
316 case OFF: in testActiveTransition()
331 case OFF: in testActiveTransition()
415 OFF, // bluetoothInteraction in testParametersCollection()
426 OFF, // speakerInteraction in testParametersCollection()
522 OFF, // speakerInteraction in testParametersCollection()
607 OFF, // bluetoothInteraction in testParametersCollection()
619 OFF, // bluetoothInteraction in testParametersCollection()
630 OFF, // speakerInteraction in testParametersCollection()
642 OFF, // speakerInteraction in testParametersCollection()
[all …]
/packages/apps/Settings/src/com/android/settings/sound/
DVibrateForCallsPreferenceFragment.java50 private static final int OFF = 0; field in VibrateForCallsPreferenceFragment
82 getContext().getContentResolver(), Settings.Global.APPLY_RAMPING_RINGER, OFF); in updateSettings() local
85 getContext().getContentResolver(), Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateSettings() local
90 getContext().getContentResolver(), Settings.System.VIBRATE_WHEN_RINGING, OFF); in updateSettings() local
92 getContext().getContentResolver(), Settings.Global.APPLY_RAMPING_RINGER, OFF); in updateSettings() local
109 Settings.Global.APPLY_RAMPING_RINGER, OFF) == ON) { in getDefaultKey()
113 Settings.System.VIBRATE_WHEN_RINGING, OFF) == ON) { in getDefaultKey()
DVibrateForCallsPreferenceController.java35 private static final int OFF = 0; field in VibrateForCallsPreferenceController
56 Settings.Global.APPLY_RAMPING_RINGER, OFF) == ON) { in getSummary()
60 Settings.System.VIBRATE_WHEN_RINGING, OFF) == ON) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBubbleNotificationPreferenceControllerTest.java22 import static com.android.settings.notification.BadgingNotificationPreferenceController.OFF;
89 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in updateState_settingIsOff_preferenceSetUnchecked() local
91 NOTIFICATION_BUBBLES, ON)).isEqualTo(OFF); in updateState_settingIsOff_preferenceSetUnchecked()
100 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
120 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
125 Settings.Global.putInt(mContext.getContentResolver(), NOTIFICATION_BUBBLES, OFF); in setChecked_setTrue_enablesSetting() local
DBadgingNotificationPreferenceControllerTest.java21 import static com.android.settings.notification.BadgingNotificationPreferenceController.OFF;
107 Settings.Secure.putInt(context.getContentResolver(), NOTIFICATION_BADGING, OFF); in updateState_preferenceSetUncheckedWhenSettingIsOff() local
118 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
138 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
143 Settings.Secure.putInt(mContext.getContentResolver(), NOTIFICATION_BADGING, OFF); in setChecked_setTrue_enablesSetting() local
DSnoozeNotificationPreferenceControllerTest.java22 import static com.android.settings.notification.BadgingNotificationPreferenceController.OFF;
76 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, OFF); in isChecked_settingIsOff_shouldReturnFalse() local
96 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
101 Settings.Secure.putInt(mContext.getContentResolver(), SHOW_NOTIFICATION_SNOOZE, OFF); in setChecked_setTrue_enablesSetting() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DLargePointerIconPreferenceController.java31 static final int OFF = 0; field in LargePointerIconPreferenceController
40 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, OFF) != OFF; in isChecked()
46 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, isChecked ? ON : OFF); in setChecked()
DAccessibilityShortcutPreferenceController.java18 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF;
43 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, OFF); in isChecked()
52 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, isChecked ? ON : OFF, in setChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceControllerTest.java19 import static com.android.settings.accessibility.AccessibilityUtil.State.OFF;
65 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in isChecked_disabledShortcutOnLockScreen_shouldReturnFalse() local
79 Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, OFF, in setChecked_setTrue_shouldEnableShortcutOnLockScreen() local
89 UserHandle.USER_CURRENT)).isEqualTo(OFF); in setChecked_setFalse_shouldDisableShortcutOnLockScreen()
DMagnificationGesturesPreferenceControllerTest.java19 import static com.android.settings.accessibility.MagnificationPreferenceFragment.OFF;
70 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); in updateState_shouldRefreshSummary() local
96 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); in isChecked_disabled() local
116 .isEqualTo(OFF); in setChecked_disabled()
DMagnificationNavbarPreferenceControllerTest.java19 import static com.android.settings.accessibility.MagnificationPreferenceFragment.OFF;
95 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); in updateState_shouldRefreshSummary() local
121 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); in isChecked_disabled() local
141 .isEqualTo(OFF); in setChecked_disabled()
DHighTextContrastPreferenceControllerTest.java38 private static final int OFF = 0; field in HighTextContrastPreferenceControllerTest
72 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, OFF); in isChecked_disabledTextContrast_shouldReturnFalse() local
94 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, UNKNOWN)).isEqualTo(OFF); in setChecked_setFalse_shouldDisableTextContrast()
DMasterMonoPreferenceControllerTest.java39 private static final int OFF = 0; field in MasterMonoPreferenceControllerTest
73 Settings.System.MASTER_MONO, OFF, UserHandle.USER_CURRENT); in isChecked_disabledMonoAudio_shouldReturnFalse() local
94 Settings.System.MASTER_MONO, UNKNOWN, UserHandle.USER_CURRENT)).isEqualTo(OFF); in setChecked_setFalse_shouldDisableMonoAudio()
DLargePointerIconPreferenceControllerTest.java19 import static com.android.settings.accessibility.LargePointerIconPreferenceController.OFF;
73 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, OFF); in isChecked_disabledLargePointer_shouldReturnFalse() local
94 Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON, UNKNOWN)).isEqualTo(OFF); in setChecked_disabled_shouldDisableLargePointer()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DColorInversionPreferenceController.java30 static final int OFF = 0; field in ColorInversionPreferenceController
39 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, OFF) == ON; in isChecked()
45 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, (isChecked ? ON : OFF)); in setChecked()
/packages/apps/Settings/src/com/android/settings/notification/
DSnoozeNotificationPreferenceController.java34 static final int OFF = 0; field in SnoozeNotificationPreferenceController
48 SHOW_NOTIFICATION_SNOOZE, OFF) == ON; in isChecked()
54 SHOW_NOTIFICATION_SNOOZE, isChecked ? ON : OFF); in setChecked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettingsConfirmPreferenceController.java34 private static final int OFF = 0; field in FaceSettingsConfirmPreferenceController
35 private static final int DEFAULT = OFF;
55 FACE_UNLOCK_ALWAYS_REQUIRE_CONFIRMATION, isChecked ? ON : OFF, getUserId()); in setChecked()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsConfirmPreferenceController.java37 private static final int OFF = 0; field in FaceSettingsConfirmPreferenceController
38 private static final int DEFAULT = OFF;
61 FACE_UNLOCK_ALWAYS_REQUIRE_CONFIRMATION, isChecked ? ON : OFF, getUserId()); in setChecked()
DFaceSettingsAppPreferenceController.java38 private static final int OFF = 0; field in FaceSettingsAppPreferenceController
64 isChecked ? ON : OFF, getUserId()); in setChecked()
89 mContext.getContentResolver(), FACE_UNLOCK_APP_ENABLED, OFF, getUserId()) == ON; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeToggleController.java41 private static final int OFF = 0; field in FakeToggleController
52 SETTING_KEY, OFF) == ON; in isChecked()
58 isChecked ? ON : OFF); in setChecked()
/packages/apps/Settings/src/com/android/settings/gestures/
DSwipeToNotificationPreferenceController.java31 private static final int OFF = 0; field in SwipeToNotificationPreferenceController
85 return Settings.Secure.getInt(context.getContentResolver(), SECURE_KEY, OFF) == ON; in isSwipeToNotificationOn()
90 context.getContentResolver(), SECURE_KEY, isEnabled ? ON : OFF); in setSwipeToNotification()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DSwipeToNotificationPreferenceController.java31 private static final int OFF = 0; field in SwipeToNotificationPreferenceController
80 return Settings.Secure.getInt(context.getContentResolver(), SECURE_KEY, OFF) == ON; in isSwipeToNotificationOn()
85 context.getContentResolver(), SECURE_KEY, isEnabled ? ON : OFF); in setSwipeToNotification()

1234