/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() argument 43 context.getResources().getString(stringResId, formatArgs), in getIcuPluralsString()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/combination/ |
D | CombinedBiometricStatusUtilsTest.java | 251 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenNoFaceEnrolled_whenMultipleFingerprints_returnsFingerprints() local 255 enrolledFingerprintsCount, stringResId); in getSummary_whenNoFaceEnrolled_whenMultipleFingerprints_returnsFingerprints() 267 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenNoFaceEnrolled_whenSingleFingerprints_returnsFingerprints() local 271 enrolledFingerprintsCount, stringResId); in getSummary_whenNoFaceEnrolled_whenSingleFingerprints_returnsFingerprints()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSettingsTest.java | 231 int stringResId = com.android.settingslib.R.string.wifi_security_sae; in onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse() local 234 mSettings.onSecuritySummaryChanged(stringResId); in onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse() 236 verify(mSettings.mWifiHotspotSecurity).setSummary(stringResId); in onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse() 241 int stringResId = R.string.wifi_hotspot_speed_summary_6g; in onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse() local 244 mSettings.onSpeedSummaryChanged(stringResId); in onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse() 246 verify(mSettings.mWifiHotspotSpeed).setSummary(stringResId); in onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerStringFormatter.kt | 124 @StringRes stringResId: Int, in formatString() 128 return String.format(context.getString(stringResId), in formatString()
|
/packages/apps/Settings/src/com/android/settings/spa/development/ |
D | UsageStatsListModel.kt | 60 text = context.getString(it.stringResId), in <lambda>() 107 private enum class SpinnerItem(val stringResId: Int) { in <lambda>() constant in com.android.settings.spa.development.UsageStatsListModel.SpinnerItem
|
/packages/apps/Settings/src/com/android/settings/spa/notification/ |
D | AppNotificationsListModel.kt | 116 text = context.getString(it.stringResId), in <lambda>() 156 private enum class SpinnerItem(val stringResId: Int) { constant in com.android.settings.spa.notification.SpinnerItem
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintStatusUtilsTest.java | 168 final int stringResId = ResourcesUtils.getResourcesId( in getSummary_whenEnrolled_returnsSummary() local 172 enrolledFingerprintsCount, stringResId); in getSummary_whenEnrolled_returnsSummary()
|
/packages/apps/Settings/src/com/android/settings/spa/app/ |
D | AllAppList.kt | 105 text = context.getString(it.stringResId), in getSpinnerOptions() 160 private enum class SpinnerItem(val stringResId: Int) { constant in com.android.settings.spa.app.SpinnerItem
|
/packages/apps/Settings/src/com/android/settings/spa/app/battery/ |
D | BatteryOptimizationModeAppListPageProvider.kt | 95 text = context.getString(it.stringResId), in getSpinnerOptions() 158 private enum class OptimizationModeSpinnerItem(val stringResId: Int) { constant in com.android.settings.spa.app.battery.OptimizationModeSpinnerItem
|
/packages/apps/Settings/src/com/android/settings/spa/app/appcompat/ |
D | UserAspectRatioAppsPageProvider.kt | 156 text = context.getString(it.stringResId), in getSpinnerOptions() 234 private enum class SpinnerItem(val stringResId: Int) { constant in com.android.settings.spa.app.appcompat.SpinnerItem
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | BiometricsSafetySourceTest.java | 663 final int stringResId = in assertSafetySourceDisabledDataSetWithPluralSummary() local 671 mApplicationContext, expectedSummaryQuantity, stringResId)); in assertSafetySourceDisabledDataSetWithPluralSummary() 679 final int stringResId = in assertSafetySourceEnabledDataSetWithPluralSummary() local 687 mApplicationContext, expectedSummaryQuantity, stringResId), in assertSafetySourceEnabledDataSetWithPluralSummary()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | ScreenLockPreferenceDetailsUtilsTest.java | 326 final int stringResId = ResourcesUtils.getResourcesId( in prepareString() local 328 when(mResources.getString(stringResId)).thenReturn(string); in prepareString()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 2567 int stringResId = R.string.message_status_send_failed; 2577 stringResId = R.string.mms_failure_outgoing_service; 2582 stringResId = R.string.mms_failure_outgoing_address; 2586 stringResId = R.string.mms_failure_outgoing_corrupt; 2590 stringResId = R.string.mms_failure_outgoing_content; 2595 stringResId = R.string.mms_failure_outgoing_unsupported; 2598 stringResId = R.string.mms_failure_outgoing_too_large; 2601 return stringResId;
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | SimOnboardingPageProvider.kt | 51 enum class SimOnboardingScreen(val stringResId: Int) { constant in com.android.settings.spa.network.SimOnboardingScreen
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDocumentsProvider.java | 742 private Cursor createErrorCursor(String[] projection, int stringResId) { in createErrorCursor() argument 744 bundle.putString(DocumentsContract.EXTRA_ERROR, mResources.getString(stringResId)); in createErrorCursor()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 2551 private void announceForAccessibility(@StringRes int stringResId) { 2552 getDragLayer().announceForAccessibility(getString(stringResId));
|