TestDeviceOptions

public class TestDeviceOptions
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.TestDeviceOptions


ITestDevice Option 的容器

摘要

常數

int DEFAULT_ADB_PORT

String INSTANCE_TYPE_OPTION

String REMOTE_TF_VERSION_OPTION

欄位

protected long mAdbConnectWaitTime

公用建構函式

TestDeviceOptions()

公用方法

void addGceDriverParams(String param)

在 gce 驅動程式參數中新增參數。

boolean allowGceCmdTimeoutOverride()

Returns whether or not we should rely on the boot-timeout args from acloud if present.

boolean evaluateDeviceConnection()
File getAdbBinary()

傳回要使用的指定 adb 二進位檔。

long getAdbCommandTimeout()
long getAdbConnectWaitTime()

傳回要套用至 ADB 連線的逾時值 (以毫秒為單位)。

int getAdbRecoveryTimeout()
long getAdbRootUnavailableTimeout()
String getAdbServerPort()

傳回與裝置相關聯的 adb 伺服器通訊埠。

long getAvailableTimeout()
File getAvdConfigFile()

傳回 Gce Avd 設定檔,啟動執行個體。

File getAvdDriverBinary()

傳回二進位檔的路徑,啟動 Gce Avd 執行個體。

String getBaseImage()

傳回要用於目前執行個體的基礎映像檔名稱

long getBugreportzTimeout()

傳回要套用至 bugreportz 擷取的逾時值。

String getConnCheckUrl()
static String getCreateCommandByInstanceType(TestDeviceOptions.InstanceType type)
String getCrosPassword()

傳回用於登入 ChromeOS 的密碼。

String getCrosUser()

Returns the Chrome OS User to log in as.

Integer getCutoffBattery()
String getDefaultNetworkType()
MultiMap<File, String> getExtraFiles()

Return the extra files need to upload to GCE during acloud create.

getExtraOxygenArgs()

傳回租用 Oxygen 裝置的額外引數。

static getExtraParamsByInstanceType(TestDeviceOptions.InstanceType type, String baseImage)
File getFastbootBinary()

傳回要使用的指定 Fastboot 二進位檔。

long getFastbootOutputTimeout()
int getFastbootTimeout()
String getGceAccount()

將 gce 電子郵件帳戶還原給駕駛人使用

long getGceCmdTimeout()

傳回執行個體上線的 Gce Avd 超時時間。

String getGceDriverBuildIdParam()

傳回應與建構資訊中的建構 ID 配對的 GCE 驅動程式參數

MultiMap<String, File> getGceDriverFileParams()

以透過選項提供的 GCE 驅動程式參數形式,傳回其他檔案路徑。

Log.LogLevel getGceDriverLogLevel()

傳回 Gce Avd 驅動程式的記錄層級。

getGceDriverParams()

傳回透過選項提供的額外 GCE 驅動程式參數

int getGceMaxAttempt()

傳回啟動 GCE 裝置的嘗試次數上限

TestDeviceOptions.InstanceType getInstanceType()

傳回應建立的虛擬裝置執行個體類型

String getInstanceUser()

傳回應建立的 GCE 虛擬裝置執行個體使用者

getInvocationAttributeToMetadata()
String getLogcatOptions()
long getMaxLogcatDataSize()

取得要保留的暫時 logcat 資料的大約大小上限 (以位元組為單位)。

long getMaxWifiConnectTime()
long getOnlineTimeout()
String getOxygenAccountingUser()

傳回 Oxygen 裝置的會計使用者。

TestDeviceOptions.DeviceSize getOxygenDeviceSize()

傳回 Oxygen 虛擬裝置將執行的主機大小。

long getOxygenLeaseLength()

傳回 Oxygen 裝置的租賃時間長度 (以毫秒為單位)。

String getOxygenServiceAddress()

傳回 Oxygen 裝置的服務地址。

String getOxygenTargetRegion()

傳回 Oxygen 裝置的目標區域。

getPostBootCommands()
int getRebootTimeout()
int getRemoteAdbPort()

傳回 adb 伺服器監聽的執行個體遠端通訊埠

getRemoteFetchFilePattern()

傳回要嘗試透過 scp 擷取的模式清單。

File getRemoteTf()

指向要推送至遠端 Tradefed 版本目錄的檔案。

File getServiceAccountJsonKeyFile()
long getSnapuserdTimeout()
File getSshPrivateKeyPath()

