Searched refs:fileSize_ (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/flashd/daemon/ |
D | commander.cpp | 43 if (fileSize_ == 0) { in UpdateProgress() 47 …entProcess = static_cast<uint8_t>(static_cast<int64_t>(currentSize_) * PERCENT_FINISH / fileSize_); in UpdateProgress() 49 …FLASHD_LOGW("currSize_ = %u, fileSize_ = %u, currentProces = %u", currentSize_, fileSize_, current… in UpdateProgress()
|
D | flash_commander.cpp | 40 fileSize_ = fileSize; in DoCommand() 71 if (currentSize_ >= fileSize_) { in DoCommand() 73 FLASHD_LOGI("flash success, size = %u bytes, %.3lf s", fileSize_, useSec); in DoCommand() 104 auto writeSize = std::min(static_cast<size_t>(payloadSize), fileSize_ - currentSize_); in DoFlash()
|
D | update_commander.cpp | 61 fileSize_ = fileSize; in DoCommand() 92 auto writeSize = std::min(static_cast<size_t>(payloadSize), fileSize_ - currentSize_); in DoUpdate() 104 if (currentSize_ >= fileSize_) { in DoUpdate() 107 FLASHD_LOGI("update write file success, size = %u bytes, %.3lf s", fileSize_, useSec); in DoUpdate()
|
D | commander.h | 55 size_t fileSize_ = 0; variable
|