Searched refs:block_size (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/FsVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 140 ssize_t block_size, char* block_buffer) { in read_block_from_device() argument 141 assert(block_offset % block_size == 0); in read_block_from_device() 149 TEMP_FAILURE_RETRY(pread(fd, block_buffer, block_size, block_offset)); in read_block_from_device() 150 if (retval != block_size) { in read_block_from_device() 159 ssize_t block_size, char* block_buffer) { in write_block_to_device() argument 160 assert(block_offset % block_size == 0); in write_block_to_device() 168 pwrite(fd.get(), block_buffer, block_size, block_offset)); in write_block_to_device() 169 if (retval != block_size) { in write_block_to_device() 211 ssize_t block_size = get_logical_block_size(args->block_device); in main() local 212 if (block_size < 0) { in main() [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | BigBuffer.h | 69 explicit BigBuffer(size_t block_size); 115 size_t block_size() const; 136 inline BigBuffer::BigBuffer(size_t block_size) : block_size_(block_size), size_(0) { in BigBuffer() argument 147 inline size_t BigBuffer::block_size() const { in block_size() function
|
/frameworks/av/media/libstagefright/httplive/ |
D | HTTPDownloader.cpp | 83 uint32_t block_size, /* download block size */ in fetchBlock() argument 143 …if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length… in fetchBlock() 144 range_length = buffer->size() + block_size; in fetchBlock()
|
D | HTTPDownloader.h | 58 uint32_t block_size, /* download block size (0: entire range) */
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 478 size_t block_size = br.getBits(5); in parseDTVCCPacket() local 489 if (br.numBitsLeft() < block_size * 8) { in parseDTVCCPacket() 493 if (block_size > 0) { in parseDTVCCPacket() 496 sp<ABuffer> ccPacket = new ABuffer(block_size); in parseDTVCCPacket() 498 ALOGW("b/129068792, no memory available, %zu", block_size); in parseDTVCCPacket() 502 memcpy(ccPacket->data(), br.data(), block_size); in parseDTVCCPacket() 506 br.skipBits(block_size * 8); in parseDTVCCPacket()
|
/frameworks/base/core/jni/ |
D | com_android_internal_security_VerityUtils.cpp | 49 arg.block_size = 4096; in enableFsverityForFd()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 1405 const uint32_t block_size = linear_blocks.front().size(); in realloc() local 1406 if (block_size < kMaxLinearBufferSize / 2) { in realloc() 1407 size = block_size * 2; in realloc()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 4054 arg.block_size = 4096; in enableFsverity()
|