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()
获取设备的 |
void
|
setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)
设置设备的 |
常量
BOOT_STRATEGY_PROPERTY
public static final String BOOT_STRATEGY_PROPERTY
常量值: "persist.user.hsum_boot_strategy"
公共构造函数
公共方法
getHsumBootStrategy
public HsumHelper.HsumBootStrategy getHsumBootStrategy ()
获取设备的 HsumBootStrategy。
| 返回 | |
|---|---|
HsumHelper.HsumBootStrategy |
|
| 抛出 | |
|---|---|
IllegalStateException |
如果当前策略设置为无效值。 |
DeviceNotAvailableException |
|
setHsumBootStrategy
public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)
设置设备的 HsumBootStrategy
| 参数 | |
|---|---|
strategy |
HsumHelper.HsumBootStrategy |
| 抛出 | |
|---|---|
DeviceNotAvailableException |
|