測試設備選項
public class TestDeviceOptions
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.TestDeviceOptions |
概括
常量 | |
---|---|
int | DEFAULT_ADB_PORT
|
字段 | |
---|---|
public static final String | INSTANCE_TYPE_OPTION |
public static final String | REMOTE_TF_VERSION_OPTION
|
公共構造函數 | |
---|---|
TestDeviceOptions () |
公共方法 | |
---|---|
void | addGceDriverParams (String param) 向 gce 驅動程序參數添加一個參數。 |
boolean | allowGceCmdTimeoutOverride () 返回我們是否應該依賴來自 acloud 的啟動超時參數(如果存在)。 |
long | getAdbCommandTimeout () |
int | getAdbRecoveryTimeout () |
long | getAdbRootUnavailableTimeout () |
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 () 返回用於登錄 Chrome 操作系統的密碼。 |
String | getCrosUser () 返回用於登錄的 Chrome 操作系統用戶。 |
Integer | getCutoffBattery () |
MultiMap <File, String> | getExtraFiles () 返回在 acloud create 過程中需要上傳到 GCE 的額外文件。 |
getExtraOxygenArgs () 返回租用 Oxygen 設備的額外參數。 | |
static | getExtraParamsByInstanceType ( TestDeviceOptions.InstanceType type, String baseImage) |
File | getFastbootBinary () 返回要使用的指定 fastboot 二進製文件。 |
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 () 獲取要保留的 tmp logcat 數據的近似最大大小(以字節為單位)。 |
long | getMaxWifiConnectTime () |
long | getOnlineTimeout () |
String | getOxygenAccountingUser () 返回 Oxygen 設備的記帳用戶。 |
TestDeviceOptions.DeviceSize | getOxygenDeviceSize () 返回 Oxygen 虛擬設備將在其上運行的主機的大小。 |
long | getOxygenLeaseLength () 以毫秒為單位返回租用 Oxygen 設備的時長。 |
String | getOxygenServiceAddress () 返回氧氣設備的服務地址。 |
String | getOxygenTargetRegion () 返回 Oxygen 設備的目標區域。 |
getPostBootCommands () | |
int | getRebootTimeout () |
int | getRemoteAdbPort () 返回 adb 服務器偵聽實例的遠程端口 |
getRemoteFetchFilePattern () 返回模式列表以嘗試通過 scp 獲取。 | |
File | getRemoteTf () 指向要推送到遠程的 Tradefed 版本目錄的文件。 |
File | getServiceAccountJsonKeyFile () |
File | getSshPrivateKeyPath () 返回用於 Gce Avd 實例操作的 ssh 密鑰的路徑。 |
int | getUnencryptRebootTimeout () |
boolean | getUseFastbootErase () |
int | getWifiAttempts () |
int | getWifiRetryWaitTime () |
String | getWifiUtilAPKPath () |
boolean | isDisableKeyguard () 檢查啟動完成後我們是否應該嘗試禁用鍵盤鎖 |
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) 設置啟動完成後我們是否應該嘗試禁用鍵盤鎖 |
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) 如果應該跳過 GCE 拆卸,則返回 true。 |
void | setSshPrivateKeyPath (File sshPrivateKeyPath) 設置用於 Gce Avd 實例操作的 ssh 密鑰的路徑。 |
void | setUnencryptRebootTimeout (int unencryptRebootTimeout) |
void | setUseConnection (boolean useConnection) |
void | setUseFastbootErase (boolean useFastbootErase) |
void | setWifiAttempts (int wifiAttempts) |
boolean | shouldDisableReboot () |
boolean | shouldSkipTearDown () 如果應該跳過 GCE 拆卸,則返回 true。 |
boolean | shouldUseConnection () 返回我們是否應該使用新的連接功能。 |
boolean | shouldUseContentProvider () 返回 Tradefed 內容提供程序是否可用於推送/拉取文件。 |
boolean | useExitStatusWorkaround () 返回是否使用變通方法在沒有 shell v2 的舊設備上獲取 shell 退出狀態。 |
boolean | useOxygen () 如果使用 Oxygen 創建虛擬設備,則返回 true。 |
boolean | useOxygenProxy () 如果我們希望 TradeFed 直接調用 Oxygen 來租用設備,則返回 true。 |
boolean | useUpdatedBootloaderStatus () 返回是否使用較新的引導加載程序狀態狀態。 |
boolean | waitForGceTearDown () 如果我們應該在繼續之前阻止 GCE 拆卸完成,則返回 true。 |
常量
默認_ADB_PORT
public static final int DEFAULT_ADB_PORT
常數值:5555 (0x000015b3)
字段
INSTANCE_TYPE_OPTION
public static final String INSTANCE_TYPE_OPTION
REMOTE_TF_VERSION_OPTION
public static final String REMOTE_TF_VERSION_OPTION
公共構造函數
測試設備選項
public TestDeviceOptions ()
公共方法
添加GceDriverParams
public void addGceDriverParams (String param)
向 gce 驅動程序參數添加一個參數。
參數 | |
---|---|
param | String |
allowGceCmdTimeoutOverride
public boolean allowGceCmdTimeoutOverride ()
返回我們是否應該依賴來自 acloud 的啟動超時參數(如果存在)。
退貨 | |
---|---|
boolean |
獲取 AdbCommandTimeout
public long getAdbCommandTimeout ()
退貨 | |
---|---|
long | 以毫秒為單位發送命令的超時時間。 |
獲取 AdbRecoveryTimeout
public int getAdbRecoveryTimeout ()
退貨 | |
---|---|
int | 以毫秒為單位的超時啟動到恢復模式。 |
getAdbRootUnavailableTimeout
public long getAdbRootUnavailableTimeout ()
退貨 | |
---|---|
long | 在 adb root 之後等待設備變得不可用的時間(以毫秒為單位)。 |
獲取可用超時
public long getAvailableTimeout ()
退貨 | |
---|---|
long | 等待設備可用的默認時間(以毫秒為單位)。 |
獲取AvdConfigFile
public File getAvdConfigFile ()
返回 Gce Avd 配置文件以啟動實例。
退貨 | |
---|---|
File |
getAvdDriverBinary
public File getAvdDriverBinary ()
返回二進製文件的路徑以啟動 Gce Avd 實例。
退貨 | |
---|---|
File |
獲取基礎圖像
public String getBaseImage ()
返回要用於當前實例的基本圖像名稱
退貨 | |
---|---|
String |
getBugreportz超時
public long getBugreportzTimeout ()
返回要應用於 bugreportz 捕獲的超時值。
退貨 | |
---|---|
long |
getConnCheckUrl
public String getConnCheckUrl ()
退貨 | |
---|---|
String | 用於連接測試的默認 URL。 |
getCreateCommandByInstanceType
public static String getCreateCommandByInstanceType (TestDeviceOptions.InstanceType type)
參數 | |
---|---|
type | TestDeviceOptions.InstanceType |
退貨 | |
---|---|
String |
獲取交叉口令
public String getCrosPassword ()
返回用於登錄 Chrome 操作系統的密碼。
退貨 | |
---|---|
String |
獲取交叉用戶
public String getCrosUser ()
返回用於登錄的 Chrome 操作系統用戶。
退貨 | |
---|---|
String |
getCutoffBattery
public Integer getCutoffBattery ()
退貨 | |
---|---|
Integer | 繼續調用的最低電池電量。 |
獲取額外文件
public MultiMap<File, String> getExtraFiles ()
返回在 acloud create 過程中需要上傳到 GCE 的額外文件。
退貨 | |
---|---|
MultiMap <File, String> |
getExtraOxygenArgs
publicgetExtraOxygenArgs ()
返回租用 Oxygen 設備的額外參數。
退貨 | |
---|---|
getExtraParamsByInstanceType
public staticgetExtraParamsByInstanceType (TestDeviceOptions.InstanceType type, String baseImage)
參數 | |
---|---|
type | TestDeviceOptions.InstanceType |
baseImage | String |
退貨 | |
---|---|
getFastboot二進製文件
public File getFastbootBinary ()
返回要使用的指定 fastboot 二進製文件。如果為 null,則使用 DeviceManager 之一。
退貨 | |
---|---|
File |
getFastbootTimeout
public int getFastbootTimeout ()
退貨 | |
---|---|
int | 以毫秒為單位啟動到快速啟動模式的超時時間。 |
獲取GceAccount
public String getGceAccount ()
返回 gce 電子郵件帳戶以與驅動程序一起使用
退貨 | |
---|---|
String |
getGceCmd超時
public long getGceCmdTimeout ()
返回實例聯機的 Gce Avd 超時。
退貨 | |
---|---|
long |
getGceDriverBuildId參數
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 |
獲取GceDriverParams
publicgetGceDriverParams ()
返回通過選項提供的附加 GCE 驅動程序參數
退貨 | |
---|---|
getGceMaxAttempt
public int getGceMaxAttempt ()
返回啟動 gce 設備的最大嘗試次數
退貨 | |
---|---|
int |
獲取實例類型
public TestDeviceOptions.InstanceType getInstanceType ()
返回應創建的虛擬設備的實例類型
退貨 | |
---|---|
TestDeviceOptions.InstanceType |
獲取實例用戶
public String getInstanceUser ()
返回應創建的 GCE 虛擬設備的實例用戶
退貨 | |
---|---|
String |
getInvocationAttributeToMetadata
publicgetInvocationAttributeToMetadata ()
退貨 | |
---|---|
getLogcat選項
public String getLogcatOptions ()
退貨 | |
---|---|
String | 配置的 logcat 選項 |
getMaxLogcatDataSize
public long getMaxLogcatDataSize ()
獲取要保留的 tmp logcat 數據的近似最大大小(以字節為單位)。
退貨 | |
---|---|
long |
獲取最大無線連接時間
public long getMaxWifiConnectTime ()
退貨 | |
---|---|
long | 嘗試連接到 wifi 的最長時間。 |
獲取在線超時
public long getOnlineTimeout ()
退貨 | |
---|---|
long | 等待設備在線的默認時間(以毫秒為單位)。 |
getOxygenAccountingUser
public String getOxygenAccountingUser ()
返回 Oxygen 設備的記帳用戶。
退貨 | |
---|---|
String |
getOxygenDeviceSize
public TestDeviceOptions.DeviceSize getOxygenDeviceSize ()
返回 Oxygen 虛擬設備將在其上運行的主機的大小。
退貨 | |
---|---|
TestDeviceOptions.DeviceSize |
獲取氧租期
public long getOxygenLeaseLength ()
以毫秒為單位返回租用 Oxygen 設備的時長。
退貨 | |
---|---|
long |
獲取氧氣服務地址
public String getOxygenServiceAddress ()
返回氧氣設備的服務地址。
退貨 | |
---|---|
String |
獲取氧氣目標區域
public String getOxygenTargetRegion ()
返回 Oxygen 設備的目標區域。
退貨 | |
---|---|
String |
getPostBootCommands
publicgetPostBootCommands ()
退貨 | |
---|---|
重新啟動後要運行的 shell 命令列表。 |
getRebootTimeout
public int getRebootTimeout ()
退貨 | |
---|---|
int | 完整系統啟動的超時時間(以毫秒為單位)。 |
獲取遠程 Adb 端口
public int getRemoteAdbPort ()
返回 adb 服務器偵聽實例的遠程端口
退貨 | |
---|---|
int |
getRemoteFetchFilePattern
publicgetRemoteFetchFilePattern ()
返回模式列表以嘗試通過 scp 獲取。
退貨 | |
---|---|
獲取遠程Tf
public File getRemoteTf ()
指向要推送到遠程的 Tradefed 版本目錄的文件。
退貨 | |
---|---|
File |
getServiceAccountJsonKeyFile
public File getServiceAccountJsonKeyFile ()
退貨 | |
---|---|
File | 服務帳戶 json 密鑰文件。 |
getSshPrivateKeyPath
public File getSshPrivateKeyPath ()
返回用於 Gce Avd 實例操作的 ssh 密鑰的路徑。
退貨 | |
---|---|
File |
getUnencryptRebootTimeout
public int getUnencryptRebootTimeout ()
退貨 | |
---|---|
int | 格式化文件系統和解密後重啟設備的超時時間(以毫秒為單位)。 |
getUseFastboot擦除
public boolean getUseFastbootErase ()
退貨 | |
---|---|
boolean | 是否使用 fastboot erase 而不是 fastboot format 來擦除分區。 |
getWifiAttempts
public int getWifiAttempts ()
退貨 | |
---|---|
int | 嘗試連接到 wifi 網絡的默認次數。 |
getWifiRetryWaitTime
public int getWifiRetryWaitTime ()
退貨 | |
---|---|
int | wifi 連接重試之間的基本等待時間。 |
獲取WifiUtilAPKPath
public String getWifiUtilAPKPath ()
退貨 | |
---|---|
String | wifiutil apk路徑 |
isDisableKeyguard
public boolean isDisableKeyguard ()
檢查啟動完成後我們是否應該嘗試禁用鍵盤鎖
退貨 | |
---|---|
boolean |
isEnableAdbRoot
public boolean isEnableAdbRoot ()
檢查是否應在啟動時為此設備啟用 adb root
退貨 | |
---|---|
boolean |
isLogcatCaptureEnabled
public boolean isLogcatCaptureEnabled ()
退貨 | |
---|---|
boolean | 如果啟用了後台 logcat 捕獲,則為 true |
isWifiExpoRetryEnabled
public boolean isWifiExpoRetryEnabled ()
退貨 | |
---|---|
boolean | 是否應使用指數重試策略。 |
設置 AdbCommandTimeout
public void setAdbCommandTimeout (long adbCommandTimeout)
設置以毫秒為單位發送命令的超時時間。
參數 | |
---|---|
adbCommandTimeout | long |
設置 AdbRecoveryTimeout
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 |
設置截止電池
public void setCutoffBattery (int cutoffBattery)
設置最低電池電量以繼續調用。
參數 | |
---|---|
cutoffBattery | int |
設置禁用鍵盤鎖
public void setDisableKeyguard (boolean disableKeyguard)
設置啟動完成後我們是否應該嘗試禁用鍵盤鎖
參數 | |
---|---|
disableKeyguard | boolean |
設置額外文件
public void setExtraFiles (MultiMap<File, String> extraFiles)
設置acloud create時需要上傳到GCE的額外文件。
參數 | |
---|---|
extraFiles | MultiMap |
設置快速啟動超時
public void setFastbootTimeout (int fastbootTimeout)
參數 | |
---|---|
fastbootTimeout | int :以毫秒為單位的超時以啟動到快速啟動模式。 |
設置 GceCmdTimeout
public void setGceCmdTimeout (long gceCmdTimeout)
設置實例上線的 Gce Avd 超時。
參數 | |
---|---|
gceCmdTimeout | long |
setGceDriverBuildIdParam
public void setGceDriverBuildIdParam (String gceDriverBuildIdParam)
設置應與構建信息中的構建 ID 配對的 GCE 驅動程序參數
參數 | |
---|---|
gceDriverBuildIdParam | String |
設置 GceDriverLogLevel
public void setGceDriverLogLevel (Log.LogLevel mGceDriverLogLevel)
設置 Gce Avd 驅動的日誌級別。
參數 | |
---|---|
mGceDriverLogLevel | Log.LogLevel |
設置GceMaxAttempt
public void setGceMaxAttempt (int gceMaxAttempt)
設置啟動 gce 設備的最大嘗試次數
參數 | |
---|---|
gceMaxAttempt | int |
設置實例類型
public void setInstanceType (TestDeviceOptions.InstanceType type)
設置應創建的虛擬設備的實例類型
參數 | |
---|---|
type | TestDeviceOptions.InstanceType |
設置實例用戶
public void setInstanceUser (String instanceUser)
設置應創建的 GCE 虛擬設備的實例用戶。
參數 | |
---|---|
instanceUser | String |
設置日誌選項
public void setLogcatOptions (String logcatOptions)
設置要傳遞給 logcat 的選項
參數 | |
---|---|
logcatOptions | String |
setMaxLogcatDataSize
public void setMaxLogcatDataSize (long maxLogcatDataSize)
設置要保留的 tmp logcat 的近似最大大小,以字節為單位
參數 | |
---|---|
maxLogcatDataSize | long |
設置在線超時
public void setOnlineTimeout (long onlineTimeout)
參數 | |
---|---|
onlineTimeout | long |
設置重啟超時
public void setRebootTimeout (int rebootTimeout)
參數 | |
---|---|
rebootTimeout | int :系統完全啟動的超時時間(以毫秒為單位)。 |
設置遠程 Adb 端口
public void setRemoteAdbPort (int remoteAdbPort)
設置adb服務器監聽的實例遠程端口
參數 | |
---|---|
remoteAdbPort | int |
setServiceAccountJsonKeyFile
public void setServiceAccountJsonKeyFile (File jsonKeyFile)
設置服務帳戶 json 密鑰文件。
參數 | |
---|---|
jsonKeyFile | File :密鑰文件。 |
設置SkipTearDown
public void setSkipTearDown (boolean shouldSkipTearDown)
如果應該跳過 GCE 拆卸,則返回 true。否則為假。
參數 | |
---|---|
shouldSkipTearDown | boolean |
setSshPrivateKeyPath
public void setSshPrivateKeyPath (File sshPrivateKeyPath)
設置用於 Gce Avd 實例操作的 ssh 密鑰的路徑。
參數 | |
---|---|
sshPrivateKeyPath | File |
setUnencryptRebootTimeout
public void setUnencryptRebootTimeout (int unencryptRebootTimeout)
參數 | |
---|---|
unencryptRebootTimeout | int :格式化文件系統和解密後重啟設備的超時時間(以毫秒為單位)。 |
設置使用連接
public void setUseConnection (boolean useConnection)
參數 | |
---|---|
useConnection | boolean |
設置UseFastbootErase
public void setUseFastbootErase (boolean useFastbootErase)
參數 | |
---|---|
useFastbootErase | boolean : 是否使用 fastboot 擦除而不是 fastboot 格式來擦除分區。 |
設置 Wifi 嘗試次數
public void setWifiAttempts (int wifiAttempts)
參數 | |
---|---|
wifiAttempts | int |
應該禁用重啟
public boolean shouldDisableReboot ()
退貨 | |
---|---|
boolean | 如果應該禁用設備重啟 |
shouldSkipTearDown
public boolean shouldSkipTearDown ()
如果應該跳過 GCE 拆卸,則返回 true。否則為假。
退貨 | |
---|---|
boolean |
應該使用連接
public boolean shouldUseConnection ()
返回我們是否應該使用新的連接功能。
退貨 | |
---|---|
boolean |
應該使用內容提供者
public boolean shouldUseContentProvider ()
返回 Tradefed 內容提供程序是否可用於推送/拉取文件。
退貨 | |
---|---|
boolean |
使用退出狀態解決方法
public boolean useExitStatusWorkaround ()
返回是否使用變通方法在沒有 shell v2 的舊設備上獲取 shell 退出狀態。
退貨 | |
---|---|
boolean |
使用氧氣
public boolean useOxygen ()
如果使用 Oxygen 創建虛擬設備,則返回 true。否則為假。
退貨 | |
---|---|
boolean |
使用氧氣代理
public boolean useOxygenProxy ()
如果我們希望 TradeFed 直接調用 Oxygen 來租用設備,則返回 true。
退貨 | |
---|---|
boolean |
useUpdatedBootloaderStatus
public boolean useUpdatedBootloaderStatus ()
返回是否使用較新的引導加載程序狀態狀態。
退貨 | |
---|---|
boolean |
等待GceTearDown
public boolean waitForGceTearDown ()
如果我們應該在繼續之前阻止 GCE 拆卸完成,則返回 true。
退貨 | |
---|---|
boolean |