to top
public static final enum

IDeviceFlasher.UserDataFlashOption

extends Enum<IDeviceFlasher.UserDataFlashOption>
java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption>
     ↳ com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption

Class Overview

Enum of options for handling the userdata image

Summary

Enum Values
IDeviceFlasher.UserDataFlashOption  FLASH  flash the given userdata image on device  
IDeviceFlasher.UserDataFlashOption  FORCE_WIPE  wipe the device's userdata partition using fastboot erase, even if it's unadvised  
IDeviceFlasher.UserDataFlashOption  RETAIN  leave the userdata partition as is  
IDeviceFlasher.UserDataFlashOption  TESTS_ZIP  push the contents of the tests zip file onto the device's userdata partition  
IDeviceFlasher.UserDataFlashOption  WIPE  wipe the device's userdata partition using fastboot erase, if supported by device  
IDeviceFlasher.UserDataFlashOption  WIPE_RM  delete content from the device's /data partition using adb shell rm  
Public Methods
static IDeviceFlasher.UserDataFlashOption valueOf(String name)
final static UserDataFlashOption[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final IDeviceFlasher.UserDataFlashOption FLASH

flash the given userdata image on device

public static final IDeviceFlasher.UserDataFlashOption FORCE_WIPE

wipe the device's userdata partition using fastboot erase, even if it's unadvised

public static final IDeviceFlasher.UserDataFlashOption RETAIN

leave the userdata partition as is

public static final IDeviceFlasher.UserDataFlashOption TESTS_ZIP

push the contents of the tests zip file onto the device's userdata partition

public static final IDeviceFlasher.UserDataFlashOption WIPE

wipe the device's userdata partition using fastboot erase, if supported by device

public static final IDeviceFlasher.UserDataFlashOption WIPE_RM

delete content from the device's /data partition using adb shell rm

Public Methods

public static IDeviceFlasher.UserDataFlashOption valueOf (String name)

public static final UserDataFlashOption[] values ()