傳回用於 Gce Avd 執行個體作業的 SSH 金鑰路徑。

int getUnencryptRebootTimeout()
boolean getUseFastbootErase()
int getWifiAttempts()
int getWifiRetryWaitTime()
String getWifiUtilAPKPath()
boolean isCmdWifiVirtual()
boolean isDisableKeyguard()

Check whether or not we should attempt to disable the keyguard once boot has completed

boolean isEnableAdbRoot()

檢查是否應在啟動時為這個裝置啟用 adb root

boolean isLogcatCaptureEnabled()
boolean isWifiExpoRetryEnabled()
void setAdbCommandTimeout(long adbCommandTimeout)

設定傳送指令的逾時時間 (以毫秒為單位)。

void setAdbRecoveryTimeout(int adbRecoveryTimeout)
void setAdbRootUnavailableTimeout(long adbRootUnavailableTimeout)
void setAvdConfigFile(File avdConfigFile)

設定 Gce Avd 設定檔,啟動執行個體。

void setAvdDriverBinary(File avdDriverBinary)

設定二進位檔的路徑,啟動 Gce Avd 執行個體。

void setConnCheckUrl(String url)
void setCutoffBattery(int cutoffBattery)

設定繼續呼叫的最低電量。

void setDisableKeyguard(boolean disableKeyguard)

設定是否應在開機完成後嘗試停用 Keyguard

void setExtraFiles(MultiMap<File, String> extraFiles)

在 acloud create 期間,設定需要上傳至 GCE 的額外檔案。

void setFastbootTimeout(int fastbootTimeout)
void setGceCmdTimeout(long gceCmdTimeout)

設定執行個體的 Gce Avd 逾時時間,讓執行個體上線。

void setGceDriverBuildIdParam(String gceDriverBuildIdParam)

設定應與建構資訊中的建構 ID 配對的 GCE 驅動程式參數

void setGceDriverLogLevel(Log.LogLevel mGceDriverLogLevel)

設定 Gce Avd 驅動程式的記錄層級。

void setGceMaxAttempt(int gceMaxAttempt)

設定啟動 GCE 裝置的嘗試次數上限

void setInstanceType(TestDeviceOptions.InstanceType type)

設定應建立的虛擬裝置例項類型

void setInstanceUser(String instanceUser)

設定要建立的 GCE 虛擬裝置執行個體使用者。

void setLogcatOptions(String logcatOptions)

設定要傳遞至 logcat 的選項

void setMaxLogcatDataSize(long maxLogcatDataSize)

設定要保留的 tmp logcat 大約大小上限 (以位元組為單位)

void setOnlineTimeout(long onlineTimeout)
void setRebootTimeout(int rebootTimeout)
void setRemoteAdbPort(int remoteAdbPort)

在 ADB 伺服器監聽的執行個體中設定遠端通訊埠

void setServiceAccountJsonKeyFile(File jsonKeyFile)

設定服務帳戶 JSON 金鑰檔案。

void setSkipTearDown(boolean shouldSkipTearDown)

Returns true if GCE tear down should be skipped.

void setSshPrivateKeyPath(File sshPrivateKeyPath)

設定用於 Gce Avd 執行個體作業的 SSH 金鑰路徑。

void setUnencryptRebootTimeout(int unencryptRebootTimeout)
void setUseCmdWifi(boolean useCmdWifi)
void setUseConnection(boolean useConnection)
void setUseFastbootErase(boolean useFastbootErase)
void setWifiAttempts(int wifiAttempts)
boolean shouldDisableReboot()
boolean shouldSkipBootComplete()
boolean shouldSkipTearDown()

Returns true if GCE tear down should be skipped.

boolean shouldUseConnection()

傳回是否應使用新的連線功能。

boolean shouldUseContentProvider()

傳回是否可使用 Tradefed 內容供應器推送/提取檔案。

boolean useCmdWifiCommands()

傳回是否要使用 cmd wifi 指令,而非 apk。

boolean useCvdCF()

如果裝置是由 cvd 啟動,則傳回 true,否則傳回 false。

boolean useExitStatusWorkaround()

Returns whether to use a workaround to get shell exit status on older devices without shell v2.

boolean useIpV6ForTcpFastboot()
boolean useOxygen()

如果使用 Oxygen 建立虛擬裝置,則傳回 true。

boolean useOxygenProxy()

如果我們希望 TradeFed 直接呼叫 Oxygen 租用裝置,則傳回 true。

