AbiFormatter

public class AbiFormatter
extends Object

java.lang.Object
com.android.tradefed.util.AbiFormatter


Classe di utilità per abi.

Riepilogo

Campi

public static final String FORCE_ABI_DESCRIPTION

public static final String FORCE_ABI_STRING

Costruttori pubblici

AbiFormatter ()

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 bit specificato

static String[] getSupportedAbis ( ITestDevice device, String bitness)

Metodo di supporto per ottenere l'elenco degli abis supportati per il bit specificato

Campi

FORCE_ABI_DESCRIPTION

public static final String FORCE_ABI_DESCRIPTION

FORCE_ABI_STRING

public static final String FORCE_ABI_STRING

Costruttori pubblici

AbiFormatter

public AbiFormatter ()

Metodi pubblici

formatCmdForAbi

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 correre.

ritorna
String stringa formattata.

getDefaultAbi

public static String getDefaultAbi (ITestDevice device, 
                String bitness)

Metodo di supporto per ottenere il nome abi predefinito per il bit specificato

ritorna
String il nome abi predefinito per l'abi specificato. Restituisce null se qualcosa è andato storto.

Lancia
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException

getSupportedAbis

public static String[] getSupportedAbis (ITestDevice device, 
                String bitness)

Metodo di supporto per ottenere l'elenco degli abis supportati per il bit specificato

Parametri
bitness String : 32 o 64 o stringa vuota

ritorna
String[] l'elenco abi supportato di quel bitness

Lancia
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException