HsumHelper

public final class HsumHelper
extends Object

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


Menyediakan utilitas untuk tugas HSUM (Mode Pengguna Sistem Headless)

Ringkasan

Konstanta

String BOOT_STRATEGY_PROPERTY

Konstruktor publik

HsumHelper(ITestDevice device)

Metode publik

HsumHelper.HsumBootStrategy getHsumBootStrategy()

Mendapatkan HsumBootStrategy perangkat.

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

Menetapkan HsumBootStrategy perangkat

Konstanta

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

Nilai Konstanta: "persist.user.hsum_boot_strategy"

Konstruktor publik

HsumHelper

public HsumHelper (ITestDevice device)

Parameter
device ITestDevice

Metode publik

getHsumBootStrategy

public HsumHelper.HsumBootStrategy getHsumBootStrategy ()

Mendapatkan HsumBootStrategy perangkat.

Hasil
HsumHelper.HsumBootStrategy

Menampilkan
IllegalStateException jika strategi saat ini disetel ke nilai yang tidak valid.
DeviceNotAvailableException

setHsumBootStrategy

public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)

Menetapkan HsumBootStrategy perangkat

Parameter
strategy HsumHelper.HsumBootStrategy

Menampilkan
DeviceNotAvailableException