boolean useOxygenationDevice()

如果要在 OmniLab 的基礎架構中租用氧氣裝置,則傳回 true。

boolean useUpdatedBootloaderStatus()

傳回是否要使用較新的啟動載入程式狀態。

boolean waitForGceTearDown()

Returns true if we should block on GCE tear down completion before proceeding.

常數

DEFAULT_ADB_PORT

public static final int DEFAULT_ADB_PORT

常數值: 5555 (0x000015b3)

INSTANCE_TYPE_OPTION

public static final String INSTANCE_TYPE_OPTION

常數值: "instance-type"

REMOTE_TF_VERSION_OPTION

public static final String REMOTE_TF_VERSION_OPTION

常數值: "remote-tf-version"

欄位

mAdbConnectWaitTime

protected long mAdbConnectWaitTime

公用建構函式

TestDeviceOptions

public TestDeviceOptions ()

公用方法

addGceDriverParams

public void addGceDriverParams (String param)

在 gce 驅動程式參數中新增參數。

參數
param String

allowGceCmdTimeoutOverride

public boolean allowGceCmdTimeoutOverride ()

Returns whether or not we should rely on the boot-timeout args from acloud if present.

傳回
boolean

evaluateDeviceConnection

public boolean evaluateDeviceConnection ()

傳回
boolean

getAdbBinary

public File getAdbBinary ()

傳回要使用的指定 adb 二進位檔。如果為空值,則使用 DeviceManager 二進位檔。

傳回
File

getAdbCommandTimeout

public long getAdbCommandTimeout ()

傳回
long 傳送指令的逾時時間 (以毫秒為單位)。

getAdbConnectWaitTime

public long getAdbConnectWaitTime ()

傳回要套用至 ADB 連線的逾時值 (以毫秒為單位)。

傳回
long

getAdbRecoveryTimeout

public int getAdbRecoveryTimeout ()

傳回
int 以毫秒為單位的逾時時間,用於啟動復原模式。

getAdbRootUnavailableTimeout

public long getAdbRootUnavailableTimeout ()

傳回
long 等待裝置在 adb root 後無法使用的時間 (以毫秒為單位)。

getAdbServerPort

public String getAdbServerPort ()

傳回與裝置相關聯的 adb 伺服器通訊埠。如果為空值,則使用預設通訊埠。

傳回
String

getAvailableTimeout

public long getAvailableTimeout ()

傳回
long 等待裝置可用的預設時間 (以毫秒為單位)。

getAvdConfigFile

public File getAvdConfigFile ()

傳回 Gce Avd 設定檔,啟動執行個體。

傳回
File

getAvdDriverBinary

public File getAvdDriverBinary ()

傳回二進位檔的路徑,啟動 Gce Avd 執行個體。

傳回
File

getBaseImage

public String getBaseImage ()

傳回要用於目前執行個體的基礎映像檔名稱

傳回
String

getBugreportzTimeout

public long getBugreportzTimeout ()

傳回要套用至 bugreportz 擷取的逾時值。

傳回
long

getConnCheckUrl

public String getConnCheckUrl ()

傳回
String 連線能力測試要使用的預設網址。

getCreateCommandByInstanceType

public static String getCreateCommandByInstanceType (TestDeviceOptions.InstanceType type)

參數
type TestDeviceOptions.InstanceType

傳回
String

getCrosPassword

public String getCrosPassword ()

傳回用於登入 ChromeOS 的密碼。

傳回
String

getCrosUser

public String getCrosUser ()

傳回要登入的 ChromeOS 使用者。

傳回
String

getCutoffBattery

public Integer getCutoffBattery ()

傳回
Integer 繼續呼叫的最低電量。

getDefaultNetworkType

public String getDefaultNetworkType ()

傳回
String

getExtraFiles

public MultiMap<File, String> getExtraFiles ()

在 acloud create 期間,傳回需要上傳至 GCE 的額外檔案。

傳回
MultiMap<File, String>

getExtraOxygenArgs

public  getExtraOxygenArgs ()

傳回租用 Oxygen 裝置的額外引數。

傳回

getExtraParamsByInstanceType

public static  getExtraParamsByInstanceType (TestDeviceOptions.InstanceType type, 
                String baseImage)

參數
type TestDeviceOptions.InstanceType

baseImage String

傳回

getFastbootBinary

public File getFastbootBinary ()

