OtaDeviceBuildInfo

public class OtaDeviceBuildInfo
extends DeviceBuildInfo

java.lang.Object
?? com.android.tradefed.build.BuildInfo
?? com.android.tradefed.build.DeviceBuildInfo
?? com.android.tradefed.build.OtaDeviceBuildInfo


Un IDeviceBuildInfo utilisé pour les tests de mise à jour over-the-air. Il est composé de deux dispositif builds pour ITestDevice :

  • une image de build de base (la build vers OTA à partir de).
  • un build OTA (un build vers OTA vers). Doit contenir les attributs de construction nécessaires et le package OTA associé.
this contient la version de base, et getOtaBuild() retourne la construction OTA.

Sommaire

Des champs

protected IDeviceBuildInfo mOtaBuild

protected boolean mReportTargetBuild

Constructeurs publics

OtaDeviceBuildInfo ()
OtaDeviceBuildInfo ( IDeviceBuildInfo buildInfo)

Méthodes publiques

void cleanUp ()

void cleanUp ( doNotDelete) cleanUp ( doNotDelete)

IBuildInfo clone ()

String getBaselineBuildId ()
File getBaselineOtatoolsZip ()
File getBaselineTargetFileZip ()
String getBuildBranch ()

String getBuildFlavor ()

String getBuildId ()

String getBuildTargetName ()

getFiles ()

IDeviceBuildInfo getOtaBuild ()
File getOtaTools ()
File getTargetOtatoolsZip ()
File getTargetTargetFileZip ()
void setBaselineOtatoolsZip (File file, String version)
void setBaselineTargetFileZip (File file, String version)
void setOtaBuild ( IDeviceBuildInfo otaBuild)
void setOtaTools (File otaTools, String version)
void setReportTargetBuild (boolean downgrade)
void setTargetOtatoolsZip (File file, String version)
void setTargetTargetFileZip (File file, String version)

Des champs

mOtaBuild

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

Constructeurs publics

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

Paramètres
buildInfo IDeviceBuildInfo

Méthodes publiques

nettoyer

public void cleanUp ()

nettoyer

public void cleanUp ( doNotDelete)

Paramètres
doNotDelete

cloner

public IBuildInfo clone ()

Retour
IBuildInfo

getBaselineBuildId

public String getBaselineBuildId ()

Retour
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

Retour
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

Retour
File

getBuildBranch

public String getBuildBranch ()

Retour
String

getBuildFlavor

public String getBuildFlavor ()

Retour
String

getBuildId

public String getBuildId ()

Retour
String

getBuildNomCible

public String getBuildTargetName ()

Retour
String

getFiles

public  getFiles ()

Retour

getOtaBuild

public IDeviceBuildInfo getOtaBuild ()

Retour
IDeviceBuildInfo

getOtaTools

public File getOtaTools ()

Retour
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

Retour
File

getTargetTargetFileZip

public File getTargetTargetFileZip ()

Retour
File

setBaselineOtatoolsZip

public void setBaselineOtatoolsZip (File file, 
                String version)

Paramètres
file File

version String

setBaselineTargetFileZip

public void setBaselineTargetFileZip (File file, 
                String version)

Paramètres
file File

version String

setOtaBuild

public void setOtaBuild (IDeviceBuildInfo otaBuild)

Paramètres
otaBuild IDeviceBuildInfo

setOtaTools

public void setOtaTools (File otaTools, 
                String version)

Paramètres
otaTools File

version String

setReportTargetBuild

public void setReportTargetBuild (boolean downgrade)

Paramètres
downgrade boolean

setTargetOtatoolsZip

public void setTargetOtatoolsZip (File file, 
                String version)

Paramètres
file File

version String

setTargetTargetFileZip

public void setTargetTargetFileZip (File file, 
                String version)

Paramètres
file File

version String