Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DZipFileRO.cpp56 ZipFileRO::~ZipFileRO() { in ~ZipFileRO()
67 /* static */ ZipFileRO* ZipFileRO::open(const char* zipFileName) in open()
77 return new ZipFileRO(handle, strdup(zipFileName)); in open()
81 /* static */ ZipFileRO* ZipFileRO::openFd(int fd, const char* debugFileName, in openFd()
92 return new ZipFileRO(handle, strdup(debugFileName)); in openFd()
95 ZipEntryRO ZipFileRO::findEntryByName(const char* entryName) const in findEntryByName()
116 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, uint16_t* pMethod, in getEntryInfo()
145 bool ZipFileRO::startIteration(void** cookie) { in startIteration()
149 bool ZipFileRO::startIteration(void** cookie, const char* prefix, const char* suffix) in startIteration()
165 ZipEntryRO ZipFileRO::nextEntry(void* cookie) in nextEntry()
[all …]
DAssetManager.cpp812 ZipFileRO* pZip = getZipFileLocked(ap); in openNonAssetInPathLocked()
864 ZipFileRO* AssetManager::getZipFileLocked(asset_path& ap) in getZipFileLocked()
917 Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile, in openAssetFromZipLocked()
941 if (method == ZipFileRO::kCompressStored) { in openAssetFromZipLocked()
1207 ZipFileRO* pZip; in scanAndMergeZipLocked()
1431 mZipFile = ZipFileRO::open(mPath.string()); in SharedZip()
1445 mZipFile = ZipFileRO::openFd(fd, mPath.string()); in SharedZip()
1474 ZipFileRO* AssetManager::SharedZip::getZip() in getZip()
1585 ZipFileRO* AssetManager::ZipSet::getZip(const String8& path) in getZip()
DAndroid.bp59 "ZipFileRO.cpp",
DAsset.cpp794 if (compressionMethod != ZipFileRO::kCompressDeflated) { in openChunk()
/frameworks/base/libs/androidfw/include/androidfw/
DZipFileRO.h70 class ZipFileRO {
81 static ZipFileRO* open(const char* zipFileName);
86 static ZipFileRO* openFd(int fd, const char* debugFileName,
162 ~ZipFileRO();
166 ZipFileRO(const ZipFileRO& src);
167 ZipFileRO& operator=(const ZipFileRO& src);
169 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), in ZipFileRO() function
DAssetManager.h238 ZipFileRO* getZipFileLocked(asset_path& path);
240 Asset* openAssetFromZipLocked(const ZipFileRO* pZipFile,
266 ZipFileRO* getZip();
288 ZipFileRO* mZipFile;
316 ZipFileRO* getZip(const String8& path);
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp69 typedef install_status_t (*iterFunc)(JNIEnv*, void*, ZipFileRO*, ZipEntryRO, const char*);
154 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles()
174 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* file… in copyFileIfChanged()
196 if (method != ZipFileRO::kCompressStored) { in copyFileIfChanged()
309 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) in NativeLibrariesIterator()
315 static NativeLibrariesIterator* create(ZipFileRO* zipFile, bool debuggable) { in create()
382 ZipFileRO* const mZipFile;
391 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in iterateOverNativeFiles()
441 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in findSupportedAbi()
523 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.h98 ZipFileRO* zip;
DBootAnimation.cpp730 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) { in readFile()
922 ZipFileRO* zip = animation.zip; in preloadZip()
953 if (method == ZipFileRO::kCompressStored) { in preloadZip()
1287 ZipFileRO *zip = ZipFileRO::open(fn); in loadAnimation()