| Modifier and Type | Class and Description |
|---|---|
| private static class | NativeCryptoJni.ErrorComparator
Sorts the errors in a list in descending order of value. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static ClassLoader | |
| pack-priv static void | |
| private static void | |
| private static String | |
| private static String | |
| private static void |
| DYNAMIC_LIB_NAME_PREFIX | back to summary |
|---|---|
| private static final String DYNAMIC_LIB_NAME_PREFIX | |
| STATIC_LIB_NAME | back to summary |
|---|---|
| private static final String STATIC_LIB_NAME | |
| NativeCryptoJni | back to summary |
|---|---|
| private NativeCryptoJni() | |
| archName | back to summary |
|---|---|
| private static String archName() | |
| classLoader | back to summary |
|---|---|
| private static ClassLoader classLoader() | |
| init | back to summary |
|---|---|
| pack-priv static void init() throws UnsatisfiedLinkError Attempts to load the shared JNI library. First try loading the platform-specific library
name (e.g. conscrypt_openjdk_jni-linux-x86_64). If that doesn't work, try to load the
library via just the prefix (e.g. conscrypt_openjdk_jni). If not found, try the static
library name.
The non-suffixed dynamic library name is used by the Android build system, which builds
the appropriate library for the system it's being run on under that name.
The static library name is needed in order to support Java 8 static linking
(http://openjdk.java.net/jeps/178), where the library name is used to invoke a
library-specific load method (i.e.
| |
| logResults | back to summary |
|---|---|
| private static void logResults(List<NativeLibraryLoader. | |
| osName | back to summary |
|---|---|
| private static String osName() | |
| platformLibName | back to summary |
|---|---|
| private static String platformLibName() | |
| throwBestError | back to summary |
|---|---|
| private static void throwBestError(List<NativeLibraryLoader. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final NativeCryptoJni. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(NativeLibraryLoader.
the first object to be compared. o1,the second object to be compared. o2Implements java. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final NativeCryptoJni. | |
| ErrorComparator | back to summary |
|---|---|
| private ErrorComparator() | |
| compare | back to summary |
|---|---|
| public int compare(NativeLibraryLoader. Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |