Home
last modified time | relevance | path

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

12

/aosp12/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 DResolveInfo.java134 public CharSequence nonLocalizedLabel; field in ResolveInfo
219 if (nonLocalizedLabel != null) { in loadLabel()
220 return nonLocalizedLabel; in loadLabel()
352 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0) { in dump()
354 + " nonLocalizedLabel=" + nonLocalizedLabel in dump()
411 nonLocalizedLabel = orig.nonLocalizedLabel; in ResolveInfo()
476 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); in writeToParcel()
524 nonLocalizedLabel in ResolveInfo()
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 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 DPackageUserState.java195 @Nullable String nonLocalizedLabel, @Nullable Integer icon) { in overrideLabelAndIcon() argument
207 boolean changed = !TextUtils.equals(existingLabel, nonLocalizedLabel) in overrideLabelAndIcon()
211 if (nonLocalizedLabel == null && icon == null) { in overrideLabelAndIcon()
221 componentLabelIconOverrideMap.put(component, Pair.create(nonLocalizedLabel, icon)); in overrideLabelAndIcon()
H A DPermissionInfo.java692 if (nonLocalizedLabel != null) { in calculateFootprint()
693 size += nonLocalizedLabel.length(); in calculateFootprint()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/component/
H A DParsedIntentInfo.java141 CharSequence nonLocalizedLabel; field in ParsedIntentInfo
151 nonLocalizedLabel = in.readCharSequence(); in ParsedIntentInfo()
159 dest.writeCharSequence(nonLocalizedLabel); in writeIntentInfoToParcel()
179 return nonLocalizedLabel; in getNonLocalizedLabel()
H A DParsedComponent.java55 CharSequence nonLocalizedLabel; field in ParsedComponent
89 this.nonLocalizedLabel = other.getNonLocalizedLabel(); in ParsedComponent()
166 this.nonLocalizedLabel = in.readCharSequence(); in ParsedComponent()
193 return nonLocalizedLabel; in getNonLocalizedLabel()
H A DParsedComponentUtils.java65 component.nonLocalizedLabel = null; in parseComponent()
70 component.nonLocalizedLabel = null; in parseComponent()
92 component.nonLocalizedLabel = v.coerceToString(); in parseComponent()
H A DParsedActivity.java155 alias.nonLocalizedLabel = target.nonLocalizedLabel; in makeAlias()
H A DComponentParseUtils.java155 return component.nonLocalizedLabel; in getNonLocalizedLabel()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DSplashScreenStartingData.java40 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in SplashScreenStartingData() argument
46 mNonLocalizedLabel = nonLocalizedLabel; in SplashScreenStartingData()
H A DStartingSurfaceController.java61 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, in createSplashScreenStartingSurface() argument
65 theme, compatInfo, nonLocalizedLabel, labelRes, icon, logo, windowFlags, in createSplashScreenStartingSurface()
/aosp12/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
H A DMediaSourcesProviderTest.java205 activityInfo.nonLocalizedLabel = "Activity Label " + packageName; in newActivityResolveInfo()
208 applicationInfo.nonLocalizedLabel = "Activity Label " + packageName; in newActivityResolveInfo()
219 serviceInfo.nonLocalizedLabel = "Service Label " + packageName; in newServiceResolveInfo()
222 applicationInfo.nonLocalizedLabel = "Service Label " + packageName; in newServiceResolveInfo()
/aosp12/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.java563 permissionInfo.nonLocalizedLabel = mPermissionInfo.name; in generatePermissionInfo()
585 if (!Objects.equals(pi1.nonLocalizedLabel, pi2.nonLocalizedLabel)) return false; in comparePermissionInfos()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
H A DShortcutsUpdateTaskTest.java83 ri1.nonLocalizedLabel = "label1"; in shortcutsUpdateTask()
89 ri2.nonLocalizedLabel = "label2"; in shortcutsUpdateTask()
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageUtil.java148 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet()
149 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet()
/aosp12/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
H A DPackageManagerComponentLabelIconOverrideTest.kt227 assertThat(activityInfo.nonLocalizedLabel).isEqualTo(params.expectedLabel)
238 assertThat(activityInfo.nonLocalizedLabel).isEqualTo(DEFAULT_LABEL)
325 whenever(this.nonLocalizedLabel) { DEFAULT_LABEL }
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
H A DKeyboardPreferenceControllerTest.java205 serviceInfo.nonLocalizedLabel = label; in createInputMethodInfo()
207 resolveInfo.nonLocalizedLabel = label; in createInputMethodInfo()
/aosp12/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()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DParsingPackageImpl.java362 private CharSequence nonLocalizedLabel; field in ParsingPackageImpl
993 nonLocalizedLabel = value == null ? null : value.toString().trim();
1066 appInfo.nonLocalizedLabel = nonLocalizedLabel;
1206 dest.writeCharSequence(this.nonLocalizedLabel);
1330 this.nonLocalizedLabel = in.readCharSequence();
1920 return nonLocalizedLabel;
/aosp12/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()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
H A DSystemUpdatePreferenceControllerTest.java134 resolveInfo.nonLocalizedLabel = label; in onCreate_setsActivityLabelAsTitle()

12