傳回要使用的指定 Fastboot 二進位檔。如果為空值,則使用 DeviceManager 二進位檔。

傳回
File

getFastbootOutputTimeout

public long getFastbootOutputTimeout ()

傳回
long

getFastbootTimeout

public int getFastbootTimeout ()

傳回
int 以毫秒為單位的逾時時間,逾時後會啟動進入快速啟動模式。

getGceAccount

public String getGceAccount ()

將 gce 電子郵件帳戶還原給司機使用

傳回
String

getGceCmdTimeout

public long getGceCmdTimeout ()

傳回執行個體上線的 Gce Avd 超時。

傳回
long

getGceDriverBuildIdParam

public String getGceDriverBuildIdParam ()

傳回應與建構資訊中的建構 ID 配對的 GCE 驅動程式參數

傳回
String

getGceDriverFileParams

public MultiMap<String, File> getGceDriverFileParams ()

以透過選項提供的 GCE 驅動程式參數形式,傳回額外的檔案路徑。

傳回
MultiMap<String, File>

getGceDriverLogLevel

public Log.LogLevel getGceDriverLogLevel ()

傳回 Gce Avd 驅動程式的記錄層級。

傳回
Log.LogLevel

getGceDriverParams

public  getGceDriverParams ()

傳回透過選項提供的額外 GCE 驅動程式參數

傳回

getGceMaxAttempt

public int getGceMaxAttempt ()

傳回啟動 GCE 裝置的嘗試次數上限

傳回
int

getInstanceType

public TestDeviceOptions.InstanceType getInstanceType ()

傳回應建立的虛擬裝置執行個體類型

傳回
TestDeviceOptions.InstanceType

getInstanceUser

public String getInstanceUser ()

傳回應建立的 GCE 虛擬裝置執行個體使用者

傳回
String

getInvocationAttributeToMetadata

public  getInvocationAttributeToMetadata ()

傳回

getLogcatOptions

public String getLogcatOptions ()

傳回
String 已設定的 logcat 選項

getMaxLogcatDataSize

public long getMaxLogcatDataSize ()

取得要保留的 tmp logcat 資料的近似大小上限 (以位元組為單位)。

傳回
long

getMaxWifiConnectTime

public long getMaxWifiConnectTime ()

傳回
long 嘗試連線至 Wi-Fi 的最長時間。

getOnlineTimeout

public long getOnlineTimeout ()

傳回
long 等待裝置上線的預設時間 (以毫秒為單位)。

getOxygenAccountingUser

public String getOxygenAccountingUser ()

傳回 Oxygen 裝置的會計使用者。

傳回
String

getOxygenDeviceSize

public TestDeviceOptions.DeviceSize getOxygenDeviceSize ()

傳回 Oxygen 虛擬裝置執行的主機大小。

傳回
TestDeviceOptions.DeviceSize

getOxygenLeaseLength

public long getOxygenLeaseLength ()

傳回 Oxygen 裝置的租賃時間長度 (以毫秒為單位)。

傳回
long

getOxygenServiceAddress

public String getOxygenServiceAddress ()

傳回 Oxygen 裝置的服務地址。

傳回
String

getOxygenTargetRegion

public String getOxygenTargetRegion ()

傳回 Oxygen 裝置的目標區域。

傳回
String

getPostBootCommands

public  getPostBootCommands ()

傳回
重新啟動後要執行的 Shell 指令清單。

getRebootTimeout

public int getRebootTimeout ()

傳回
int 完整系統啟動的逾時時間 (以毫秒為單位)。

getRemoteAdbPort

public int getRemoteAdbPort ()

傳回 adb 伺服器監聽的執行個體遠端通訊埠

傳回
int

getRemoteFetchFilePattern

public  getRemoteFetchFilePattern ()

傳回要嘗試透過 scp 擷取的模式清單。

傳回

getRemoteTf

public File getRemoteTf ()

指向要推送至遠端 Tradefed 版本目錄的檔案。

傳回
File

getServiceAccountJsonKeyFile

public File getServiceAccountJsonKeyFile ()

傳回
File 服務帳戶 JSON 金鑰檔案。

getSnapuserdTimeout

public long getSnapuserdTimeout ()

傳回
long

getSshPrivateKeyPath

public File getSshPrivateKeyPath ()

傳回用於 Gce Avd 執行個體作業的 SSH 金鑰路徑。

傳回
File

getUnencryptRebootTimeout

public int getUnencryptRebootTimeout ()

