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 io.flutter.embedding.engine.FlutterJNI->nativeAttach((Lio/flutter/embedding/engine/FlutterJNI; Z)J)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeDestroy((J)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeDispatchEmptyPlatformMessage((J Ljava/lang/String; I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeDispatchPlatformMessage((J Ljava/lang/String; Ljava/nio/ByteBuffer; I I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeDispatchPointerDataPacket((J Ljava/nio/ByteBuffer; I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeDispatchSemanticsAction((J I I Ljava/nio/ByteBuffer; I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeGetBitmap((J)Landroid/graphics/Bitmap;)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeGetIsSoftwareRenderingEnabled(()Z)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeInit((Landroid/content/Context; [Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeInvokePlatformMessageEmptyResponseCallback((J I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeInvokePlatformMessageResponseCallback((J I Ljava/nio/ByteBuffer; I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeLookupCallbackInformation((J)Lio/flutter/view/FlutterCallbackInformation;)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeMarkTextureFrameAvailable((J J)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeOnVsync((J J J)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeRecordStartTimestamp((J)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeRegisterTexture((J J Landroid/graphics/SurfaceTexture;)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeRunBundleAndSnapshotFromLibrary((J [Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Landroid/content/res/AssetManager;)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSetAccessibilityFeatures((J I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSetSemanticsEnabled((J Z)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSetViewportMetrics((J F I I I I I I I I I I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSurfaceChanged((J I I)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSurfaceCreated((J Landroid/view/Surface;)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeSurfaceDestroyed((J)V)
  • Method io.flutter.embedding.engine.FlutterJNI->nativeUnregisterTexture((J J)V)