設備同步助手

public class DeviceSyncHelper
extends Object

java.lang.Object
com.android.tradefed.targetprep.sync.DeviceSyncHelper


幫助將新設備映像同步到設備的助手。未來的改進:計算需要刪除的檔案和需要推送的檔案而不是完整的資料夾。

概括

公共構造函數

DeviceSyncHelper ( ITestDevice device, File targetFilesFolder)

公共方法

boolean sync ()

公共構造函數

設備同步助手

public DeviceSyncHelper (ITestDevice device, 
                File targetFilesFolder)

參數
device ITestDevice

targetFilesFolder File

公共方法

同步

public boolean sync ()

退貨
boolean

投擲
DeviceNotAvailableException