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.realm.internal.UncheckedRow->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.UncheckedRow->nativeGetBoolean((J J)Z)
  • Method io.realm.internal.UncheckedRow->nativeGetByteArray((J J)[B)
  • Method io.realm.internal.UncheckedRow->nativeGetColumnCount((J)J)
  • Method io.realm.internal.UncheckedRow->nativeGetColumnIndex((J Ljava/lang/String;)J)
  • Method io.realm.internal.UncheckedRow->nativeGetColumnName((J J)Ljava/lang/String;)
  • Method io.realm.internal.UncheckedRow->nativeGetColumnType((J J)I)
  • Method io.realm.internal.UncheckedRow->nativeGetDouble((J J)D)
  • Method io.realm.internal.UncheckedRow->nativeGetFloat((J J)F)
  • Method io.realm.internal.UncheckedRow->nativeGetIndex((J)J)
  • Method io.realm.internal.UncheckedRow->nativeGetLink((J J)J)
  • Method io.realm.internal.UncheckedRow->nativeGetLinkView((J J)J)
  • Method io.realm.internal.UncheckedRow->nativeGetLong((J J)J)
  • Method io.realm.internal.UncheckedRow->nativeGetString((J J)Ljava/lang/String;)
  • Method io.realm.internal.UncheckedRow->nativeGetTimestamp((J J)J)
  • Method io.realm.internal.UncheckedRow->nativeIsAttached((J)Z)
  • Method io.realm.internal.UncheckedRow->nativeIsNull((J J)Z)
  • Method io.realm.internal.UncheckedRow->nativeIsNullLink((J J)Z)
  • Method io.realm.internal.UncheckedRow->nativeNullifyLink((J J)V)
  • Method io.realm.internal.UncheckedRow->nativeSetBoolean((J J Z)V)
  • Method io.realm.internal.UncheckedRow->nativeSetByteArray((J J [B)V)
  • Method io.realm.internal.UncheckedRow->nativeSetDouble((J J D)V)
  • Method io.realm.internal.UncheckedRow->nativeSetFloat((J J F)V)
  • Method io.realm.internal.UncheckedRow->nativeSetLink((J J J)V)
  • Method io.realm.internal.UncheckedRow->nativeSetLong((J J J)V)
  • Method io.realm.internal.UncheckedRow->nativeSetNull((J J)V)
  • Method io.realm.internal.UncheckedRow->nativeSetString((J J Ljava/lang/String;)V)
  • Method io.realm.internal.UncheckedRow->nativeSetTimestamp((J J J)V)
  • Method io.realm.internal.CheckedRow->nativeGetBoolean((J J)Z)
  • Method io.realm.internal.CheckedRow->nativeGetByteArray((J J)[B)
  • Method io.realm.internal.CheckedRow->nativeGetColumnCount((J)J)
  • Method io.realm.internal.CheckedRow->nativeGetColumnIndex((J Ljava/lang/String;)J)
  • Method io.realm.internal.CheckedRow->nativeGetColumnName((J J)Ljava/lang/String;)
  • Method io.realm.internal.CheckedRow->nativeGetColumnType((J J)I)
  • Method io.realm.internal.CheckedRow->nativeGetDouble((J J)D)
  • Method io.realm.internal.CheckedRow->nativeGetFloat((J J)F)
  • Method io.realm.internal.CheckedRow->nativeGetLink((J J)J)
  • Method io.realm.internal.CheckedRow->nativeGetLinkView((J J)J)
  • Method io.realm.internal.CheckedRow->nativeGetLong((J J)J)
  • Method io.realm.internal.CheckedRow->nativeGetString((J J)Ljava/lang/String;)
  • Method io.realm.internal.CheckedRow->nativeGetTimestamp((J J)J)
  • Method io.realm.internal.CheckedRow->nativeIsNullLink((J J)Z)
  • Method io.realm.internal.CheckedRow->nativeNullifyLink((J J)V)
  • Method io.realm.internal.CheckedRow->nativeSetBoolean((J J Z)V)
  • Method io.realm.internal.CheckedRow->nativeSetByteArray((J J [B)V)
  • Method io.realm.internal.CheckedRow->nativeSetDouble((J J D)V)
  • Method io.realm.internal.CheckedRow->nativeSetFloat((J J F)V)
  • Method io.realm.internal.CheckedRow->nativeSetLink((J J J)V)
  • Method io.realm.internal.CheckedRow->nativeSetLong((J J J)V)
  • Method io.realm.internal.CheckedRow->nativeSetString((J J Ljava/lang/String;)V)
  • Method io.realm.internal.CheckedRow->nativeSetTimestamp((J J J)V)
  • Method io.realm.internal.Collection->nativeAggregate((J J B)Ljava/lang/Object;)
  • Method io.realm.internal.Collection->nativeClear((J)V)
  • Method io.realm.internal.Collection->nativeContains((J J)Z)
  • Method io.realm.internal.Collection->nativeCreateResults((J J Lio/realm/internal/SortDescriptor; Lio/realm/internal/SortDescriptor;)J)
  • Method io.realm.internal.Collection->nativeCreateResultsFromBacklinks((J J J J)J)
  • Method io.realm.internal.Collection->nativeCreateResultsFromLinkView((J J Lio/realm/internal/SortDescriptor;)J)
  • Method io.realm.internal.Collection->nativeCreateSnapshot((J)J)
  • Method io.realm.internal.Collection->nativeDelete((J J)V)
  • Method io.realm.internal.Collection->nativeDeleteFirst((J)Z)
  • Method io.realm.internal.Collection->nativeDeleteLast((J)Z)
  • Method io.realm.internal.Collection->nativeDistinct((J Lio/realm/internal/SortDescriptor;)J)
  • Method io.realm.internal.Collection->nativeFirstRow((J)J)
  • Method io.realm.internal.Collection->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.Collection->nativeGetMode((J)B)
  • Method io.realm.internal.Collection->nativeGetRow((J I)J)
  • Method io.realm.internal.Collection->nativeIndexOf((J J)J)
  • Method io.realm.internal.Collection->nativeIndexOfBySourceRowIndex((J J)J)
  • Method io.realm.internal.Collection->nativeIsValid((J)Z)
  • Method io.realm.internal.Collection->nativeLastRow((J)J)
  • Method io.realm.internal.Collection->nativeSize((J)J)
  • Method io.realm.internal.Collection->nativeSort((J Lio/realm/internal/SortDescriptor;)J)
  • Method io.realm.internal.Collection->nativeStartListening((J)V)
  • Method io.realm.internal.Collection->nativeStopListening((J)V)
  • Method io.realm.internal.Collection->nativeWhere((J)J)
  • Method io.realm.internal.CollectionChangeSet->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.LinkView->nativeAdd((J J)V)
  • Method io.realm.internal.LinkView->nativeClear((J)V)
  • Method io.realm.internal.LinkView->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.LinkView->nativeGetTargetRowIndex((J J)J)
  • Method io.realm.internal.LinkView->nativeGetTargetTable((J)J)
  • Method io.realm.internal.LinkView->nativeInsert((J J J)V)
  • Method io.realm.internal.LinkView->nativeIsAttached((J)Z)
  • Method io.realm.internal.LinkView->nativeRemove((J J)V)
  • Method io.realm.internal.LinkView->nativeSet((J J J)V)
  • Method io.realm.internal.LinkView->nativeSize((J)J)
  • Method io.realm.internal.NativeObjectReference->nativeCleanUp((J J)V)
  • Method io.realm.internal.OsObject->nativeCreate((J J)J)
  • Method io.realm.internal.OsObject->nativeCreateNewObject((J J)J)
  • Method io.realm.internal.OsObject->nativeCreateNewObjectWithLongPrimaryKey((J J J J Z)J)
  • Method io.realm.internal.OsObject->nativeCreateNewObjectWithStringPrimaryKey((J J J Ljava/lang/String;)J)
  • Method io.realm.internal.OsObject->nativeCreateRow((J J)J)
  • Method io.realm.internal.OsObject->nativeCreateRowWithLongPrimaryKey((J J J J Z)J)
  • Method io.realm.internal.OsObject->nativeCreateRowWithStringPrimaryKey((J J J Ljava/lang/String;)J)
  • Method io.realm.internal.OsObject->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsObject->nativeStartListening((J)V)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeAddProperty((J J)V)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeCreateRealmObjectSchema((Ljava/lang/String;)J)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsSchemaInfo->nativeCreateFromList(([J)J)
  • Method io.realm.internal.OsSchemaInfo->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.Property->nativeCreateProperty((Ljava/lang/String; I Ljava/lang/String;)J)
  • Method io.realm.internal.Property->nativeCreateProperty((Ljava/lang/String; I Z Z Z)J)
  • Method io.realm.internal.Property->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.SharedRealm->nativeBeginTransaction((J)V)
  • Method io.realm.internal.SharedRealm->nativeCancelTransaction((J)V)
  • Method io.realm.internal.SharedRealm->nativeCloseConfig((J)V)
  • Method io.realm.internal.SharedRealm->nativeCloseSharedRealm((J)V)
  • Method io.realm.internal.SharedRealm->nativeCommitTransaction((J)V)
  • Method io.realm.internal.SharedRealm->nativeCreateConfig((Ljava/lang/String; [B B Z Z J Z Z Lio/realm/CompactOnLaunchCallback; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Z Ljava/lang/String;)J)
  • Method io.realm.internal.SharedRealm->nativeCreateTable((J Ljava/lang/String;)J)
  • Method io.realm.internal.SharedRealm->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.SharedRealm->nativeGetSharedRealm((J Lio/realm/internal/RealmNotifier;)J)
  • Method io.realm.internal.SharedRealm->nativeGetTable((J Ljava/lang/String;)J)
  • Method io.realm.internal.SharedRealm->nativeGetVersion((J)J)
  • Method io.realm.internal.SharedRealm->nativeHasTable((J Ljava/lang/String;)Z)
  • Method io.realm.internal.SharedRealm->nativeInit((Ljava/lang/String;)V)
  • Method io.realm.internal.SharedRealm->nativeIsClosed((J)Z)
  • Method io.realm.internal.SharedRealm->nativeIsInTransaction((J)Z)
  • Method io.realm.internal.SharedRealm->nativeReadGroup((J)J)
  • Method io.realm.internal.SharedRealm->nativeSetAutoRefresh((J Z)V)
  • Method io.realm.internal.SharedRealm->nativeSetVersion((J J)V)
  • Method io.realm.internal.SharedRealm->nativeUpdateSchema((J J J)V)
  • Method io.realm.internal.Table->nativeAddColumn((J I Ljava/lang/String; Z)J)
  • Method io.realm.internal.Table->nativeAddColumnLink((J I Ljava/lang/String; J)J)
  • Method io.realm.internal.Table->nativeAddSearchIndex((J J)V)
  • Method io.realm.internal.Table->nativeConvertColumnToNotNullable((J J Z)V)
  • Method io.realm.internal.Table->nativeConvertColumnToNullable((J J Z)V)
  • Method io.realm.internal.Table->nativeFindFirstInt((J J J)J)
  • Method io.realm.internal.Table->nativeFindFirstNull((J J)J)
  • Method io.realm.internal.Table->nativeFindFirstString((J J Ljava/lang/String;)J)
  • Method io.realm.internal.Table->nativeGetColumnCount((J)J)
  • Method io.realm.internal.Table->nativeGetColumnIndex((J Ljava/lang/String;)J)
  • Method io.realm.internal.Table->nativeGetColumnName((J J)Ljava/lang/String;)
  • Method io.realm.internal.Table->nativeGetColumnType((J J)I)
  • Method io.realm.internal.Table->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.Table->nativeGetLinkTarget((J J)J)
  • Method io.realm.internal.Table->nativeGetName((J)Ljava/lang/String;)
  • Method io.realm.internal.Table->nativeHasSameSchema((J J)Z)
  • Method io.realm.internal.Table->nativeHasSearchIndex((J J)Z)
  • Method io.realm.internal.Table->nativeIsColumnNullable((J J)Z)
  • Method io.realm.internal.Table->nativeMigratePrimaryKeyTableIfNeeded((J J)Z)
  • Method io.realm.internal.Table->nativeNullifyLink((J J J)V)
  • Method io.realm.internal.Table->nativePrimaryKeyTableNeedsMigration((J)Z)
  • Method io.realm.internal.Table->nativeRemoveColumn((J J)V)
  • Method io.realm.internal.Table->nativeRemoveSearchIndex((J J)V)
  • Method io.realm.internal.Table->nativeSetBoolean((J J J Z Z)V)
  • Method io.realm.internal.Table->nativeSetDouble((J J J D Z)V)
  • Method io.realm.internal.Table->nativeSetFloat((J J J F Z)V)
  • Method io.realm.internal.Table->nativeSetLink((J J J J Z)V)
  • Method io.realm.internal.Table->nativeSetLong((J J J J Z)V)
  • Method io.realm.internal.Table->nativeSetNull((J J J Z)V)
  • Method io.realm.internal.Table->nativeSetPrimaryKey((J J Ljava/lang/String;)J)
  • Method io.realm.internal.Table->nativeSetString((J J J Ljava/lang/String; Z)V)
  • Method io.realm.internal.Table->nativeSetTimestamp((J J J J Z)V)
  • Method io.realm.internal.Table->nativeSize((J)J)
  • Method io.realm.internal.Table->nativeWhere((J)J)
  • Method io.realm.internal.Table->nativeGetRowPtr((J J)J)
  • Method io.realm.internal.TableQuery->nativeBeginsWith((J [J [J Ljava/lang/String; Z)V)
  • Method io.realm.internal.TableQuery->nativeBetweenTimestamp((J [J J J)V)
  • Method io.realm.internal.TableQuery->nativeContains((J [J [J Ljava/lang/String; Z)V)
  • Method io.realm.internal.TableQuery->nativeCount((J J J J)J)
  • Method io.realm.internal.TableQuery->nativeEndGroup((J)V)
  • Method io.realm.internal.TableQuery->nativeEqual((J [J [J D)V)
  • Method io.realm.internal.TableQuery->nativeEqual((J [J [J F)V)
  • Method io.realm.internal.TableQuery->nativeEqual((J [J [J J)V)
  • Method io.realm.internal.TableQuery->nativeEqual((J [J [J Ljava/lang/String; Z)V)
  • Method io.realm.internal.TableQuery->nativeEqual((J [J [J Z)V)
  • Method io.realm.internal.TableQuery->nativeEqualTimestamp((J [J [J J)V)
  • Method io.realm.internal.TableQuery->nativeFind((J J)J)
  • Method io.realm.internal.TableQuery->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.TableQuery->nativeGreater((J [J [J D)V)
  • Method io.realm.internal.TableQuery->nativeGreaterEqualTimestamp((J [J [J J)V)
  • Method io.realm.internal.TableQuery->nativeGroup((J)V)
  • Method io.realm.internal.TableQuery->nativeIsNotNull((J [J [J)V)
  • Method io.realm.internal.TableQuery->nativeIsNull((J [J [J)V)
  • Method io.realm.internal.TableQuery->nativeLess((J [J [J D)V)
  • Method io.realm.internal.TableQuery->nativeLessTimestamp((J [J [J J)V)
  • Method io.realm.internal.TableQuery->nativeMaximumTimestamp((J J J J J)Ljava/lang/Long;)
  • Method io.realm.internal.TableQuery->nativeMinimumTimestamp((J J J J J)Ljava/lang/Long;)
  • Method io.realm.internal.TableQuery->nativeNotEqual((J [J [J D)V)
  • Method io.realm.internal.TableQuery->nativeNotEqual((J [J [J J)V)
  • Method io.realm.internal.TableQuery->nativeNotEqual((J [J [J Ljava/lang/String; Z)V)
  • Method io.realm.internal.TableQuery->nativeOr((J)V)
  • Method io.realm.internal.TableQuery->nativeSumDouble((J J J J J)D)
  • Method io.realm.internal.TableQuery->nativeSumFloat((J J J J J)D)
  • Method io.realm.internal.TableQuery->nativeSumInt((J J J J J)J)
  • Method io.realm.internal.TableQuery->nativeValidateQuery((J)Ljava/lang/String;)
  • Method io.realm.internal.Util->nativeGetTablePrefix(()Ljava/lang/String;)
  • Method io.realm.log.RealmLog->nativeGetLogLevel(()I)
  • Method io.realm.log.RealmLog->nativeLog((I Ljava/lang/String; Ljava/lang/Throwable; Ljava/lang/String;)V)