Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DApkAssets.java111 public static @NonNull ApkAssets loadOverlayFromPath(@NonNull String idmapPath, boolean system) in loadOverlayFromPath() argument
113 return new ApkAssets(idmapPath, system, false /*forceSharedLibrary*/, true /*overlay*/); in loadOverlayFromPath()
DAssetManager.java209 for (String idmapPath : systemIdmapPaths) { in createSystemAssetsInZygoteLocked()
210 apkAssets.add(ApkAssets.loadOverlayFromPath(idmapPath, true /*system*/)); in createSystemAssetsInZygoteLocked()
255 final String idmapPath = line.split(" ")[1]; in loadStaticRuntimeOverlays() local
256 outApkAssets.add(ApkAssets.loadOverlayFromPath(idmapPath, true /*system*/)); in loadStaticRuntimeOverlays()
445 final String idmapPath = "/data/resource-cache/" in addAssetPathInternal() local
448 assets = ApkAssets.loadOverlayFromPath(idmapPath, false /*system*/); in addAssetPathInternal()
/frameworks/base/libs/androidfw/
DAssetManager.cpp238 const String8 idmapPath = idmapPathForPackagePath(packagePath); in addOverlayPath() local
243 if (mAssetPaths[i].idmap == idmapPath) { in addOverlayPath()
250 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) { in addOverlayPath()
251 ALOGW("failed to open idmap file %s\n", idmapPath.string()); in addOverlayPath()
259 ALOGW("failed to read idmap file %s\n", idmapPath.string()); in addOverlayPath()
267 idmapPath.string(), packagePath.string(), overlayPath.string()); in addOverlayPath()
274 if (access(idmapPath.string(), R_OK) != 0) { in addOverlayPath()
275 ALOGW("failed to access file %s: %s\n", idmapPath.string(), strerror(errno)); in addOverlayPath()
286 oap.idmap = idmapPath; in addOverlayPath()
289 targetPath.string(), overlayPath.string(), idmapPath.string()); in addOverlayPath()
/frameworks/base/core/java/android/app/
DResourcesManager.java410 for (final String idmapPath : key.mOverlayDirs) { in createAssetManager()
412 builder.addApkAssets(loadApkAssets(idmapPath, false /*sharedLib*/, in createAssetManager()
415 Log.w(TAG, "failed to add overlay path " + idmapPath); in createAssetManager()