Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp712 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
729 err = zip_writer_->WriteBytes(buffer.data(), bytes_read); in AddZipEntryFromFd()
736 err = zip_writer_->FinishEntry(); in AddZipEntryFromFd()
778 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
785 err = zip_writer_->WriteBytes(content.c_str(), content.length()); in AddTextZipEntry()
792 err = zip_writer_->FinishEntry(); in AddTextZipEntry()
1424 int32_t err = zip_writer_->Finish(); in FinishZipFile()
1730 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in main()
Ddumpstate.h333 std::unique_ptr<ZipWriter> zip_writer_; variable
Dutils.cpp252 return zip_writer_ != nullptr; in IsZipping()