Searched refs:writePath (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/update/updater/services/flow_update/update_bin/ |
H A D | component_processor.cpp | 151 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 D | bin_flow_update.cpp | 148 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 D | component_processor.h | 137 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_processor.cpp | 212 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 D | update_processor.h | 73 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
|
/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()
|
/ohos5.0/base/update/updater/services/ptable_parse/ |
H A D | ptable.h | 40 std::string writePath {};
|
H A D | emmc_ptable.cpp | 168 newPtnInfo.writePath = MMC_BLOCK_DEV_NAME; in EmmcReadGpt()
|
H A D | ufs_ptable.cpp | 163 newPtnInfo.writePath = GetDeviceLunNodePath(lun); in UfsReadGpt()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_path.cpp | 476 writer.writePath(path_); in Serialize()
|