Home | History | Annotate | Download | only in releasetools

Lines Matching refs:oem_props

455   oem_props = info_dict.get("oem_fingerprint_properties")
456 if oem_props is None or len(oem_props) == 0:
463 for prop in oem_props.split():
482 def GetOemProperty(name, oem_props, oem_dict, info_dict):
483 if oem_props is not None and name in oem_props:
488 def CalculateFingerprint(oem_props, oem_dict, info_dict):
489 if oem_props is None:
492 GetOemProperty("ro.product.brand", oem_props, oem_dict, info_dict),
493 GetOemProperty("ro.product.name", oem_props, oem_dict, info_dict),
494 GetOemProperty("ro.product.device", oem_props, oem_dict, info_dict),
545 oem_props = OPTIONS.info_dict.get("oem_fingerprint_properties")
548 if oem_props is not None and len(oem_props) > 0:
557 "post-build": CalculateFingerprint(oem_props, oem_dict,
559 "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dict,
628 oem_props, oem_dict, OPTIONS.info_dict))
796 oem_props = OPTIONS.info_dict.get("oem_fingerprint_properties")
800 if oem_props is not None and len(oem_props) > 0:
809 "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dict,
845 source_fp = CalculateFingerprint(oem_props, oem_dict,
847 target_fp = CalculateFingerprint(oem_props, oem_dict,
958 oem_props, oem_dict, OPTIONS.source_info_dict))
960 oem_props, oem_dict, OPTIONS.target_info_dict))
966 if oem_props is None:
1101 oem_props = OPTIONS.info_dict.get("oem_fingerprint_properties")
1105 if oem_props is not None and len(oem_props) > 0:
1112 target_fp = CalculateFingerprint(oem_props, oem_dict, OPTIONS.info_dict)
1115 "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dict,
1200 oem_props = OPTIONS.info_dict.get("oem_fingerprint_properties", None)
1202 if oem_props:
1209 "post-build": CalculateFingerprint(oem_props, oem_dict,
1213 "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dict,
1221 metadata["pre-build"] = CalculateFingerprint(oem_props, oem_dict,
1486 oem_props = OPTIONS.info_dict.get("oem_fingerprint_properties")
1490 if oem_props is not None and len(oem_props) > 0:
1499 "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dict,
1543 target_fp = CalculateFingerprint(oem_props, oem_dict,
1545 source_fp = CalculateFingerprint(oem_props, oem_dict,
1548 if oem_props is None: