Class ShadowNativeCursorWindow

java.lang.Object
org.robolectric.shadows.ShadowCursorWindow
org.robolectric.shadows.ShadowNativeCursorWindow

Shadow for CursorWindow that is backed by native code
  • Constructor Details

    • ShadowNativeCursorWindow

      public ShadowNativeCursorWindow()
  • Method Details

    • nativeCreate

      @Implementation(maxSdk=34) protected static long nativeCreate(String name, int cursorWindowSize)
    • nativeDispose

      @Implementation(maxSdk=34) protected static void nativeDispose(long windowPtr)
    • nativeGetName

      @Implementation(maxSdk=34) protected static String nativeGetName(long windowPtr)
    • 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 protected static boolean nativePutBlob(long windowPtr, byte[] value, int row, int column)
    • nativePutString

      @Implementation protected static boolean nativePutString(long windowPtr, String value, int row, int column)
    • nativeClear

      @Implementation(maxSdk=34) protected static void nativeClear(long windowPtr)
    • nativeGetNumRows

      @Implementation(maxSdk=34) protected static int nativeGetNumRows(long windowPtr)
    • nativeSetNumColumns

      @Implementation(maxSdk=34) protected static boolean nativeSetNumColumns(long windowPtr, int columnNum)
    • nativeAllocRow

      @Implementation(maxSdk=34) protected static boolean nativeAllocRow(long windowPtr)
    • nativeFreeLastRow

      @Implementation(maxSdk=34) protected static void nativeFreeLastRow(long windowPtr)
    • nativeGetType

      @Implementation(maxSdk=34) protected static int nativeGetType(long windowPtr, int row, int column)
    • nativeGetLong

      @Implementation(maxSdk=34) protected static long nativeGetLong(long windowPtr, int row, int column)
    • 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)