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 HsumBootStrategy des Geräts ab.

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

Legt die HsumBootStrategy des Geräts fest.

Konstanten

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

Constant Value: "persist.user.hsum_boot_strategy"

Öffentliche Konstruktoren

HsumHelper

public HsumHelper (ITestDevice device)

Parameter
device ITestDevice

Ö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