Package org.robolectric.shadows
Class ShadowNativeCursorWindow
- java.lang.Object
-
- org.robolectric.shadows.ShadowCursorWindow
-
- org.robolectric.shadows.ShadowNativeCursorWindow
-
@Implements(value=android.database.CursorWindow.class, isInAndroidSdk=false) public class ShadowNativeCursorWindow extends ShadowCursorWindow
Shadow forCursorWindowthat is backed by native code
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowCursorWindow
ShadowCursorWindow.Picker
-
-
Constructor Summary
Constructors Constructor Description ShadowNativeCursorWindow()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static booleannativeAllocRow(int windowPtr)protected static booleannativeAllocRow(long windowPtr)protected static voidnativeClear(int windowPtr)protected static voidnativeClear(long windowPtr)protected static voidnativeCopyStringToBuffer(long windowPtr, int row, int column, CharArrayBuffer buffer)protected static NumbernativeCreate(String name, int cursorWindowSize)protected static voidnativeDispose(int windowPtr)protected static voidnativeDispose(long windowPtr)protected static voidnativeFreeLastRow(long windowPtr)protected static byte[]nativeGetBlob(int windowPtr, int row, int column)protected static byte[]nativeGetBlob(long windowPtr, int row, int column)protected static doublenativeGetDouble(int windowPtr, int row, int column)protected static doublenativeGetDouble(long windowPtr, int row, int column)protected static longnativeGetLong(int windowPtr, int row, int column)protected static longnativeGetLong(long windowPtr, int row, int column)protected static StringnativeGetName(int windowPtr)protected static StringnativeGetName(long windowPtr)protected static intnativeGetNumRows(int windowPtr)protected static intnativeGetNumRows(long windowPtr)protected static StringnativeGetString(int windowPtr, int row, int column)protected static StringnativeGetString(long windowPtr, int row, int column)protected static intnativeGetType(int windowPtr, int row, int column)protected static intnativeGetType(long windowPtr, int row, int column)protected static booleannativePutBlob(int windowPtr, byte[] value, int row, int column)protected static booleannativePutBlob(long windowPtr, byte[] value, int row, int column)protected static booleannativePutDouble(int windowPtr, double value, int row, int column)protected static booleannativePutDouble(long windowPtr, double value, int row, int column)protected static booleannativePutLong(int windowPtr, long value, int row, int column)protected static booleannativePutLong(long windowPtr, long value, int row, int column)protected static booleannativePutNull(int windowPtr, int row, int column)protected static booleannativePutNull(long windowPtr, int row, int column)protected static booleannativePutString(int windowPtr, String value, int row, int column)protected static booleannativePutString(long windowPtr, String value, int row, int column)protected static booleannativeSetNumColumns(int windowPtr, int columnNum)protected static booleannativeSetNumColumns(long windowPtr, int columnNum)
-
-
-
Method Detail
-
nativeCreate
@Implementation protected static Number nativeCreate(String name, int cursorWindowSize)
-
nativeDispose
@Implementation(maxSdk=20) protected static void nativeDispose(int windowPtr)
-
nativeDispose
@Implementation(minSdk=21) protected static void nativeDispose(long windowPtr)
-
nativeGetName
@Implementation(maxSdk=20) protected static String nativeGetName(int windowPtr)
-
nativeGetName
@Implementation(minSdk=21) protected static String nativeGetName(long windowPtr)
-
nativeGetBlob
@Implementation(maxSdk=20) protected static byte[] nativeGetBlob(int windowPtr, int row, int column)
-
nativeGetBlob
@Implementation(minSdk=21) protected static byte[] nativeGetBlob(long windowPtr, int row, int column)
-
nativeGetString
@Implementation(maxSdk=20) protected static String nativeGetString(int windowPtr, int row, int column)
-
nativeGetString
@Implementation(minSdk=21) protected static String nativeGetString(long windowPtr, int row, int column)
-
nativeCopyStringToBuffer
@Implementation(minSdk=21) protected static void nativeCopyStringToBuffer(long windowPtr, int row, int column, CharArrayBuffer buffer)
-
nativePutBlob
@Implementation(maxSdk=20) protected static boolean nativePutBlob(int windowPtr, byte[] value, int row, int column)
-
nativePutBlob
@Implementation(minSdk=21) protected static boolean nativePutBlob(long windowPtr, byte[] value, int row, int column)
-
nativePutString
@Implementation(maxSdk=20) protected static boolean nativePutString(int windowPtr, String value, int row, int column)
-
nativePutString
@Implementation(minSdk=21) protected static boolean nativePutString(long windowPtr, String value, int row, int column)
-
nativeClear
@Implementation(maxSdk=20) protected static void nativeClear(int windowPtr)
-
nativeClear
@Implementation(minSdk=21) protected static void nativeClear(long windowPtr)
-
nativeGetNumRows
@Implementation(maxSdk=20) protected static int nativeGetNumRows(int windowPtr)
-
nativeGetNumRows
@Implementation(minSdk=21) protected static int nativeGetNumRows(long windowPtr)
-
nativeSetNumColumns
@Implementation(maxSdk=20) protected static boolean nativeSetNumColumns(int windowPtr, int columnNum)
-
nativeSetNumColumns
@Implementation(minSdk=21) protected static boolean nativeSetNumColumns(long windowPtr, int columnNum)
-
nativeAllocRow
@Implementation(maxSdk=20) protected static boolean nativeAllocRow(int windowPtr)
-
nativeAllocRow
@Implementation(minSdk=21) protected static boolean nativeAllocRow(long windowPtr)
-
nativeFreeLastRow
@Implementation(minSdk=21) protected static void nativeFreeLastRow(long windowPtr)
-
nativeGetType
@Implementation(maxSdk=20) protected static int nativeGetType(int windowPtr, int row, int column)
-
nativeGetType
@Implementation(minSdk=21) protected static int nativeGetType(long windowPtr, int row, int column)
-
nativeGetLong
@Implementation(maxSdk=20) protected static long nativeGetLong(int windowPtr, int row, int column)
-
nativeGetLong
@Implementation(minSdk=21) protected static long nativeGetLong(long windowPtr, int row, int column)
-
nativeGetDouble
@Implementation(maxSdk=20) protected static double nativeGetDouble(int windowPtr, int row, int column)
-
nativeGetDouble
@Implementation(minSdk=21) protected static double nativeGetDouble(long windowPtr, int row, int column)
-
nativePutLong
@Implementation(maxSdk=20) protected static boolean nativePutLong(int windowPtr, long value, int row, int column)
-
nativePutLong
@Implementation(minSdk=21) protected static boolean nativePutLong(long windowPtr, long value, int row, int column)
-
nativePutDouble
@Implementation(maxSdk=20) protected static boolean nativePutDouble(int windowPtr, double value, int row, int column)
-
nativePutDouble
@Implementation(minSdk=21) protected static boolean nativePutDouble(long windowPtr, double value, int row, int column)
-
nativePutNull
@Implementation(maxSdk=20) protected static boolean nativePutNull(int windowPtr, int row, int column)
-
nativePutNull
@Implementation(minSdk=21) protected static boolean nativePutNull(long windowPtr, int row, int column)
-
-