Home
last modified time | relevance | path

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

/build/make/tools/releasetools/
Dota_from_target_files565 def HasTrebleEnabled(target_files, target_info): argument
574 target_info.GetBuildProp("ro.treble.enabled") == "true")
577 def WriteFingerprintAssertion(script, target_info, source_info): argument
579 target_oem_props = target_info.oem_props
583 source_info.fingerprint, target_info.fingerprint)
586 target_info.GetBuildProp("ro.build.thumbprint"),
591 target_info.GetBuildProp("ro.build.thumbprint"))
594 target_info.fingerprint,
598 def CheckVintfIfTrebleEnabled(target_files, target_info): argument
614 if not HasTrebleEnabled(target_files, target_info):
[all …]
Dota_from_target_files.py565 def HasTrebleEnabled(target_files, target_info): argument
574 target_info.GetBuildProp("ro.treble.enabled") == "true")
577 def WriteFingerprintAssertion(script, target_info, source_info): argument
579 target_oem_props = target_info.oem_props
583 source_info.fingerprint, target_info.fingerprint)
586 target_info.GetBuildProp("ro.build.thumbprint"),
591 target_info.GetBuildProp("ro.build.thumbprint"))
594 target_info.fingerprint,
598 def CheckVintfIfTrebleEnabled(target_files, target_info): argument
614 if not HasTrebleEnabled(target_files, target_info):
[all …]
Dtest_common.py172 target_info = common.BuildInfo(self.TEST_INFO_DICT, None)
173 self.assertEqual('product-device', target_info.device)
174 self.assertEqual('build-fingerprint', target_info.fingerprint)
175 self.assertFalse(target_info.is_ab)
176 self.assertIsNone(target_info.oem_props)
179 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
181 self.assertEqual('device1', target_info.device)
183 target_info.fingerprint)
188 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
190 self.assertEqual('device3', target_info.device)
[all …]
Dtest_ota_from_target_files.py188 target_info = common.BuildInfo(target_info_dict, None)
189 metadata = GetPackageMetadata(target_info)
206 target_info = common.BuildInfo(target_info_dict, None)
209 metadata = GetPackageMetadata(target_info, source_info)
226 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
227 metadata = GetPackageMetadata(target_info)
241 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
244 metadata = GetPackageMetadata(target_info, source_info)
260 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
262 metadata = GetPackageMetadata(target_info)
[all …]