/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceControllerTest.java | 39 import com.android.settings.testutils.shadow.SettingsShadowResources; 54 @Config(shadows = SettingsShadowResources.class) 74 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in setUp() 90 SettingsShadowResources.reset(); in tearDown() 113 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse() 138 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 143 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 148 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled() 156 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled() 161 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled() [all …]
|
D | DoubleTapPowerPreferenceControllerTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 44 @Config(shadows = SettingsShadowResources.class) 61 SettingsShadowResources.reset(); in tearDown() 66 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnTrue() 75 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnFalse() 102 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTapPower_trueWhenNotAvailable() 110 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTapPower_falseWhenNotVisited() 120 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTapPower_trueWhenVisited()
|
D | GestureNavigationSettingsAssistControllerTest.java | 31 import com.android.settings.testutils.shadow.SettingsShadowResources; 42 @Config(shadows = SettingsShadowResources.class) 56 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in setUp() 59 SettingsShadowResources.overrideResource(R.string.config_recentsComponentName, in setUp() 83 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in isAvailable_systemNavigationControllerReturnsFalse_shouldReturnFalse()
|
D | SystemNavigationGestureSettingsTest.java | 47 import com.android.settings.testutils.shadow.SettingsShadowResources; 61 @Config(shadows = SettingsShadowResources.class) 98 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode() 102 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode() 106 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
|
D | DoubleTwistPreferenceControllerTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 51 @Config(shadows = SettingsShadowResources.class) 70 SettingsShadowResources.reset(); in tearDown() 107 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTwist_trueWhenNotAvailable() 109 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTwist_trueWhenNotAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | NightDisplayIntensityPreferenceControllerTest.java | 23 import com.android.settings.testutils.shadow.SettingsShadowResources; 34 @Config(shadows = SettingsShadowResources.class) 49 SettingsShadowResources.reset(); in tearDown() 54 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable_isActivated_available() 62 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable_isNotActivated_available() 70 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable_unavailable() 77 SettingsShadowResources.overrideResource( in onPreferenceChange_changesTemperature() 79 SettingsShadowResources.overrideResource( in onPreferenceChange_changesTemperature() 92 SettingsShadowResources.overrideResource( in rangeOfSlider_staysWithinValidRange() 94 SettingsShadowResources.overrideResource( in rangeOfSlider_staysWithinValidRange()
|
D | DisplayWhiteBalancePreferenceControllerTest.java | 19 import com.android.settings.testutils.shadow.SettingsShadowResources; 33 SettingsShadowResources.class 53 SettingsShadowResources.reset(); in tearDown() 71 SettingsShadowResources.overrideResource( in isAvailable() 79 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable() 111 SettingsShadowResources.overrideResource( in onStart_configuredUnavailable() 120 SettingsShadowResources.overrideResource( in onStart_configuredAvailable() 134 SettingsShadowResources.overrideResource( in visibility_configuredAvailableAccessibilityToggled() 174 SettingsShadowResources.overrideResource( in visibility_configuredAvailableColorModeChanged()
|
D | NightDisplayPreferenceControllerTest.java | 10 import com.android.settings.testutils.shadow.SettingsShadowResources; 21 @Config(shadows = {SettingsShadowResources.class}) 37 SettingsShadowResources.reset(); in tearDown() 64 SettingsShadowResources.overrideResource(R.bool.config_night_light_suggestion_enabled, in nightDisplaySuggestion_isCompleted_ifSuggestionDisabled() 72 SettingsShadowResources.overrideResource( in getAvailabilityStatus_nightDisplayIsSupported_returnAvailable() 81 SettingsShadowResources.overrideResource( in getAvailabilityStatus_nightDisplayIsNotSupported_returnUnsupportedOnDevice()
|
D | NightDisplayCustomStartTimePreferenceControllerTest.java | 19 import com.android.settings.testutils.shadow.SettingsShadowResources; 30 @Config(shadows = SettingsShadowResources.class) 43 SettingsShadowResources.reset(); in tearDown() 48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayCustomEndTimePreferenceControllerTest.java | 19 import com.android.settings.testutils.shadow.SettingsShadowResources; 30 @Config(shadows = SettingsShadowResources.class) 43 SettingsShadowResources.reset(); in tearDown() 48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayTopIntroPreferenceControllerTest.java | 24 import com.android.settings.testutils.shadow.SettingsShadowResources; 35 @Config(shadows = SettingsShadowResources.class) 48 SettingsShadowResources.reset(); in tearDown() 53 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredAvailable_shouldReturnAVAILABLE_UNSEARCHABLE() 61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredUnavailable_shouldReturnUNSUPPORTED_ON_DEVICE()
|
D | NightDisplayAutoModePreferenceControllerTest.java | 26 import com.android.settings.testutils.shadow.SettingsShadowResources; 38 @Config(shadows = SettingsShadowResources.class) 57 SettingsShadowResources.reset(); in tearDown() 62 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 69 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayActivationPreferenceControllerTest.java | 27 import com.android.settings.testutils.shadow.SettingsShadowResources; 41 @Config(shadows = SettingsShadowResources.class) 65 SettingsShadowResources.reset(); in tearDown() 70 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 77 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | AutoBrightnessDetailPreferenceControllerTest.java | 24 import com.android.settings.testutils.shadow.SettingsShadowResources; 35 @Config(shadows = {SettingsShadowResources.class}) 61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailable() 69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
D | TopLevelWallpaperPreferenceControllerTest.java | 31 import com.android.settings.testutils.shadow.SettingsShadowResources; 46 @Config(shadows = {SettingsShadowResources.class}) 61 SettingsShadowResources.overrideResource( in setUp() 63 SettingsShadowResources.overrideResource( in setUp() 134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
|
D | AutoBrightnessPreferenceControllerTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 44 @Config(shadows = {SettingsShadowResources.class}) 125 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailableUnsearchable() 133 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
D | WallpaperPreferenceControllerTest.java | 31 import com.android.settings.testutils.shadow.SettingsShadowResources; 46 @Config(shadows = {SettingsShadowResources.class}) 61 SettingsShadowResources.overrideResource( in setUp() 63 SettingsShadowResources.overrideResource( in setUp() 134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/ |
D | EmergencyGestureEntrypointPreferenceControllerTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 45 @Config(shadows = SettingsShadowResources.class) 66 SettingsShadowResources.reset(); in tearDown() 71 SettingsShadowResources.overrideResource( in constructor_hasCustomPackageConfig_shouldSetIntent() 74 SettingsShadowResources.overrideResource( in constructor_hasCustomPackageConfig_shouldSetIntent() 87 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 98 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported() 109 SettingsShadowResources.overrideResource( in getAvailabilityStatus_noSuitableIntent_shouldReturnAvailable() 113 SettingsShadowResources.overrideResource( in getAvailabilityStatus_noSuitableIntent_shouldReturnAvailable()
|
D | MoreSettingsPreferenceControllerTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 45 @Config(shadows = SettingsShadowResources.class) 66 SettingsShadowResources.reset(); in tearDown() 72 SettingsShadowResources.overrideResource( in constructor_hasPackageConfig_shouldSetIntent() 86 SettingsShadowResources.overrideResource( in getAvailabilityStatus_whenIntentSet_shouldReturnAvailable() 109 SettingsShadowResources.overrideResource( in getAvailabilityStatus_noSuitableIntent_shouldReturnUnsupportedDevice() 123 SettingsShadowResources.overrideResource( in getAvailabilityStatus_intentForANonSystemApp_shouldReturnUnsupportedDevice()
|
D | EmergencyGestureSoundPreferenceControllerTest.java | 29 import com.android.settings.testutils.shadow.SettingsShadowResources; 42 @Config(shadows = SettingsShadowResources.class) 59 SettingsShadowResources.reset(); in tearDown() 64 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnTrue() 73 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnFalse()
|
D | EmergencyGestureNumberOverridePreferenceControllerTest.java | 32 import com.android.settings.testutils.shadow.SettingsShadowResources; 46 @Config(shadows = SettingsShadowResources.class) 64 SettingsShadowResources.reset(); in tearDown() 69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 78 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
|
D | EmergencyGesturePreferenceControllerTest.java | 31 import com.android.settings.testutils.shadow.SettingsShadowResources; 44 @Config(shadows = SettingsShadowResources.class) 63 SettingsShadowResources.reset(); in tearDown() 68 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 77 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/ |
D | SystemDashboardFragmentTest.java | 33 import com.android.settings.testutils.shadow.SettingsShadowResources; 47 @Config(shadows = {SettingsShadowResources.class, ShadowUserManager.class}) 55 SettingsShadowResources.overrideResource( in setup() 65 SettingsShadowResources.reset(); in tearDown()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericControllerTest.java | 46 import com.android.settings.testutils.shadow.SettingsShadowResources; 63 @Config(shadows = {ShadowUserManager.class, SettingsShadowResources.class}) 81 SettingsShadowResources.overrideResource(R.bool.config_hide_none_security_option, false); in setUp() 82 SettingsShadowResources.overrideResource(R.bool.config_hide_swipe_security_option, false); in setUp() 87 SettingsShadowResources.reset(); in tearDown() 98 SettingsShadowResources.overrideResource(R.bool.config_hide_none_security_option, true); in isScreenLockVisible_shouldRespectResourceConfig() 99 SettingsShadowResources.overrideResource(R.bool.config_hide_swipe_security_option, true); in isScreenLockVisible_shouldRespectResourceConfig()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | LightsPreferenceControllerTest.java | 45 import com.android.settings.testutils.shadow.SettingsShadowResources; 68 @Config(shadows = SettingsShadowResources.class) 93 SettingsShadowResources.overrideResource( in setUp() 100 SettingsShadowResources.reset(); in tearDown() 112 SettingsShadowResources.overrideResource( in testIsAvailable_notIfConfigNotAllowed()
|