傳回
int 檔案系統格式化和裝置重新啟動的逾時時間 (以毫秒為單位),適用於解密後。

getUseFastbootErase

public boolean getUseFastbootErase ()

傳回
boolean 是否使用 fastboot erase 而非 fastboot format 清除分割區。

getWifiAttempts

public int getWifiAttempts ()

傳回
int 嘗試連線至 Wi-Fi 網路的預設次數。

getWifiRetryWaitTime

public int getWifiRetryWaitTime ()

傳回
int Wi-Fi 連線重試之間的基礎等待時間。

getWifiUtilAPKPath

public String getWifiUtilAPKPath ()

傳回
String wifiutil apk 路徑

isCmdWifiVirtual

public boolean isCmdWifiVirtual ()

傳回
boolean

isDisableKeyguard

public boolean isDisableKeyguard ()

檢查是否應在開機完成後嘗試停用 Keyguard

傳回
boolean

isEnableAdbRoot

public boolean isEnableAdbRoot ()

檢查是否應為這部裝置在啟動時啟用 adb root

傳回
boolean

isLogcatCaptureEnabled

public boolean isLogcatCaptureEnabled ()

傳回
boolean 如果已啟用背景 Logcat 擷取功能,則為 true

isWifiExpoRetryEnabled

public boolean isWifiExpoRetryEnabled ()

傳回
boolean 是否應使用指數重試策略。

setAdbCommandTimeout

public void setAdbCommandTimeout (long adbCommandTimeout)

設定傳送指令的逾時時間 (以毫秒為單位)。

參數
adbCommandTimeout long

setAdbRecoveryTimeout

public void setAdbRecoveryTimeout (int adbRecoveryTimeout)

參數
adbRecoveryTimeout int:以毫秒為單位的逾時時間,用於啟動進入復原模式。

setAdbRootUnavailableTimeout

public void setAdbRootUnavailableTimeout (long adbRootUnavailableTimeout)

參數
adbRootUnavailableTimeout long:等待裝置在 adb root 後無法使用的時間 (以毫秒為單位)。

setAvdConfigFile

public void setAvdConfigFile (File avdConfigFile)

設定 Gce Avd 設定檔,啟動執行個體。

參數
avdConfigFile File

setAvdDriverBinary

public void setAvdDriverBinary (File avdDriverBinary)

設定二進位檔的路徑,啟動 Gce Avd 執行個體。

參數
avdDriverBinary File

setConnCheckUrl

public void setConnCheckUrl (String url)

參數
url String

setCutoffBattery

public void setCutoffBattery (int cutoffBattery)

設定繼續呼叫的最低電量。

參數
cutoffBattery int

setDisableKeyguard

public void setDisableKeyguard (boolean disableKeyguard)

設定是否要在開機完成後嘗試停用 Keyguard

參數
disableKeyguard boolean

setExtraFiles

public void setExtraFiles (MultiMap<File, String> extraFiles)

在 acloud create 期間,設定需要上傳至 GCE 的額外檔案。

參數
extraFiles MultiMap

setFastbootTimeout

public void setFastbootTimeout (int fastbootTimeout)

參數
fastbootTimeout int:以毫秒為單位的逾時時間,用於啟動進入 Fastboot 模式。

setGceCmdTimeout

public void setGceCmdTimeout (long gceCmdTimeout)

設定執行個體上線的 Gce Avd 逾時。

參數
gceCmdTimeout long

setGceDriverBuildIdParam

public void setGceDriverBuildIdParam (String gceDriverBuildIdParam)

設定應與建構資訊中的建構 ID 配對的 GCE 驅動程式參數

參數
gceDriverBuildIdParam String

setGceDriverLogLevel

public void setGceDriverLogLevel (Log.LogLevel mGceDriverLogLevel)

設定 Gce Avd 驅動程式的記錄層級。

參數
mGceDriverLogLevel Log.LogLevel

setGceMaxAttempt

public void setGceMaxAttempt (int gceMaxAttempt)

設定啟動 GCE 裝置的嘗試次數上限

參數
gceMaxAttempt int

setInstanceType

public void setInstanceType (TestDeviceOptions.InstanceType type)

設定要建立的虛擬裝置執行個體類型

參數
type TestDeviceOptions.InstanceType

setInstanceUser

public void setInstanceUser (String instanceUser)

設定要建立的 GCE 虛擬裝置執行個體使用者。

