Lines Matching defs:idmap
86 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
115 path.append("@idmap");
248 if (mAssetPaths[i].idmap == idmapPath) {
254 Asset* idmap = NULL;
255 if ((idmap = openAssetFromFileLocked(idmapPath, Asset::ACCESS_BUFFER)) == NULL) {
256 ALOGW("failed to open idmap file %s\n", idmapPath.string());
262 if (!ResTable::getIdmapInfo(idmap->getBuffer(false), idmap->getLength(),
264 ALOGW("failed to read idmap file %s\n", idmapPath.string());
265 delete idmap;
268 delete idmap;
271 ALOGW("idmap file %s inconcistent: expected path %s does not match actual path %s\n",
291 oap.idmap = idmapPath;
609 Asset* idmap = openIdmapLocked(ap);
644 sharedRes->add(ass, idmap, nextEntryIdx + 1, false);
673 mResources->add(ass, idmap, nextEntryIdx + 1, !shared);
685 if (idmap != NULL) {
686 delete idmap;
754 if (ap.idmap.size() != 0) {
756 openAssetFromFileLocked(ap.idmap, Asset::ACCESS_BUFFER);
758 ALOGV("loading idmap %s\n", ap.idmap.string());
760 ALOGW("failed to load idmap %s\n", ap.idmap.string());
777 // <path to apk><space><path to idmap><newline>
788 oap.idmap = String8(space + 1, newline - space - 1);