Home
last modified time | relevance | path

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

/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingService.java136 int blockSize = getQueryParam(data, "block", DEFAULT_BLOCK_SIZE); in onBind() local
138 Log.i(TAG, "Block Size: " + blockSize); in onBind()
141 if (fileSize % blockSize != 0) { in onBind()
146 StringBuilder builder = new StringBuilder(blockSize); in onBind()
/system/extras/zram-perf/
Dzram-perf.cpp60 size_t blockSize = 0; in getSize() local
61 int result = ioctl(m_fd, BLKGETSIZE, &blockSize); in getSize()
65 return blockSize * kSectorSize; in getSize()
/system/tools/hidl/host_utils/
DFormatter.cpp169 size_t blockSize = block.computeSize(false); in printBlock() local
170 if (blockSize + lineStart < lineLength) { in printBlock()
176 blockSize = block.computeSize(true); in printBlock()
177 if ((blockSize + getIndentation() + mSpacesPerIndent + prefixSize) < lineLength) { in printBlock()
/system/core/adb/client/
Dincremental_server.cpp439 int16_t blockSize; in SendDataBlock() local
443 blockSize = compressedSize; in SendDataBlock()
448 blockSize = bytesRead; in SendDataBlock()
455 header->block_size = toBigEndian(blockSize); in SendDataBlock()
460 Send(header, ResponseHeader::responseSizeFor(blockSize), flush); in SendDataBlock()