Searched refs:idmap (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/tests/overlaytests/
H A Druntests.sh75 $adb shell rm /data/resource-cache/vendor@overlay@framework@framework-res.apk@idmap
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp74 // Transform string /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap
97 path.append("@idmap");
212 oap.idmap = idmapPathForPackagePath(overlayPath);
214 if (isIdmapStaleLocked(ap.path, oap.path, oap.idmap)) {
215 addOverlay = createIdmapFileLocked(ap.path, oap.path, oap.idmap);
235 return true; // non-existing idmap is always stale
338 ALOGW("failed to generate idmap data for file %s\n", idmapPath.string());
347 ALOGW("failed to write idmap file %s (open: %s)\n", idmapPath.string(), strerror(errno));
353 ALOGW("failed to write idmap file %s (write: %s)\n", idmapPath.string(),
641 Asset* idmap local
[all...]
H A DResourceTypes.cpp224 ALOGW("idmap assertion failed: size=%d bytes\n", (int)sizeBytes);
228 ALOGW("idmap assertion failed: invalid magic found (is 0x%08x, expected 0x%08x)\n",
244 const uint32_t type = Res_GETTYPE(key) + 1; // add one, idmap stores "public" type id
2745 const void* idmap)
2747 return add(data, size, cookie, NULL, copyData, reinterpret_cast<const Asset*>(idmap));
2750 status_t ResTable::add(Asset* asset, void* cookie, bool copyData, const void* idmap) argument
2758 return add(data, size, cookie, asset, copyData, reinterpret_cast<const Asset*>(idmap));
2786 Asset* asset, bool copyData, const Asset* idmap)
2792 if (idmap != NULL) {
2793 const size_t idmap_size = idmap
2744 add(const void* data, size_t size, void* cookie, bool copyData, const void* idmap) argument
2785 add(const void* data, size_t size, void* cookie, Asset* asset, bool copyData, const Asset* idmap) argument
5310 getIdmapInfo(const void* idmap, size_t sizeBytes, uint32_t* pOriginalCrc, uint32_t* pOverlayCrc) argument
[all...]
/frameworks/base/include/androidfw/
H A DAssetManager.h226 String8 idmap; member in struct:android::AssetManager::asset_path
H A DResourceTypes.h1282 bool copyData=false, const void* idmap = NULL);
1284 bool copyData=false, const void* idmap = NULL);
1537 // Generate an idmap.
1548 // Retrieve idmap meta-data.
1550 // This function only requires the idmap header (the first
1551 // IDMAP_HEADER_SIZE_BYTES) bytes of an idmap file.
1552 static bool getIdmapInfo(const void* idmap, size_t size,
1568 Asset* asset, bool copyData, const Asset* idmap);

Completed in 997 milliseconds