Home
last modified time | relevance | path

Searched refs:overrideResource (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java74 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in setUp()
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()
166 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
174 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
179 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
[all …]
DDoubleTapPowerPreferenceControllerTest.java66 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.java56 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.java98 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
102 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
106 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
DDoubleTwistPreferenceControllerTest.java107 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTwist_trueWhenNotAvailable()
109 SettingsShadowResources.overrideResource( in isSuggestionCompleted_doubleTwist_trueWhenNotAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DNightDisplayIntensityPreferenceControllerTest.java54 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.java71 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.java64 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.java48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DNightDisplayCustomEndTimePreferenceControllerTest.java48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DTopLevelWallpaperPreferenceControllerTest.java61 SettingsShadowResources.overrideResource( in setUp()
63 SettingsShadowResources.overrideResource( in setUp()
134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
DNightDisplayTopIntroPreferenceControllerTest.java53 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredAvailable_shouldReturnAVAILABLE_UNSEARCHABLE()
61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredUnavailable_shouldReturnUNSUPPORTED_ON_DEVICE()
DWallpaperPreferenceControllerTest.java61 SettingsShadowResources.overrideResource( in setUp()
63 SettingsShadowResources.overrideResource( in setUp()
134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
DAutoBrightnessDetailPreferenceControllerTest.java61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailable()
69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
DNightDisplayAutoModePreferenceControllerTest.java62 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
69 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DNightDisplayActivationPreferenceControllerTest.java70 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
77 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DAutoBrightnessPreferenceControllerTest.java125 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailableUnsearchable()
133 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/
DEmergencyGestureEntrypointPreferenceControllerTest.java71 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.java72 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.java64 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnTrue()
73 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnFalse()
DEmergencyGestureNumberOverridePreferenceControllerTest.java69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable()
78 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
DEmergencyGesturePreferenceControllerTest.java68 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable()
77 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java158 resources.overrideResource(com.android.car.R.string.instrumentClusterRendererService, ""); in configureResourceOverrides()
159 resources.overrideResource(com.android.car.R.bool.audioUseDynamicRouting, false); in configureResourceOverrides()
160 resources.overrideResource(com.android.car.R.array.config_earlyStartupServices, in configureResourceOverrides()
162 resources.overrideResource(com.android.car.R.integer.maxGarageModeRunningDurationInSecs, in configureResourceOverrides()
497 public MockResources overrideResource(int id, boolean value) { in overrideResource() method in MockedCarTestBase.MockResources
502 public MockResources overrideResource(int id, int value) { in overrideResource() method in MockedCarTestBase.MockResources
507 public MockResources overrideResource(int id, String value) { in overrideResource() method in MockedCarTestBase.MockResources
512 public MockResources overrideResource(int id, String[] value) { in overrideResource() method in MockedCarTestBase.MockResources
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DSettingsShadowResources.java31 public static void overrideResource(int id, Object value) { in overrideResource() method in SettingsShadowResources
35 public static void overrideResource(String name, Object value) { in overrideResource() method in SettingsShadowResources
41 overrideResource(resId, value); in overrideResource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java81 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()
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()

12