HsumHelper
public
final
class
HsumHelper
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.HsumHelper |
Provides utilities for HSUM (Headless System User Mode) tasks
Summary
Constants | |
|---|---|
String |
BOOT_STRATEGY_PROPERTY
|
Public constructors | |
|---|---|
HsumHelper(ITestDevice device)
|
|
Public methods | |
|---|---|
HsumHelper.HsumBootStrategy
|
getHsumBootStrategy()
Gets the device's |
void
|
setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)
Sets the device's |
Constants
BOOT_STRATEGY_PROPERTY
public static final String BOOT_STRATEGY_PROPERTY
Constant Value: "persist.user.hsum_boot_strategy"
Public constructors
Public methods
getHsumBootStrategy
public HsumHelper.HsumBootStrategy getHsumBootStrategy ()
Gets the device's HsumBootStrategy.
| Returns | |
|---|---|
HsumHelper.HsumBootStrategy |
|
| Throws | |
|---|---|
IllegalStateException |
if the current strategy is set to an invalid value. |
DeviceNotAvailableException |
|
setHsumBootStrategy
public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)
Sets the device's HsumBootStrategy
| Parameters | |
|---|---|
strategy |
HsumHelper.HsumBootStrategy |
| Throws | |
|---|---|
DeviceNotAvailableException |
|