/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioModeTransitionTests.java | 99 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 …]
|
D | CallAudioRouteTransitionTests.java | 70 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/ |
D | AirplaneModePreferenceControllerTest.java | 54 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/ |
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/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/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/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 | 35 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/ |
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()
|
D | FaceSettingsAppPreferenceController.java | 38 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/ |
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()
|
/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 | 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()
|
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()
|
/packages/apps/TV/src/com/android/tv/features/ |
D | TvFeatures.java | 21 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/ |
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()
|