HsumHelper

public final class HsumHelper
extends Object

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


Narzędzia do zadań w trybie użytkownika systemowego bez interfejsu graficznego (HSUM)

Podsumowanie

Stałe

String BOOT_STRATEGY_PROPERTY

Konstruktory publiczne

HsumHelper(ITestDevice device)

Metody publiczne

HsumHelper.HsumBootStrategy getHsumBootStrategy()

Pobiera HsumBootStrategy urządzenia.

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

Ustawia HsumBootStrategy urządzenia.

Stałe

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

Wartość stała: "persist.user.hsum_boot_strategy"

Konstruktory publiczne

HsumHelper

public HsumHelper (ITestDevice device)

Parametry
device ITestDevice

Metody publiczne

getHsumBootStrategy

public HsumHelper.HsumBootStrategy getHsumBootStrategy ()

Pobiera HsumBootStrategy urządzenia.

Zwraca
HsumHelper.HsumBootStrategy

Zgłasza
IllegalStateException jeśli bieżąca strategia jest ustawiona na nieprawidłową wartość.
DeviceNotAvailableException

setHsumBootStrategy

public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)

Ustawia HsumBootStrategy urządzenia.

Parametry
strategy HsumHelper.HsumBootStrategy

Zgłasza
DeviceNotAvailableException