Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp866 int32_t err = zip_writer_->StartEntryWithTime(valid_name.c_str(), flags, in AddZipEntryFromFd()
880 this->zip_writer_->FinishEntry(); in AddZipEntryFromFd()
917 err = zip_writer_->WriteBytes(buffer.data(), bytes_read); in AddZipEntryFromFd()
924 err = zip_writer_->FinishEntry(); in AddZipEntryFromFd()
959 int32_t err = zip_writer_->StartEntryWithTime(entry_name.c_str(), flags, ds.now_); in AddTextZipEntry()
966 err = zip_writer_->WriteBytes(content.c_str(), content.length()); in AddTextZipEntry()
973 err = zip_writer_->FinishEntry(); in AddTextZipEntry()
1367 ds.zip_writer_->GetLastEntry(&file_entry); in RunDumpsysProto()
2758 int32_t err = zip_writer_->Finish(); in FinishZipFile()
2859 ds.zip_writer_.reset(new ZipWriter(ds.zip_file.get())); in PrepareToWriteToFile()
Ddumpstate.h520 std::unique_ptr<ZipWriter> zip_writer_; variable