Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp754 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), ZipWriter::kCompress, in AddZipEntryFromFd()
794 err = zip_writer_->WriteBytes(buffer.data(), bytes_read); in AddZipEntryFromFd()
801 err = zip_writer_->FinishEntry(); in AddZipEntryFromFd()
843 … int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), ZipWriter::kCompress, ds.now_); in AddTextZipEntry()
850 err = zip_writer_->WriteBytes(content.c_str(), content.length()); in AddTextZipEntry()
857 err = zip_writer_->FinishEntry(); in AddTextZipEntry()
1199 ds.zip_writer_->GetLastEntry(&file_entry); in RunDumpsysProto()
1740 int32_t err = zip_writer_->Finish(); in FinishZipFile()
2057 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in run_main()
Ddumpstate.h357 std::unique_ptr<ZipWriter> zip_writer_; variable
Dutils.cpp224 return zip_writer_ != nullptr; in IsZipping()