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.
Public methods
getValue
public int getValue ()
| Returns | |
|---|---|
int |
|
valueOf
public static HsumHelper.HsumBootStrategy valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
HsumHelper.HsumBootStrategy |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-06-22 UTC.