Home
last modified time | relevance | path

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

/system/update_engine/scripts/update_payload/
Dchecker.py755 def _CheckReplaceOperation(self, op, data_length, total_dst_blocks, op_name): argument
768 if isinstance(total_dst_blocks, float):
781 PayloadChecker._CheckBlocksFitLength(data_length, total_dst_blocks,
786 if data_length >= total_dst_blocks * self.block_size:
790 (op_name, data_length, total_dst_blocks, self.block_size))
810 def _CheckAnyDiffOperation(self, op, data_length, total_dst_blocks, op_name): argument
828 if data_length >= total_dst_blocks * self.block_size:
832 (op_name, data_length, total_dst_blocks, self.block_size,
833 total_dst_blocks * self.block_size))
844 total_dst_blocks, op_name): argument
[all …]
Dchecker_unittest.py827 total_dst_blocks = 0
829 total_dst_blocks = 16
847 if total_dst_blocks:
849 op.dst_length = total_dst_blocks * block_size + 8
852 op.dst_length = total_dst_blocks * block_size