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 usato per la prova aggiornamento over-the-air. Esso è composto da due dispositivo build per ITestDevice :

  • un'immagine di build di base (la build a OTA da).
  • una build OTA (una build per OTA). Dovrebbe contenere gli attributi di build necessari e il pacchetto OTA associato.
this contiene la costruzione della linea di base, e getOtaBuild() restituisce la costruzione OTA.

Riepilogo

Campi

protected IDeviceBuildInfo mOtaBuild

protected boolean mReportTargetBuild

Costruttori pubblici

OtaDeviceBuildInfo ()
OtaDeviceBuildInfo ( IDeviceBuildInfo buildInfo)

Metodi pubblici

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)

Campi

mOtaBuild

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

Costruttori pubblici

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

Parametri
buildInfo IDeviceBuildInfo

Metodi pubblici

ripulire

public void cleanUp ()

ripulire

public void cleanUp ( doNotDelete)

Parametri
doNotDelete

clone

public IBuildInfo clone ()

ritorna
IBuildInfo

getBaselineBuildId

public String getBaselineBuildId ()

ritorna
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

ritorna
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

ritorna
File

getBuildBranch

public String getBuildBranch ()

ritorna
String

getBuildFlavor

public String getBuildFlavor ()

ritorna
String

getBuildId

public String getBuildId ()

ritorna
String

getBuildTargetName

public String getBuildTargetName ()

ritorna
String

getFiles

public  getFiles ()

ritorna

getOtaBuild

public IDeviceBuildInfo getOtaBuild ()

ritorna
IDeviceBuildInfo

getOtaTools

public File getOtaTools ()

ritorna
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

ritorna
File

getTargetTargetFileZip

public File getTargetTargetFileZip ()

ritorna
File

setBaselineOtatoolsZip

public void setBaselineOtatoolsZip (File file, 
                String version)

Parametri
file File

version String

setBaselineTargetFileZip

public void setBaselineTargetFileZip (File file, 
                String version)

Parametri
file File

version String

setOtaBuild

public void setOtaBuild (IDeviceBuildInfo otaBuild)

Parametri
otaBuild IDeviceBuildInfo

setOtaTools

public void setOtaTools (File otaTools, 
                String version)

Parametri
otaTools File

version String

setReportTargetBuild

public void setReportTargetBuild (boolean downgrade)

Parametri
downgrade boolean

setTargetOtatoolsZip

public void setTargetOtatoolsZip (File file, 
                String version)

Parametri
file File

version String

setTargetTargetFileZip

public void setTargetTargetFileZip (File file, 
                String version)

Parametri
file File

version String