Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

OtaDeviceBuildInfo

public class OtaDeviceBuildInfo
extends DeviceBuildInfo

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


Sebuah IDeviceBuildInfo digunakan untuk over-the-air pengujian pembaruan. Hal ini terdiri dari dua perangkat membangun untuk ITestDevice :

  • gambar build dasar (dari build ke OTA).
  • sebuah OTA build (sebuah build untuk OTA). Harus berisi atribut build yang diperlukan dan paket OTA terkait.
this berisi dasar membangun, dan getOtaBuild() mengembalikan OTA membangun.

Ringkasan

bidang

protected IDeviceBuildInfo mOtaBuild

protected boolean mReportTargetBuild

Konstruktor publik

OtaDeviceBuildInfo ()
OtaDeviceBuildInfo ( IDeviceBuildInfo buildInfo)

Metode publik

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)

bidang

mOtaBuild

protected IDeviceBuildInfo mOtaBuild

mReportTargetBuild

protected boolean mReportTargetBuild

Konstruktor publik

OtaDeviceBuildInfo

public OtaDeviceBuildInfo ()

OtaDeviceBuildInfo

public OtaDeviceBuildInfo (IDeviceBuildInfo buildInfo)

Parameter
buildInfo IDeviceBuildInfo

Metode publik

membersihkan

public void cleanUp ()

membersihkan

public void cleanUp ( doNotDelete)

Parameter
doNotDelete

klon

public IBuildInfo clone ()

Kembali
IBuildInfo

getBaselineBuildId

public String getBaselineBuildId ()

Kembali
String

getBaselineOtatoolsZip

public File getBaselineOtatoolsZip ()

Kembali
File

getBaselineTargetFileZip

public File getBaselineTargetFileZip ()

Kembali
File

dapatkanBangunCabang

public String getBuildBranch ()

Kembali
String

getBuildFlavor

public String getBuildFlavor ()

Kembali
String

getBuildId

public String getBuildId ()

Kembali
String

getBuildTargetName

public String getBuildTargetName ()

Kembali
String

dapatkan File

public  getFiles ()

Kembali

dapatkanOtaBuild

public IDeviceBuildInfo getOtaBuild ()

Kembali
IDeviceBuildInfo

dapatkanOtaTools

public File getOtaTools ()

Kembali
File

getTargetOtatoolsZip

public File getTargetOtatoolsZip ()

Kembali
File

getTargetTargetFileZip

public File getTargetTargetFileZip ()

Kembali
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

setLaporkanTargetBuild

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