/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | PackageItemInfo.java | 141 public CharSequence nonLocalizedLabel; field in PackageItemInfo 185 nonLocalizedLabel = orig.nonLocalizedLabel; in PackageItemInfo() 186 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo() 218 if (nonLocalizedLabel != null) { in loadUnsafeLabel() 219 return nonLocalizedLabel; in loadUnsafeLabel() 423 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0 || banner != 0) { in dumpFront() 425 + " nonLocalizedLabel=" + nonLocalizedLabel in dumpFront() 439 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); in writeToParcel() 457 if (nonLocalizedLabel != null) { in dumpDebug() 458 proto.write(PackageItemInfoProto.NON_LOCALIZED_LABEL, nonLocalizedLabel.toString()); in dumpDebug() [all …]
|
H A D | LabeledIntent.java | 62 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() argument 66 mNonLocalizedLabel = nonLocalizedLabel; in LabeledIntent() 94 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() argument 97 mNonLocalizedLabel = nonLocalizedLabel; in LabeledIntent()
|
H A D | ResolveInfo.java | 143 public CharSequence nonLocalizedLabel; field in ResolveInfo 228 if (nonLocalizedLabel != null) { in loadLabel() 229 return nonLocalizedLabel; in loadLabel() 361 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0) { in dump() 363 + " nonLocalizedLabel=" + nonLocalizedLabel in dump() 420 nonLocalizedLabel = orig.nonLocalizedLabel; in ResolveInfo() 490 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); in writeToParcel() 539 nonLocalizedLabel in ResolveInfo()
|
H A D | ComponentInfo.java | 124 if (nonLocalizedLabel != null) { in loadUnsafeLabel() 125 return nonLocalizedLabel; in loadUnsafeLabel() 135 if (ai.nonLocalizedLabel != null) { in loadUnsafeLabel() 136 return ai.nonLocalizedLabel; in loadUnsafeLabel()
|
H A D | PermissionInfo.java | 713 if (nonLocalizedLabel != null) { in calculateFootprint() 714 size += nonLocalizedLabel.length(); in calculateFootprint()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
H A D | ParsedComponentImpl.java | 60 private CharSequence nonLocalizedLabel; field in ParsedComponentImpl 94 this.nonLocalizedLabel = other.getNonLocalizedLabel(); in ParsedComponentImpl() 181 this.nonLocalizedLabel = in.readCharSequence(); in ParsedComponentImpl() 225 return nonLocalizedLabel; in getNonLocalizedLabel() 272 nonLocalizedLabel = value; in setNonLocalizedLabel()
|
H A D | ParsedIntentInfoImpl.java | 142 … CharSequence nonLocalizedLabel = (flg & 0x4) == 0 ? null : (CharSequence) in.readCharSequence(); in ParsedIntentInfoImpl() local 148 this.mNonLocalizedLabel = nonLocalizedLabel; in ParsedIntentInfoImpl()
|
H A D | ParsedPermissionUtils.java | 277 CharSequence nonLocalizedLabel = permission.getNonLocalizedLabel(); in calculateFootprint() local 278 if (nonLocalizedLabel != null) { in calculateFootprint() 279 size += nonLocalizedLabel.length(); in calculateFootprint()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | LegacyPermission.java | 162 bp.mPermissionInfo.nonLocalizedLabel = parser.getAttributeValue(null, "label"); in read() 191 if (mPermissionInfo.nonLocalizedLabel != null) { in write() 192 serializer.attribute(null, "label", mPermissionInfo.nonLocalizedLabel.toString()); in write()
|
H A D | Permission.java | 565 permissionInfo.nonLocalizedLabel = mPermissionInfo.name; in generatePermissionInfo() 589 if (!Objects.equals(pi1.nonLocalizedLabel, pi2.nonLocalizedLabel)) return false; in comparePermissionInfos()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageUtil.java | 202 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet() 203 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/ |
H A D | PackageUserStateWrite.java | 71 @Nullable String nonLocalizedLabel, @Nullable Integer icon); in setComponentLabelIcon() argument
|
H A D | PackageStateMutator.java | 436 @Nullable String nonLocalizedLabel, @Nullable Integer icon) { in setComponentLabelIcon() argument 438 mUserState.overrideLabelAndIcon(componentName, nonLocalizedLabel, icon); in setComponentLabelIcon()
|
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
H A D | UidPermissionPersistence.kt | 77 nonLocalizedLabel = getAttributeValue(ATTR_LABEL) 122 permissionInfo.nonLocalizedLabel?.toString()?.let { attribute(ATTR_LABEL, it) }
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
H A D | ParsedComponentTest.kt | 66 transformGet = { it.singleOrNull()?.nonLocalizedLabel },
|
/aosp14/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
H A D | PackageManagerComponentLabelIconOverrideTest.kt | 237 assertThat(activityInfo?.nonLocalizedLabel).isEqualTo(params.expectedLabel) 253 assertThat(activityInfo?.nonLocalizedLabel).isEqualTo(DEFAULT_LABEL) 346 whenever(this.nonLocalizedLabel) { DEFAULT_LABEL }
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
H A D | PackageUserStateImpl.java | 279 @Nullable String nonLocalizedLabel, @Nullable Integer icon) { 291 boolean changed = !TextUtils.equals(existingLabel, nonLocalizedLabel) 295 if (nonLocalizedLabel == null && icon == null) { 306 mComponentLabelIconOverrideMap.put(component, Pair.create(nonLocalizedLabel, icon));
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
H A D | InputMethodSubtypeSwitchingControllerTest.java | 79 si.nonLocalizedLabel = imeLabel; in addDummyImeSubtypeListItems() 116 si.nonLocalizedLabel = DUMMY_IME_LABEL; in createDummyItem()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeUtilCompatTest.java | 249 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
|
H A D | InputMethodAndSubtypeUtilTest.java | 241 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
H A D | PackageImpl.java | 357 private CharSequence nonLocalizedLabel; field in PackageImpl 1087 return nonLocalizedLabel; in getNonLocalizedLabel() 2159 nonLocalizedLabel = value == null ? null : value.toString().trim(); 2578 appInfo.nonLocalizedLabel = nonLocalizedLabel; 3169 dest.writeCharSequence(this.nonLocalizedLabel); 3327 this.nonLocalizedLabel = in.readCharSequence();
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
H A D | PackageInfoUtils.java | 836 packageItemInfo.nonLocalizedLabel = ComponentParseUtils.getNonLocalizedLabel(component); in assignFieldsPackageItemInfoParsedComponent() 852 info.nonLocalizedLabel = labelAndIcon.first; in assignFieldsComponentInfoParsedMainComponent() 863 info.nonLocalizedLabel = labelAndIcon.first; in assignFieldsPackageItemInfoParsedComponent()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/ |
H A D | ParsingPackage.java | 314 ParsingPackage setNonLocalizedLabel(CharSequence nonLocalizedLabel); in setNonLocalizedLabel() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
H A D | ComponentResolver.java | 1188 res.nonLocalizedLabel = info.getNonLocalizedLabel(); in newResult() 1475 res.nonLocalizedLabel = intentInfo.getNonLocalizedLabel(); in newResult() 1706 res.nonLocalizedLabel = intentInfo.getNonLocalizedLabel(); in newResult()
|
/aosp14/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 548 si.nonLocalizedLabel = label; in buildFakeResolveInfo()
|