OtaDeviceBuildInfo

public class OtaDeviceBuildInfo
extends DeviceBuildInfo

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


IDeviceBuildInfo используется для более сотового тестирования обновлений. Она состоит из двух устройств для сборки ITestDevice :

  • базовый образ сборки (сборка до OTA из).
  • сборка OTA (сборка до OTA). Должен содержать необходимые атрибуты сборки и соответствующий пакет OTA.
this содержит базовую сборку и getOtaBuild() возвращает OTA сборки.

Резюме

Поля

protected IDeviceBuildInfo mOtaBuild

protected boolean mReportTargetBuild

Общественные конструкторы

OtaDeviceBuildInfo ()
OtaDeviceBuildInfo ( IDeviceBuildInfo buildInfo)

Публичные методы

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)

Поля

mOtaBuild

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

Общественные конструкторы

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

Параметры
buildInfo IDeviceBuildInfo

Публичные методы

cleanUp

public void cleanUp ()

cleanUp

public void cleanUp ( doNotDelete)

Параметры
doNotDelete

клон

public IBuildInfo clone ()

Возврат
IBuildInfo

getBaselineBuildId

public String getBaselineBuildId ()

Возврат
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

Возврат
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

Возврат
File

getBuildBranch

public String getBuildBranch ()

Возврат
String

getBuildFlavor

public String getBuildFlavor ()

Возврат
String

getBuildId

public String getBuildId ()

Возврат
String

getBuildTargetName

public String getBuildTargetName ()

Возврат
String

getFiles

public  getFiles ()

Возврат

getOtaBuild

public IDeviceBuildInfo getOtaBuild ()

Возврат
IDeviceBuildInfo

getOtaTools

public File getOtaTools ()

Возврат
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

Возврат
File

getTargetTargetFileZip

public File getTargetTargetFileZip ()

Возврат
File

setBaselineOtatoolsZip

public void setBaselineOtatoolsZip (File file, 
                String version)

Параметры
file File

version String

setBaselineTargetFileZip

public void setBaselineTargetFileZip (File file, 
                String version)

Параметры
file File

version String

setOtaBuild

public void setOtaBuild (IDeviceBuildInfo otaBuild)

Параметры
otaBuild IDeviceBuildInfo

setOtaTools

public void setOtaTools (File otaTools, 
                String version)

Параметры
otaTools File

version String

setReportTargetBuild

public void setReportTargetBuild (boolean downgrade)

Параметры
downgrade boolean

setTargetOtatoolsZip

public void setTargetOtatoolsZip (File file, 
                String version)

Параметры
file File

version String

setTargetTargetFileZip

public void setTargetTargetFileZip (File file, 
                String version)

Параметры
file File

version String