Home
last modified time | relevance | path

Searched refs:WriteFully (Results 1 - 8 of 8) sorted by relevance

/base/update/updater/services/applypatch/
H A Dblock_writer.cpp75 if (Updater::Utils::WriteFully(fd_, addr, written) == false) { in Write()
H A Dstore.cpp117 if (size < 0 || !WriteFully(fd, buffer.data(), static_cast<size_t>(size))) { in WriteDataToStore()
H A Dblock_set.cpp185 if (Utils::WriteFully(fd, buffer.data() + pos, writeSize) == false) { in WriteDataToBlock()
369 if (Utils::WriteFully(fd, buffer.data(), H_BLOCK_SIZE)) { in WriteZeroToBlock()
/base/update/updater/utils/
H A Dpartition_utils.cpp61 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in WipeBlockPartition()
H A Dutils.cpp283 bool WriteFully(int fd, const uint8_t *data, size_t size) in WriteFully() function
/base/update/updater/services/flashd/daemon/
H A Dupdate_commander.cpp98 if (!Updater::Utils::WriteFully(fd_, payload, writeSize)) { in DoUpdate()
99 FLASHD_LOGE("WriteFully fail, errno = %d", errno); in DoUpdate()
/base/update/updater/services/flashd/
H A Dpartition.cpp86 if (!Updater::Utils::WriteFully(fd, buffer.data(), buffer.size())) { in DoErasePartition()
88 FLASHD_LOGE("WriteFully fail"); in DoErasePartition()
/base/update/updater/utils/include/
H A Dutils.h71 bool WriteFully(int fd, const uint8_t *data, size_t size);

Completed in 5 milliseconds