DeviceSyncHelper

public class DeviceSyncHelper
extends Object

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


Helper that helps syncing a new device image to the device. Future improvements: compute files that need to be deleted and files that needs to be pushed instead of full folders.

Summary

Public constructors

DeviceSyncHelper(ITestDevice device, File targetFilesFolder)

Public methods

boolean sync()

Public constructors

DeviceSyncHelper

public DeviceSyncHelper (ITestDevice device, 
                File targetFilesFolder)

Parameters
device ITestDevice

targetFilesFolder File

Public methods

sync

public boolean sync ()

Returns
boolean

Throws
DeviceNotAvailableException