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.SyncManager->nativeInitializeSyncManager((Ljava/lang/String;)V)
  • Method io.realm.SyncManager->nativeReconnect(()V)
  • Method io.realm.SyncManager->nativeReset(()V)
  • Method io.realm.SyncManager->nativeSimulateSyncError((Ljava/lang/String; I Ljava/lang/String; Z)V)
  • Method io.realm.SyncSession->nativeAddProgressListener((Ljava/lang/String; J I Z)J)
  • Method io.realm.SyncSession->nativeGetState((Ljava/lang/String;)B)
  • Method io.realm.SyncSession->nativeRefreshAccessToken((Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)Z)
  • Method io.realm.SyncSession->nativeRemoveProgressListener((Ljava/lang/String; J)V)
  • Method io.realm.SyncSession->nativeWaitForDownloadCompletion((I Ljava/lang/String;)Z)
  • Method io.realm.SyncSession->nativeWaitForUploadCompletion((I Ljava/lang/String;)Z)
  • Method io.realm.internal.NativeObjectReference->nativeCleanUp((J J)V)
  • Method io.realm.internal.OsObjectStore->nativeCallWithLock((Ljava/lang/String; Ljava/lang/Runnable;)Z)
  • Method io.realm.internal.OsObjectStore->nativeGetPrimaryKeyForObject((J Ljava/lang/String;)Ljava/lang/String;)
  • Method io.realm.internal.OsObjectStore->nativeGetSchemaVersion((J)J)
  • Method io.realm.internal.OsObjectStore->nativeSetSchemaVersion((J J)V)
  • 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)
  • Method io.realm.internal.OsCollectionChangeSet->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsCollectionChangeSet->nativeGetRanges((J I)[I)
  • Method io.realm.internal.OsList->nativeAddBinary((J [B)V)
  • Method io.realm.internal.OsList->nativeAddBoolean((J Z)V)
  • Method io.realm.internal.OsList->nativeAddDate((J J)V)
  • Method io.realm.internal.OsList->nativeAddDouble((J D)V)
  • Method io.realm.internal.OsList->nativeAddFloat((J F)V)
  • Method io.realm.internal.OsList->nativeAddLong((J J)V)
  • Method io.realm.internal.OsList->nativeAddNull((J)V)
  • Method io.realm.internal.OsList->nativeAddRow((J J)V)
  • Method io.realm.internal.OsList->nativeAddString((J Ljava/lang/String;)V)
  • Method io.realm.internal.OsList->nativeCreate((J J J)[J)
  • Method io.realm.internal.OsList->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsList->nativeGetRow((J J)J)
  • Method io.realm.internal.OsList->nativeGetValue((J J)Ljava/lang/Object;)
  • Method io.realm.internal.OsList->nativeInsertBinary((J J [B)V)
  • Method io.realm.internal.OsList->nativeInsertBoolean((J J Z)V)
  • Method io.realm.internal.OsList->nativeInsertDate((J J J)V)
  • Method io.realm.internal.OsList->nativeInsertDouble((J J D)V)
  • Method io.realm.internal.OsList->nativeInsertFloat((J J F)V)
  • Method io.realm.internal.OsList->nativeInsertLong((J J J)V)
  • Method io.realm.internal.OsList->nativeInsertNull((J J)V)
  • Method io.realm.internal.OsList->nativeInsertRow((J J J)V)
  • Method io.realm.internal.OsList->nativeInsertString((J J Ljava/lang/String;)V)
  • Method io.realm.internal.OsList->nativeIsValid((J)Z)
  • Method io.realm.internal.OsList->nativeRemove((J J)V)
  • Method io.realm.internal.OsList->nativeRemoveAll((J)V)
  • Method io.realm.internal.OsList->nativeSetBinary((J J [B)V)
  • Method io.realm.internal.OsList->nativeSetBoolean((J J Z)V)
  • Method io.realm.internal.OsList->nativeSetDate((J J J)V)
  • Method io.realm.internal.OsList->nativeSetDouble((J J D)V)
  • Method io.realm.internal.OsList->nativeSetFloat((J J F)V)
  • Method io.realm.internal.OsList->nativeSetLong((J J J)V)
  • Method io.realm.internal.OsList->nativeSetNull((J J)V)
  • Method io.realm.internal.OsList->nativeSetRow((J J J)V)
  • Method io.realm.internal.OsList->nativeSetString((J J Ljava/lang/String;)V)
  • Method io.realm.internal.OsList->nativeSize((J)J)
  • 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->nativeGetObjectIdColumName(()Ljava/lang/String;)
  • Method io.realm.internal.OsObject->nativeStartListening((J)V)
  • Method io.realm.internal.OsObject->nativeStopListening((J)V)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeAddProperties((J [J [J)V)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeCreateRealmObjectSchema((Ljava/lang/String;)J)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeGetPrimaryKeyProperty((J)J)
  • Method io.realm.internal.OsObjectSchemaInfo->nativeGetProperty((J Ljava/lang/String;)J)
  • Method io.realm.internal.OsRealmConfig->nativeCreate((Ljava/lang/String; Z Z)J)
  • Method io.realm.internal.OsRealmConfig->nativeCreateAndSetSyncConfig((J Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Z B)Ljava/lang/String;)
  • Method io.realm.internal.OsRealmConfig->nativeEnableChangeNotification((J Z)V)
  • Method io.realm.internal.OsRealmConfig->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsRealmConfig->nativeSetCompactOnLaunchCallback((J Lio/realm/CompactOnLaunchCallback;)V)
  • Method io.realm.internal.OsRealmConfig->nativeSetEncryptionKey((J [B)V)
  • Method io.realm.internal.OsRealmConfig->nativeSetInMemory((J Z)V)
  • Method io.realm.internal.OsRealmConfig->nativeSetInitializationCallback((J Lio/realm/internal/OsSharedRealm$InitializationCallback;)V)
  • Method io.realm.internal.OsRealmConfig->nativeSetSchemaConfig((J B J J Lio/realm/internal/OsSharedRealm$MigrationCallback;)V)
  • Method io.realm.internal.OsRealmConfig->nativeSetSyncConfigSslSettings((J Z Ljava/lang/String;)V)
  • Method io.realm.internal.OsResults->nativeClear((J)V)
  • Method io.realm.internal.OsResults->nativeCreateResults((J J Lio/realm/internal/SortDescriptor; Lio/realm/internal/SortDescriptor;)J)
  • Method io.realm.internal.OsResults->nativeCreateSnapshot((J)J)
  • Method io.realm.internal.OsResults->nativeEvaluateQueryIfNeeded((J Z)V)
  • Method io.realm.internal.OsResults->nativeFirstRow((J)J)
  • Method io.realm.internal.OsResults->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsResults->nativeGetMode((J)B)
  • Method io.realm.internal.OsResults->nativeGetRow((J I)J)
  • Method io.realm.internal.OsResults->nativeIsValid((J)Z)
  • Method io.realm.internal.OsResults->nativeSize((J)J)
  • Method io.realm.internal.OsResults->nativeStopListening((J)V)
  • Method io.realm.internal.OsSchemaInfo->nativeCreateFromList(([J)J)
  • Method io.realm.internal.OsSchemaInfo->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsSchemaInfo->nativeGetObjectSchemaInfo((J Ljava/lang/String;)J)
  • Method io.realm.internal.OsSharedRealm->nativeBeginTransaction((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeCancelTransaction((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeCloseSharedRealm((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeCommitTransaction((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeCompact((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeCreateTable((J Ljava/lang/String;)J)
  • Method io.realm.internal.OsSharedRealm->nativeCreateTableWithPrimaryKeyField((J Ljava/lang/String; Ljava/lang/String; Z Z)J)
  • Method io.realm.internal.OsSharedRealm->nativeGetClassPrivileges((J Ljava/lang/String;)I)
  • Method io.realm.internal.OsSharedRealm->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.OsSharedRealm->nativeGetObjectPrivileges((J J)I)
  • Method io.realm.internal.OsSharedRealm->nativeGetRealmPrivileges((J)I)
  • Method io.realm.internal.OsSharedRealm->nativeGetSchemaInfo((J)J)
  • Method io.realm.internal.OsSharedRealm->nativeGetSharedRealm((J Lio/realm/internal/RealmNotifier;)J)
  • Method io.realm.internal.OsSharedRealm->nativeGetTable((J Ljava/lang/String;)J)
  • Method io.realm.internal.OsSharedRealm->nativeGetTableName((J I)Ljava/lang/String;)
  • Method io.realm.internal.OsSharedRealm->nativeGetVersionID((J)[J)
  • Method io.realm.internal.OsSharedRealm->nativeHasTable((J Ljava/lang/String;)Z)
  • Method io.realm.internal.OsSharedRealm->nativeInit((Ljava/lang/String;)V)
  • Method io.realm.internal.OsSharedRealm->nativeIsAutoRefresh((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeIsClosed((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeIsEmpty((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeIsInTransaction((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeIsPartial((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeRefresh((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeRegisterSchemaChangedCallback((J Lio/realm/internal/OsSharedRealm$SchemaChangedCallback;)V)
  • Method io.realm.internal.OsSharedRealm->nativeRenameTable((J Ljava/lang/String; Ljava/lang/String;)V)
  • Method io.realm.internal.OsSharedRealm->nativeSetAutoRefresh((J Z)V)
  • Method io.realm.internal.OsSharedRealm->nativeSize((J)J)
  • Method io.realm.internal.OsSharedRealm->nativeStopWaitForChange((J)V)
  • Method io.realm.internal.OsSharedRealm->nativeWaitForChange((J)Z)
  • Method io.realm.internal.OsSharedRealm->nativeWriteCopy((J Ljava/lang/String; [B)V)
  • Method io.realm.internal.Property->nativeCreateComputedLinkProperty((Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)J)
  • Method io.realm.internal.Property->nativeCreatePersistedLinkProperty((Ljava/lang/String; I Ljava/lang/String;)J)
  • Method io.realm.internal.Property->nativeCreatePersistedProperty((Ljava/lang/String; I Z Z)J)
  • Method io.realm.internal.Property->nativeGetColumnIndex((J)J)
  • Method io.realm.internal.Property->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.Property->nativeGetLinkedObjectName((J)Ljava/lang/String;)
  • Method io.realm.internal.Property->nativeGetType((J)I)
  • 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->nativeMigratePrimaryKeyTableIfNeeded((J)V)
  • Method io.realm.internal.Table->nativeNullifyLink((J J J)V)
  • Method io.realm.internal.Table->nativeSetBoolean((J J J Z 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->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->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->nativeFind((J J)J)
  • Method io.realm.internal.TableQuery->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.TableQuery->nativeIsNull((J [J [J)V)
  • Method io.realm.internal.TableQuery->nativeMaximumDouble((J J J J J)Ljava/lang/Double;)
  • Method io.realm.internal.TableQuery->nativeMaximumFloat((J J J J J)Ljava/lang/Float;)
  • Method io.realm.internal.TableQuery->nativeMaximumInt((J J J J J)Ljava/lang/Long;)
  • Method io.realm.internal.TableQuery->nativeValidateQuery((J)Ljava/lang/String;)
  • 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->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->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.sync.OsSubscription->nativeCreate((J Ljava/lang/String;)J)
  • Method io.realm.internal.sync.OsSubscription->nativeGetError((J)Ljava/lang/Object;)
  • Method io.realm.internal.sync.OsSubscription->nativeGetFinalizerPtr(()J)
  • Method io.realm.internal.sync.OsSubscription->nativeGetState((J)I)
  • Method io.realm.internal.sync.OsSubscription->nativeStartListening((J)V)
  • Method org.vudroid.pdfdroid.codec.PdfDocument->free((J)V)
  • Method org.vudroid.pdfdroid.codec.PdfDocument->getPageCount((J)I)
  • Method org.vudroid.pdfdroid.codec.PdfDocument->open((I Ljava/lang/String; Ljava/lang/String;)J)
  • Method org.vudroid.pdfdroid.codec.PdfPage->free((J)V)
  • Method org.vudroid.pdfdroid.codec.PdfPage->getMediaBox((J [F)V)
  • Method org.vudroid.pdfdroid.codec.PdfPage->nativeCreateView((J J [I [F [I)V)
  • Method org.vudroid.pdfdroid.codec.PdfPage->open((J I)J)
  • 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->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->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)