DeviceMerkleTree

public class DeviceMerkleTree
extends Object

java.lang.Object
   ↳ com.android.tradefed.build.content.DeviceMerkleTree


Compute a MerkleTree from the device content information.

Summary

Public constructors

DeviceMerkleTree()

Public methods

static Digest buildFromContext(ContentAnalysisContext context, AnalysisHeuristic analysisLevel)

Builds a merkle tree and returns the root digest from the device content information

static Digest buildFromContext(ContentAnalysisContext context, AnalysisHeuristic analysisLevel, DeviceImagePartition deviceImagePartition)

Public constructors

DeviceMerkleTree

public DeviceMerkleTree ()

Public methods

buildFromContext

public static Digest buildFromContext (ContentAnalysisContext context, 
                AnalysisHeuristic analysisLevel)

Builds a merkle tree and returns the root digest from the device content information

Parameters
context ContentAnalysisContext

analysisLevel AnalysisHeuristic

Returns
Digest

buildFromContext

public static Digest buildFromContext (ContentAnalysisContext context, 
                AnalysisHeuristic analysisLevel, 
                DeviceImagePartition deviceImagePartition)

Parameters
context ContentAnalysisContext

analysisLevel AnalysisHeuristic

deviceImagePartition DeviceImagePartition

Returns
Digest