/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioModeTransitionTests.java | 97 private static final int OFF = 1; field in CallAudioModeTransitionTests 164 case OFF: in modeTransitionTest() 177 case OFF: in modeTransitionTest() 242 OFF // expectedCallWaitingInteraction in generateTestCases() 279 OFF, // expectedRingingInteraction in generateTestCases() 355 OFF, // expectedRingingInteraction in generateTestCases() 375 OFF // expectedCallWaitingInteraction in generateTestCases() 470 OFF // expectedCallWaitingInteraction in generateTestCases() 508 OFF, // expectedRingingInteraction in generateTestCases() 567 OFF // expectedCallWaitingInteraction in generateTestCases() [all …]
|
D | CallAudioRouteTransitionTests.java | 68 private static final int OFF = 2; field in CallAudioRouteTransitionTests 292 case OFF: in testActiveTransition() 307 case OFF: in testActiveTransition() 390 OFF, // bluetoothInteraction in testParametersCollection() 401 OFF, // speakerInteraction in testParametersCollection() 497 OFF, // speakerInteraction in testParametersCollection() 582 OFF, // bluetoothInteraction in testParametersCollection() 594 OFF, // bluetoothInteraction in testParametersCollection() 605 OFF, // speakerInteraction in testParametersCollection() 617 OFF, // speakerInteraction in testParametersCollection() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | AirplaneModePreferenceControllerTest.java | 53 private static final int OFF = 0; field in AirplaneModePreferenceControllerTest 124 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly() 145 int updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly() 151 updatedValue = Settings.Global.getInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testSetValue_updatesCorrectly() 152 assertThat(updatedValue).isEqualTo(OFF); in airplaneModePreference_testSetValue_updatesCorrectly() 165 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testGetValue_correctValueReturned() 172 Settings.Global.putInt(mResolver, Settings.Global.AIRPLANE_MODE_ON, OFF); in airplaneModePreference_testPreferenceUI_updatesCorrectly()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BadgingNotificationPreferenceControllerTest.java | 21 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
|
D | SnoozeNotificationPreferenceControllerTest.java | 22 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/ |
D | WifiTetherAutoOffPreferenceControllerTest.java | 38 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/ |
D | MagnificationGesturesPreferenceControllerTest.java | 19 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()
|
D | MagnificationNavbarPreferenceControllerTest.java | 19 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()
|
D | ColorInversionPreferenceControllerTest.java | 19 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ColorInversionPreferenceController.java | 30 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/accessibility/ |
D | ColorInversionPreferenceController.java | 30 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/ |
D | SnoozeNotificationPreferenceController.java | 34 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()
|
D | PulseNotificationPreferenceController.java | 40 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/biometrics/face/ |
D | FaceSettingsConfirmPreferenceController.java | 34 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/ |
D | BubbleGlobalPreferenceController.java | 37 static final int OFF = 0; field in BubbleGlobalPreferenceController 68 NOTIFICATION_BUBBLES, OFF) == ON; in isEnabled() 73 NOTIFICATION_BUBBLES, isEnabled ? ON : OFF); in writeSetting()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsConfirmPreferenceController.java | 38 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | FakeToggleController.java | 41 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/ |
D | SwipeToNotificationPreferenceController.java | 31 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()
|
D | AssistGestureSettingsPreferenceController.java | 39 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/src/com/android/settings/gestures/ |
D | SwipeToNotificationPreferenceController.java | 31 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()
|
D | AssistGestureSettingsPreferenceController.java | 39 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/ |
D | SmartBatteryPreferenceControllerTest.java | 42 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()
|
D | AutoRestrictionPreferenceControllerTest.java | 41 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()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | PulseNotificationPreferenceController.java | 40 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/apps/TV/src/com/android/tv/features/ |
D | TvFeatures.java | 21 import static com.android.tv.common.feature.FeatureUtils.OFF; 83 public static final Feature EPG_SEARCH = OFF; 112 public static final Feature SHOW_UPCOMING_CONFLICT_DIALOG = OFF;
|