Home
last modified time | relevance | path

Searched refs:writePath (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/update/updater/services/flow_update/update_bin/
H A Dcomponent_processor.cpp151 std::string writePath; in PreProcess() local
171 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess()
178 int fd = open(writePath.c_str(), O_RDWR | O_CREAT); in PreProcess()
238 writePath = ptnInfo.writePath; in GetWritePathAndOffset()
242 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()
243 if (writePath.empty()) { in GetWritePathAndOffset()
253 writePath += suffix; in GetWritePathAndOffset()
255 LOG(INFO) << "write partition path: " << writePath; in GetWritePathAndOffset()
257 writePath = "/data/updater" + partitionName; in GetWritePathAndOffset()
300 std::string writePath; in PreProcess() local
[all …]
H A Dbin_flow_update.cpp148 const std::string writePath = "/data/updater" + lastPartition; in GetDataWriter() local
149 FILE *pFile = fopen(writePath.c_str(), "w+"); in GetDataWriter()
155 LOG(INFO) << "GetDataWriter writePath " << writePath.c_str(); in GetDataWriter()
156 return DataWriter::CreateDataWriter(WRITE_RAW, writePath, static_cast<uint64_t>(0)); in GetDataWriter()
H A Dcomponent_processor.h137 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
/ohos5.0/base/update/updater/services/updater_binary/
H A Dupdate_processor.cpp212 std::string writePath; in Execute() local
215 if (GetWritePathAndOffset(partitionName, writePath, offset, partitionSize) != USCRIPT_SUCCESS) { in Execute()
222 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in Execute()
436 …ctionRawImageWrite::GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, in GetWritePathAndOffset() argument
447 writePath = ptnInfo.writePath; in GetWritePathAndOffset()
451 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset()
452 if (writePath.empty()) { in GetWritePathAndOffset()
462 writePath += suffix; in GetWritePathAndOffset()
464 LOG(INFO) << "write partition path: " << writePath; in GetWritePathAndOffset()
H A Dupdate_processor.h73 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
/ohos5.0/base/update/updater/services/flashd/image_writer/
H A Dimage_writer.cpp44 …writer_ = DataWriter::CreateDataWriter(ptnInfo.writeMode, ptnInfo.writePath, partition, ptnInfo.st… in GetDataWriter()
/ohos5.0/base/update/updater/services/ptable_parse/
H A Dptable.h40 std::string writePath {};
H A Demmc_ptable.cpp168 newPtnInfo.writePath = MMC_BLOCK_DEV_NAME; in EmmcReadGpt()
H A Dufs_ptable.cpp163 newPtnInfo.writePath = GetDeviceLunNodePath(lun); in UfsReadGpt()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.cpp476 writer.writePath(path_); in Serialize()