Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java143 public CharSequence nonLocalizedLabel; field in PackageItemInfo
197 nonLocalizedLabel = orig.nonLocalizedLabel; in PackageItemInfo()
198 if (nonLocalizedLabel != null) nonLocalizedLabel = nonLocalizedLabel.toString().trim(); in PackageItemInfo()
233 if (nonLocalizedLabel != null) { in loadUnsafeLabel()
234 return nonLocalizedLabel; in loadUnsafeLabel()
448 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0 || banner != 0) { in dumpFront()
450 + " nonLocalizedLabel=" + nonLocalizedLabel in dumpFront()
464 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); in writeToParcel()
483 if (nonLocalizedLabel != null) { in dumpDebug()
484 proto.write(PackageItemInfoProto.NON_LOCALIZED_LABEL, nonLocalizedLabel.toString()); in dumpDebug()
[all …]
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()
DResolveInfo.java146 public CharSequence nonLocalizedLabel; field in ResolveInfo
233 if (nonLocalizedLabel != null) { in loadLabel()
234 return nonLocalizedLabel; in loadLabel()
373 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0) { in dump()
375 + " nonLocalizedLabel=" + nonLocalizedLabel in dump()
432 nonLocalizedLabel = orig.nonLocalizedLabel; in ResolveInfo()
502 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); in writeToParcel()
551 nonLocalizedLabel in ResolveInfo()
DComponentInfo.java125 if (nonLocalizedLabel != null) { in loadUnsafeLabel()
126 return nonLocalizedLabel; in loadUnsafeLabel()
136 if (ai.nonLocalizedLabel != null) { in loadUnsafeLabel()
137 return ai.nonLocalizedLabel; in loadUnsafeLabel()
DPermissionInfo.java752 if (nonLocalizedLabel != null) { in calculateFootprint()
753 size += nonLocalizedLabel.length(); in calculateFootprint()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
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()
DParsedIntentInfoImpl.java142 … CharSequence nonLocalizedLabel = (flg & 0x4) == 0 ? null : (CharSequence) in.readCharSequence(); in ParsedIntentInfoImpl() local
148 this.mNonLocalizedLabel = nonLocalizedLabel; in ParsedIntentInfoImpl()
DParsedPermissionUtils.java277 CharSequence nonLocalizedLabel = permission.getNonLocalizedLabel(); in calculateFootprint() local
278 if (nonLocalizedLabel != null) { in calculateFootprint()
279 size += nonLocalizedLabel.length(); in calculateFootprint()
/frameworks/base/services/core/java/com/android/server/pm/permission/
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()
DPermission.java565 permissionInfo.nonLocalizedLabel = mPermissionInfo.name; in generatePermissionInfo()
589 if (!Objects.equals(pi1.nonLocalizedLabel, pi2.nonLocalizedLabel)) return false; in comparePermissionInfos()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DTestUtils.java93 si.nonLocalizedLabel = "Fake Label"; in createFakeInputMethodInfo()
DInputMethodSubtypeSwitchingControllerTest.java73 si.nonLocalizedLabel = imeLabel; in addDummyImeSubtypeListItems()
110 si.nonLocalizedLabel = DUMMY_IME_LABEL; in createDummyItem()
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java72 @Nullable String nonLocalizedLabel, @Nullable Integer icon); in setComponentLabelIcon() argument
DPackageStateMutator.java437 @Nullable String nonLocalizedLabel, @Nullable Integer icon) { in setComponentLabelIcon() argument
439 mUserState.overrideLabelAndIcon(componentName, nonLocalizedLabel, icon); in setComponentLabelIcon()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedComponentTest.kt66 transformGet = { it.singleOrNull()?.nonLocalizedLabel }, in <lambda>()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPersistence.kt107 nonLocalizedLabel = getAttributeValue(ATTR_LABEL) in <lambda>()
142 permissionInfo.nonLocalizedLabel?.toString()?.let { attribute(ATTR_LABEL, it) } in <lambda>()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt237 assertThat(activityInfo?.nonLocalizedLabel).isEqualTo(params.expectedLabel) in <lambda>()
253 assertThat(activityInfo?.nonLocalizedLabel).isEqualTo(DEFAULT_LABEL) in <lambda>()
344 whenever(this.nonLocalizedLabel) { DEFAULT_LABEL } in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DPackageUtil.kt301 label = if (appInfo.nonLocalizedLabel != null) appInfo.nonLocalizedLabel in getAppLabelFromFile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java263 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet()
264 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateImpl.java313 @Nullable String nonLocalizedLabel, @Nullable Integer icon) {
325 boolean changed = !TextUtils.equals(existingLabel, nonLocalizedLabel)
329 if (nonLocalizedLabel == null && icon == null) {
340 mComponentLabelIconOverrideMap.put(component, Pair.create(nonLocalizedLabel, icon));
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodInfoSafeListTest.java61 si.nonLocalizedLabel = name; in createFakeInputMethodInfo()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilTest.java241 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
DInputMethodAndSubtypeUtilCompatTest.java249 si.nonLocalizedLabel = "Fake IME"; in createFakeIme()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java422 ai.nonLocalizedLabel = state.getArchiveState().getActivityInfos().get(0).getTitle(); in updateApplicationInfo()
895 packageItemInfo.nonLocalizedLabel = ComponentParseUtils.getNonLocalizedLabel(component); in assignFieldsPackageItemInfoParsedComponent()
911 info.nonLocalizedLabel = labelAndIcon.first; in assignFieldsComponentInfoParsedMainComponent()
922 info.nonLocalizedLabel = labelAndIcon.first; in assignFieldsPackageItemInfoParsedComponent()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java363 private CharSequence nonLocalizedLabel; field in PackageImpl
1108 return nonLocalizedLabel; in getNonLocalizedLabel()
2197 nonLocalizedLabel = value == null ? null : value.toString().trim();
2628 appInfo.nonLocalizedLabel = nonLocalizedLabel;
3228 dest.writeCharSequence(this.nonLocalizedLabel);
3394 this.nonLocalizedLabel = in.readCharSequence();

12