/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/ |
D | DashboardUtils.kt | 105 StringUtils.getIcuPluralsString( in getTimeDiffStr() 111 StringUtils.getIcuPluralsString( in getTimeDiffStr() 117 StringUtils.getIcuPluralsString(context, R.string.hours, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 119 StringUtils.getIcuPluralsString(context, R.string.days, timeDiffAndUnit.first.toInt()) in getTimeDiffStr() 132 StringUtils.getIcuPluralsString( in getDurationUsedStr() 138 StringUtils.getIcuPluralsString( in getDurationUsedStr() 144 StringUtils.getIcuPluralsString( in getDurationUsedStr() 150 StringUtils.getIcuPluralsString( in getDurationUsedStr()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | PasswordHelper.java | 157 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 161 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 165 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 169 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 173 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 177 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 181 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 185 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement, in getCredentialValidationErrorMessages() 193 messages.add(StringUtil.getIcuPluralsString(mContext, error.requirement + 1, in getCredentialValidationErrorMessages()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | StringUtilsTest.kt | 33 StringUtils.getIcuPluralsString( in getIcuPluralsString_one_noArguments() 45 StringUtils.getIcuPluralsString( in getIcuPluralsString_other_noArguments() 57 StringUtils.getIcuPluralsString( in getIcuPluralsString_one_additionalArguments() 70 StringUtils.getIcuPluralsString( in getIcuPluralsString_other_additionalArguments()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | GestureShortcutOptionControllerTest.java | 89 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_notInSuw_verifySummary() 104 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_inSuw_verifySummary() 116 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_notInSuw_verifySummary() 131 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_inSuw_verifySummary()
|
D | QuickSettingsShortcutOptionControllerTest.java | 107 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_inSuw_verifySummary() 119 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationDisabled_notInSuw_verifySummary() 131 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_inSuw_verifySummary() 143 String expected = StringUtil.getIcuPluralsString( in getSummary_touchExplorationEnabled_notInSuw_verifySummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | TopLevelLocationPreferenceControllerTest.java | 71 StringUtil.getIcuPluralsString(mContext, locationAppCount, in getSummary_whenLocationIsOn_shouldPreservePreviousText() 81 StringUtil.getIcuPluralsString(mContext, locationAppCount, in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 91 StringUtil.getIcuPluralsString(mContext, locationAppCount, in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
D | AppLocationPermissionPreferenceControllerTest.java | 96 assertThat(mController.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 109 assertThat(mController.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/ |
D | PermissionUsageControlPreferenceUtils.kt | 61 StringUtils.getIcuPluralsString( in initPreference() 70 StringUtils.getIcuPluralsString( in initPreference() 76 StringUtils.getIcuPluralsString( in initPreference()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 864 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 868 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 872 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 876 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 880 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 884 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 888 messages.add(StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() 892 String message = StringUtil.getIcuPluralsString(getContext(), in convertErrorCodeToMessages() 903 message = StringUtil.getIcuPluralsString(getContext(), in convertErrorCodeToMessages() 911 StringUtil.getIcuPluralsString(getContext(), error.requirement, in convertErrorCodeToMessages() [all …]
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestData.kt | 122 getIcuPluralsString("overall_severity_level_tip_summary", numTipIssues) in safetyCenterStatusOneAlert() 136 getIcuPluralsString( in safetyCenterStatusOneAlert() 425 getIcuPluralsString("overall_severity_n_alerts_summary", numberOfAlerts) in getAlertString() 429 getIcuPluralsString("refresh_error", numberOfErrorEntries) in getAlertString() 431 private fun getIcuPluralsString(name: String, count: Int, vararg formatArgs: Any): String { in getAlertString() method
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | RestrictAppTip.java | 72 ? StringUtil.getIcuPluralsString( in getTitle() 74 : StringUtil.getIcuPluralsString( in getTitle() 92 return StringUtil.getIcuPluralsString(context, arguments, resId); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityShortcutsTutorialTest.java | 266 final CharSequence instruction = StringUtil.getIcuPluralsString(mContext, in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOn_verifyText() 298 final CharSequence expectedInstruction = StringUtil.getIcuPluralsString(mContext, in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOn_verifyText() 324 final CharSequence instruction = StringUtil.getIcuPluralsString(mContext, in createAccessibilityTutorialDialog_qsShortcut_inSuwTalkbackOff_verifyText() 355 final CharSequence expectedInstruction = StringUtil.getIcuPluralsString(mContext, in createAccessibilityTutorialDialog_qsShortcut_notInSuwTalkbackOff_verifyText() 485 final String expectedInstruction = StringUtil.getIcuPluralsString( in createAccessibilityTutorialDialog_gestureShortcut_talkbackOn_verifyText() 510 final String expectedInstruction = StringUtil.getIcuPluralsString( in createAccessibilityTutorialDialog_gestureShortcut_talkbackOff_verifyText()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/ |
D | PasswordHelperTest.java | 102 return StringUtil.getIcuPluralsString(mContext, lengthRequired, in passwordTooShort() 107 return StringUtil.getIcuPluralsString(mContext, lengthRequired, in pinTooShort() 112 return StringUtil.getIcuPluralsString(mContext, lengthRequired, in patternTooShort()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListPreferenceController.java | 198 return StringUtil.getIcuPluralsString(context, appCount, in getTitle() 203 return StringUtil.getIcuPluralsString(context, appCount, in getTitle() 206 return StringUtil.getIcuPluralsString(context, appCount, in getTitle()
|
D | CaCertsPreferenceControllerBase.java | 40 preference.setSummary(StringUtil.getIcuPluralsString(mContext, getNumberOfCaCerts(), in updateState()
|
D | FailedPasswordWipePreferenceControllerBase.java | 43 preference.setSummary(StringUtil.getIcuPluralsString(mContext, failedPasswordsBeforeWipe, in updateState()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingPreferenceController.java | 114 return StringUtil.getIcuPluralsString(mContext, numActivePrintJobs, in getSummary() 122 return StringUtil.getIcuPluralsString(mContext, services.size(), in getSummary()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/ |
D | ManageMicPermissionsPreferenceControllerTest.java | 139 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 157 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString() 182 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_multipleUsers_addsAppCounts()
|
D | ManageCameraPermissionsPreferenceControllerTest.java | 139 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenCameraAppCountIsOne_shouldShowSingularString() 157 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString() 182 assertThat(mPreference.getSummary()).isEqualTo(StringUtil.getIcuPluralsString(mContext, in getSummary_multipleUsers_addsAppCounts()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | ManageDeviceAdminPreferenceControllerTest.java | 60 StringUtil.getIcuPluralsString(mRealContext, 1, R.string.number_of_device_admins)); in testUpdateState_singleActiveAdminApp() 72 StringUtil.getIcuPluralsString(mRealContext, 2, R.string.number_of_device_admins)); in testUpdateState_multipleActiveAdminApps()
|
/packages/apps/Settings/src/com/android/settings/ |
D | MonitoringCertInfoActivity.java | 71 final CharSequence title = StringUtil.getIcuPluralsString(this, numberOfCertificates, in onCreate() 78 builder.setPositiveButton(StringUtil.getIcuPluralsString(this, numberOfCertificates, in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/ |
D | PrintSettingsPreferenceControllerTest.java | 123 .isEqualTo(StringUtil.getIcuPluralsString(mContext, 1, in updateState_hasActiveJob_shouldSetSummaryToNumberOfJobs() 139 .isEqualTo(StringUtil.getIcuPluralsString(mContext, 2, in updateState_shouldSetSummaryToNumberOfPrintServices()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | StringUtils.java | 40 public static String getIcuPluralsString(@NonNull Context context, @StringRes int stringResId, in getIcuPluralsString() method in StringUtils
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ConversationListSummaryPreferenceController.java | 45 return StringUtil.getIcuPluralsString(mContext, count, in getSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | PerfImpactingAppsEntryPreferenceController.java | 52 getPreference().setSummary(StringUtil.getIcuPluralsString(getContext(), in onPerfImpactingAppsLoaded()
|