Home
last modified time | relevance | path

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

1234

/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()
419 OFF, // bluetoothInteraction in testParametersCollection()
430 OFF, // speakerInteraction in testParametersCollection()
526 OFF, // speakerInteraction in testParametersCollection()
611 OFF, // bluetoothInteraction in testParametersCollection()
623 OFF, // bluetoothInteraction in testParametersCollection()
634 OFF, // speakerInteraction in testParametersCollection()
646 OFF, // speakerInteraction in testParametersCollection()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DAirplaneModePreferenceControllerTest.java54 private static final int OFF = 0; field in AirplaneModePreferenceControllerTest
126 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly()
147 int updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly()
153 updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly()
154 assertThat(updatedValue).isEqualTo(OFF); in airplaneModePreference_testSetValue_updatesCorrectly()
167 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testGetValue_correctValueReturned()
174 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testPreferenceUI_updatesCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
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/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherAutoOffPreferenceControllerTest.java38 private static final int OFF = 0; field in WifiTetherAutoOffPreferenceControllerTest
63 assertThat(getAutoOffSetting()).isEqualTo(OFF); in testOnPreferenceChange_toggleOff_settingsOff()
77 setAutoOffSetting(OFF); in testUpdateState_settingsOff_toggleOff()
93 Settings.Global.SOFT_AP_TIMEOUT_ENABLED, OFF); in getAutoOffSetting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
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()
DColorInversionPreferenceControllerTest.java19 import static com.android.settings.accessibility.ColorInversionPreferenceController.OFF;
74 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, OFF); in isChecked_disabled() local
95 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, UNKNOWN)).isEqualTo(OFF); in setChecked_disabled()
/packages/apps/Settings/src/com/android/settings/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()
DPulseNotificationPreferenceController.java40 private static final int OFF = 0; field in PulseNotificationPreferenceController
79 return Settings.System.getInt(mContext.getContentResolver(), NOTIFICATION_LIGHT_PULSE, OFF) in isChecked()
86 isChecked ? ON : OFF); in setChecked()
/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/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/development/
DBubbleGlobalPreferenceController.java35 static final int OFF = 0; field in BubbleGlobalPreferenceController
66 Settings.Global.NOTIFICATION_BUBBLES, OFF) == ON; in isEnabled()
71 Settings.Global.NOTIFICATION_BUBBLES, isEnabled ? ON : OFF); in writeSetting()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsConfirmPreferenceController.java38 private static final int OFF = 0; field in FaceSettingsConfirmPreferenceController
39 private static final int DEFAULT = OFF;
62 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/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()
/packages/apps/Settings/src/com/android/settings/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()
DAssistGestureSettingsPreferenceController.java39 private static final int OFF = 0; field in AssistGestureSettingsPreferenceController
112 isChecked ? ON : OFF); in setChecked()
132 return Settings.Secure.getInt(mContext.getContentResolver(), SECURE_KEY_ASSIST, OFF) == ON; in isChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAutoRestrictionPreferenceControllerTest.java41 private static final int OFF = 0; field in AutoRestrictionPreferenceControllerTest
69 putAutoRestrictionValue(OFF); in testUpdateState_AutoRestrictionOff_preferenceUnchecked()
87 assertThat(getAutoRestrictionValue()).isEqualTo(OFF); in testUpdateState_unCheckPreference_autoRestrictionOff()
DSmartBatteryPreferenceControllerTest.java42 private static final int OFF = 0; field in SmartBatteryPreferenceControllerTest
70 putSmartBatteryValue(OFF); in testUpdateState_smartBatteryOff_preferenceUnchecked()
88 assertThat(getSmartBatteryValue()).isEqualTo(OFF); in testUpdateState_unCheckPreference_smartBatteryOff()
/packages/apps/TV/src/com/android/tv/features/
DTvFeatures.java21 import static com.android.tv.common.feature.FeatureUtils.OFF;
70 public static final Feature EPG_SEARCH = OFF;
99 public static final Feature SHOW_UPCOMING_CONFLICT_DIALOG = OFF;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DPulseNotificationPreferenceController.java40 private static final int OFF = 0; field in PulseNotificationPreferenceController
79 return Settings.System.getInt(mContext.getContentResolver(), NOTIFICATION_LIGHT_PULSE, OFF) in isChecked()
86 isChecked ? ON : OFF); in setChecked()

1234