Home
last modified time | relevance | path

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

/system/core/adb/
Dcommandline.cpp837 #define SIDELOAD_HOST_BLOCK_SIZE (CHUNK_SIZE) macro
873 "sideload-host:%d:%d", static_cast<int>(sb.st_size), SIDELOAD_HOST_BLOCK_SIZE); in adb_sideload_host()
883 int opt = SIDELOAD_HOST_BLOCK_SIZE; in adb_sideload_host()
886 char buf[SIDELOAD_HOST_BLOCK_SIZE]; in adb_sideload_host()
906 size_t offset = block * SIDELOAD_HOST_BLOCK_SIZE; in adb_sideload_host()
912 size_t to_write = SIDELOAD_HOST_BLOCK_SIZE; in adb_sideload_host()
913 if ((offset + SIDELOAD_HOST_BLOCK_SIZE) > static_cast<size_t>(sb.st_size)) { in adb_sideload_host()