NativeCodeCoverageFlusher

public final class NativeCodeCoverageFlusher
extends Object

java.lang.Object
com.android.tradefed.util.NativeCodeCoverageFlusher


一個實用程式類,用於清除本機覆蓋測量值並強制從裝置上的進程刷新本機覆蓋資料。

概括

公共構造函數

NativeCodeCoverageFlusher (ITestDevice device, processNames) NativeCodeCoverageFlusher (ITestDevice device, processNames)

公共方法

void forceCoverageFlush ()

強制刷新裝置上執行的進程的本機覆蓋資料。

void resetCoverage ()

重置裝置上執行的進程的本機會覆蓋計數器,並從磁碟中清除任何現有的覆蓋測量值。

公共構造函數

NativeCodeCoverageFlusher

public NativeCodeCoverageFlusher (ITestDevice device, 
                 processNames)

參數
device ITestDevice

processNames

公共方法

強制覆蓋齊平

public void forceCoverageFlush ()

強制刷新裝置上執行的進程的本機覆蓋資料。設備必須位於 adb root 中。

投擲
DeviceNotAvailableException

重置覆蓋範圍

public void resetCoverage ()

重置裝置上執行的進程的本機會覆蓋計數器,並從磁碟中清除任何現有的覆蓋測量值。設備必須位於 adb root 中。

投擲
DeviceNotAvailableException