/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | SystemNavigationPreferenceControllerTest.java | 74 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 …]
|
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 | GestureNavigationSettingsAssistControllerTest.java | 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 | 98 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode() 102 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode() 106 SettingsShadowResources.overrideResource( in testGetCurrentSystemNavigationMode()
|
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 | 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 | 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 | 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 | 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 | TopLevelWallpaperPreferenceControllerTest.java | 61 SettingsShadowResources.overrideResource( in setUp() 63 SettingsShadowResources.overrideResource( in setUp() 134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
|
D | NightDisplayTopIntroPreferenceControllerTest.java | 53 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredAvailable_shouldReturnAVAILABLE_UNSEARCHABLE() 61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configuredUnavailable_shouldReturnUNSUPPORTED_ON_DEVICE()
|
D | WallpaperPreferenceControllerTest.java | 61 SettingsShadowResources.overrideResource( in setUp() 63 SettingsShadowResources.overrideResource( in setUp() 134 SettingsShadowResources.overrideResource( in areStylesAvailable_noComponentSpecified()
|
D | AutoBrightnessDetailPreferenceControllerTest.java | 61 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailable() 69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
D | NightDisplayAutoModePreferenceControllerTest.java | 62 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 69 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | NightDisplayActivationPreferenceControllerTest.java | 70 SettingsShadowResources.overrideResource( in isAvailable_configuredAvailable() 77 SettingsShadowResources.overrideResource( in isAvailable_configuredUnavailable()
|
D | AutoBrightnessPreferenceControllerTest.java | 125 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configTrueSet_shouldReturnAvailableUnsearchable() 133 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configFalseSet_shouldReturnUnsupportedOnDevice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/ |
D | EmergencyGestureEntrypointPreferenceControllerTest.java | 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 | 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 | 64 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnTrue() 73 SettingsShadowResources.overrideResource( in isAvailable_configIsTrue_shouldReturnFalse()
|
D | EmergencyGestureNumberOverridePreferenceControllerTest.java | 69 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 78 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
|
D | EmergencyGesturePreferenceControllerTest.java | 68 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() 77 SettingsShadowResources.overrideResource( in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | MockedCarTestBase.java | 158 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/ |
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 | 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() 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()
|