Home
last modified time | relevance | path

Searched refs:ZipFileRO (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/androidfw/
DZipFileRO.cpp56 ZipFileRO::~ZipFileRO() { in ~ZipFileRO()
65 /* static */ ZipFileRO* ZipFileRO::open(const char* zipFileName) in open()
75 return new ZipFileRO(handle, strdup(zipFileName)); in open()
79 ZipEntryRO ZipFileRO::findEntryByName(const char* entryName) const in findEntryByName()
100 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, uint16_t* pMethod, in getEntryInfo()
129 bool ZipFileRO::startIteration(void** cookie) { in startIteration()
133 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) in startIteration()
151 ZipEntryRO ZipFileRO::nextEntry(void* cookie) in nextEntry()
165 void ZipFileRO::endIteration(void* cookie) in endIteration()
170 void ZipFileRO::releaseEntry(ZipEntryRO entry) const in releaseEntry()
[all …]
DAssetManager.cpp764 ZipFileRO* pZip = getZipFileLocked(ap); in openNonAssetInPathLocked()
816 ZipFileRO* AssetManager::getZipFileLocked(const asset_path& ap) in getZipFileLocked()
857 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
881 if (method == ZipFileRO::kCompressStored) { in openAssetFromZipLocked()
1147 ZipFileRO* pZip; in scanAndMergeZipLocked()
1371 mZipFile = ZipFileRO::open(mPath.string()); in SharedZip()
1395 ZipFileRO* AssetManager::SharedZip::getZip() in getZip()
1507 ZipFileRO* AssetManager::ZipSet::getZip(const String8& path) in getZip()
DAndroid.bp43 "ZipFileRO.cpp",
DZipUtils.cpp278 if (method != ZipFileRO::kCompressDeflated) in examineGzip()
DAsset.cpp765 if (compressionMethod != ZipFileRO::kCompressDeflated) { in openChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DZipFileRO.h69 class ZipFileRO {
80 static ZipFileRO* open(const char* zipFileName);
155 ~ZipFileRO();
159 ZipFileRO(const ZipFileRO& src);
160 ZipFileRO& operator=(const ZipFileRO& src);
162 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), in ZipFileRO() function
DAssetManager.h215 ZipFileRO* getZipFileLocked(const asset_path& path);
217 Asset* openAssetFromZipLocked(const ZipFileRO* pZipFile,
242 ZipFileRO* getZip();
263 ZipFileRO* mZipFile;
291 ZipFileRO* getZip(const String8& path);
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp68 typedef install_status_t (*iterFunc)(JNIEnv*, void*, ZipFileRO*, ZipEntryRO, const char*);
153 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles()
173 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* file… in copyFileIfChanged()
196 if (method != ZipFileRO::kCompressStored) { in copyFileIfChanged()
313 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) in NativeLibrariesIterator()
319 static NativeLibrariesIterator* create(ZipFileRO* zipFile, bool debuggable) { in create()
386 ZipFileRO* const mZipFile;
395 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in iterateOverNativeFiles()
445 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in findSupportedAbi()
527 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
[all …]
/frameworks/base/cmds/idmap/
Dscan.cpp187 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(path)); in parse_apk()
203 if (method != ZipFileRO::kCompressDeflated) { in parse_apk()
Dcreate.cpp18 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(zip_path)); in get_zip_entry_crc()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h92 ZipFileRO* zip;
DBootAnimation.cpp498 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile()
693 ZipFileRO* zip = animation.zip; in preloadZip()
724 if (method == ZipFileRO::kCompressStored) { in preloadZip()
999 ZipFileRO *zip = ZipFileRO::open(fn); in loadAnimation()