Lines Matching defs:zip

207          ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
866 /* look inside the zip file */
873 //printf("GOT zip, checking NA '%s'\n", (const char*) path);
1025 //printf("GOT zip, checking '%s'\n", (const char*) path);
1051 String8 sourceName("zip:");
1165 ALOGV("Opened uncompressed entry %s in zip %s mode %d: %p", entryName.string(),
1170 ALOGV("Opened compressed entry %s in zip %s mode %d: %p", entryName.string(),
1225 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1279 ALOGV("Adding directory %s from zip %s", dirName, ap.path.string());
1506 ALOGW("Failure opening zip %s\n", ap.path.string());
1868 ALOGV("+++ opening zip '%s'\n", mPath.string());
1880 sp<SharedZip> zip = gOpen.valueFor(path).promote();
1881 if (zip != NULL && zip->mModWhen == modWhen) {
1882 return zip;
1884 if (zip == NULL && !createIfNotPresent) {
1887 zip = new SharedZip(path, modWhen);
1888 gOpen.add(path, zip);
1889 return zip;
2012 sp<SharedZip> zip = mZipFile[idx];
2013 if (zip == NULL) {
2014 zip = SharedZip::get(path);
2015 mZipFile.editItemAt(idx) = zip;
2017 return zip->getZip();
2023 sp<SharedZip> zip = mZipFile[idx];
2024 if (zip == NULL) {
2025 zip = SharedZip::get(path);
2026 mZipFile.editItemAt(idx) = zip;
2028 return zip->getResourceTableAsset();
2035 sp<SharedZip> zip = mZipFile[idx];
2037 return zip->setResourceTableAsset(asset);
2043 sp<SharedZip> zip = mZipFile[idx];
2044 if (zip == NULL) {
2045 zip = SharedZip::get(path);
2046 mZipFile.editItemAt(idx) = zip;
2048 return zip->getResourceTable();
2055 sp<SharedZip> zip = mZipFile[idx];
2057 return zip->setResourceTable(res);
2085 sp<SharedZip> zip = mZipFile[idx];
2086 zip->addOverlay(overlay);
2091 sp<SharedZip> zip = SharedZip::get(path, false);
2092 if (zip == NULL) {
2095 return zip->getOverlay(idx, out);
2099 * Compute the zip file's index.
2104 int AssetManager::ZipSet::getIndex(const String8& zip) const
2108 if (mZipPath[i] == zip) {
2113 mZipPath.add(zip);