FlashingResourceUtil

public class FlashingResourceUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.FlashingResourceUtil


This utility helps setting the appropriate version of artifacts so they can be flashed via DeviceFlashPreparer.

Summary

Public constructors

FlashingResourceUtil()

Public methods

static boolean setUpFlashingResources(IBuildInfo info, Map<String, File> keyAndFiles)

Handle the files needed for flashing and setting their appropriate value in the BuildInfo

Public constructors

FlashingResourceUtil

public FlashingResourceUtil ()

Public methods

setUpFlashingResources

public static boolean setUpFlashingResources (IBuildInfo info, 
                Map<String, File> keyAndFiles)

Handle the files needed for flashing and setting their appropriate value in the BuildInfo

Parameters
info IBuildInfo: The {IBuildInfo} constructed

keyAndFiles Map: The files downloaded considered

Returns
boolean True if flashing was setup

Throws
com.android.tradefed.build.BuildRetrievalError
BuildRetrievalError