/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioManagerTest.java | 65 import com.android.settings.testutils.ResourcesUtils; 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() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | VpnInfoPreferenceTest.java | 34 import com.android.settings.testutils.ResourcesUtils; 56 final int helpUrlId = ResourcesUtils.getResourcesId( in setUp() 64 final int layoutId = ResourcesUtils.getResourcesId( in setUp() 70 final int warningButtonId = ResourcesUtils.getResourcesId( in setUp() 89 final int helpUrlId = ResourcesUtils.getResourcesId( in onBindViewHolder_emptyUrl_iconInvisible() 116 final int dividerId = ResourcesUtils.getResourcesId(mContext, "id", "two_target_divider"); in onBindViewHolder_dividerInvisible()
|
D | ManageablePreferenceTest.java | 27 import com.android.settings.testutils.ResourcesUtils; 55 final String alwaysOnString = ResourcesUtils.getResourcesString( in setAlwaysOnVpn_summaryUpdatedCorrectly() 64 final String insecureString = ResourcesUtils.getResourcesString( in setInsecure_summaryUpdatedCorrectly() 81 int id = ResourcesUtils.getResourcesId(mContext, "array", "vpn_states"); in setState_summaryUpdatedCorrectly()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/regionalpreferences/ |
D | FirstDayOfWeekControllerTest.java | 26 import com.android.settings.testutils.ResourcesUtils; 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 | 26 import com.android.settings.testutils.ResourcesUtils; 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 | 29 import com.android.settings.testutils.ResourcesUtils; 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 | 40 import com.android.settings.testutils.ResourcesUtils; 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 | BrandedAccountPreferenceControllerTest.java | 35 import com.android.settings.testutils.ResourcesUtils; 66 final int boolId = ResourcesUtils.getResourcesId( in isAvailable_configOn_noAccount_off() 79 final int boolId = ResourcesUtils.getResourcesId( in isAvailable_accountIsAvailable_on() 95 final int boolId = ResourcesUtils.getResourcesId( in isAvailable_configOff_hasAccount_off()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/combination/ |
D | CombinedBiometricStatusUtilsTest.java | 43 import com.android.settings.testutils.ResourcesUtils; 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() 251 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenNoFaceEnrolled_whenMultipleFingerprints_returnsFingerprints() 267 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenNoFaceEnrolled_whenSingleFingerprints_returnsFingerprints() 287 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenNoFaceEnrolled_whenNoFingerprints_returnsNoneEnrolled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/localepicker/ |
D | LocaleDialogFragmentTest.java | 39 import com.android.settings.testutils.ResourcesUtils; 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/deviceinfo/simstatus/ |
D | SimStatusDialogControllerTest.java | 54 import com.android.settings.testutils.ResourcesUtils; 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/deviceinfo/hardwareinfo/ |
D | DeviceModelPreferenceControllerTest.java | 31 import com.android.settings.testutils.ResourcesUtils; 58 final int boolId = ResourcesUtils.getResourcesId( in getAvailabilityStatus_configAllowed_available() 68 final int boolId = ResourcesUtils.getResourcesId( in getAvailabilityStatus_configDisallowed_unavailable()
|
D | HardwareInfoPreferenceControllerTest.java | 36 import com.android.settings.testutils.ResourcesUtils; 74 final int boolId = ResourcesUtils.getResourcesId( in isAvailable_returnTrueIfVisible() 84 final int boolId = ResourcesUtils.getResourcesId( in isAvailable_returnFalseIfNotVisible()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/ |
D | GearPreferenceTest.java | 32 import com.android.settings.testutils.ResourcesUtils; 56 int layoutId = ResourcesUtils.getResourcesId(mContext, "layout", "preference_widget_gear"); in setUp() 63 int gearId = ResourcesUtils.getResourcesId(mContext, "id", "settings_button"); in setUp()
|
D | MutableGearPreferenceTest.java | 33 import com.android.settings.testutils.ResourcesUtils; 58 ResourcesUtils.getResourcesId(mContext, "layout", "preference_widget_gear"); in setUp() 65 int gearId = ResourcesUtils.getResourcesId(mContext, "id", "settings_button"); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/ |
D | DefaultCombinedPreferenceControllerTest.java | 36 import com.android.settings.testutils.ResourcesUtils; 127 ResourcesUtils.getResourcesId( in createTestPreference() 134 int gearId = ResourcesUtils.getResourcesId(mContext, "id", "settings_button"); in createTestPreference()
|
D | PrimaryProviderPreferenceTest.java | 34 import com.android.settings.testutils.ResourcesUtils; 139 int layoutId = ResourcesUtils.getResourcesId(mContext, "layout", layoutName); in createTestPreference() 145 int gearId = ResourcesUtils.getResourcesId(mContext, "id", "settings_button"); in createTestPreference()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | BiometricsSafetySourceTest.java | 55 import com.android.settings.testutils.ResourcesUtils; 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() 664 ResourcesUtils.getResourcesId( in assertSafetySourceDisabledDataSetWithPluralSummary() 669 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceDisabledDataSetWithPluralSummary() 680 ResourcesUtils.getResourcesId( in assertSafetySourceEnabledDataSetWithPluralSummary() 685 ResourcesUtils.getResourcesString(mApplicationContext, expectedTitleResName), in assertSafetySourceEnabledDataSetWithPluralSummary()
|
D | LockScreenSafetySourceTest.java | 44 import com.android.settings.testutils.ResourcesUtils; 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 | MoreSecurityPrivacyFragmentSettingsTest.java | 35 import com.android.settings.testutils.ResourcesUtils; 100 return ResourcesUtils.getResourcesId(mContext, "xml", resName); in getXmlResId()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceStatusUtilsTest.java | 38 import com.android.settings.testutils.ResourcesUtils; 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/security/ |
D | SecurityAdvancedSettingsControllerTest.java | 31 import com.android.settings.testutils.ResourcesUtils; 84 return ResourcesUtils.getResourcesString(mContext, resName); in getResourcesString()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProviderModelSliceHelperTest.java | 53 import com.android.settings.testutils.ResourcesUtils; 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()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintStatusUtilsTest.java | 38 import com.android.settings.testutils.ResourcesUtils; 160 .isEqualTo(ResourcesUtils.getResourcesString( in getSummary_whenNotEnrolled_returnsSummaryNone() 168 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenEnrolled_returnsSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 37 import com.android.settings.testutils.ResourcesUtils; 226 ResourcesUtils.getResourcesString( in testSetUsageInfo_cycleRemainingTimeIsLessOneDay() 239 ResourcesUtils.getResourcesString(mContext, "billing_cycle_none_left")); in testSetUsageInfo_cycleRemainingTimeNegativeDaysLeft_shouldDisplayNoneLeft() 387 int data_used_formatted_id = ResourcesUtils.getResourcesId( in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown() 389 int data_remaining_id = ResourcesUtils.getResourcesId( in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
|