/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceControllerTest.java | 75 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 …]
|
D | DoubleTapPowerPreferenceControllerTest.java | 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 | SystemNavigationGestureSettingsTest.java | 104 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()
|
D | DoubleTwistPreferenceControllerTest.java | 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 | 52 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()
|
D | DisplayWhiteBalancePreferenceControllerTest.java | 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 | ColorModePreferenceFragmentTest.java | 85 SettingsShadowResources.overrideResource( in getCandidates_all() 108 SettingsShadowResources.overrideResource( in getCandidates_none() 118 SettingsShadowResources.overrideResource( in getCandidates_withAutomatic() 135 SettingsShadowResources.overrideResource( in getCandidates_withoutAutomatic()
|
D | WallpaperPreferenceControllerTest.java | 61 SettingsShadowResources.overrideResource( in setUp() 63 SettingsShadowResources.overrideResource( in setUp() 93 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
|
D | NightDisplayFooterPreferenceControllerTest.java | 47 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 54 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayCustomStartTimePreferenceControllerTest.java | 48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayCustomEndTimePreferenceControllerTest.java | 48 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 55 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | AutoBrightnessDetailPreferenceControllerTest.java | 56 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailable() 64 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
D | NightDisplayAutoModePreferenceControllerTest.java | 54 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 61 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | AdaptiveSleepDetailPreferenceControllerTest.java | 66 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()
|
D | NightDisplayActivationPreferenceControllerTest.java | 71 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 78 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | AutoBrightnessPreferenceControllerTest.java | 125 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailableUnsearchable() 133 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
D | NightDisplayPreferenceControllerTest.java | 54 SettingsShadowResources.overrideResource(R.bool.config_night_light_suggestion_enabled, false); in nightDisplaySuggestion_isCompleted_ifSuggestionDisabled()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 123 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
|
D | VmsPublisherClientPermissionTest.java | 87 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()
|
D | MockedVmsTestBase.java | 68 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/ |
D | SettingsShadowResources.java | 31 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/ |
D | ChooseLockGenericControllerTest.java | 74 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/ |
D | LightsPreferenceControllerTest.java | 86 SettingsShadowResources.overrideResource( in setUp() 105 SettingsShadowResources.overrideResource( in testIsAvailable_notIfConfigNotAllowed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverSchedulePreferenceControllerTest.java | 52 SettingsShadowResources.overrideResource( in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/ |
D | SystemDashboardFragmentTest.java | 55 SettingsShadowResources.overrideResource( in setup()
|