ContentMerkleTree

public class ContentMerkleTree
extends Object

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


Compute a MerkleTree from the content information.

Summary

Public constructors

ContentMerkleTree()

Public methods

static Digest buildCommonLocationFromContext(ContentAnalysisContext context)

Builds a merkle tree and returns the root digest from the common location information

static Digest buildTestsDirFromContext(ContentAnalysisContext context, discoveredModule)

Public constructors

ContentMerkleTree

public ContentMerkleTree ()

Public methods

buildCommonLocationFromContext

public static Digest buildCommonLocationFromContext (ContentAnalysisContext context)

Builds a merkle tree and returns the root digest from the common location information

Parameters
context ContentAnalysisContext

Returns
Digest

buildTestsDirFromContext

public static Digest buildTestsDirFromContext (ContentAnalysisContext context, 
                 discoveredModule)

Parameters
context ContentAnalysisContext

discoveredModule

Returns
Digest