Searched refs:total_dst_blocks (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | checker.py | 753 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 …]
|
D | checker_unittest.py | 827 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
|