Home
last modified time | relevance | path

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

/system/core/fastboot/
Dfastboot_driver.cpp540 size_t to_write = std::min(TRANSPORT_CHUNK_SIZE - tpbuf.size(), len); in SparseWriteCallback()
544 if (tpbuf.size() < TRANSPORT_CHUNK_SIZE) { // Nothing enough to send rn in SparseWriteCallback()
556 size_t nchunks = (len - total) / TRANSPORT_CHUNK_SIZE; in SparseWriteCallback()
557 size_t nbytes = TRANSPORT_CHUNK_SIZE * nchunks; in SparseWriteCallback()
Dfastboot_driver.h69 static constexpr size_t TRANSPORT_CHUNK_SIZE = 1024; variable