Searched refs:source_info (Results 1 – 7 of 7) sorted by relevance
/build/make/tools/releasetools/ |
D | non_ab_ota.py | 30 def GetBlockDifferences(target_zip, source_zip, target_info, source_info, argument 40 info_dict=source_info, 52 partition_source_info = source_info["fstab"]["/" + name] 68 allow_shared_blocks = (source_info.get('ext4_share_dup_blocks') == "true" or 162 source_info=None, 293 source_info = common.BuildInfo(OPTIONS.source_info_dict, OPTIONS.oem_dicts) 296 source_api_version = source_info["recovery_api_version"] 302 source_api_version, target_info, fstab=source_info["fstab"]) 304 if target_info.oem_props or source_info.oem_props: 306 source_info.WriteMountOemScript(script) [all …]
|
D | test_non_ab_ota.py | 126 source_info = common.BuildInfo(source_info_dict, None) 129 WriteFingerprintAssertion(script_writer, target_info, source_info) 137 source_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS, 141 WriteFingerprintAssertion(script_writer, target_info, source_info) 150 source_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None) 153 WriteFingerprintAssertion(script_writer, target_info, source_info) 165 source_info = common.BuildInfo(source_info_dict, self.TEST_OEM_DICTS) 168 WriteFingerprintAssertion(script_writer, target_info, source_info)
|
D | ota_utils.py | 225 def GetPackageMetadata(target_info, source_info=None): argument 241 assert source_info is None or isinstance(source_info, BuildInfo) 268 is_incremental = source_info is not None 270 UpdateDeviceState(metadata_proto.precondition, source_info, 278 HandleDowngradeMetadata(metadata_proto, target_info, source_info) 329 def HandleDowngradeMetadata(metadata_proto, target_info, source_info): argument 334 pre_timestamp = source_info.GetBuildProp("ro.build.date.utc")
|
D | test_ota_from_target_files.py | 183 def GetLegacyOtaMetadata(target_info, source_info=None): argument 184 metadata_proto = GetPackageMetadata(target_info, source_info) 211 source_info = common.BuildInfo(self.TEST_SOURCE_INFO_DICT, None) 213 metadata = self.GetLegacyOtaMetadata(target_info, source_info) 247 source_info = common.BuildInfo(self.TEST_SOURCE_INFO_DICT, None) 249 metadata = self.GetLegacyOtaMetadata(target_info, source_info) 317 def _test_GetPackageMetadata_swapBuildTimestamps(target_info, source_info): argument 319 source_info['build.prop'].build_props['ro.build.date.utc']) = ( 320 source_info['build.prop'].build_props['ro.build.date.utc'], 330 source_info = common.BuildInfo(source_info_dict, None) [all …]
|
D | validate_target_files.py | 212 source_info = source_partition.split(':') 213 assert len(source_info) == 4, \ 217 expected_sha1=source_info[3])
|
D | ota_from_target_files.py | 1060 source_info = common.BuildInfo(OPTIONS.source_info_dict, OPTIONS.oem_dicts) 1065 if not source_info.is_vabc or not target_info.is_vabc: 1073 source_info = None 1101 metadata = GetPackageMetadata(target_info, source_info) 1108 max_timestamp = source_info.GetBuildProp("ro.build.date.utc")
|
D | test_common.py | 1983 source_info = common.LoadDictionaryFromLines(""" 1998 source_info_dict=source_info) 2015 source_info = common.LoadDictionaryFromLines(""" 2042 source_info_dict=source_info) 2089 source_info = common.LoadDictionaryFromLines(""" 2106 common.OPTIONS.source_info_dict = source_info 2113 source_info_dict=source_info)
|