DeviceCleaner.PostCleanupAction
public
static
final
enum
DeviceCleaner.PostCleanupAction
extends Enum<DeviceCleaner.PostCleanupAction>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.targetprep.DeviceCleaner.PostCleanupAction> | |
↳ | com.android.tradefed.targetprep.DeviceCleaner.PostCleanupAction |
Summary
Enum values | |
---|---|
DeviceCleaner.PostCleanupAction |
NONE
no post cleanup action |
DeviceCleaner.PostCleanupAction |
SCREEN_OFF
turns screen off after the cleanup action |
DeviceCleaner.PostCleanupAction |
SCREEN_OFF_AND_STOP
turns off screen and stops runtime after the cleanup action |
Public methods | |
---|---|
static
DeviceCleaner.PostCleanupAction
|
valueOf(String name)
|
static
final
PostCleanupAction[]
|
values()
|
Enum values
SCREEN_OFF
public static final DeviceCleaner.PostCleanupAction SCREEN_OFF
turns screen off after the cleanup action
SCREEN_OFF_AND_STOP
public static final DeviceCleaner.PostCleanupAction SCREEN_OFF_AND_STOP
turns off screen and stops runtime after the cleanup action
Public methods
valueOf
public static DeviceCleaner.PostCleanupAction valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
DeviceCleaner.PostCleanupAction |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2019-10-02 (世界標準時間)。
[]
[]