public class AbiFormatter
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.AbiFormatter |
Classe di utilità per abi.
Sommario
Metodi pubblici |
---|
static String | formatCmdForAbi (String str, String abi) Metodo di supporto che formatta una determinata stringa per includere valori specifici abi sostituendo un determinato indicatore. |
static String | getDefaultAbi (ITestDevice device, String bitness) Metodo di supporto per ottenere il nome abi predefinito per il dato testimone |
static String[] | getSupportedAbis (ITestDevice device, String bitness) Metodo di supporto per ottenere l'elenco degli abis supportati per il dato testimone |
Campi
FORCE_ABI_DESCRIPTION
public static final String FORCE_ABI_DESCRIPTION
FORCE_ABI_STRING
public static final String FORCE_ABI_STRING
Costruttori pubblici
Metodi pubblici
public static String formatCmdForAbi (String str,
String abi)
Metodo di supporto che formatta una determinata stringa per includere valori specifici abi sostituendo un determinato indicatore.
Parametri |
---|
str | String :String da formattare che include marcatori speciali | .ABI_REGEX da sostituire |
abi | String :String dell'abi su cui desideriamo eseguire. |
ritorna |
---|
String | stringa formattata. |
getDefaultAbi
public static String getDefaultAbi (ITestDevice device,
String bitness)
Metodo di supporto per ottenere il nome abi predefinito per il dato testimone
ritorna |
---|
String | il nome abi predefinito per l'abi specificato. Restituisce null se qualcosa è andato storto. |
Lancia |
---|
DeviceNotAvailableException | |
getSupportedAbis
public static String[] getSupportedAbis (ITestDevice device,
String bitness)
Metodo di supporto per ottenere l'elenco degli abis supportati per il dato testimone
Parametri |
---|
bitness | String : 32 o 64 o una stringa vuota |
ritorna |
---|
String[] | l'elenco abi supportato di quel testimone |
Lancia |
---|
DeviceNotAvailableException | |