Searched refs:metadata_dict (Results 1 – 2 of 2) sorted by relevance
146 metadata_dict = BuildLegacyOtaMetadata(metadata_proto)148 sorted(metadata_dict.items())])294 metadata_dict = {}296 metadata_dict['ota-type'] = 'AB'298 metadata_dict['ota-type'] = 'BLOCK'300 metadata_dict['ota-wipe'] = 'yes'302 metadata_dict['ota-retrofit-dynamic-partitions'] = 'yes'304 metadata_dict['ota-downgrade'] = 'yes'306 metadata_dict['ota-required-cache'] = str(metadata_proto.required_cache)309 metadata_dict['post-build'] = separator.join(post_build.build)[all …]
1522 metadata_dict = BuildLegacyOtaMetadata(GetPackageMetadata(build_info))1523 self.assertEqual('vendor-product-device', metadata_dict['pre-device'])1532 self.assertEqual('|'.join(fingerprints), metadata_dict['post-build'])1534 def CheckMetadataEqual(self, metadata_dict, metadata_proto): argument1537 metadata_dict['post-build'])1539 metadata_dict['post-build-incremental'])1541 metadata_dict['post-sdk-level'])1543 metadata_dict['post-security-patch-level'])1551 self.assertEqual(ota_type, metadata_dict['ota-type'])1553 metadata_dict.get('ota-wipe') == 'yes')[all …]