/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioManagerTest.java | 251 final String appDefault = ResourcesUtils.getResourcesString(context, in testGetUserMinAspectRatioEntry() 260 mPackageName)).isEqualTo(ResourcesUtils.getResourcesString(context, in testGetUserMinAspectRatioEntry() 264 mPackageName)).isEqualTo(ResourcesUtils.getResourcesString(context, in testGetUserMinAspectRatioEntry() 268 .isEqualTo(ResourcesUtils.getResourcesString(context, "user_aspect_ratio_16_9")); in testGetUserMinAspectRatioEntry() 271 .isEqualTo(ResourcesUtils.getResourcesString(context, "user_aspect_ratio_4_3")); in testGetUserMinAspectRatioEntry() 274 .isEqualTo(ResourcesUtils.getResourcesString(context, "user_aspect_ratio_3_2")); in testGetUserMinAspectRatioEntry() 277 mPackageName)).isEqualTo(ResourcesUtils.getResourcesString(context, in testGetUserMinAspectRatioEntry() 285 mPackageName)).isEqualTo(ResourcesUtils.getResourcesString( in testGetUserMinAspectRatioEntry_fullscreenDisabled_shouldReturnDefault() 339 .isEqualTo(ResourcesUtils.getResourcesString( in testGetUserMinAspectRatioEntry_enabledFullscreenOverride_returnsFullscreen() 345 .isEqualTo(ResourcesUtils.getResourcesString( in testGetUserMinAspectRatioEntry_enabledFullscreenOverride_returnsFullscreen() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecurityAdvancedSettingsControllerTest.java | 70 .isEqualTo(getResourcesString(NO_WORK_PROFILE_SUMMARY_RESOURCE_NAME)); in getSummary_withoutWorkProfile() 80 .isEqualTo(getResourcesString(WORK_PROFILE_SUMMARY_RESOURCE_NAME)); in getSummary_withWorkProfile() 83 private String getResourcesString(String resName) { in getResourcesString() method in SecurityAdvancedSettingsControllerTest 84 return ResourcesUtils.getResourcesString(mContext, resName); in getResourcesString()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | FirstDayOfWeekControllerTest.java | 62 assertEquals(ResourcesUtils.getResourcesString( in getSummary_hasProviderValue_resultIsWed() 72 assertEquals(ResourcesUtils.getResourcesString( in getSummary_hasProviderValue_resultIsSat() 83 assertEquals(ResourcesUtils.getResourcesString( in getSummary_noProviderValueButHasDefaultLocaleWithSubtag_resultIsSat() 94 assertEquals(ResourcesUtils.getResourcesString( in getSummary_noProviderValueAndDefaultLocaleWithoutSubtag_resultIsdefault()
|
D | TemperatureUnitControllerTest.java | 63 assertEquals(ResourcesUtils.getResourcesString( in getSummary_hasProviderValue_resultIsCelsius() 74 assertEquals(ResourcesUtils.getResourcesString( in getSummary_hasProviderValue_resultIsFahrenheit() 85 assertEquals(ResourcesUtils.getResourcesString( in getSummary_noProviderValueButHasDefaultLocaleWithSubtag_resultIsFahrenheit() 96 assertEquals(ResourcesUtils.getResourcesString( in getSummary_noProviderValueAndDefaultLocaleWithoutSubtag_resultIsDefault()
|
D | RegionalPreferencesDataUtilsTest.java | 125 assertEquals(ResourcesUtils.getResourcesString( in temperatureUnitsConverter_inputFahrenheit_resultIsFahrenheitString() 134 assertEquals(ResourcesUtils.getResourcesString( in temperatureUnitsConverter_inputDefault_resultIsDefaultString() 143 assertEquals(ResourcesUtils.getResourcesString( in dayConverter_inputWed_resultIsWedString() 152 assertEquals(ResourcesUtils.getResourcesString( in dayConverter_inputDefault_resultIsDefaultString() 161 assertEquals(ResourcesUtils.getResourcesString( in calendarConverter_inputDefault_resultIsDefaultString()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceControllerTest.java | 115 verify(mPreference).setTitle(ResourcesUtils.getResourcesString(mContext, "status_number")); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 129 verify(mPreference).setTitle(ResourcesUtils.getResourcesString( in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 132 verify(mSecondPreference).setTitle(ResourcesUtils.getResourcesString( in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences() 144 verify(mPreference).setSummary(ResourcesUtils.getResourcesString( in getSummary_cannotGetActiveSubscriptionInfo_shouldShowUnknown() 156 verify(mPreference).setSummary(ResourcesUtils.getResourcesString( in getSummary_getEmptySubscriptionInfo_shouldShowUnknown()
|
D | TopLevelStoragePreferenceControllerTest.java | 105 assertThat(preference.getSummary()).isEqualTo(ResourcesUtils.getResourcesString( in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogControllerTest.java | 185 final String inServiceText = ResourcesUtils.getResourcesString( in initialize_updateServiceStateWithInService_shouldUpdateTextToBeCInService() 197 final String offServiceText = ResourcesUtils.getResourcesString( in initialize_updateServiceStateWithPowerOff_shouldUpdateText() 211 final String offServiceText = ResourcesUtils.getResourcesString( in initialize_updateVoiceDataOutOfService_shouldUpdateSetting() 223 final String inServiceText = ResourcesUtils.getResourcesString( in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateTextToBeInService() 256 final String roamingOnString = ResourcesUtils.getResourcesString( in initialize_updateRoamingStatusIsRoaming_shouldSetSettingToRoaming() 267 final String roamingOffString = ResourcesUtils.getResourcesString( in initialize_updateRoamingStatusNotRoaming_shouldSetSettingToRoamingOff()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | ResourcesUtils.java | 43 public static String getResourcesString(Context context, String name) { in getResourcesString() method in ResourcesUtils 57 public static String getResourcesString(Context context, String name, Object... value) { in getResourcesString() method in ResourcesUtils
|
/packages/apps/Settings/tests/unit/src/com/android/settings/localepicker/ |
D | LocaleDialogFragmentTest.java | 85 assertEquals(ResourcesUtils.getResourcesString( in getDialogContent_confirmSystemDefault_has2ButtonText() 88 assertEquals(ResourcesUtils.getResourcesString(mContext, "cancel"), in getDialogContent_confirmSystemDefault_has2ButtonText() 102 assertEquals(ResourcesUtils.getResourcesString(mContext, "okay"), in getDialogContent_unavailableLocale_has1ButtonText()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | ManageablePreferenceTest.java | 55 final String alwaysOnString = ResourcesUtils.getResourcesString( in setAlwaysOnVpn_summaryUpdatedCorrectly() 64 final String insecureString = ResourcesUtils.getResourcesString( in setInsecure_summaryUpdatedCorrectly()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/combination/ |
D | CombinedBiometricStatusUtilsTest.java | 219 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenFaceEnrolled_whenMultipleFingerprints_returnsBothFpMultiple() 231 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenFaceEnrolled_whenSingleFingerprint_returnsBothFpSingle() 243 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenFaceEnrolled_whenNoFingerprints_returnsFace() 287 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenNoFaceEnrolled_whenNoFingerprints_returnsNoneEnrolled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySourceTest.java | 155 ResourcesUtils.getResourcesString( in setSafetySourceData_whenScreenLockIsEnabled_setData() 313 ResourcesUtils.getResourcesString( in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 317 ResourcesUtils.getResourcesString( in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 329 ResourcesUtils.getResourcesString( in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 406 ResourcesUtils.getResourcesString( in setSafetySourceData_whenPasswordQualityIsManaged_setDisabled()
|
D | BiometricsSafetySourceTest.java | 645 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceDisabledDataSetWithSingularSummary() 646 ResourcesUtils.getResourcesString(mApplicationContext, expectedSummaryResName)); in assertSafetySourceDisabledDataSetWithSingularSummary() 654 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceEnabledDataSetWithSingularSummary() 655 ResourcesUtils.getResourcesString(mApplicationContext, expectedSummaryResName), in assertSafetySourceEnabledDataSetWithSingularSummary() 669 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceDisabledDataSetWithPluralSummary() 685 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceEnabledDataSetWithPluralSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProviderModelSliceHelperTest.java | 186 String connectedText = ResourcesUtils.getResourcesString(mContext, in createCarrierRow_wifiOnhasDdsAndActiveNetworkIsCellular_verifyTitleAndSummary() 188 CharSequence expectedSubtitle = ResourcesUtils.getResourcesString(mContext, in createCarrierRow_wifiOnhasDdsAndActiveNetworkIsCellular_verifyTitleAndSummary() 205 ResourcesUtils.getResourcesString(mContext, "mobile_data_no_connection"); in createCarrierRow_noNetworkAvailable_verifyTitleAndSummary()
|
D | NetworkProviderSimListControllerTest.java | 152 return ResourcesUtils.getResourcesString(mContext, resName, value); in setSummaryResId() 156 return ResourcesUtils.getResourcesString(mContext, resName); in setSummaryResId()
|
D | ProviderModelSliceTest.java | 224 ResourcesUtils.getResourcesString(mContext, "wifi_settings")); in getSlice_airplaneModeIsOn_oneWifiToggle() 390 ResourcesUtils.getResourcesString(mContext, "summary_placeholder")); in getPrimarySliceAction()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceStatusUtilsTest.java | 154 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenNotEnrolled_returnsSummaryNone() 164 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenEnrolled_returnsSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherMaximizeCompatibilityPreferenceControllerTest.java | 116 assertThat(mPreference.getSummary()).isEqualTo(ResourcesUtils.getResourcesString(mContext, in updateDisplay_notSupportedBridgedApConcurrency_setSingleApSummary() 126 assertThat(mPreference.getSummary()).isEqualTo(ResourcesUtils.getResourcesString(mContext, in updateDisplay_supportedBridgedApConcurrency_setDualApSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerTest.java | 229 ResourcesUtils.getResourcesString(mContext, in updateState_opportunistic_disabled() 241 ResourcesUtils.getResourcesString(mContext, "mobile_data_settings_summary")); in updateState_notOpportunistic_enabled()
|
D | Enhanced4gLteSliceHelperTest.java | 207 ResourcesUtils.getResourcesString(mContext, "enhanced_4g_lte_mode_title")); in testEnhanced4gLteSettingsUnavailableSlice() 233 ResourcesUtils.getResourcesString(mContext, "enhanced_4g_lte_mode_title")); in testEnhanced4gLteSettingsToggleSlice()
|
D | PreferredNetworkModePreferenceControllerTest.java | 143 ResourcesUtils.getResourcesString(mContext, in updateState_updateByNetworkMode()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 226 ResourcesUtils.getResourcesString( in testSetUsageInfo_cycleRemainingTimeIsLessOneDay() 239 ResourcesUtils.getResourcesString(mContext, "billing_cycle_none_left")); in testSetUsageInfo_cycleRemainingTimeNegativeDaysLeft_shouldDisplayNoneLeft()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintStatusUtilsTest.java | 160 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenNotEnrolled_returnsSummaryNone()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | UserCredentialsSettingsTest.java | 193 return ResourcesUtils.getResourcesString(ApplicationProvider.getApplicationContext(), name); in getResString()
|