Home
last modified time | relevance | path

Searched refs:SettingsShadowResources (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java39 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 …]
DDoubleTapPowerPreferenceControllerTest.java33 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()
DGestureNavigationSettingsAssistControllerTest.java31 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()
DSystemNavigationGestureSettingsTest.java47 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()
DDoubleTwistPreferenceControllerTest.java33 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/
DNightDisplayIntensityPreferenceControllerTest.java23 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()
DDisplayWhiteBalancePreferenceControllerTest.java19 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()
DNightDisplayPreferenceControllerTest.java10 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()
DNightDisplayCustomStartTimePreferenceControllerTest.java19 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()
DNightDisplayCustomEndTimePreferenceControllerTest.java19 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()
DNightDisplayTopIntroPreferenceControllerTest.java24 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()
DNightDisplayAutoModePreferenceControllerTest.java26 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()
DNightDisplayActivationPreferenceControllerTest.java27 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()
DAutoBrightnessDetailPreferenceControllerTest.java24 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()
DTopLevelWallpaperPreferenceControllerTest.java31 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()
DAutoBrightnessPreferenceControllerTest.java33 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()
DWallpaperPreferenceControllerTest.java31 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/
DEmergencyGestureEntrypointPreferenceControllerTest.java33 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()
DMoreSettingsPreferenceControllerTest.java33 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()
DEmergencyGestureSoundPreferenceControllerTest.java29 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()
DEmergencyGestureNumberOverridePreferenceControllerTest.java32 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()
DEmergencyGesturePreferenceControllerTest.java31 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/
DSystemDashboardFragmentTest.java33 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/
DChooseLockGenericControllerTest.java46 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/
DLightsPreferenceControllerTest.java45 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()

12