FlashingMethod
  public
  
  final
  
  enum
  FlashingMethod
  
  
  
  
    extends Enum<FlashingMethod>
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | java.lang.Enum<com.android.tradefed.targetprep.FlashingMethod> | |
| ↳ | com.android.tradefed.targetprep.FlashingMethod | |
An enum to describe the method used to flash device under test
Summary
| Enum values | |
|---|---|
| FlashingMethod | FASTBOOT_FLASH_ALLThe device was flashed via a `fastboot flashall` command on a directory of partition images | 
| FlashingMethod | FASTBOOT_FLASH_ALL_FUSE_ZIPThe device was flashed via a `fastboot flashall` command on a directory of partition images which is mounted from a device image zip file via fuse-zip | 
| FlashingMethod | FASTBOOT_UNCATEGORIZEDThe fallback for fastboot flashing but no further categorization | 
| FlashingMethod | FASTBOOT_UPDATEThe device was flashed via a `fastboot update` command with a device image zip | 
| FlashingMethod | FLASHSTATIONThe device was flashed via flashstation using the cl_flashstation script | 
| FlashingMethod | UNKNOWNThe fallback for not explicitly tracked flashing method | 
| FlashingMethod | USERSPACE_OTAThe device was flashed via a simulated OTA while in userspace | 
| Public methods | |
|---|---|
| 
        
        
        static
        
        
        FlashingMethod | 
      valueOf(String name)
       | 
| 
        
        
        static
        final
        
        FlashingMethod[] | 
      values()
       | 
Enum values
FASTBOOT_FLASH_ALL
public static final FlashingMethod FASTBOOT_FLASH_ALL
The device was flashed via a `fastboot flashall` command on a directory of partition images
FASTBOOT_FLASH_ALL_FUSE_ZIP
public static final FlashingMethod FASTBOOT_FLASH_ALL_FUSE_ZIP
The device was flashed via a `fastboot flashall` command on a directory of partition images which is mounted from a device image zip file via fuse-zip
FASTBOOT_UNCATEGORIZED
public static final FlashingMethod FASTBOOT_UNCATEGORIZED
The fallback for fastboot flashing but no further categorization
FASTBOOT_UPDATE
public static final FlashingMethod FASTBOOT_UPDATE
The device was flashed via a `fastboot update` command with a device image zip
FLASHSTATION
public static final FlashingMethod FLASHSTATION
The device was flashed via flashstation using the cl_flashstation script
UNKNOWN
public static final FlashingMethod UNKNOWN
The fallback for not explicitly tracked flashing method
USERSPACE_OTA
public static final FlashingMethod USERSPACE_OTA
The device was flashed via a simulated OTA while in userspace
Public methods
valueOf
public static FlashingMethod valueOf (String name)
| Parameters | |
|---|---|
| name | String | 
| Returns | |
|---|---|
| FlashingMethod | |
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 2024-10-08 UTC.
