Lines Matching refs:partition
104 def sha_check(self, ranges_str, expected_sha, partition): argument
115 expected_sha=expected_sha, partition=partition)
118 def image_sha_check(self, partition, src_size, src_hash, argument
130 partition=partition, src_size=src_size, src_hash=src_hash,
134 def first_block_check(self, partition): argument
141 partition=partition)
144 def abort(self, partition): argument
152 partition=partition)
167 def image_patch(self, partition, src_size, src_hash, target_size, target_hash): argument
175 '"{partition}.patch.dat");\n'.format(partition=partition, src_size=src_size,
179 def block_update(self, partition): argument
187 '"{partition}.patch.dat");\n'.format(partition=partition)
190 def image_write(self, partition, image_name, image_path): argument
191 return self.raw_image_write(partition, image_name)
193 def raw_image_write(self, partition, image_name): argument
199 cmd = 'raw_image_write("/%s", "/%s");\n' % (partition, image_name)