Home
last modified time | relevance | path

Searched refs:stringResId (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DStringUtils.java40 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/
DCombinedBiometricStatusUtilsTest.java251 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/
DWifiTetherSettingsTest.java231 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/
DTimerStringFormatter.kt124 @StringRes stringResId: Int, in formatString()
128 return String.format(context.getString(stringResId), in formatString()
/packages/apps/Settings/src/com/android/settings/spa/development/
DUsageStatsListModel.kt60 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/
DAppNotificationsListModel.kt116 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/
DFingerprintStatusUtilsTest.java168 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/
DAllAppList.kt105 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/
DBatteryOptimizationModeAppListPageProvider.kt95 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/
DUserAspectRatioAppsPageProvider.kt156 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/
DBiometricsSafetySourceTest.java663 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/
DScreenLockPreferenceDetailsUtilsTest.java326 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/
DMmsUtils.java2567 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/
DSimOnboardingPageProvider.kt51 enum class SimOnboardingScreen(val stringResId: Int) { constant in com.android.settings.spa.network.SimOnboardingScreen
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java742 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/
DLauncher.java2551 private void announceForAccessibility(@StringRes int stringResId) {
2552 getDragLayer().announceForAccessibility(getString(stringResId));