Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/
DArchive.cpp135 writer_ = util::make_unique<ZipWriter>(file_.get()); in Open()
146 zip_flags |= ZipWriter::kCompress; in StartEntry()
150 zip_flags |= ZipWriter::kAlign32; in StartEntry()
155 error_ = ZipWriter::ErrorCodeString(result); in StartEntry()
164 error_ = ZipWriter::ErrorCodeString(result); in Write()
173 error_ = ZipWriter::ErrorCodeString(result); in FinishEntry()
203 ZipWriter::FileEntry last_entry; in WriteFile()
216 error_ = ZipWriter::ErrorCodeString(result); in WriteFile()
246 std::unique_ptr<ZipWriter> writer_;
/frameworks/native/cmds/dumpstate/
Ddumpstate.h59 class ZipWriter; variable
450 std::unique_ptr<ZipWriter> zip_writer_;
Ddumpstate.cpp744 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
748 ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
797 MYLOGE("zip_writer_->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
805 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
845 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
848 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
855 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
861 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
1178 ZipWriter::FileEntry file_entry; in RunDumpsysProto()
2037 MYLOGE("zip_writer_->Finish(): %s\n", ZipWriter::ErrorCodeString(err)); in FinishZipFile()
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp273 ZipWriter writer(file); in create_mock_app()
275 writer.StartEntry("primary.prof", ZipWriter::kCompress); in create_mock_app()