Stay organized with collections
Save and categorize content based on your preferences.
public
class
AbiFormatter
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.util.AbiFormatter
|
Utility class for abi.
Summary
Public methods |
static
String
|
formatCmdForAbi(String str, String abi)
Helper method that formats a given string to include abi specific
values to it by replacing a given marker.
|
static
String
|
getDefaultAbi(ITestDevice device, String bitness)
Helper method to get the default abi name for the given bitness
|
static
String[]
|
getSupportedAbis(ITestDevice device, String bitness)
Helper method to get the list of supported abis for the given bitness
|
Fields
FORCE_ABI_DESCRIPTION
public static final String FORCE_ABI_DESCRIPTION
FORCE_ABI_STRING
public static final String FORCE_ABI_STRING
Public constructors
Public methods
public static String formatCmdForAbi (String str,
String abi)
Helper method that formats a given string to include abi specific
values to it by replacing a given marker.
Parameters |
str |
String : String to format which includes special markers |
.ABI_REGEX to be replaced |
abi |
String : String of the abi we desire to run on. |
Returns |
String |
formatted string. |
getDefaultAbi
public static String getDefaultAbi (ITestDevice device,
String bitness)
Helper method to get the default abi name for the given bitness
Returns |
String |
the default abi name for the given abi. Returns null if something went wrong. |
getSupportedAbis
public static String[] getSupportedAbis (ITestDevice device,
String bitness)
Helper method to get the list of supported abis for the given bitness
Parameters |
bitness |
String : 32 or 64 or empty string |
Returns |
String[] |
the supported abi list of that bitness |
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 2023-07-19 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-07-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-07-19 UTC."]]