Searched refs:metadata_proto (Results 1 – 2 of 2) sorted by relevance
/build/make/tools/releasetools/ |
D | ota_utils.py | 136 def WriteMetadata(metadata_proto, output): argument 146 metadata_dict = BuildLegacyOtaMetadata(metadata_proto) 150 ZipWriteStr(output, METADATA_PROTO_NAME, metadata_proto.SerializeToString(), 157 f.write(metadata_proto.SerializeToString()) 249 metadata_proto = ota_metadata_pb2.OtaMetadata() 252 UpdateDeviceState(metadata_proto.postcondition, target_info, 256 metadata_proto.type = ota_metadata_pb2.OtaMetadata.AB 257 metadata_proto.required_cache = 0 259 metadata_proto.type = ota_metadata_pb2.OtaMetadata.BLOCK 263 metadata_proto.wipe = True [all …]
|
D | test_ota_from_target_files.py | 184 metadata_proto = GetPackageMetadata(target_info, source_info) 185 return BuildLegacyOtaMetadata(metadata_proto) 1534 def CheckMetadataEqual(self, metadata_dict, metadata_proto): argument 1535 post_build = metadata_proto.postcondition 1545 if metadata_proto.type == ota_metadata_pb2.OtaMetadata.AB: 1547 elif metadata_proto.type == ota_metadata_pb2.OtaMetadata.BLOCK: 1552 self.assertEqual(metadata_proto.wipe, 1554 self.assertEqual(metadata_proto.required_cache, 1556 self.assertEqual(metadata_proto.retrofit_dynamic_partitions, 1617 metadata_proto = GetPackageMetadata(target_info, source_info) [all …]
|