HsumHelper.HsumBootStrategy

public static final enum HsumHelper.HsumBootStrategy
extends Enum<HsumHelper.HsumBootStrategy>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.device.HsumHelper.HsumBootStrategy>
     ↳ com.android.tradefed.device.HsumHelper.HsumBootStrategy


Summary

Enum values

HsumHelper.HsumBootStrategy  DEFAULT_BEHAVIOR

Uses the default strategy provided by the device configuration. 

HsumHelper.HsumBootStrategy  STAY_ON_SYSTEM_USER

Doesn't switch. 

HsumHelper.HsumBootStrategy  SWITCH_TO_PREVIOUS_USER

 

Public methods

int getValue()
static HsumHelper.HsumBootStrategy valueOf(String name)
static final HsumBootStrategy[] values()

Enum values

DEFAULT_BEHAVIOR

public static final HsumHelper.HsumBootStrategy DEFAULT_BEHAVIOR

Uses the default strategy provided by the device configuration.

This is the value tests should mostly use on cleanup tasks.

STAY_ON_SYSTEM_USER

public static final HsumHelper.HsumBootStrategy STAY_ON_SYSTEM_USER

Doesn't switch.

SWITCH_TO_PREVIOUS_USER

public static final HsumHelper.HsumBootStrategy SWITCH_TO_PREVIOUS_USER

Public methods

getValue

public int getValue ()

Returns
int

valueOf

public static HsumHelper.HsumBootStrategy valueOf (String name)

Parameters
name String

Returns
HsumHelper.HsumBootStrategy

values

public static final HsumBootStrategy[] values ()

Returns
HsumBootStrategy[]