Lines Matching refs:zip
269 const ZipFileRO* zip = getZipFileLocked(ap); in getZipEntryCrcLocked() local
270 if (zip == NULL) { in getZipEntryCrcLocked()
273 const ZipEntryRO entry = zip->findEntryByName(entryFilename); in getZipEntryCrcLocked()
277 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, (long*)pCrc)) { in getZipEntryCrcLocked()
1797 sp<SharedZip> zip = gOpen.valueFor(path).promote(); in get() local
1798 if (zip != NULL && zip->mModWhen == modWhen) { in get()
1799 return zip; in get()
1801 zip = new SharedZip(path, modWhen); in get()
1802 gOpen.add(path, zip); in get()
1803 return zip; in get()
1912 sp<SharedZip> zip = mZipFile[idx]; in getZip() local
1913 if (zip == NULL) { in getZip()
1914 zip = SharedZip::get(path); in getZip()
1915 mZipFile.editItemAt(idx) = zip; in getZip()
1917 return zip->getZip(); in getZip()
1923 sp<SharedZip> zip = mZipFile[idx]; in getZipResourceTableAsset() local
1924 if (zip == NULL) { in getZipResourceTableAsset()
1925 zip = SharedZip::get(path); in getZipResourceTableAsset()
1926 mZipFile.editItemAt(idx) = zip; in getZipResourceTableAsset()
1928 return zip->getResourceTableAsset(); in getZipResourceTableAsset()
1935 sp<SharedZip> zip = mZipFile[idx]; in setZipResourceTableAsset() local
1937 return zip->setResourceTableAsset(asset); in setZipResourceTableAsset()
1943 sp<SharedZip> zip = mZipFile[idx]; in getZipResourceTable() local
1944 if (zip == NULL) { in getZipResourceTable()
1945 zip = SharedZip::get(path); in getZipResourceTable()
1946 mZipFile.editItemAt(idx) = zip; in getZipResourceTable()
1948 return zip->getResourceTable(); in getZipResourceTable()
1955 sp<SharedZip> zip = mZipFile[idx]; in setZipResourceTable() local
1957 return zip->setResourceTable(res); in setZipResourceTable()
1988 int AssetManager::ZipSet::getIndex(const String8& zip) const in getIndex()
1992 if (mZipPath[i] == zip) { in getIndex()
1997 mZipPath.add(zip); in getIndex()