HostOptions

public class HostOptions
extends Object implements IHostOptions

java.lang.Object
   ↳ com.android.tradefed.host.HostOptions


Host options holder class. This class is used to store host-wide options.

Summary

Public constructors

HostOptions()

Public methods

Integer getConcurrentDownloadLimit()

Returns the max number of concurrent downloads allowed.

Integer getConcurrentFlasherLimit()

Returns the max number of concurrent flashing to allow.

File getDownloadCacheDir()

Returns the path used for storing downloaded artifacts

File getFastbootTmpDir()

Returns the path that fastboot should use as temporary folder

Public constructors

HostOptions

HostOptions ()

Public methods

getConcurrentDownloadLimit

Integer getConcurrentDownloadLimit ()

Returns the max number of concurrent downloads allowed. Used by IBuildProvider that downloads remote builds.

Returns
Integer

getConcurrentFlasherLimit

Integer getConcurrentFlasherLimit ()

Returns the max number of concurrent flashing to allow. Used by DeviceFlashPreparer.

Returns
Integer the concurrent flasher limit.

getDownloadCacheDir

File getDownloadCacheDir ()

Returns the path used for storing downloaded artifacts

Returns
File

getFastbootTmpDir

File getFastbootTmpDir ()

Returns the path that fastboot should use as temporary folder

Returns
File