HsumHelper

public final class HsumHelper
extends Object

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


यह एचएसयूएम (हेडलेस सिस्टम यूज़र मोड) के टास्क के लिए यूटिलिटी उपलब्ध कराता है

खास जानकारी

कॉन्स्टेंट

String BOOT_STRATEGY_PROPERTY

सार्वजनिक कंस्ट्रक्टर

HsumHelper(ITestDevice device)

पब्लिक मेथड

HsumHelper.HsumBootStrategy getHsumBootStrategy()

इससे डिवाइस का HsumBootStrategy मिलता है.

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

यह कुकी, डिवाइस के HsumBootStrategy को सेट करती है

कॉन्स्टेंट

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

कॉन्स्टेंट वैल्यू: "persist.user.hsum_boot_strategy"

सार्वजनिक कंस्ट्रक्टर

HsumHelper

public HsumHelper (ITestDevice device)

पैरामीटर
device ITestDevice

पब्लिक मेथड

getHsumBootStrategy

public HsumHelper.HsumBootStrategy getHsumBootStrategy ()

इससे डिवाइस का HsumBootStrategy मिलता है.

रिटर्न
HsumHelper.HsumBootStrategy

थ्रो
IllegalStateException अगर मौजूदा रणनीति को अमान्य वैल्यू पर सेट किया गया है.
DeviceNotAvailableException

setHsumBootStrategy

public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)

यह कुकी, डिवाइस के HsumBootStrategy को सेट करती है

पैरामीटर
strategy HsumHelper.HsumBootStrategy

थ्रो
DeviceNotAvailableException