Home
last modified time | relevance | path

Searched refs:zip_file (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/
Dapk_validator.cpp61 ZipSourceTree::ZipSourceTree(const std::shared_ptr<android::ZipFileRO>& zip_file, in ZipSourceTree() argument
63 : zip_file_(zip_file), include_path_(include_path), last_error_code_(0) { in ZipSourceTree()
106 ApkValidator::ApkValidator(const std::shared_ptr<android::ZipFileRO>& zip_file, in ApkValidator() argument
108 : source_tree_(zip_file, asset_path), debug_(debug) { in ApkValidator()
278 android::ZipFileRO* zip_file = source_tree_.ZipFile().get(); in ValidateDevFidelityParams() local
281 zip_file->startIteration(&cookie, prefix.c_str(), suffix); in ValidateDevFidelityParams()
283 for (auto entry = zip_file->nextEntry(cookie); in ValidateDevFidelityParams()
284 entry; entry=zip_file->nextEntry(cookie)) { in ValidateDevFidelityParams()
287 zip_file->endIteration(cookie); in ValidateDevFidelityParams()
Dapk_validator.h46 ZipSourceTree(const std::shared_ptr<android::ZipFileRO>& zip_file,
63 ApkValidator(const std::shared_ptr<android::ZipFileRO>& zip_file,
/frameworks/native/cmds/dumpstate/
Ddumpstate.h449 std::unique_ptr<FILE, int (*)(FILE*)> zip_file{nullptr, fclose};
Ddumpstate.cpp1971 ds.zip_file.reset(nullptr); in FinishZipFile()
2095 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in PrepareToWriteToFile()
2096 if (ds.zip_file == nullptr) { in PrepareToWriteToFile()
2099 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in PrepareToWriteToFile()
2638 if (options_->do_zip_file && zip_file != nullptr) { in RunInternal()