public interface

IDeviceBuildInfo

implements IBuildInfo
com.android.tradefed.build.IDeviceBuildInfo
Known Indirect Subclasses

Class Overview

A IBuildInfo that represents a complete Android device build and (optionally) its tests.

Summary

[Expand]
Inherited Constants
From interface com.android.tradefed.build.IBuildInfo
Public Methods
abstract void cleanUp()
Removes all temporary files.
abstract File getBasebandImageFile()
Get the local baseband image file.
abstract String getBasebandVersion()
Get the baseband version.
abstract File getBootloaderImageFile()
Get the local bootloader image file.
abstract String getBootloaderVersion()
Get the bootloader version.
abstract String getDeviceBuildId()
Returns the unique identifier of platform build under test.
abstract File getDeviceImageFile()
Get the local device image zip file.
abstract String getDeviceImageVersion()
Get the local device image zip version.
abstract File getMkbootimgFile()
Gets the mkbootimg file used to create the kernel image.
abstract String getMkbootimgVersion()
Gets the mkbootimg version.
abstract File getOtaPackageFile()
Get the device OTA package zip file.
abstract String getOtaPackageVersion()
Get the device OTA package zip version.
abstract File getRamdiskFile()
Gets the ramdisk file used to create the kernel image.
abstract String getRamdiskVersion()
Gets the ramdisk version.
abstract File getTestsDir()
Get the local path to the extracted tests.zip file contents.
abstract String getTestsDirVersion()
Get the extracted tests.zip version.
abstract File getUserDataImageFile()
Get the local test userdata image file.
abstract String getUserDataImageVersion()
Get the local test userdata image version.
abstract void setBasebandImage(File basebandFile, String version)
Set the baseband image for the device build.
abstract void setBootloaderImageFile(File bootloaderImgFile, String version)
Set the bootloader image for the device build.
abstract void setDeviceImageFile(File deviceImageFile, String version)
Set the device system image file to use.
abstract void setMkbootimgFile(File mkbootimg, String version)
Sets the mkbootimg file used to create the kernel image.
abstract void setOtaPackageFile(File otaFile, String version)
Set the device OTA package zip file.
abstract void setRamdiskFile(File ramdisk, String version)
Gets the ramdisk file used to create the kernel image.
abstract void setTestsDir(File testsZipFile, String version)
Set local path to the extracted tests.zip file contents.
abstract void setUserDataImageFile(File userDataFile, String version)
Set the user data image file to use.
[Expand]
Inherited Methods
From interface com.android.tradefed.build.IBuildInfo

Public Methods

public abstract void cleanUp ()

Removes all temporary files.

public abstract File getBasebandImageFile ()

Get the local baseband image file.

public abstract String getBasebandVersion ()

Get the baseband version.

public abstract File getBootloaderImageFile ()

Get the local bootloader image file.

public abstract String getBootloaderVersion ()

Get the bootloader version.

public abstract String getDeviceBuildId ()

Returns the unique identifier of platform build under test. Should never be null. Defaults to UNKNOWN_BUILD_ID.

public abstract File getDeviceImageFile ()

Get the local device image zip file.

public abstract String getDeviceImageVersion ()

Get the local device image zip version.

public abstract File getMkbootimgFile ()

Gets the mkbootimg file used to create the kernel image.

public abstract String getMkbootimgVersion ()

Gets the mkbootimg version.

public abstract File getOtaPackageFile ()

Get the device OTA package zip file.

public abstract String getOtaPackageVersion ()

Get the device OTA package zip version.

public abstract File getRamdiskFile ()

Gets the ramdisk file used to create the kernel image.

public abstract String getRamdiskVersion ()

Gets the ramdisk version.

public abstract File getTestsDir ()

Get the local path to the extracted tests.zip file contents.

public abstract String getTestsDirVersion ()

Get the extracted tests.zip version.

public abstract File getUserDataImageFile ()

Get the local test userdata image file.

public abstract String getUserDataImageVersion ()

Get the local test userdata image version.

public abstract void setBasebandImage (File basebandFile, String version)

Set the baseband image for the device build.

Parameters
basebandFile the baseband image File
version the version of the baseband

public abstract void setBootloaderImageFile (File bootloaderImgFile, String version)

Set the bootloader image for the device build.

Parameters
bootloaderImgFile the bootloader image File
version the version of the bootloader

public abstract void setDeviceImageFile (File deviceImageFile, String version)

Set the device system image file to use.

public abstract void setMkbootimgFile (File mkbootimg, String version)

Sets the mkbootimg file used to create the kernel image.

public abstract void setOtaPackageFile (File otaFile, String version)

Set the device OTA package zip file.

public abstract void setRamdiskFile (File ramdisk, String version)

Gets the ramdisk file used to create the kernel image.

public abstract void setTestsDir (File testsZipFile, String version)

Set local path to the extracted tests.zip file contents.

public abstract void setUserDataImageFile (File userDataFile, String version)

Set the user data image file to use.