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.py753 def _CheckReplaceOperation(self, op, data_length, total_dst_blocks, op_name): argument
766 if isinstance(total_dst_blocks, float):
779 PayloadChecker._CheckBlocksFitLength(data_length, total_dst_blocks,
784 if data_length >= total_dst_blocks * self.block_size:
788 (op_name, data_length, total_dst_blocks, self.block_size))
808 def _CheckAnyDiffOperation(self, op, data_length, total_dst_blocks, op_name): argument
826 if data_length >= total_dst_blocks * self.block_size:
830 (op_name, data_length, total_dst_blocks, self.block_size,
831 total_dst_blocks * self.block_size))
842 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