FileDocCategorySizeDatePackage
NativeTestTarget.javaAPI DocAndroid 1.5 API2281Wed May 06 22:41:02 BST 2009org.apache.harmony.dalvik

NativeTestTarget

public final class NativeTestTarget extends Object
Methods used to test calling into native code. The methods in this class are all effectively no-ops and may be used to test the mechanisms and performance of calling native methods.

Fields Summary
Constructors Summary
private NativeTestTarget()
This class is uninstantiable.

        // This space intentionally left blank.
    
Methods Summary
public static voidemptyInlineMethod()
This method is intended to be "inlined" by the virtual machine (e.g., given special treatment as an intrinsic).

        // This space intentionally left blank.
    
public static native voidemptyInternalStaticMethod()
This method is intended to be defined in native code and hooked up using the virtual machine's special fast-path native linkage (as opposed to being hooked up using JNI).

public static native voidemptyJniStaticMethod0()
This is an empty native static method with no args, hooked up using JNI.

public static native voidemptyJniStaticMethod6(int a, int b, int c, int d, int e, int f)
This is an empty native static method with six args, hooked up using JNI.

public static native voidemptyJniStaticMethod6L(java.lang.String a, java.lang.String[] b, int[][] c, java.lang.Object d, java.lang.Object[] e, java.lang.Object[][][][] f)
This is an empty native static method with six args, hooked up using JNI. These have more complex args to show the cost of parsing the signature. All six values should be null references.