DeviceMerkleTree

public class DeviceMerkleTree
extends Object

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


根據裝置內容資訊計算 MerkleTree。

摘要

公用建構函式

DeviceMerkleTree()

公用方法

static Digest buildFromContext(ContentAnalysisContext context, AnalysisHeuristic analysisLevel)

建構 Merkle 樹狀結構,並從裝置內容資訊傳回根摘要

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

公用建構函式

DeviceMerkleTree

public DeviceMerkleTree ()

公用方法

buildFromContext

public static Digest buildFromContext (ContentAnalysisContext context, 
                AnalysisHeuristic analysisLevel)

建構 Merkle 樹狀結構,並從裝置內容資訊傳回根摘要

參數
context ContentAnalysisContext

analysisLevel AnalysisHeuristic

傳回
Digest

buildFromContext

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

參數
context ContentAnalysisContext

analysisLevel AnalysisHeuristic

deviceImagePartition DeviceImagePartition

傳回
Digest