Home | History | Annotate | Download | only in androidfw

Lines Matching refs:idmap

77 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
106 path.append("@idmap");
236 if (mAssetPaths[i].idmap == idmapPath) {
242 Asset* idmap = NULL;
243 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) {
244 ALOGW("failed to open idmap file %s\n", idmapPath.string());
250 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(),
252 ALOGW("failed to read idmap file %s\n", idmapPath.string());
253 delete idmap;
256 delete idmap;
259 ALOGW("idmap file %s inconcistent: expected path %s does not match actual path %s\n",
279 oap.idmap = idmapPath;
606 Asset* idmap = openIdmapLocked(ap);
641 sharedRes->add(ass, idmap, nextEntryIdx + 1, false);
670 mResources->add(ass, idmap, nextEntryIdx + 1, !shared, appAsLib, ap.isSystemAsset);
682 if (idmap != NULL) {
683 delete idmap;
750 if (ap.idmap.size() != 0) {
752 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER);
754 ALOGV("loading idmap %s\n", ap.idmap.string());
756 ALOGW("failed to load idmap %s\n", ap.idmap.string());
773 // <path to apk><space><path to idmap><newline>
784 oap.idmap = String8(space + 1, newline - space - 1);