Searched refs:writePath (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/services/flow_update/update_bin/ |
D | component_processor.cpp | 146 std::string writePath; in PreProcess() local 149 if (GetWritePathAndOffset(partitionName, writePath, offset, partitionSize) != USCRIPT_SUCCESS) { in PreProcess() 166 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in PreProcess() 173 int fd = open(writePath.c_str(), O_RDWR | O_CREAT); in PreProcess() 222 int RawImgProcessor::GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, in GetWritePathAndOffset() argument 234 writePath = std::string(PREFIX_UFS_NODE) + lunIndexName; in GetWritePathAndOffset() 238 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset() 239 if (writePath.empty()) { in GetWritePathAndOffset() 249 writePath += suffix; in GetWritePathAndOffset() 251 LOG(INFO) << "write partition path: " << writePath; in GetWritePathAndOffset() [all …]
|
D | bin_flow_update.cpp | 142 const std::string writePath = "/data/updater" + lastPartition; in GetDataWriter() local 143 FILE *pFile = fopen(writePath.c_str(), "w+"); in GetDataWriter() 149 LOG(INFO) << "GetDataWriter writePath " << writePath.c_str(); in GetDataWriter() 150 return DataWriter::CreateDataWriter(WRITE_RAW, writePath, static_cast<uint64_t>(0)); in GetDataWriter()
|
D | component_processor.h | 121 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
|
/base/update/updater/services/updater_binary/ |
D | update_processor.cpp | 201 std::string writePath; in Execute() local 204 if (GetWritePathAndOffset(partitionName, writePath, offset, partitionSize) != USCRIPT_SUCCESS) { in Execute() 211 std::unique_ptr<DataWriter> writer = DataWriter::CreateDataWriter(WRITE_RAW, writePath, in Execute() 404 …ctionRawImageWrite::GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, in GetWritePathAndOffset() argument 416 writePath = std::string(PREFIX_UFS_NODE) + lunIndexName; in GetWritePathAndOffset() 420 writePath = GetBlockDeviceByMountPoint(partitionName); in GetWritePathAndOffset() 421 if (writePath.empty()) { in GetWritePathAndOffset() 431 writePath += suffix; in GetWritePathAndOffset() 433 LOG(INFO) << "write partition path: " << writePath; in GetWritePathAndOffset()
|
D | update_processor.h | 61 …int GetWritePathAndOffset(const std::string &partitionName, std::string &writePath, uint64_t &offs…
|
/base/update/updater/services/flashd/image_writer/ |
D | image_writer.cpp | 45 const std::string writePath = std::string(PREFIX_UFS_NODE) + lunIndexName; in GetDataWriter() local 46 writer_ = DataWriter::CreateDataWriter(WRITE_RAW, writePath, ptnInfo.startAddr); in GetDataWriter()
|