Home
last modified time | relevance | path

Searched refs:zip_writer_ (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp713 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
730 err = zip_writer_->WriteBytes(buffer.data(), bytes_read); in AddZipEntryFromFd()
737 err = zip_writer_->FinishEntry(); in AddZipEntryFromFd()
779 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
786 err = zip_writer_->WriteBytes(content.c_str(), content.length()); in AddTextZipEntry()
793 err = zip_writer_->FinishEntry(); in AddTextZipEntry()
1295 int32_t err = zip_writer_->Finish(); in FinishZipFile()
1601 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in main()
Ddumpstate.h330 std::unique_ptr<ZipWriter> zip_writer_; variable
Dutils.cpp249 return zip_writer_ != nullptr; in IsZipping()