Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp744 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
758 this->zip_writer_->FinishEntry(); in AddZipEntryFromFd()
795 err = zip_writer_->WriteBytes(buffer.data(), bytes_read); in AddZipEntryFromFd()
802 err = zip_writer_->FinishEntry(); in AddZipEntryFromFd()
845 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
852 err = zip_writer_->WriteBytes(content.c_str(), content.length()); in AddTextZipEntry()
859 err = zip_writer_->FinishEntry(); in AddTextZipEntry()
1179 ds.zip_writer_->GetLastEntry(&file_entry); in RunDumpsysProto()
2035 int32_t err = zip_writer_->Finish(); in FinishZipFile()
2170 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in PrepareToWriteToFile()
[all …]
Ddumpstate.h450 std::unique_ptr<ZipWriter> zip_writer_; variable