Enum Class AndroidPlatformABI
java.lang.Object
java.lang.Enum<AndroidPlatformABI>
com.pnfsoftware.jeb.core.units.code.android.adb.AndroidPlatformABI
- All Implemented Interfaces:
Serializable,Comparable<AndroidPlatformABI>,Constable
Well-known Android-supported Application Binary Interfaces.
Note that the armeabi, mips and mips64 platforms have been deprecated since the NDK release 17.
Reference: https://developer.android.com/ndk/guides/abis.html
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AndroidPlatformABIRetrieve an ABI by its Android ABI name.booleanisARM()Determine whether this ABI targets an ARM architecture.booleanDetermine whether this ABI is deprecated.booleanisIntel()Determine whether this ABI targets an Intel architecture.booleanisMIPS()Determine whether this ABI targets a MIPS architecture.toString()static AndroidPlatformABIReturns the enum constant of this class with the specified name.static AndroidPlatformABI[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARM
armeabiABI. -
ARM7
armeabi-v7aABI. -
ARM64
arm64-v8aABI. -
MIPS
mipsABI. -
MIPS64
mips64ABI. -
X86
x86ABI. -
X64
x86_64ABI.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isIntel
public boolean isIntel()Determine whether this ABI targets an Intel architecture.- Returns:
- true for x86 and x86_64
-
isARM
public boolean isARM()Determine whether this ABI targets an ARM architecture.- Returns:
- true for ARM ABIs
-
isMIPS
public boolean isMIPS()Determine whether this ABI targets a MIPS architecture.- Returns:
- true for MIPS ABIs
-
isDeprecated
public boolean isDeprecated()Determine whether this ABI is deprecated.- Returns:
- true if first-tier support for this ABI was officially removed from Android
-
toString
- Overrides:
toStringin classEnum<AndroidPlatformABI>
-
fromName
Retrieve an ABI by its Android ABI name.- Parameters:
name- Android ABI name- Returns:
- ABI, or null if unknown
-