Searched refs:total_dst_blocks (Results 1 – 2 of 2) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | checker.py | 777 def _CheckReplaceOperation(self, op, data_length, total_dst_blocks, op_name): argument 798 PayloadChecker._CheckBlocksFitLength(data_length, total_dst_blocks, 803 if data_length >= total_dst_blocks * self.block_size: 807 (op_name, data_length, total_dst_blocks, self.block_size)) 810 total_dst_blocks, op_name): argument 828 if total_src_blocks != total_dst_blocks: 831 (op_name, total_src_blocks, total_dst_blocks)) 856 (op_name, i, total_dst_blocks)) 910 def _CheckAnyDiffOperation(self, op, data_length, total_dst_blocks, op_name): argument 928 if data_length >= total_dst_blocks * self.block_size: [all …]
|
D | checker_unittest.py | 934 total_dst_blocks = 0 936 total_dst_blocks = 16 955 if total_dst_blocks: 957 op.dst_length = total_dst_blocks * block_size + 8 961 op.dst_length = total_dst_blocks * block_size
|