/ohos5.0/base/update/updater/services/applypatch/ |
H A D | data_writer.cpp | 28 UpdaterEnv *DataWriter::env_ = nullptr; 29 int DataWriter::OpenPath(const std::string &path) in OpenPath() 59 std::unique_ptr<DataWriter> DataWriter::CreateDataWriter(WriteMode mode, const std::string &path, in CreateDataWriter() 74 UpdaterEnv *DataWriter::GetUpdaterEnv() in GetUpdaterEnv() 79 void DataWriter::SetUpdaterEnv(UpdaterEnv *env) in SetUpdaterEnv() 84 std::unique_ptr<DataWriter> DataWriter::CreateDataWriter(WriteMode mode, const std::string &path, in CreateDataWriter() 91 std::unique_ptr<DataWriter> DataWriter::CreateDataWriter(const std::string &mode, const std::string… in CreateDataWriter() 101 void DataWriter::ReleaseDataWriter(std::unique_ptr<DataWriter> &writer) in ReleaseDataWriter() 106 void DataWriter::RegisterDataWriter(const std::string &mode, WriterConstructor constructor) in RegisterDataWriter()
|
H A D | raw_writer.cpp | 25 DataWriter::RegisterDataWriter("WRITE_RAW", in RegisterRawWriter() 27 uint64_t offset) -> std::unique_ptr<DataWriter> { in RegisterRawWriter()
|
H A D | raw_writer.h | 26 class RawWriter : public DataWriter {
|
/ohos5.0/base/update/updater/services/include/applypatch/ |
H A D | data_writer.h | 32 class DataWriter { 34 using DataWriterPtr = DataWriter *; 35 …using WriterConstructor = std::unique_ptr<DataWriter> (*)(const std::string &, const std::string &, 38 virtual ~DataWriter() {} in ~DataWriter() 39 …static std::unique_ptr<DataWriter> CreateDataWriter(WriteMode mode, const std::string &path, Updat… 41 …static std::unique_ptr<DataWriter> CreateDataWriter(WriteMode mode, const std::string &path, uint6… 42 …static std::unique_ptr<DataWriter> CreateDataWriter(const std::string &mode, const std::string &pa… 46 static void ReleaseDataWriter(std::unique_ptr<DataWriter> &writer);
|
H A D | block_writer.h | 25 class BlockWriter : public DataWriter {
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
H A D | rs_profiler_archive_test.cpp | 40 DataWriter writer(buf); 58 DataWriter writer(buf); 76 DataWriter writer(buf); 94 DataWriter writer(buf); 112 DataWriter writer(buf); 130 DataWriter writer(buf); 149 DataWriter writer(buf); 167 DataWriter writer(buf); 185 DataWriter writer(buf); 224 DataWriter writer(buf); [all …]
|
/ohos5.0/base/update/updater/test/unittest/applypatch_test/ |
H A D | applypatch_unittest.cpp | 74 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(mode, filePath); 104 DataWriter::ReleaseDataWriter(writer); 110 std::unique_ptr<DataWriter> writer = nullptr; 116 writer = DataWriter::CreateDataWriter(mode, "", DataWriter::GetUpdaterEnv()); 118 DataWriter::ReleaseDataWriter(writer);
|
H A D | imagepatch_unittest.h | 37 class FileWriter : public DataWriter {
|
/ohos5.0/base/update/updater/services/flow_update/update_bin/ |
H A D | component_processor.cpp | 171 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess() 221 DataWriter::ReleaseDataWriter(writer_); in PostProcess() 267 DataWriter *writer = static_cast<DataWriter *>(p); in RawImageWriteProcessor() 301 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess() 352 DataWriter *writer = static_cast<DataWriter *>(p); 370 DataWriter::ReleaseDataWriter(writer_); in PostProcess()
|
H A D | bin_flow_update.h | 43 std::unique_ptr<DataWriter> writer; 57 std::unique_ptr<DataWriter> GetDataWriter(const std::string &partition);
|
H A D | component_processor.h | 141 std::unique_ptr<DataWriter> writer_ = nullptr; 156 std::unique_ptr<DataWriter> writer_ = nullptr;
|
H A D | bin_flow_update.cpp | 137 std::unique_ptr<DataWriter> BinFlowUpdate::GetDataWriter(const std::string &partition) in GetDataWriter() 156 return DataWriter::CreateDataWriter(WRITE_RAW, writePath, static_cast<uint64_t>(0)); in GetDataWriter()
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_processor.cpp | 122 DataWriter *writer = static_cast<DataWriter *>(p); in RawImageWriteProcessor() 148 …const std::unique_ptr<DataWriter> &writer, [[maybe_unused]] uint64_t partitionSize, Uscript::UScri… 222 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in Execute() 230 DataWriter::ReleaseDataWriter(writer); in Execute() 235 DataWriter::ReleaseDataWriter(writer); in Execute()
|
H A D | update_processor.h | 75 bool WriteRawImage(const std::string &partitionName, const std::unique_ptr<DataWriter> &writer,
|
H A D | update_image_patch.cpp | 100 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(WRITE_RAW, para.devPath); in ApplyPatch()
|
/ohos5.0/base/update/updater/services/flashd/image_writer/ |
H A D | image_writer.cpp | 44 …writer_ = DataWriter::CreateDataWriter(ptnInfo.writeMode, ptnInfo.writePath, partition, ptnInfo.st… in GetDataWriter() 46 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, GetBlockDeviceByMountPoint(partition)); in GetDataWriter()
|
H A D | image_writer.h | 40 std::unique_ptr<DataWriter> writer_ = nullptr;
|
/ohos5.0/base/update/updater/services/ptable_parse/ |
H A D | ptable.cpp | 502 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(WRITE_RAW, path, offset); in WriteBufferToPath() 510 DataWriter::ReleaseDataWriter(writer); in WriteBufferToPath() 513 DataWriter::ReleaseDataWriter(writer); in WriteBufferToPath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_capturedata.cpp | 106 DataWriter archive(out); in Serialize()
|
H A D | rs_profiler_archive.h | 144 using DataWriter = DataArchive<false>; variable
|
H A D | rs_profiler_beta_recorder.cpp | 267 DataWriter archive(out); in WriteBetaRecordMetrics()
|
H A D | rs_profiler_network.cpp | 246 DataWriter archive(out); in SendCaptureData()
|
H A D | rs_profiler.cpp | 413 DataWriter archive(out); in OnParallelRenderEnd() 815 DataWriter archive(out); in RecordUpdate()
|