Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/
DArchive.cpp141 writer_ = util::make_unique<ZipWriter>(file_.get()); in Open()
152 zip_flags |= ZipWriter::kCompress; in StartEntry()
156 zip_flags |= ZipWriter::kAlign32; in StartEntry()
161 error_ = ZipWriter::ErrorCodeString(result); in StartEntry()
170 error_ = ZipWriter::ErrorCodeString(result); in Write()
179 error_ = ZipWriter::ErrorCodeString(result); in FinishEntry()
210 ZipWriter::FileEntry last_entry; in WriteFile()
223 error_ = ZipWriter::ErrorCodeString(result); in WriteFile()
253 std::unique_ptr<ZipWriter> writer_;
/frameworks/native/cmds/dumpstate/
Ddumpstate.h59 class ZipWriter; variable
520 std::unique_ptr<ZipWriter> zip_writer_;
Ddumpstate.cpp865 size_t flags = ZipWriter::kCompress | ZipWriter::kDefaultCompression; in AddZipEntryFromFd()
870 ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
919 MYLOGE("zip_writer_->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
927 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
958 size_t flags = ZipWriter::kCompress | ZipWriter::kDefaultCompression; in AddTextZipEntry()
962 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
969 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
975 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
1366 ZipWriter::FileEntry file_entry; in RunDumpsysProto()
2760 MYLOGE("zip_writer_->Finish(): %s\n", ZipWriter::ErrorCodeString(err)); in FinishZipFile()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp325 ZipWriter writer(file); in create_mock_app()
326 writer.StartEntry("primary.prof", ZipWriter::kCompress); in create_mock_app()