Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java614 public static IBuildInfo fromProto(BuildInformation.BuildInfo protoBuild) { in fromProto() argument
616 String buildClass = protoBuild.getBuildInfoClass(); in fromProto()
628 if (!protoBuild.getBuildId().isEmpty()) { in fromProto()
629 buildInfo.setBuildId(protoBuild.getBuildId()); in fromProto()
632 if (!protoBuild.getBuildFlavor().isEmpty()) { in fromProto()
633 buildInfo.setBuildFlavor(protoBuild.getBuildFlavor()); in fromProto()
636 if (!protoBuild.getBranch().isEmpty()) { in fromProto()
637 buildInfo.setBuildBranch(protoBuild.getBranch()); in fromProto()
640 for (String key : protoBuild.getAttributes().keySet()) { in fromProto()
641 buildInfo.addBuildAttribute(key, protoBuild.getAttributes().get(key)); in fromProto()
[all …]