Home
last modified time | relevance | path

Searched refs:target_info (Results 1 – 7 of 7) sorted by relevance

/build/make/tools/releasetools/
Dnon_ab_ota.py30 def GetBlockDifferences(target_zip, source_zip, target_info, source_info, argument
44 name, 4096, target_info)
46 info_dict=target_info,
58 partition_target_info = target_info["fstab"]["/" + name]
69 target_info.get('ext4_share_dup_blocks') == "true")
71 int(i) for i in target_info.get(
84 info_dict=target_info,
120 target_info = common.BuildInfo(OPTIONS.info_dict, OPTIONS.oem_dicts)
125 target_api_version = target_info["recovery_api_version"]
126 script = edify_generator.EdifyGenerator(target_api_version, target_info)
[all …]
Dtest_non_ab_ota.py122 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
129 WriteFingerprintAssertion(script_writer, target_info, source_info)
136 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
141 WriteFingerprintAssertion(script_writer, target_info, source_info)
148 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
153 WriteFingerprintAssertion(script_writer, target_info, source_info)
160 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
168 WriteFingerprintAssertion(script_writer, target_info, source_info)
Dtest_common.py189 target_info = common.BuildInfo(self.TEST_INFO_DICT, None)
190 self.assertEqual('product-device', target_info.device)
191 self.assertEqual('build-fingerprint', target_info.fingerprint)
192 self.assertFalse(target_info.is_ab)
193 self.assertIsNone(target_info.oem_props)
196 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
198 self.assertEqual('device1', target_info.device)
200 target_info.fingerprint)
205 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
207 self.assertEqual('device3', target_info.device)
[all …]
Dcheck_target_files_vintf.py220 def CheckVintfIfTrebleEnabled(target_files, target_info): argument
236 if not HasTrebleEnabled(target_files, target_info):
244 if not CheckVintf(target_files, target_info):
247 def HasTrebleEnabled(target_files, target_info): argument
256 target_info.GetBuildProp("ro.treble.enabled") == "true")
Dota_utils.py225 def GetPackageMetadata(target_info, source_info=None): argument
240 assert isinstance(target_info, BuildInfo)
252 UpdateDeviceState(metadata_proto.postcondition, target_info,
255 if target_info.is_ab and not OPTIONS.force_non_ab:
278 HandleDowngradeMetadata(metadata_proto, target_info, source_info)
329 def HandleDowngradeMetadata(metadata_proto, target_info, source_info): argument
333 post_timestamp = target_info.GetBuildProp("ro.build.date.utc")
Dtest_ota_from_target_files.py183 def GetLegacyOtaMetadata(target_info, source_info=None): argument
184 metadata_proto = GetPackageMetadata(target_info, source_info)
191 target_info = common.BuildInfo(target_info_dict, None)
192 metadata = self.GetLegacyOtaMetadata(target_info)
210 target_info = common.BuildInfo(target_info_dict, None)
213 metadata = self.GetLegacyOtaMetadata(target_info, source_info)
230 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
231 metadata = self.GetLegacyOtaMetadata(target_info)
246 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
249 metadata = self.GetLegacyOtaMetadata(target_info, source_info)
[all …]
Dota_from_target_files.py1059 target_info = common.BuildInfo(OPTIONS.target_info_dict, OPTIONS.oem_dicts)
1065 if not source_info.is_vabc or not target_info.is_vabc:
1072 target_info = common.BuildInfo(OPTIONS.info_dict, OPTIONS.oem_dicts)
1075 if target_info.vendor_suppressed_vabc:
1087 target_file, target_info.get("super_block_devices").strip().split(),
1088 target_info.get("dynamic_partition_list").strip().split())
1097 target_info.info_dict['ab_partitions'] = zfp.read(
1101 metadata = GetPackageMetadata(target_info, source_info)
1157 if (target_info.get("verity") == "true" or
1158 target_info.get("avb_enable") == "true"):
[all …]