Home
last modified time | relevance | path

Searched refs:TRANSPORT_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dfastboot_driver.cpp594 size_t to_write = std::min(TRANSPORT_CHUNK_SIZE - tpbuf.size(), len); in SparseWriteCallback()
598 if (tpbuf.size() < TRANSPORT_CHUNK_SIZE) { // Nothing enough to send rn in SparseWriteCallback()
610 size_t nchunks = (len - total) / TRANSPORT_CHUNK_SIZE; in SparseWriteCallback()
611 size_t nbytes = TRANSPORT_CHUNK_SIZE * nchunks; in SparseWriteCallback()
Dfastboot_driver.h70 static constexpr size_t TRANSPORT_CHUNK_SIZE = 1024; variable