ContentMerkleTree

public class ContentMerkleTree
extends Object

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


根据内容信息计算 Merkle 树。

摘要

公共构造函数

ContentMerkleTree()

公共方法

static Digest buildCommonLocationFromContext(ContentAnalysisContext context)

构建 Merkle 树并返回来自常见位置信息的根摘要

static Digest buildTestsDirFromContext(ContentAnalysisContext context, List<String> discoveredModule, AnalysisHeuristic analysisLevel)

公共构造函数

ContentMerkleTree

public ContentMerkleTree ()

公共方法

buildCommonLocationFromContext

public static Digest buildCommonLocationFromContext (ContentAnalysisContext context)

构建 Merkle 树并返回来自通用位置信息的根摘要

参数
context ContentAnalysisContext

返回
Digest

buildTestsDirFromContext

public static Digest buildTestsDirFromContext (ContentAnalysisContext context, 
                List<String> discoveredModule, 
                AnalysisHeuristic analysisLevel)

参数
context ContentAnalysisContext

discoveredModule List

analysisLevel AnalysisHeuristic

返回值
Digest