Home
last modified time | relevance | path

Searched refs:packageResources (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DModuleInfoProvider.java105 final Resources packageResources; in systemReady() local
112 packageResources = packageContext.getResources(); in systemReady()
118 XmlResourceParser parser = packageResources.getXml( in systemReady()
120 loadModuleMetadata(parser, packageResources); in systemReady()
123 private void loadModuleMetadata(XmlResourceParser parser, Resources packageResources) { in loadModuleMetadata() argument
156 final CharSequence moduleName = packageResources.getText( in loadModuleMetadata()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobMetadata.java828 final Resources packageResources = getPackageResources(context, packageName, in Leasee() local
830 this.descriptionResEntryName = getResourceEntryName(packageResources, descriptionResId); in Leasee()
833 ? getDescription(packageResources, descriptionResId) in Leasee()
846 private static String getResourceEntryName(@Nullable Resources packageResources, in getResourceEntryName() argument
848 if (!ResourceId.isValid(resId) || packageResources == null) { in getResourceEntryName()
851 return packageResources.getResourceEntryName(resId); in getResourceEntryName()
870 private static String getDescription(@Nullable Resources packageResources, in getDescription() argument
872 if (!ResourceId.isValid(descriptionResId) || packageResources == null) { in getDescription()
875 return packageResources.getString(descriptionResId); in getDescription()
DBlobStoreManagerService.java588 Resources packageResources = resourcesRef == null ? null : resourcesRef.get(); in queryBlobsForUserInternal()
589 if (packageResources == null) { in queryBlobsForUserInternal()
590 packageResources = getPackageResources(mContext, packageName, userId); in queryBlobsForUserInternal()
591 resources.put(packageName, new WeakReference<>(packageResources)); in queryBlobsForUserInternal()
593 return packageResources; in queryBlobsForUserInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java542 final Resources packageResources = mContext.getResources(); in getDisclosureText() local
560 () -> packageResources.getString(R.string.do_disclosure_generic)); in getDisclosureText()
562 return packageResources.getString(R.string.do_financed_disclosure_with_name, in getDisclosureText()
567 () -> packageResources.getString( in getDisclosureText()
/frameworks/base/core/java/android/app/
DActivityThread.java2984 Resources packageResources = loadedApk.mResources; in isLoadedApkResourceDirsUpToDate() local
2992 return (packageResources == null || packageResources.getAssets().isUpToDate()) in isLoadedApkResourceDirsUpToDate()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java10162 Resources packageResources = mAtmService.mContext.createPackageContextAsUser(
10165 packageResources.getSizeAndUiModeConfigurations()) {