Lines Matching defs:zip

206          ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
876 /* look inside the zip file */
883 //printf("GOT zip, checking NA '%s'\n", (const char*) path);
1035 //printf("GOT zip, checking '%s'\n", (const char*) path);
1061 String8 sourceName("zip:");
1173 ALOGV("Opened uncompressed entry %s in zip %s mode %d: %p", entryName.string(),
1178 ALOGV("Opened compressed entry %s in zip %s mode %d: %p", entryName.string(),
1233 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1287 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1514 ALOGW("Failure opening zip %s\n", ap.path.string());
1876 ALOGV("+++ opening zip '%s'\n", mPath.string());
1888 sp<SharedZip> zip = gOpen.valueFor(path).promote();
1889 if (zip != NULL && zip->mModWhen == modWhen) {
1890 return zip;
1892 if (zip == NULL && !createIfNotPresent) {
1895 zip = new SharedZip(path, modWhen);
1896 gOpen.add(path, zip);
1897 return zip;
2023 sp<SharedZip> zip = mZipFile[idx];
2024 if (zip == NULL) {
2025 zip = SharedZip::get(path);
2026 mZipFile.editItemAt(idx) = zip;
2028 return zip->getZip();
2034 sp<SharedZip> zip = mZipFile[idx];
2035 if (zip == NULL) {
2036 zip = SharedZip::get(path);
2037 mZipFile.editItemAt(idx) = zip;
2039 return zip->getResourceTableAsset();
2046 sp<SharedZip> zip = mZipFile[idx];
2048 return zip->setResourceTableAsset(asset);
2054 sp<SharedZip> zip = mZipFile[idx];
2055 if (zip == NULL) {
2056 zip = SharedZip::get(path);
2057 mZipFile.editItemAt(idx) = zip;
2059 return zip->getResourceTable();
2066 sp<SharedZip> zip = mZipFile[idx];
2068 return zip->setResourceTable(res);
2096 sp<SharedZip> zip = mZipFile[idx];
2097 zip->addOverlay(overlay);
2102 sp<SharedZip> zip = SharedZip::get(path, false);
2103 if (zip == NULL) {
2106 return zip->getOverlay(idx, out);
2110 * Compute the zip file's index.
2115 int AssetManager::ZipSet::getIndex(const String8& zip) const
2119 if (mZipPath[i] == zip) {
2124 mZipPath.add(zip);