Lines Matching refs:manifest
71 manifest = self.payload.manifest
73 DisplayValue('Number of partitions', len(manifest.partitions))
74 for partition in manifest.partitions:
78 DisplayValue('Number of operations', len(manifest.install_operations))
80 len(manifest.kernel_install_operations))
81 DisplayValue('Block size', manifest.block_size)
82 DisplayValue('Minor version', manifest.minor_version)
100 manifest = self.payload.manifest
101 if manifest.HasField('signatures_offset'):
102 signature_msg = 'blob_offset=%d' % manifest.signatures_offset
103 if manifest.signatures_size:
104 signature_msg += ' (%d bytes)' % manifest.signatures_size
106 signatures_blob = self.payload.ReadDataBlob(manifest.signatures_offset,
107 manifest.signatures_size)
163 def _GetStats(self, manifest): argument
174 partitions_operations = [part.operations for part in manifest.partitions]
176 partitions_operations = [manifest.install_operations,
177 manifest.kernel_install_operations]
190 if manifest.minor_version == 1:
192 written_blocks += manifest.old_rootfs_info.size / manifest.block_size
193 written_blocks += manifest.old_kernel_info.size / manifest.block_size
195 read_blocks += manifest.old_rootfs_info.size / manifest.block_size
196 read_blocks += manifest.old_kernel_info.size / manifest.block_size
197 read_blocks += manifest.new_rootfs_info.size / manifest.block_size
198 read_blocks += manifest.new_kernel_info.size / manifest.block_size
204 def _DisplayStats(self, manifest): argument
205 stats = self._GetStats(manifest)
219 self._DisplayStats(self.payload.manifest)
223 for partition in self.payload.manifest.partitions:
228 self.payload.manifest.install_operations)
230 self.payload.manifest.kernel_install_operations)