OtaDeviceBuildInfo

public class OtaDeviceBuildInfo
extends DeviceBuildInfo

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


Ein IDeviceBuildInfo verwendet für Over-the-Air - Update - Tests. Es besteht aus zwei Geräten baut für ITestDevice :

  • ein Baseline-Build-Image (der Build von OTA).
  • ein OTA-Build (ein Build für OTA). Sollte die notwendigen Build-Attribute und das zugehörige OTA-Paket enthalten.
this enthält die Basislinie bauen und getOtaBuild() gibt das OTA - Build.

Zusammenfassung

Felder

protected IDeviceBuildInfo mOtaBuild

protected boolean mReportTargetBuild

Öffentliche Konstrukteure

OtaDeviceBuildInfo ()
OtaDeviceBuildInfo ( IDeviceBuildInfo buildInfo)

Öffentliche Methoden

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)

Felder

mOtaBuild

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

Öffentliche Konstrukteure

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

Parameter
buildInfo IDeviceBuildInfo

Öffentliche Methoden

Aufräumen

public void cleanUp ()

Aufräumen

public void cleanUp ( doNotDelete)

Parameter
doNotDelete

Klon

public IBuildInfo clone ()

Kehrt zurück
IBuildInfo

getBaselineBuildId

public String getBaselineBuildId ()

Kehrt zurück
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

Kehrt zurück
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

Kehrt zurück
File

getBuildBranch

public String getBuildBranch ()

Kehrt zurück
String

getBuildFlavour

public String getBuildFlavor ()

Kehrt zurück
String

getBuildId

public String getBuildId ()

Kehrt zurück
String

getBuildTargetName

public String getBuildTargetName ()

Kehrt zurück
String

getFiles

public  getFiles ()

Kehrt zurück

getOtaBuild

public IDeviceBuildInfo getOtaBuild ()

Kehrt zurück
IDeviceBuildInfo

getOtaTools

public File getOtaTools ()

Kehrt zurück
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

Kehrt zurück
File

getTargetTargetFileZip

public File getTargetTargetFileZip ()

Kehrt zurück
File

setBaselineOtatoolsZip

public void setBaselineOtatoolsZip (File file, 
                String version)

Parameter
file File

version String

setBaselineTargetFileZip

public void setBaselineTargetFileZip (File file, 
                String version)

Parameter
file File

version String

setOtaBuild

public void setOtaBuild (IDeviceBuildInfo otaBuild)

Parameter
otaBuild IDeviceBuildInfo

setOtaTools

public void setOtaTools (File otaTools, 
                String version)

Parameter
otaTools File

version String

setReportTargetBuild

public void setReportTargetBuild (boolean downgrade)

Parameter
downgrade boolean

setTargetOtatoolsZip

public void setTargetOtatoolsZip (File file, 
                String version)

Parameter
file File

version String

setTargetTargetFileZip

public void setTargetTargetFileZip (File file, 
                String version)

Parameter
file File

version String