Home
last modified time | relevance | path

Searched refs:getIcuPluralsString (Results 1 – 25 of 95) sorted by relevance

1234

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DDashboardUtils.kt105 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/
DPasswordHelper.java157 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/
DStringUtilsTest.kt33 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/
DGestureShortcutOptionControllerTest.java89 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()
DQuickSettingsShortcutOptionControllerTest.java107 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/
DTopLevelLocationPreferenceControllerTest.java71 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()
DAppLocationPermissionPreferenceControllerTest.java96 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/
DPermissionUsageControlPreferenceUtils.kt61 StringUtils.getIcuPluralsString( in initPreference()
70 StringUtils.getIcuPluralsString( in initPreference()
76 StringUtils.getIcuPluralsString( in initPreference()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java864 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/
DSafetyCenterTestData.kt122 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/
DRestrictAppTip.java72 ? 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/
DAccessibilityShortcutsTutorialTest.java266 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/
DPasswordHelperTest.java102 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/
DEnterpriseSetDefaultAppsListPreferenceController.java198 return StringUtil.getIcuPluralsString(context, appCount, in getTitle()
203 return StringUtil.getIcuPluralsString(context, appCount, in getTitle()
206 return StringUtil.getIcuPluralsString(context, appCount, in getTitle()
DCaCertsPreferenceControllerBase.java40 preference.setSummary(StringUtil.getIcuPluralsString(mContext, getNumberOfCaCerts(), in updateState()
DFailedPasswordWipePreferenceControllerBase.java43 preference.setSummary(StringUtil.getIcuPluralsString(mContext, failedPasswordsBeforeWipe, in updateState()
/packages/apps/Settings/src/com/android/settings/print/
DPrintSettingPreferenceController.java114 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/
DManageMicPermissionsPreferenceControllerTest.java139 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()
DManageCameraPermissionsPreferenceControllerTest.java139 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/
DManageDeviceAdminPreferenceControllerTest.java60 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/
DMonitoringCertInfoActivity.java71 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/
DPrintSettingsPreferenceControllerTest.java123 .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/
DStringUtils.java40 public static String getIcuPluralsString(@NonNull Context context, @StringRes int stringResId, in getIcuPluralsString() method in StringUtils
/packages/apps/Settings/src/com/android/settings/notification/
DConversationListSummaryPreferenceController.java45 return StringUtil.getIcuPluralsString(mContext, count, in getSummary()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DPerfImpactingAppsEntryPreferenceController.java52 getPreference().setSummary(StringUtil.getIcuPluralsString(getContext(), in onPerfImpactingAppsLoaded()

1234