裝置影像追蹤器

public class DeviceImageTracker
extends Object

java.lang.Object
com.android.tradefed.util.image.DeviceImageTracker


對於一些增量設備更新,我們需要基線檔案來計算差異。該實用程式有助於追蹤它們。

概括

嵌套類

class DeviceImageTracker.FileCacheTracker

快取的設備鏡像及其元資料的追蹤訊息

受保護的構造函數

DeviceImageTracker ()

公共方法

DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。

static DeviceImageTracker getDefaultCache ()
void invalidateTracking (String serial)
void trackUpdatedDeviceImage (String serial, File deviceImage, File bootloader, File baseband, String buildId, String branch, String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

受保護的方法

void cleanUp ()

受保護的構造函數

裝置影像追蹤器

protected DeviceImageTracker ()

公共方法

取得基線設備影像

public DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。如果沒有被追蹤則為空。

參數
serial String

退貨
DeviceImageTracker.FileCacheTracker

取得預設緩存

public static DeviceImageTracker getDefaultCache ()

退貨
DeviceImageTracker

無效追蹤

public void invalidateTracking (String serial)

參數
serial String

追蹤更新設備影像

public void trackUpdatedDeviceImage (String serial, 
                File deviceImage, 
                File bootloader, 
                File baseband, 
                String buildId, 
                String branch, 
                String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

參數
serial String : 閃爍影像的裝置。

deviceImage File :影像閃現到裝置上。

bootloader File

baseband File

buildId String :與裝置映像相關的建置 ID。

branch String :與裝置映像相關的分支。

flavor String :與裝置映像相關的建置風格。

受保護的方法

清理

protected void cleanUp ()

,

裝置影像追蹤器

public class DeviceImageTracker
extends Object

java.lang.Object
com.android.tradefed.util.image.DeviceImageTracker


對於一些增量設備更新,我們需要基線檔案來計算差異。該實用程式有助於追蹤它們。

概括

嵌套類

class DeviceImageTracker.FileCacheTracker

快取的設備鏡像及其元資料的追蹤訊息

受保護的構造函數

DeviceImageTracker ()

公共方法

DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。

static DeviceImageTracker getDefaultCache ()
void invalidateTracking (String serial)
void trackUpdatedDeviceImage (String serial, File deviceImage, File bootloader, File baseband, String buildId, String branch, String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

受保護的方法

void cleanUp ()

受保護的構造函數

裝置影像追蹤器

protected DeviceImageTracker ()

公共方法

取得基線設備影像

public DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。如果沒有被追蹤則為空。

參數
serial String

退貨
DeviceImageTracker.FileCacheTracker

取得預設緩存

public static DeviceImageTracker getDefaultCache ()

退貨
DeviceImageTracker

無效追蹤

public void invalidateTracking (String serial)

參數
serial String

追蹤更新設備影像

public void trackUpdatedDeviceImage (String serial, 
                File deviceImage, 
                File bootloader, 
                File baseband, 
                String buildId, 
                String branch, 
                String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

參數
serial String : 閃爍影像的裝置。

deviceImage File :影像閃現到裝置上。

bootloader File

baseband File

buildId String :與裝置映像相關的建置 ID。

branch String :與裝置映像相關的分支。

flavor String :與裝置映像相關的建置風格。

受保護的方法

清理

protected void cleanUp ()

,

裝置影像追蹤器

public class DeviceImageTracker
extends Object

java.lang.Object
com.android.tradefed.util.image.DeviceImageTracker


對於一些增量設備更新,我們需要基線檔案來計算差異。該實用程式有助於追蹤它們。

概括

嵌套類

class DeviceImageTracker.FileCacheTracker

快取的設備鏡像及其元資料的追蹤訊息

受保護的構造函數

DeviceImageTracker ()

公共方法

DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。

static DeviceImageTracker getDefaultCache ()
void invalidateTracking (String serial)
void trackUpdatedDeviceImage (String serial, File deviceImage, File bootloader, File baseband, String buildId, String branch, String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

受保護的方法

void cleanUp ()

受保護的構造函數

裝置影像追蹤器

protected DeviceImageTracker ()

公共方法

取得基線設備影像

public DeviceImageTracker.FileCacheTracker getBaselineDeviceImage (String serial)

返回為裝置追蹤的裝置影像。如果沒有被追蹤則為空。

參數
serial String

退貨
DeviceImageTracker.FileCacheTracker

取得預設緩存

public static DeviceImageTracker getDefaultCache ()

退貨
DeviceImageTracker

無效追蹤

public void invalidateTracking (String serial)

參數
serial String

追蹤更新設備影像

public void trackUpdatedDeviceImage (String serial, 
                File deviceImage, 
                File bootloader, 
                File baseband, 
                String buildId, 
                String branch, 
                String flavor)

追蹤給定的設備映像到與其一起刷新的設備序號

參數
serial String : 閃爍影像的裝置。

deviceImage File :影像閃現到裝置上。

bootloader File

baseband File

buildId String :與裝置映像相關的建置 ID。

branch String :與裝置映像相關的分支。

flavor String :與裝置映像相關的建置風格。

受保護的方法

清理

protected void cleanUp ()