Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java75 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in setUp()
114 SettingsShadowResources.overrideResource(R.bool.config_swipe_up_gesture_setting_available, in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse()
139 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
143 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
147 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsSwipeUpEnabled()
154 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
158 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
162 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testIsEdgeToEdgeEnabled()
169 SettingsShadowResources.overrideResource(R.integer.config_navBarInteractionMode, in testGetSummary()
174 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()
DSystemNavigationGestureSettingsTest.java104 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
108 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
112 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
156 SettingsShadowResources.overrideResource( in testSetCurrentSystemNavigationMode_backSensitivityValuePersists()
180 SettingsShadowResources.overrideResource( in testBackSensitivitySetterAndGetter_currentNavModeNotGestural()
193 SettingsShadowResources.overrideResource( in testBackSensitivitySetterAndGetter_currentNavModeIsGestural()
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.java52 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable_isActivated_available()
60 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable_isNotActivated_available()
68 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable_unavailable()
75 SettingsShadowResources.overrideResource( in onPreferenceChange_changesTemperature()
77 SettingsShadowResources.overrideResource( in onPreferenceChange_changesTemperature()
89 SettingsShadowResources.overrideResource( in rangeOfSlider_staysWithinValidRange()
91 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()
DColorModePreferenceFragmentTest.java85 SettingsShadowResources.overrideResource( in getCandidates_all()
108 SettingsShadowResources.overrideResource( in getCandidates_none()
118 SettingsShadowResources.overrideResource( in getCandidates_withAutomatic()
135 SettingsShadowResources.overrideResource( in getCandidates_withoutAutomatic()
DWallpaperPreferenceControllerTest.java61 SettingsShadowResources.overrideResource( in setUp()
63 SettingsShadowResources.overrideResource( in setUp()
93 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
DNightDisplayFooterPreferenceControllerTest.java47 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
54 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
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()
DAutoBrightnessDetailPreferenceControllerTest.java56 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailable()
64 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
DNightDisplayAutoModePreferenceControllerTest.java54 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
61 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DAdaptiveSleepDetailPreferenceControllerTest.java66 SettingsShadowResources.overrideResource(R.bool.config_adaptive_sleep_available, true); in getAvailabilityStatus_configTrueSet_shouldReturnAvailable()
72 SettingsShadowResources.overrideResource(R.bool.config_adaptive_sleep_available, false); in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
DNightDisplayActivationPreferenceControllerTest.java71 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable()
78 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
DAutoBrightnessPreferenceControllerTest.java125 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailableUnsearchable()
133 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
DNightDisplayPreferenceControllerTest.java54 SettingsShadowResources.overrideResource(R.bool.config_night_light_suggestion_enabled, false); in nightDisplaySuggestion_isCompleted_ifSuggestionDisabled()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java123 resources.overrideResource(com.android.car.R.string.instrumentClusterRendererService, ""); in configureResourceOverrides()
124 resources.overrideResource(com.android.car.R.bool.audioUseDynamicRouting, false); in configureResourceOverrides()
382 MockResources overrideResource(int id, boolean value) { in overrideResource() method in MockedCarTestBase.MockResources
387 MockResources overrideResource(int id, int value) { in overrideResource() method in MockedCarTestBase.MockResources
392 MockResources overrideResource(int id, String value) { in overrideResource() method in MockedCarTestBase.MockResources
397 MockResources overrideResource(int id, String[] value) { in overrideResource() method in MockedCarTestBase.MockResources
DVmsPublisherClientPermissionTest.java87 resources.overrideResource(com.android.car.R.array.vmsPublisherSystemClients, new String[]{ in configureResourceOverrides()
92 resources.overrideResource(com.android.car.R.array.vmsPublisherUserClients, new String[]{ in configureResourceOverrides()
DMockedVmsTestBase.java68 resources.overrideResource(com.android.car.R.array.vmsPublisherSystemClients, in configureResourceOverrides()
70 resources.overrideResource(com.android.car.R.array.vmsPublisherUserClients, in configureResourceOverrides()
/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.java74 SettingsShadowResources.overrideResource(R.bool.config_hide_none_security_option, false); in setUp()
75 SettingsShadowResources.overrideResource(R.bool.config_hide_swipe_security_option, false); in setUp()
91 SettingsShadowResources.overrideResource(R.bool.config_hide_none_security_option, true); in isScreenLockVisible_shouldRespectResourceConfig()
92 SettingsShadowResources.overrideResource(R.bool.config_hide_swipe_security_option, true); in isScreenLockVisible_shouldRespectResourceConfig()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DLightsPreferenceControllerTest.java86 SettingsShadowResources.overrideResource( in setUp()
105 SettingsShadowResources.overrideResource( in testIsAvailable_notIfConfigNotAllowed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverSchedulePreferenceControllerTest.java52 SettingsShadowResources.overrideResource( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/
DSystemDashboardFragmentTest.java55 SettingsShadowResources.overrideResource( in setup()

12