Home
last modified time | relevance | path

Searched refs:MAX_SAFE_LABEL_LENGTH (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java63 public static final int MAX_SAFE_LABEL_LENGTH = 1000; field in PackageItemInfo
226 return TextUtils.trimToSize(loadUnsafeLabel(pm), MAX_SAFE_LABEL_LENGTH); in loadLabel()
273 return makeSafeForPresentation(loadUnsafeLabel(pm).toString(), MAX_SAFE_LABEL_LENGTH, in loadSafeLabel()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt221 .isEqualTo(longLabel.take(PackageItemInfo.MAX_SAFE_LABEL_LENGTH)) in <lambda>()
421 private fun invalidAppLabel() = (0 until PackageItemInfo.MAX_SAFE_LABEL_LENGTH + 10) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java694 PackageItemInfo.MAX_SAFE_LABEL_LENGTH);
DPackageInstallerSession.java27 import static android.content.pm.PackageItemInfo.MAX_SAFE_LABEL_LENGTH;
4152 return TextUtils.trimToSize(tryLoadingAppLabel(res, appInfo), MAX_SAFE_LABEL_LENGTH);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12376 Landroid/content/pm/PackageItemInfo;->MAX_SAFE_LABEL_LENGTH:I