Info Call to native methods

Description

List of all calls to methods using Java Native Interface to interact with native code (written in C/C++).

Recommendation

Data passed to NewStringUTF must be in Modified UTF-8 format

UTF-16 strings are not zero-terminated

Object references should never be compared using == or != in native code. When testing for object equality, the IsSameObject() function should be used instead of ==.

Technical details
  • Method com.scottyab.rootbeer.RootBeerNative->checkForRoot(([Ljava/lang/Object;)I)
  • Method com.scottyab.rootbeer.RootBeerNative->setLogDebugMessages((Z)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeCloseDocument((J)V)
  • Method com.shockwave.pdfium.PdfiumCore->nativeClosePage((J)V)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetBookmarkDestIndex((J J)J)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetBookmarkTitle((J)Ljava/lang/String;)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetDocumentMetaText((J Ljava/lang/String;)Ljava/lang/String;)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetFirstChildBookmark((J Ljava/lang/Long;)Ljava/lang/Long;)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetPageCount((J)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetPageHeightPixel((J I)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetPageHeightPoint((J)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetPageWidthPixel((J I)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetPageWidthPoint((J)I)
  • Method com.shockwave.pdfium.PdfiumCore->nativeGetSiblingBookmark((J J)Ljava/lang/Long;)
  • Method com.shockwave.pdfium.PdfiumCore->nativeLoadPage((J I)J)
  • Method com.shockwave.pdfium.PdfiumCore->nativeOpenDocument((I Ljava/lang/String;)J)
  • Method com.shockwave.pdfium.PdfiumCore->nativeRenderPageBitmap((J Landroid/graphics/Bitmap; I I I I I Z)V)