Home | History | Annotate | Download | only in androidfw

Lines Matching defs:idmap

74 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
104 path.append("@idmap");
227 if (mAssetPaths[i].idmap == idmapPath) {
233 Asset* idmap = NULL;
234 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) {
235 ALOGW("failed to open idmap file %s\n", idmapPath.string());
241 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(),
243 ALOGW("failed to read idmap file %s\n", idmapPath.string());
244 delete idmap;
247 delete idmap;
250 ALOGW("idmap file %s inconcistent: expected path %s does not match actual path %s\n",
270 oap.idmap = idmapPath;
505 Asset* idmap = openIdmapLocked(ap);
540 sharedRes->add(ass, idmap, nextEntryIdx + 1, false);
569 mResources->add(ass, idmap, nextEntryIdx + 1, !shared, appAsLib, ap.isSystemAsset);
581 if (idmap != NULL) {
582 delete idmap;
645 if (ap.idmap.size() != 0) {
647 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER);
649 ALOGV("loading idmap %s\n", ap.idmap.string());
651 ALOGW("failed to load idmap %s\n", ap.idmap.string());
674 // <path to apk><space><path to idmap><newline>
685 oap.idmap = String8(space + 1, newline - space - 1);