chromium/third_party/jni_zero/test/golden/testNonProxy-SampleNonProxy_jni.h.golden

// This file was generated by
//     //third_party/jni_zero/jni_zero.py
// For
//     org.jni_zero.SampleNonProxy

#ifndef org_jni_1zero_SampleNonProxy_JNI
#define org_jni_1zero_SampleNonProxy_JNI

#include <jni.h>

#include "third_party/jni_zero/jni_export.h"
#include "third_party/jni_zero/jni_zero_helper.h"
// Java to native functions
// Forward declaration. To be implemented by the including .cc file.
static jlong JNI_SampleNonProxy_AddBookmark(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint nativeChromeBrowserProvider,
    const jni_zero::JavaParamRef<jstring>& url,
    const jni_zero::JavaParamRef<jstring>& title,
    jboolean isFolder,
    jlong parentId);

JNI_POSSIBLE_BOUNDARY_EXPORT jlong Java_org_jni_1zero_SampleNonProxy_nativeAddBookmark(
    JNIEnv* env,
    jobject jcaller,
    jint nativeChromeBrowserProvider,
    jstring url,
    jstring title,
    jboolean isFolder,
    jlong parentId) {
  auto _ret = JNI_SampleNonProxy_AddBookmark(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      nativeChromeBrowserProvider,
      jni_zero::JavaParamRef<jstring>(env, url),
      jni_zero::JavaParamRef<jstring>(env, title),
      isFolder,
      parentId);
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static jlong JNI_SampleNonProxy_AddBookmarkFromAPI(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint nativeChromeBrowserProvider,
    const jni_zero::JavaParamRef<jstring>& url,
    const jni_zero::JavaParamRef<jobject>& created,
    const jni_zero::JavaParamRef<jobject>& isBookmark,
    const jni_zero::JavaParamRef<jobject>& date,
    const jni_zero::JavaParamRef<jbyteArray>& favicon,
    const jni_zero::JavaParamRef<jstring>& title,
    const jni_zero::JavaParamRef<jobject>& visits);

JNI_POSSIBLE_BOUNDARY_EXPORT jlong Java_org_jni_1zero_SampleNonProxy_nativeAddBookmarkFromAPI(
    JNIEnv* env,
    jobject jcaller,
    jint nativeChromeBrowserProvider,
    jstring url,
    jobject created,
    jobject isBookmark,
    jobject date,
    jbyteArray favicon,
    jstring title,
    jobject visits) {
  auto _ret = JNI_SampleNonProxy_AddBookmarkFromAPI(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      nativeChromeBrowserProvider,
      jni_zero::JavaParamRef<jstring>(env, url),
      jni_zero::JavaParamRef<jobject>(env, created),
      jni_zero::JavaParamRef<jobject>(env, isBookmark),
      jni_zero::JavaParamRef<jobject>(env, date),
      jni_zero::JavaParamRef<jbyteArray>(env, favicon),
      jni_zero::JavaParamRef<jstring>(env, title),
      jni_zero::JavaParamRef<jobject>(env, visits));
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static void JNI_SampleNonProxy_CreateHistoricalTabFromState(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jbyteArray>& state,
    jint tabIndex);

JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleNonProxy_nativeCreateHistoricalTabFromState(
    JNIEnv* env,
    jclass jcaller,
    jbyteArray state,
    jint tabIndex) {
  JNI_SampleNonProxy_CreateHistoricalTabFromState(
      env,
      jni_zero::JavaParamRef<jbyteArray>(env, state),
      tabIndex);
}

// Forward declaration. To be implemented by the including .cc file.
static void JNI_SampleNonProxy_Destroy(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint nativeChromeBrowserProvider);

JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleNonProxy_nativeDestroy(
    JNIEnv* env,
    jobject jcaller,
    jint nativeChromeBrowserProvider) {
  JNI_SampleNonProxy_Destroy(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      nativeChromeBrowserProvider);
}

// Forward declaration. To be implemented by the including .cc file.
static jint JNI_SampleNonProxy_FindAll(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    const jni_zero::JavaParamRef<jstring>& find);

JNI_POSSIBLE_BOUNDARY_EXPORT jint Java_org_jni_1zero_SampleNonProxy_nativeFindAll(
    JNIEnv* env,
    jobject jcaller,
    jstring find) {
  auto _ret = JNI_SampleNonProxy_FindAll(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      jni_zero::JavaParamRef<jstring>(env, find));
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jobjectArray> JNI_SampleNonProxy_GetAutofillProfileGUIDs(
    JNIEnv* env);

JNI_POSSIBLE_BOUNDARY_EXPORT jobjectArray Java_org_jni_1zero_SampleNonProxy_nativeGetAutofillProfileGUIDs(
    JNIEnv* env,
    jclass jcaller) {
  auto _ret = JNI_SampleNonProxy_GetAutofillProfileGUIDs(env);
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jstring> JNI_SampleNonProxy_GetDomainAndRegistry(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jstring>& url);

JNI_POSSIBLE_BOUNDARY_EXPORT jstring Java_org_jni_1zero_SampleNonProxy_nativeGetDomainAndRegistry(
    JNIEnv* env,
    jclass jcaller,
    jstring url) {
  auto _ret = JNI_SampleNonProxy_GetDomainAndRegistry(
      env,
      jni_zero::JavaParamRef<jstring>(env, url));
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jobject> JNI_SampleNonProxy_GetInnerClass(
    JNIEnv* env);

JNI_POSSIBLE_BOUNDARY_EXPORT jobject Java_org_jni_1zero_SampleNonProxy_nativeGetInnerClass(
    JNIEnv* env,
    jclass jcaller) {
  auto _ret = JNI_SampleNonProxy_GetInnerClass(env);
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jbyteArray> JNI_SampleNonProxy_GetStateAsByteArray(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    const jni_zero::JavaParamRef<jobject>& view);

JNI_POSSIBLE_BOUNDARY_EXPORT jbyteArray Java_org_jni_1zero_SampleNonProxy_nativeGetStateAsByteArray(
    JNIEnv* env,
    jobject jcaller,
    jobject view) {
  auto _ret = JNI_SampleNonProxy_GetStateAsByteArray(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      jni_zero::JavaParamRef<jobject>(env, view));
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static void JNI_SampleNonProxy_GotOrientation(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint nativeDataFetcherImplAndroid,
    jdouble alpha,
    jdouble beta,
    jdouble gamma);

JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleNonProxy_nativeGotOrientation(
    JNIEnv* env,
    jobject jcaller,
    jint nativeDataFetcherImplAndroid,
    jdouble alpha,
    jdouble beta,
    jdouble gamma) {
  JNI_SampleNonProxy_GotOrientation(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      nativeDataFetcherImplAndroid,
      alpha,
      beta,
      gamma);
}

// Forward declaration. To be implemented by the including .cc file.
static jint JNI_SampleNonProxy_Init(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller);

JNI_POSSIBLE_BOUNDARY_EXPORT jint Java_org_jni_1zero_SampleNonProxy_nativeInit(
    JNIEnv* env,
    jobject jcaller) {
  auto _ret = JNI_SampleNonProxy_Init(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller));
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static jint JNI_SampleNonProxy_Init(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller);

JNI_POSSIBLE_BOUNDARY_EXPORT jint Java_org_jni_1zero_SampleNonProxy_nativeInit(
    JNIEnv* env,
    jobject jcaller) {
  auto _ret = JNI_SampleNonProxy_Init(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller));
  return _ret;
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jthrowable> JNI_SampleNonProxy_MessWithJavaException(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jthrowable>& e);

JNI_POSSIBLE_BOUNDARY_EXPORT jthrowable Java_org_jni_1zero_SampleNonProxy_nativeMessWithJavaException(
    JNIEnv* env,
    jclass jcaller,
    jthrowable e) {
  auto _ret = JNI_SampleNonProxy_MessWithJavaException(
      env,
      jni_zero::JavaParamRef<jthrowable>(env, e));
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static jni_zero::ScopedJavaLocalRef<jobject> JNI_SampleNonProxy_QueryBitmap(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint nativeChromeBrowserProvider,
    const jni_zero::JavaParamRef<jobjectArray>& projection,
    const jni_zero::JavaParamRef<jstring>& selection,
    const jni_zero::JavaParamRef<jobjectArray>& selectionArgs,
    const jni_zero::JavaParamRef<jstring>& sortOrder);

JNI_POSSIBLE_BOUNDARY_EXPORT jobject Java_org_jni_1zero_SampleNonProxy_nativeQueryBitmap(
    JNIEnv* env,
    jobject jcaller,
    jint nativeChromeBrowserProvider,
    jobjectArray projection,
    jstring selection,
    jobjectArray selectionArgs,
    jstring sortOrder) {
  auto _ret = JNI_SampleNonProxy_QueryBitmap(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      nativeChromeBrowserProvider,
      jni_zero::JavaParamRef<jobjectArray>(env, projection),
      jni_zero::JavaParamRef<jstring>(env, selection),
      jni_zero::JavaParamRef<jobjectArray>(env, selectionArgs),
      jni_zero::JavaParamRef<jstring>(env, sortOrder));
  return _ret.ReleaseLocal();
}

// Forward declaration. To be implemented by the including .cc file.
static void JNI_SampleNonProxy_SetRecognitionResults(
    JNIEnv* env,
    const jni_zero::JavaParamRef<jobject>& jcaller,
    jint sessionId,
    const jni_zero::JavaParamRef<jobjectArray>& results);

JNI_POSSIBLE_BOUNDARY_EXPORT void Java_org_jni_1zero_SampleNonProxy_nativeSetRecognitionResults(
    JNIEnv* env,
    jobject jcaller,
    jint sessionId,
    jobjectArray results) {
  JNI_SampleNonProxy_SetRecognitionResults(
      env,
      jni_zero::JavaParamRef<jobject>(env, jcaller),
      sessionId,
      jni_zero::JavaParamRef<jobjectArray>(env, results));
}


#endif  // org_jni_1zero_SampleNonProxy_JNI