參數
instanceUser String

setLogcatOptions

public void setLogcatOptions (String logcatOptions)

設定要傳遞至 logcat 的選項

參數
logcatOptions String

setMaxLogcatDataSize

public void setMaxLogcatDataSize (long maxLogcatDataSize)

設定要保留的 tmp logcat 大約大小上限 (以位元組為單位)

參數
maxLogcatDataSize long

setOnlineTimeout

public void setOnlineTimeout (long onlineTimeout)

參數
onlineTimeout long

setRebootTimeout

public void setRebootTimeout (int rebootTimeout)

參數
rebootTimeout int:系統完全啟動的逾時時間 (毫秒)。

setRemoteAdbPort

public void setRemoteAdbPort (int remoteAdbPort)

在 adb 伺服器監聽的執行個體中設定遠端通訊埠

參數
remoteAdbPort int

setServiceAccountJsonKeyFile

public void setServiceAccountJsonKeyFile (File jsonKeyFile)

設定服務帳戶 JSON 金鑰檔案。

參數
jsonKeyFile File:金鑰檔案。

setSkipTearDown

public void setSkipTearDown (boolean shouldSkipTearDown)

如果應略過 GCE 終止作業,則傳回 true。否則傳回「false」。

參數
shouldSkipTearDown boolean

setSshPrivateKeyPath

public void setSshPrivateKeyPath (File sshPrivateKeyPath)

設定用於 Gce Avd 執行個體作業的安全殼層金鑰路徑。

參數
sshPrivateKeyPath File

setUnencryptRebootTimeout

public void setUnencryptRebootTimeout (int unencryptRebootTimeout)

參數
unencryptRebootTimeout int:檔案系統格式化和裝置在解除加密後重新啟動的逾時時間 (以毫秒為單位)。

setUseCmdWifi

public void setUseCmdWifi (boolean useCmdWifi)

參數
useCmdWifi boolean

setUseConnection

public void setUseConnection (boolean useConnection)

參數
useConnection boolean

setUseFastbootErase

public void setUseFastbootErase (boolean useFastbootErase)

參數
useFastbootErase boolean:是否使用 fastboot erase 而非 fastboot format 來清除分割區。

setWifiAttempts

public void setWifiAttempts (int wifiAttempts)

參數
wifiAttempts int

shouldDisableReboot

public boolean shouldDisableReboot ()

傳回
boolean 是否應停用裝置重新啟動功能

shouldSkipBootComplete

public boolean shouldSkipBootComplete ()

傳回
boolean

shouldSkipTearDown

public boolean shouldSkipTearDown ()

如果應略過 GCE 終止作業,則傳回 true。否則傳回「false」。

傳回
boolean

shouldUseConnection

public boolean shouldUseConnection ()

傳回是否應使用新的連線功能。

傳回
boolean

shouldUseContentProvider

public boolean shouldUseContentProvider ()

傳回是否可使用 Tradefed 內容供應器推送/提取檔案。

傳回
boolean

useCmdWifiCommands

public boolean useCmdWifiCommands ()

傳回是否要使用 cmd wifi 指令,而非 apk。

傳回
boolean

useCvdCF

public boolean useCvdCF ()

如果裝置是由 cvd 啟動,則傳回 true,否則傳回 false。

傳回
boolean

useExitStatusWorkaround

public boolean useExitStatusWorkaround ()

Returns whether to use a workaround to get shell exit status on older devices without shell v2.

傳回
boolean

useIpV6ForTcpFastboot

public boolean useIpV6ForTcpFastboot ()

傳回
boolean

useOxygen

public boolean useOxygen ()

如果使用 Oxygen 建立虛擬裝置,則傳回 true。否則傳回「false」。

傳回
boolean

useOxygenProxy

public boolean useOxygenProxy ()

如果我們希望 TradeFed 直接呼叫 Oxygen 租用裝置,則傳回 true。

傳回
boolean

useOxygenationDevice

public boolean useOxygenationDevice ()

如果要在 OmniLab 的基礎架構中租用氧氣裝置,則傳回 true。否則傳回「false」。

傳回
boolean

useUpdatedBootloaderStatus

public boolean useUpdatedBootloaderStatus ()

傳回是否要使用較新的啟動載入程式狀態。

傳回
boolean

waitForGceTearDown

public boolean waitForGceTearDown ()

如果我們應在 GCE 終止完成前封鎖,則傳回 true。

傳回
boolean