Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DModuleInfoProvider.java95 final Resources packageResources; in systemReady() local
102 packageResources = packageContext.getResources(); in systemReady()
108 XmlResourceParser parser = packageResources.getXml( in systemReady()
110 loadModuleMetadata(parser, packageResources); in systemReady()
113 private void loadModuleMetadata(XmlResourceParser parser, Resources packageResources) { in loadModuleMetadata() argument
146 final CharSequence moduleName = packageResources.getText( in loadModuleMetadata()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobMetadata.java687 final Resources packageResources = getPackageResources(context, packageName, in Leasee() local
689 this.descriptionResEntryName = getResourceEntryName(packageResources, descriptionResId); in Leasee()
692 ? getDescription(packageResources, descriptionResId) in Leasee()
705 private static String getResourceEntryName(@Nullable Resources packageResources, in getResourceEntryName() argument
707 if (!ResourceId.isValid(resId) || packageResources == null) { in getResourceEntryName()
710 return packageResources.getResourceEntryName(resId); in getResourceEntryName()
729 private static String getDescription(@Nullable Resources packageResources, in getDescription() argument
731 if (!ResourceId.isValid(descriptionResId) || packageResources == null) { in getDescription()
734 return packageResources.getString(descriptionResId); in getDescription()
DBlobStoreManagerService.java579 Resources packageResources = resourcesRef == null ? null : resourcesRef.get(); in queryBlobsForUserInternal()
580 if (packageResources == null) { in queryBlobsForUserInternal()
581 packageResources = getPackageResources(mContext, packageName, userId); in queryBlobsForUserInternal()
582 resources.put(packageName, new WeakReference<>(packageResources)); in queryBlobsForUserInternal()
584 return packageResources; in queryBlobsForUserInternal()
/frameworks/base/core/java/android/app/
DActivityThread.java2394 Resources packageResources = loadedApk.mResources; in isLoadedApkResourceDirsUpToDate() local
2398 return (packageResources == null || packageResources.getAssets().isUpToDate()) in isLoadedApkResourceDirsUpToDate()