IFlashingResources解析器

public interface IFlashingResourcesParser

com.android.tradefed.targetprep.IFlashingResourcesParser


用於提供刷新設備所需的輔助映像檔所需版本的介面。 (例如引導程式、基頻等)

概括

公共方法

abstract String getRequiredBasebandVersion ()

取得裝置映像 zip 中指定的所需基頻版本。

abstract getRequiredBoards ()

取得裝置映像 zip 中指定的所需板類型。

abstract String getRequiredBootloaderVersion ()

取得裝置映像 zip 中指定的所需開機載入程式版本。

abstract String getRequiredImageVersion (String versionKey)

取得裝置映像 zip 中指定的所需自訂映像版本

abstract String getRequiredImageVersion (String versionKey, String productName)

取得裝置映像 zip 中指定的所需自訂映像版本。

公共方法

取得所需基頻版本

public abstract String getRequiredBasebandVersion ()

取得裝置映像 zip 中指定的所需基頻版本。

退貨
String基頻版本,如果未指定則為null

取得所需板

public abstract  getRequiredBoards ()

取得裝置映像 zip 中指定的所需板類型。

退貨
板類型或null (如果未指定)

取得所需的Bootloader版本

public abstract String getRequiredBootloaderVersion ()

取得裝置映像 zip 中指定的所需開機載入程式版本。

退貨
String引導程式版本,如果未指定則為null

取得所需影像版本

public abstract String getRequiredImageVersion (String versionKey)

取得裝置映像 zip 中指定的所需自訂映像版本

參數
versionKey String : 鏡像版本資訊的預期標識符

退貨
String給定圖像所需的版本,如果未指定則為null

取得所需影像版本

public abstract String getRequiredImageVersion (String versionKey, 
                String productName)

取得裝置映像 zip 中指定的所需自訂映像版本。如果productName不為null ,則此方法將檢查(如果存在,則傳回)為該特定產品指定的映像要求。如果不存在特定於產品的要求,則它將回退到傳回全域要求,或者如果該特定versionKey不存在任何類型的要求,則null

參數
versionKey String : 鏡像版本資訊的預期標識符

productName String : 要檢查的特定產品名稱

退貨
String給定圖像所需的版本,如果未指定則為null