Home
last modified time | relevance | path

Searched refs:ZipWriter (Results 1 – 3 of 3) 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.h54 class ZipWriter; variable
357 std::unique_ptr<ZipWriter> zip_writer_;
Ddumpstate.cpp754 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
758 ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
796 MYLOGE("zip_writer_->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
803 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddZipEntryFromFd()
843 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
846 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
853 ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
859 MYLOGE("zip_writer_->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err)); in AddTextZipEntry()
1198 ZipWriter::FileEntry file_entry; in RunDumpsysProto()
1742 MYLOGE("zip_writer_->Finish(): %s\n", ZipWriter::ErrorCodeString(err)); in FinishZipFile()
[all …]