Lines Matching defs:idmap
74 // Transform string /a/b/c.apk to /data/resource-cache/a@b@c.apk@idmap
97 path.append("@idmap");
194 oap.idmap = idmapPathForPackagePath(overlayPath);
196 if (isIdmapStaleLocked(ap.path, oap.path, oap.idmap)) {
197 addOverlay = createIdmapFileLocked(ap.path, oap.path, oap.idmap);
217 return true; // non-existing idmap is always stale
320 LOGW("failed to generate idmap data for file %s\n", idmapPath.string());
329 LOGW("failed to write idmap file %s (open: %s)\n", idmapPath.string(), strerror(errno));
335 LOGW("failed to write idmap file %s (write: %s)\n", idmapPath.string(),
623 Asset* idmap = openIdmapLocked(ap);
653 sharedRes->add(ass, (void*)(i+1), false, idmap);
677 rt->add(ass, (void*)(i+1), !shared, idmap);
684 if (idmap != NULL) {
685 delete idmap;
724 if (ap.idmap.size() != 0) {
726 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER);
728 LOGV("loading idmap %s\n", ap.idmap.string());
730 LOGW("failed to load idmap %s\n", ap.idmap.string());