Home
last modified time | relevance | path

Searched refs:apkAssets (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/pm/split/
DDefaultSplitAssetLoader.java71 ApkAssets[] apkAssets = new ApkAssets[(mSplitCodePaths != null in getBaseAssetManager() local
76 apkAssets[splitIdx++] = loadApkAssets(mBaseCodePath, mFlags); in getBaseAssetManager()
81 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags); in getBaseAssetManager()
88 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in getBaseAssetManager()
DSplitAssetDependencyLoader.java82 private static AssetManager createAssetManagerWithAssets(ApkAssets[] apkAssets) { in createAssetManagerWithAssets() argument
86 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in createAssetManagerWithAssets()
/frameworks/base/core/java/android/content/res/
DAssetManager.java125 public Builder addApkAssets(ApkAssets apkAssets) { in addApkAssets() argument
126 mUserApkAssets.add(apkAssets); in addApkAssets()
135 final ApkAssets[] apkAssets = new ApkAssets[totalApkAssetCount]; in build() local
137 System.arraycopy(systemApkAssets, 0, apkAssets, 0, systemApkAssets.length); in build()
141 apkAssets[i + systemApkAssets.length] = mUserApkAssets.get(i); in build()
147 assetManager.mApkAssets = apkAssets; in build()
148 AssetManager.nativeSetApkAssets(assetManager.mObject, apkAssets, in build()
203 final ArrayList<ApkAssets> apkAssets = new ArrayList<>(); in createSystemAssetsInZygoteLocked() local
204 apkAssets.add(ApkAssets.loadFromPath(FRAMEWORK_APK_PATH, true /*system*/)); in createSystemAssetsInZygoteLocked()
210 apkAssets.add(ApkAssets.loadOverlayFromPath(idmapPath, true /*system*/)); in createSystemAssetsInZygoteLocked()
[all …]
/frameworks/base/core/java/android/app/
DResourcesManager.java324 ApkAssets apkAssets = null; in loadApkAssets() local
326 apkAssets = mLoadedApkAssets.get(newKey); in loadApkAssets()
327 if (apkAssets != null) { in loadApkAssets()
328 return apkAssets; in loadApkAssets()
335 apkAssets = apkAssetsRef.get(); in loadApkAssets()
336 if (apkAssets != null) { in loadApkAssets()
338 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets()
341 return apkAssets; in loadApkAssets()
350 apkAssets = ApkAssets.loadOverlayFromPath(overlayPathToIdmapPath(path), in loadApkAssets()
353 apkAssets = ApkAssets.loadFromPath(path, false /*system*/, sharedLib); in loadApkAssets()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1588 ApkAssets apkAssets = null; in parseApkLiteInner() local
1591 apkAssets = fd != null in parseApkLiteInner()
1599 parser = apkAssets.openXml(ANDROID_MANIFEST_FILENAME); in parseApkLiteInner()
1626 if (apkAssets != null) { in parseApkLiteInner()
1628 apkAssets.close(); in parseApkLiteInner()