Google 致力于为黑人社区推动种族平等。查看具体举措

OtaDeviceBuildInfo

public class OtaDeviceBuildInfo
extends DeviceBuildInfo

对象
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)

字段

摩塔建筑

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

公共构造函数

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

参数
buildInfo IDeviceBuildInfo

公共方法

清理

public void cleanUp ()

清理

public void cleanUp ( doNotDelete)

参数
doNotDelete

克隆

public IBuildInfo clone ()

退货
IBuildInfo

获取基线构建ID

public String getBaselineBuildId ()

退货
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

退货
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

退货
File

获取构建分支

public String getBuildBranch ()

退货
String

获取构建风味

public String getBuildFlavor ()

退货
String

获取构建ID

public String getBuildId ()

退货
String

获取构建目标名称

public String getBuildTargetName ()

退货
String

获取文件

public  getFiles ()

退货

获取OtaBuild

public IDeviceBuildInfo getOtaBuild ()

退货
IDeviceBuildInfo

获取工具

public File getOtaTools ()

退货
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

退货
File

获取目标目标文件压缩

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

设置工具

public void setOtaTools (File otaTools, 
                String version)

参数
otaTools File

version String

设置报告目标构建

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