HsumHelper
public
final
class
HsumHelper
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.HsumHelper |
Bietet Dienstprogramme für HSUM-Aufgaben (Headless System User Mode, monitorloser Systemnutzermodus)
Zusammenfassung
Konstanten | |
|---|---|
String |
BOOT_STRATEGY_PROPERTY
|
Öffentliche Konstruktoren | |
|---|---|
HsumHelper(ITestDevice device)
|
|
Öffentliche Methoden | |
|---|---|
HsumHelper.HsumBootStrategy
|
getHsumBootStrategy()
Ruft die |
void
|
setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)
Legt die |
Konstanten
BOOT_STRATEGY_PROPERTY
public static final String BOOT_STRATEGY_PROPERTY
Constant Value: "persist.user.hsum_boot_strategy"
Öffentliche Konstruktoren
Öffentliche Methoden
getHsumBootStrategy
public HsumHelper.HsumBootStrategy getHsumBootStrategy ()
Ruft die HsumBootStrategy des Geräts ab.
| Gibt Folgendes zurück: | |
|---|---|
HsumHelper.HsumBootStrategy |
|
| Löst aus | |
|---|---|
IllegalStateException |
wenn die aktuelle Strategie auf einen ungültigen Wert festgelegt ist. |
DeviceNotAvailableException |
|
setHsumBootStrategy
public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)
Legt die HsumBootStrategy des Geräts fest.
| Parameter | |
|---|---|
strategy |
HsumHelper.HsumBootStrategy |
| Löst aus | |
|---|---|
DeviceNotAvailableException |
|