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.lastmile.logistics.MainActivity->javaTaskCompleted(()V)
  • Method com.lastmile.logistics.MainActivity->onTaskCompleted((I Ljava/lang/String;)V)
  • Method org.qtproject.qt5.android.ExtractStyle->extractChunkInfo(([B)[I)
  • Method org.qtproject.qt5.android.ExtractStyle->extractChunkInfo20(([B)[I)
  • Method org.qtproject.qt5.android.ExtractStyle->extractNativeChunkInfo((I)[I)
  • Method org.qtproject.qt5.android.ExtractStyle->extractNativeChunkInfo20((J)[I)
  • Method org.qtproject.qt5.android.QtNative->dispatchGenericMotionEvent((Landroid/view/MotionEvent;)Z)
  • Method org.qtproject.qt5.android.QtNative->dispatchKeyEvent((Landroid/view/KeyEvent;)Z)
  • Method org.qtproject.qt5.android.QtNative->fillContextMenu((Landroid/view/Menu;)V)
  • Method org.qtproject.qt5.android.QtNative->handleLocationChanged((I I I)V)
  • Method org.qtproject.qt5.android.QtNative->handleOrientationChanged((I I)V)
  • Method org.qtproject.qt5.android.QtNative->isTabletEventSupported(()Z)
  • Method org.qtproject.qt5.android.QtNative->keyDown((I I I Z)V)
  • Method org.qtproject.qt5.android.QtNative->keyUp((I I I Z)V)
  • Method org.qtproject.qt5.android.QtNative->keyboardGeometryChanged((I I I I)V)
  • Method org.qtproject.qt5.android.QtNative->keyboardVisibilityChanged((Z)V)
  • Method org.qtproject.qt5.android.QtNative->longPress((I I I)V)
  • Method org.qtproject.qt5.android.QtNative->mouseDown((I I I)V)
  • Method org.qtproject.qt5.android.QtNative->mouseMove((I I I)V)
  • Method org.qtproject.qt5.android.QtNative->mouseUp((I I I)V)
  • Method org.qtproject.qt5.android.QtNative->mouseWheel((I I I F F)V)
  • Method org.qtproject.qt5.android.QtNative->onActivityResult((I I Landroid/content/Intent;)V)
  • Method org.qtproject.qt5.android.QtNative->onBind((Landroid/content/Intent;)Landroid/os/IBinder;)
  • Method org.qtproject.qt5.android.QtNative->onClipboardDataChanged(()V)
  • Method org.qtproject.qt5.android.QtNative->onContextItemSelected((I Z)Z)
  • Method org.qtproject.qt5.android.QtNative->onContextMenuClosed((Landroid/view/Menu;)V)
  • Method org.qtproject.qt5.android.QtNative->onCreateContextMenu((Landroid/view/ContextMenu;)V)
  • Method org.qtproject.qt5.android.QtNative->onNewIntent((Landroid/content/Intent;)V)
  • Method org.qtproject.qt5.android.QtNative->onOptionsItemSelected((I Z)Z)
  • Method org.qtproject.qt5.android.QtNative->onOptionsMenuClosed((Landroid/view/Menu;)V)
  • Method org.qtproject.qt5.android.QtNative->onPrepareOptionsMenu((Landroid/view/Menu;)Z)
  • Method org.qtproject.qt5.android.QtNative->quitQtAndroidPlugin(()V)
  • Method org.qtproject.qt5.android.QtNative->quitQtCoreApplication(()V)
  • Method org.qtproject.qt5.android.QtNative->runPendingCppRunnables(()V)
  • Method org.qtproject.qt5.android.QtNative->sendRequestPermissionsResult((I [Ljava/lang/String; [I)V)
  • Method org.qtproject.qt5.android.QtNative->setDisplayMetrics((I I I I D D D D)V)
  • Method org.qtproject.qt5.android.QtNative->setNativeActivity((Landroid/app/Activity;)V)
  • Method org.qtproject.qt5.android.QtNative->setNativeService((Landroid/app/Service;)V)
  • Method org.qtproject.qt5.android.QtNative->setSurface((I Ljava/lang/Object; I I)V)
  • Method org.qtproject.qt5.android.QtNative->startQtAndroidPlugin((Ljava/lang/String; Ljava/lang/String;)Z)
  • Method org.qtproject.qt5.android.QtNative->startQtApplication(()V)
  • Method org.qtproject.qt5.android.QtNative->tabletEvent((I I J I I I F F F)V)
  • Method org.qtproject.qt5.android.QtNative->terminateQt(()V)
  • Method org.qtproject.qt5.android.QtNative->touchAdd((I I I Z I I F F F F)V)
  • Method org.qtproject.qt5.android.QtNative->touchBegin((I)V)
  • Method org.qtproject.qt5.android.QtNative->touchEnd((I I)V)
  • Method org.qtproject.qt5.android.QtNative->updateApplicationState((I)V)
  • Method org.qtproject.qt5.android.QtNative->updateWindow(()V)
  • Method org.qtproject.qt5.android.QtNative->waitForServiceSetup(()V)
  • Method org.qtproject.qt5.android.QtNativeDialogHelper->dialogResult((J I)V)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->beginBatchEdit(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->commitCompletion((Ljava/lang/String; I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->commitText((Ljava/lang/String; I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->copy(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->copyURL(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->cut(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->deleteSurroundingText((I I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->endBatchEdit(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->finishComposingText(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->getCursorCapsMode((I)I)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->getExtractedText((I I I)Lorg/qtproject/qt5/android/QtExtractedText;)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->getSelectedText((I)Ljava/lang/String;)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->getTextAfterCursor((I I)Ljava/lang/String;)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->getTextBeforeCursor((I I)Ljava/lang/String;)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->paste(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->selectAll(()Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->setComposingRegion((I I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->setComposingText((Ljava/lang/String; I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->setSelection((I I)Z)
  • Method org.qtproject.qt5.android.QtNativeInputConnection->updateCursorPosition(()Z)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->childIdListForAccessibleObject((I)[I)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->clickAction((I)Z)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->descriptionForAccessibleObject((I)Ljava/lang/String;)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->hitTest((F F)I)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->parentId((I)I)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->populateNode((I Landroid/view/accessibility/AccessibilityNodeInfo;)Z)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->screenRect((I)Landroid/graphics/Rect;)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->scrollBackward((I)Z)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->scrollForward((I)Z)
  • Method org.qtproject.qt5.android.accessibility.QtNativeAccessibility->setActive((Z)V)
  • Method org.qtproject.qt5.android.bearer.QtNetworkReceiver->activeNetworkInfoChanged(()V)
  • Method org.qtproject.qt5.android.extras.QtNative->onServiceConnected((J Ljava/lang/String; Landroid/os/IBinder;)V)
  • Method org.qtproject.qt5.android.extras.QtNative->onServiceDisconnected((J Ljava/lang/String;)V)
  • Method org.qtproject.qt5.android.extras.QtNative->onTransact((J I Landroid/os/Parcel; Landroid/os/Parcel; I)Z)