HsumHelper

public final class HsumHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.HsumHelper


提供 HSUM (無頭系統使用者模式) 工作實用程式

摘要

常數

String BOOT_STRATEGY_PROPERTY

公用建構函式

HsumHelper(ITestDevice device)

公用方法

HsumHelper.HsumBootStrategy getHsumBootStrategy()

取得裝置的 HsumBootStrategy

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

設定裝置的 HsumBootStrategy

常數

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

常數值: "persist.user.hsum_boot_strategy"

公用建構函式

HsumHelper

public HsumHelper (ITestDevice device)

參數
device ITestDevice

公用方法

getHsumBootStrategy

public HsumHelper.HsumBootStrategy getHsumBootStrategy ()

取得裝置的 HsumBootStrategy

傳回
HsumHelper.HsumBootStrategy

擲回
IllegalStateException 如果目前的策略設為無效值。
DeviceNotAvailableException

setHsumBootStrategy

public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)

設定裝置的 HsumBootStrategy

參數
strategy HsumHelper.HsumBootStrategy

擲回
DeviceNotAvailableException