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,
callNativeMethodsByDefault=true)
public class ShadowNativeCursorWindow
extends ShadowCursorWindow
Shadow for
CursorWindow that is backed by native code-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowCursorWindow
ShadowCursorWindow.Picker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleannativeAllocRow(long windowPtr) protected static voidnativeClear(long windowPtr) protected static voidnativeCopyStringToBuffer(long windowPtr, int row, int column, CharArrayBuffer buffer) protected static longnativeCreate(String name, int cursorWindowSize) protected static voidnativeDispose(long windowPtr) protected static voidnativeFreeLastRow(long windowPtr) protected static byte[]nativeGetBlob(long windowPtr, int row, int column) protected static doublenativeGetDouble(long windowPtr, int row, int column) protected static longnativeGetLong(long windowPtr, int row, int column) protected static StringnativeGetName(long windowPtr) protected static intnativeGetNumRows(long windowPtr) protected static StringnativeGetString(long windowPtr, int row, int column) protected static intnativeGetType(long windowPtr, int row, int column) protected static booleannativePutBlob(long windowPtr, byte[] value, int row, int column) protected static booleannativePutDouble(long windowPtr, double value, int row, int column) protected static booleannativePutLong(long windowPtr, long value, int row, int column) protected static booleannativePutNull(long windowPtr, int row, int column) protected static booleannativePutString(long windowPtr, String value, int row, int column) protected static booleannativeSetNumColumns(long windowPtr, int columnNum) Methods inherited from class org.robolectric.shadows.ShadowCursorWindow
dispose
-
Constructor Details
-
ShadowNativeCursorWindow
public ShadowNativeCursorWindow()
-
-
Method Details
-
nativeCreate
-
nativeDispose
-
nativeGetName
-
nativeGetBlob
@Implementation(maxSdk=34) protected static byte[] nativeGetBlob(long windowPtr, int row, int column) -
nativeGetString
@Implementation(maxSdk=34) protected static String nativeGetString(long windowPtr, int row, int column) -
nativeCopyStringToBuffer
@Implementation(maxSdk=34) protected static void nativeCopyStringToBuffer(long windowPtr, int row, int column, CharArrayBuffer buffer) -
nativePutBlob
@Implementation(maxSdk=34) protected static boolean nativePutBlob(long windowPtr, byte[] value, int row, int column) -
nativePutString
@Implementation(maxSdk=34) protected static boolean nativePutString(long windowPtr, String value, int row, int column) -
nativeClear
-
nativeGetNumRows
-
nativeSetNumColumns
@Implementation(maxSdk=34) protected static boolean nativeSetNumColumns(long windowPtr, int columnNum) -
nativeAllocRow
-
nativeFreeLastRow
-
nativeGetType
-
nativeGetLong
-
nativeGetDouble
@Implementation(maxSdk=34) protected static double nativeGetDouble(long windowPtr, int row, int column) -
nativePutLong
@Implementation(maxSdk=34) protected static boolean nativePutLong(long windowPtr, long value, int row, int column) -
nativePutDouble
@Implementation(maxSdk=34) protected static boolean nativePutDouble(long windowPtr, double value, int row, int column) -
nativePutNull
@Implementation(maxSdk=34) protected static boolean nativePutNull(long windowPtr, int row, int column)
-