/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/util/ |
D | LazyStringResource.kt | 34 abstract val formatArgs: Array<out CharSequence> constant in com.android.managedprovisioning.util.LazyStringResource 38 runCatching { context.getString(resId, *formatArgs) } in value() 40 val args = formatArgs.joinToString(",") in <lambda>() 64 !formatArgs.contentEquals(other.formatArgs) -> false in isBlank() 70 result = 31 * result + formatArgs.contentHashCode() in hashCode() 78 dest.writeInt(formatArgs.size) in describeContents() 79 dest.writeStringArray(formatArgs.map(CharSequence::toString).toTypedArray()) in describeContents() 90 putCharSequenceArray(BUNDLE_ARGS, formatArgs) in toBundle() 104 operator fun invoke(@StringRes resId: Int, vararg formatArgs: CharSequence) = in toString() 105 if (resId == 0) Empty else Raw(resId, formatArgs = formatArgs) in toString() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | ResourcesUtil.java | 55 Object... formatArgs) { in getQuantityString() argument 62 return resources.getQuantityString(id, count, formatArgs); in getQuantityString() 70 public static String getString(Context context, String name, Object... formatArgs) { in getString() argument 76 return resources.getString(id, formatArgs); in getString()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | ResourcesUtil.java | 55 Object... formatArgs) { in getQuantityString() argument 62 return resources.getQuantityString(id, count, formatArgs); in getQuantityString() 70 public static String getString(Context context, String name, Object... formatArgs) { in getString() argument 76 return resources.getString(id, formatArgs); in getString()
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | DataUsageFormatter.kt | 34 fun format(context: Context, @StringRes resId: Int, vararg formatArgs: Any?) = in format() 36 displayText = context.getString(resId, displayText, *formatArgs), in format() 37 contentDescription = context.getString(resId, contentDescription, *formatArgs), in format()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/ |
D | HealthConnectResourcesContext.java | 193 public String getStringByNameWithArgs(@NonNull String name, Object... formatArgs) { in getStringByNameWithArgs() argument 195 return getOptionalStringWithArgs(id, formatArgs); in getStringByNameWithArgs() 225 private String getOptionalStringWithArgs(@StringRes int stringId, Object... formatArgs) { in getOptionalStringWithArgs() argument 230 return getString(stringId, formatArgs); in getOptionalStringWithArgs()
|
D | MigrationNotificationFactory.java | 164 private String getStringResourceWithArgs(@NonNull String name, Object... formatArgs) { in getStringResourceWithArgs() argument 165 return mResContext.getStringByNameWithArgs(name, formatArgs); in getStringResourceWithArgs()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestResources.java | 36 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() argument 37 return String.format(getString(id), formatArgs); in getString()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | ResourceTestUtils.java | 35 public static String getString(Context context, String name, Object... formatArgs) { in getString() argument 37 name, /* type= */ "string", context.getPackageName()), formatArgs); in getString()
|
/packages/modules/Permission/SafetyCenter/ResourcesLib/java/com/android/safetycenter/resources/ |
D | SafetyCenterResourcesApk.java | 241 public String getString(@StringRes int stringId, Object... formatArgs) { in getString() argument 242 return getContext().getString(stringId, formatArgs); in getString() 260 public String getStringByName(String name, Object... formatArgs) { in getStringByName() argument 265 return getString(resId, formatArgs); in getStringByName()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | StringUtils.java | 41 int count, Object... formatArgs) { in getIcuPluralsString() argument 43 context.getResources().getString(stringResId, formatArgs), in getIcuPluralsString()
|
D | Utils.java | 1567 @NonNull String updatableStringId, int defaultStringId, @NonNull Object... formatArgs) { in getEnterpriseString() argument 1570 context, updatableStringId, defaultStringId, formatArgs) in getEnterpriseString() 1571 : context.getString(defaultStringId, formatArgs); in getEnterpriseString() 1577 @NonNull String updatableStringId, int defaultStringId, @NonNull Object... formatArgs) { in getUpdatableEnterpriseString() argument 1580 defaultStringId, formatArgs), formatArgs); in getUpdatableEnterpriseString()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeBaseFragment.java | 95 protected void setHeaderTitle(int resId, Object... formatArgs) { in setHeaderTitle() argument 96 mGlifLayout.setHeaderText(getString(resId, formatArgs)); in setHeaderTitle()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestResources.java | 86 @StringRes int id, Object... formatArgs) throws NotFoundException { in getString() argument 88 return String.format(raw, formatArgs); in getString()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 96 public String getString(int id, Object... formatArgs) { in getString() argument 98 return String.format("Today at %s", formatArgs); in getString() 101 return String.format("Tomorrow at %s", formatArgs); in getString() 104 return String.format("%s, %s", formatArgs); in getString()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterTestData.kt | 431 private fun getIcuPluralsString(name: String, count: Int, vararg formatArgs: Any): String { in getAlertString() 434 safetyCenterResourcesApk.getStringByName(name, formatArgs), in getAlertString()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | BasePermissionTest.kt | 217 protected fun getPermissionControllerString(res: String, vararg formatArgs: Any): Pattern { in <lambda>() 225 *formatArgs in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceController.java | 437 String formatArgs) { in setContentDescriptionFromDevicePolicyResource() argument 439 if (formatArgs != null) { in setContentDescriptionFromDevicePolicyResource() 440 return mContext.getString(resourceIdentifier, formatArgs); in setContentDescriptionFromDevicePolicyResource()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterDataFactory.java | 1184 private String getIcuPluralsString(String name, int count, Object... formatArgs) { in getIcuPluralsString() argument 1187 mSafetyCenterResourcesApk.getStringByName(name, formatArgs), in getIcuPluralsString()
|
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/ |
D | StubGenerator.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/jf/
org/ ... |