Home
last modified time | relevance | path

Searched refs:oem_dict (Results 1 – 2 of 2) sorted by relevance

/build/tools/releasetools/
Dota_from_target_files401 def AppendAssertions(script, info_dict, oem_dict=None): argument
407 if oem_dict is None:
411 if oem_dict.get(prop) is None:
414 script.AssertOemProperty(prop, oem_dict.get(prop))
431 def GetOemProperty(name, oem_props, oem_dict, info_dict): argument
433 return oem_dict[name]
437 def CalculateFingerprint(oem_props, oem_dict, info_dict): argument
441 GetOemProperty("ro.product.brand", oem_props, oem_dict, info_dict),
442 GetOemProperty("ro.product.name", oem_props, oem_dict, info_dict),
443 GetOemProperty("ro.product.device", oem_props, oem_dict, info_dict),
[all …]
Dota_from_target_files.py401 def AppendAssertions(script, info_dict, oem_dict=None): argument
407 if oem_dict is None:
411 if oem_dict.get(prop) is None:
414 script.AssertOemProperty(prop, oem_dict.get(prop))
431 def GetOemProperty(name, oem_props, oem_dict, info_dict): argument
433 return oem_dict[name]
437 def CalculateFingerprint(oem_props, oem_dict, info_dict): argument
441 GetOemProperty("ro.product.brand", oem_props, oem_dict, info_dict),
442 GetOemProperty("ro.product.name", oem_props, oem_dict, info_dict),
443 GetOemProperty("ro.product.device", oem_props, oem_dict, info_dict),
[all …]