Home
last modified time | relevance | path

Searched refs:nonLocalizedLabel (Results 1 – 25 of 40) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/content/pm/
H A DPackageItemInfo.java141 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 DLabeledIntent.java62 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 DResolveInfo.java143 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 DComponentInfo.java124 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 DPermissionInfo.java713 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 DParsedComponentImpl.java60 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 DParsedIntentInfoImpl.java142 … CharSequence nonLocalizedLabel = (flg & 0x4) == 0 ? null : (CharSequence) in.readCharSequence(); in ParsedIntentInfoImpl() local
148 this.mNonLocalizedLabel = nonLocalizedLabel; in ParsedIntentInfoImpl()
H A DParsedPermissionUtils.java277 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 DLegacyPermission.java162 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 DPermission.java565 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 DPackageUtil.java202 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 DPackageUserStateWrite.java71 @Nullable String nonLocalizedLabel, @Nullable Integer icon); in setComponentLabelIcon() argument
H A DPackageStateMutator.java436 @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 DUidPermissionPersistence.kt77 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 DParsedComponentTest.kt66 transformGet = { it.singleOrNull()?.nonLocalizedLabel },
/aosp14/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
H A DPackageManagerComponentLabelIconOverrideTest.kt237 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 DPackageUserStateImpl.java279 @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 DInputMethodSubtypeSwitchingControllerTest.java79 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 DInputMethodAndSubtypeUtilCompatTest.java249 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
H A DInputMethodAndSubtypeUtilTest.java241 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
H A DPackageImpl.java357 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 DPackageInfoUtils.java836 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 DParsingPackage.java314 ParsingPackage setNonLocalizedLabel(CharSequence nonLocalizedLabel); in setNonLocalizedLabel() argument
/aosp14/frameworks/base/services/core/java/com/android/server/pm/resolution/
H A DComponentResolver.java1188 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 DInputMethodInfo.java548 si.nonLocalizedLabel = label; in buildFakeResolveInfo()

12