Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dfile_descriptor_utils.cc55 auto read_blocks = std::min(total_blocks, buffer_blocks); in CommonHashExtents() local
56 TEST_AND_RETURN_FALSE(reader.Read(buf.data(), read_blocks * block_size)); in CommonHashExtents()
59 source_hasher.Update(buf.data(), read_blocks * block_size)); in CommonHashExtents()
63 writer->Write(buf.data(), read_blocks * block_size)); in CommonHashExtents()
65 total_blocks -= read_blocks; in CommonHashExtents()
/system/update_engine/scripts/
Dpayload_info.py172 read_blocks = 0
178 read_blocks += sum([ext.num_blocks for ext in curr_op.src_extents])
188 read_blocks += partition.old_partition_info.size // manifest.block_size
189 read_blocks += partition.new_partition_info.size // manifest.block_size
191 stats = {'read_blocks': read_blocks,