// Autogenerated by jnigen. DO NOT EDIT!

#include <stdint.h>
#include "dartjni.h"
#include "jni.h"

thread_local JNIEnv* jniEnv;
JniContext* jni;

JniContext* (*context_getter)(void);
JNIEnv* (*env_getter)(void);

void setJniGetters(JniContext* (*cg)(void), JNIEnv* (*eg)(void)) {
  context_getter = cg;
  env_getter = eg;
}

// androidx.health.connect.client.HealthConnectClient$Companion
jclass _c_HealthConnectClient_Companion = NULL;

jmethodID _m_HealthConnectClient_Companion__isAvailable = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient_Companion__isAvailable(jobject self_,
                                                     jobject context,
                                                     jobject list) {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient_Companion,
              &_m_HealthConnectClient_Companion__isAvailable, "isAvailable",
              "(Landroid/content/Context;Ljava/util/List;)Z");
  if (_m_HealthConnectClient_Companion__isAvailable == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_HealthConnectClient_Companion__isAvailable, context,
      list);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_HealthConnectClient_Companion__getOrCreate = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient_Companion__getOrCreate(jobject self_,
                                                     jobject context,
                                                     jobject list) {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient_Companion,
              &_m_HealthConnectClient_Companion__getOrCreate, "getOrCreate",
              "(Landroid/content/Context;Ljava/util/List;)Landroidx/health/"
              "connect/client/HealthConnectClient;");
  if (_m_HealthConnectClient_Companion__getOrCreate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient_Companion__getOrCreate, context,
      list);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient_Companion__isAvailable1 = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient_Companion__isAvailable1(jobject self_,
                                                      jobject context) {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient_Companion,
              &_m_HealthConnectClient_Companion__isAvailable1, "isAvailable",
              "(Landroid/content/Context;)Z");
  if (_m_HealthConnectClient_Companion__isAvailable1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_HealthConnectClient_Companion__isAvailable1, context);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_HealthConnectClient_Companion__getOrCreate1 = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient_Companion__getOrCreate1(jobject self_,
                                                      jobject context) {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient_Companion,
              &_m_HealthConnectClient_Companion__getOrCreate1, "getOrCreate",
              "(Landroid/content/Context;)Landroidx/health/connect/client/"
              "HealthConnectClient;");
  if (_m_HealthConnectClient_Companion__getOrCreate1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient_Companion__getOrCreate1, context);
  return to_global_ref_result(_result);
}

jfieldID _f_HealthConnectClient_Companion__DEFAULT_PROVIDER_PACKAGE_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_HealthConnectClient_Companion__DEFAULT_PROVIDER_PACKAGE_NAME() {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_HealthConnectClient_Companion,
      &_f_HealthConnectClient_Companion__DEFAULT_PROVIDER_PACKAGE_NAME,
      "DEFAULT_PROVIDER_PACKAGE_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_HealthConnectClient_Companion,
      _f_HealthConnectClient_Companion__DEFAULT_PROVIDER_PACKAGE_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_HealthConnectClient_Companion__HEALTH_CONNECT_CLIENT_TAG = NULL;
FFI_PLUGIN_EXPORT
JniResult get_HealthConnectClient_Companion__HEALTH_CONNECT_CLIENT_TAG() {
  load_env();
  load_class_global_ref(
      &_c_HealthConnectClient_Companion,
      "androidx/health/connect/client/HealthConnectClient$Companion");
  if (_c_HealthConnectClient_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_HealthConnectClient_Companion,
      &_f_HealthConnectClient_Companion__HEALTH_CONNECT_CLIENT_TAG,
      "HEALTH_CONNECT_CLIENT_TAG", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_HealthConnectClient_Companion,
      _f_HealthConnectClient_Companion__HEALTH_CONNECT_CLIENT_TAG);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.HealthConnectClient
jclass _c_HealthConnectClient = NULL;

jmethodID _m_HealthConnectClient__getPermissionController = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__getPermissionController(jobject self_) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient,
              &_m_HealthConnectClient__getPermissionController,
              "getPermissionController",
              "()Landroidx/health/connect/client/PermissionController;");
  if (_m_HealthConnectClient__getPermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__getPermissionController);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__insertRecords = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__insertRecords(jobject self_,
                                             jobject list,
                                             jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__insertRecords,
      "insertRecords",
      "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__insertRecords == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__insertRecords, list, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__updateRecords = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__updateRecords(jobject self_,
                                             jobject list,
                                             jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__updateRecords,
      "updateRecords",
      "(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__updateRecords == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__updateRecords, list, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__deleteRecords = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__deleteRecords(jobject self_,
                                             jobject kClass,
                                             jobject list,
                                             jobject list1,
                                             jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient, &_m_HealthConnectClient__deleteRecords,
              "deleteRecords",
              "(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/"
              "coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__deleteRecords == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__deleteRecords, kClass, list, list1,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__deleteRecords1 = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__deleteRecords1(jobject self_,
                                              jobject kClass,
                                              jobject timeRangeFilter,
                                              jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__deleteRecords1,
      "deleteRecords",
      "(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/"
      "TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__deleteRecords1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__deleteRecords1, kClass,
      timeRangeFilter, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__readRecord = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__readRecord(jobject self_,
                                          jobject kClass,
                                          jobject string,
                                          jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient, &_m_HealthConnectClient__readRecord,
              "readRecord",
              "(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/"
              "Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__readRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__readRecord, kClass, string,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__readRecords = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__readRecords(jobject self_,
                                           jobject readRecordsRequest,
                                           jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__readRecords,
      "readRecords",
      "(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/"
      "coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__readRecords == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__readRecords, readRecordsRequest,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__aggregate = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__aggregate(jobject self_,
                                         jobject aggregateRequest,
                                         jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__aggregate, "aggregate",
      "(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/"
      "coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__aggregate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__aggregate, aggregateRequest,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__aggregateGroupByDuration = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__aggregateGroupByDuration(
    jobject self_,
    jobject aggregateGroupByDurationRequest,
    jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient,
              &_m_HealthConnectClient__aggregateGroupByDuration,
              "aggregateGroupByDuration",
              "(Landroidx/health/connect/client/request/"
              "AggregateGroupByDurationRequest;Lkotlin/coroutines/"
              "Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__aggregateGroupByDuration == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__aggregateGroupByDuration,
      aggregateGroupByDurationRequest, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__aggregateGroupByPeriod = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__aggregateGroupByPeriod(
    jobject self_,
    jobject aggregateGroupByPeriodRequest,
    jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient,
              &_m_HealthConnectClient__aggregateGroupByPeriod,
              "aggregateGroupByPeriod",
              "(Landroidx/health/connect/client/request/"
              "AggregateGroupByPeriodRequest;Lkotlin/coroutines/"
              "Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__aggregateGroupByPeriod == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__aggregateGroupByPeriod,
      aggregateGroupByPeriodRequest, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__getChangesToken = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__getChangesToken(jobject self_,
                                               jobject changesTokenRequest,
                                               jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__getChangesToken,
      "getChangesToken",
      "(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/"
      "coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__getChangesToken == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__getChangesToken,
      changesTokenRequest, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__registerForDataNotifications = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__registerForDataNotifications(
    jobject self_,
    jobject string,
    jobject iterable,
    jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_HealthConnectClient,
              &_m_HealthConnectClient__registerForDataNotifications,
              "registerForDataNotifications",
              "(Ljava/lang/String;Ljava/lang/Iterable;Lkotlin/coroutines/"
              "Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__registerForDataNotifications == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__registerForDataNotifications,
      string, iterable, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__unregisterFromDataNotifications = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__unregisterFromDataNotifications(
    jobject self_,
    jobject string,
    jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient,
      &_m_HealthConnectClient__unregisterFromDataNotifications,
      "unregisterFromDataNotifications",
      "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__unregisterFromDataNotifications == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__unregisterFromDataNotifications,
      string, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__getChanges = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__getChanges(jobject self_,
                                          jobject string,
                                          jobject continuation) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_HealthConnectClient, &_m_HealthConnectClient__getChanges, "getChanges",
      "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_HealthConnectClient__getChanges == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_HealthConnectClient__getChanges, string, continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__isAvailable = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__isAvailable(jobject context, jobject list) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_HealthConnectClient,
                     &_m_HealthConnectClient__isAvailable, "isAvailable",
                     "(Landroid/content/Context;Ljava/util/List;)Z");
  if (_m_HealthConnectClient__isAvailable == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallStaticBooleanMethod(
      jniEnv, _c_HealthConnectClient, _m_HealthConnectClient__isAvailable,
      context, list);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_HealthConnectClient__getOrCreate = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__getOrCreate(jobject context, jobject list) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_HealthConnectClient,
                     &_m_HealthConnectClient__getOrCreate, "getOrCreate",
                     "(Landroid/content/Context;Ljava/util/List;)Landroidx/"
                     "health/connect/client/HealthConnectClient;");
  if (_m_HealthConnectClient__getOrCreate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_HealthConnectClient, _m_HealthConnectClient__getOrCreate,
      context, list);
  return to_global_ref_result(_result);
}

jmethodID _m_HealthConnectClient__isAvailable1 = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__isAvailable1(jobject context) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_HealthConnectClient,
                     &_m_HealthConnectClient__isAvailable1, "isAvailable",
                     "(Landroid/content/Context;)Z");
  if (_m_HealthConnectClient__isAvailable1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallStaticBooleanMethod(
      jniEnv, _c_HealthConnectClient, _m_HealthConnectClient__isAvailable1,
      context);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_HealthConnectClient__getOrCreate1 = NULL;
FFI_PLUGIN_EXPORT
JniResult HealthConnectClient__getOrCreate1(jobject context) {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_HealthConnectClient,
                     &_m_HealthConnectClient__getOrCreate1, "getOrCreate",
                     "(Landroid/content/Context;)Landroidx/health/connect/"
                     "client/HealthConnectClient;");
  if (_m_HealthConnectClient__getOrCreate1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_HealthConnectClient, _m_HealthConnectClient__getOrCreate1,
      context);
  return to_global_ref_result(_result);
}

jfieldID _f_HealthConnectClient__Companion = NULL;
FFI_PLUGIN_EXPORT
JniResult get_HealthConnectClient__Companion() {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_HealthConnectClient, &_f_HealthConnectClient__Companion, "Companion",
      "Landroidx/health/connect/client/HealthConnectClient$Companion;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_HealthConnectClient, _f_HealthConnectClient__Companion);
  return to_global_ref_result(_result);
}

jfieldID _f_HealthConnectClient__DEFAULT_PROVIDER_PACKAGE_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_HealthConnectClient__DEFAULT_PROVIDER_PACKAGE_NAME() {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_HealthConnectClient,
                    &_f_HealthConnectClient__DEFAULT_PROVIDER_PACKAGE_NAME,
                    "DEFAULT_PROVIDER_PACKAGE_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_HealthConnectClient,
      _f_HealthConnectClient__DEFAULT_PROVIDER_PACKAGE_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_HealthConnectClient__HEALTH_CONNECT_CLIENT_TAG = NULL;
FFI_PLUGIN_EXPORT
JniResult get_HealthConnectClient__HEALTH_CONNECT_CLIENT_TAG() {
  load_env();
  load_class_global_ref(&_c_HealthConnectClient,
                        "androidx/health/connect/client/HealthConnectClient");
  if (_c_HealthConnectClient == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_HealthConnectClient,
                    &_f_HealthConnectClient__HEALTH_CONNECT_CLIENT_TAG,
                    "HEALTH_CONNECT_CLIENT_TAG", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_HealthConnectClient,
      _f_HealthConnectClient__HEALTH_CONNECT_CLIENT_TAG);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.PermissionController$Companion
jclass _c_PermissionController_Companion = NULL;

jmethodID
    _m_PermissionController_Companion__createRequestPermissionResultContract =
        NULL;
FFI_PLUGIN_EXPORT
JniResult PermissionController_Companion__createRequestPermissionResultContract(
    jobject self_,
    jobject string) {
  load_env();
  load_class_global_ref(
      &_c_PermissionController_Companion,
      "androidx/health/connect/client/PermissionController$Companion");
  if (_c_PermissionController_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_PermissionController_Companion,
      &_m_PermissionController_Companion__createRequestPermissionResultContract,
      "createRequestPermissionResultContract",
      "(Ljava/lang/String;)Landroidx/activity/result/contract/"
      "ActivityResultContract;");
  if (_m_PermissionController_Companion__createRequestPermissionResultContract ==
      NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_,
      _m_PermissionController_Companion__createRequestPermissionResultContract,
      string);
  return to_global_ref_result(_result);
}

jmethodID
    _m_PermissionController_Companion__createRequestPermissionResultContract1 =
        NULL;
FFI_PLUGIN_EXPORT
JniResult
PermissionController_Companion__createRequestPermissionResultContract1(
    jobject self_) {
  load_env();
  load_class_global_ref(
      &_c_PermissionController_Companion,
      "androidx/health/connect/client/PermissionController$Companion");
  if (_c_PermissionController_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_PermissionController_Companion,
      &_m_PermissionController_Companion__createRequestPermissionResultContract1,
      "createRequestPermissionResultContract",
      "()Landroidx/activity/result/contract/ActivityResultContract;");
  if (_m_PermissionController_Companion__createRequestPermissionResultContract1 ==
      NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_,
      _m_PermissionController_Companion__createRequestPermissionResultContract1);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.PermissionController
jclass _c_PermissionController = NULL;

jmethodID _m_PermissionController__getGrantedPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult PermissionController__getGrantedPermissions(jobject self_,
                                                      jobject set,
                                                      jobject continuation) {
  load_env();
  load_class_global_ref(&_c_PermissionController,
                        "androidx/health/connect/client/PermissionController");
  if (_c_PermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_PermissionController, &_m_PermissionController__getGrantedPermissions,
      "getGrantedPermissions",
      "(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_PermissionController__getGrantedPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_PermissionController__getGrantedPermissions, set,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_PermissionController__revokeAllPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult PermissionController__revokeAllPermissions(jobject self_,
                                                     jobject continuation) {
  load_env();
  load_class_global_ref(&_c_PermissionController,
                        "androidx/health/connect/client/PermissionController");
  if (_c_PermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_PermissionController,
              &_m_PermissionController__revokeAllPermissions,
              "revokeAllPermissions",
              "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;");
  if (_m_PermissionController__revokeAllPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_PermissionController__revokeAllPermissions,
      continuation);
  return to_global_ref_result(_result);
}

jmethodID _m_PermissionController__createRequestPermissionResultContract = NULL;
FFI_PLUGIN_EXPORT
JniResult PermissionController__createRequestPermissionResultContract(
    jobject string) {
  load_env();
  load_class_global_ref(&_c_PermissionController,
                        "androidx/health/connect/client/PermissionController");
  if (_c_PermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_PermissionController,
      &_m_PermissionController__createRequestPermissionResultContract,
      "createRequestPermissionResultContract",
      "(Ljava/lang/String;)Landroidx/activity/result/contract/"
      "ActivityResultContract;");
  if (_m_PermissionController__createRequestPermissionResultContract == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_PermissionController,
      _m_PermissionController__createRequestPermissionResultContract, string);
  return to_global_ref_result(_result);
}

jmethodID _m_PermissionController__createRequestPermissionResultContract1 =
    NULL;
FFI_PLUGIN_EXPORT
JniResult PermissionController__createRequestPermissionResultContract1() {
  load_env();
  load_class_global_ref(&_c_PermissionController,
                        "androidx/health/connect/client/PermissionController");
  if (_c_PermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_PermissionController,
      &_m_PermissionController__createRequestPermissionResultContract1,
      "createRequestPermissionResultContract",
      "()Landroidx/activity/result/contract/ActivityResultContract;");
  if (_m_PermissionController__createRequestPermissionResultContract1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_PermissionController,
      _m_PermissionController__createRequestPermissionResultContract1);
  return to_global_ref_result(_result);
}

jfieldID _f_PermissionController__Companion = NULL;
FFI_PLUGIN_EXPORT
JniResult get_PermissionController__Companion() {
  load_env();
  load_class_global_ref(&_c_PermissionController,
                        "androidx/health/connect/client/PermissionController");
  if (_c_PermissionController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_PermissionController, &_f_PermissionController__Companion, "Companion",
      "Landroidx/health/connect/client/PermissionController$Companion;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_PermissionController, _f_PermissionController__Companion);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.records.StepsRecord$Companion
jclass _c_StepsRecord_Companion = NULL;

jmethodID _m_StepsRecord_Companion__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord_Companion__new0(jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_StepsRecord_Companion,
      "androidx/health/connect/client/records/StepsRecord$Companion");
  if (_c_StepsRecord_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord_Companion, &_m_StepsRecord_Companion__new0,
              "<init>", "(Lkotlin/jvm/internal/DefaultConstructorMarker;)V");
  if (_m_StepsRecord_Companion__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_StepsRecord_Companion,
                                         _m_StepsRecord_Companion__new0,
                                         defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.records.StepsRecord
jclass _c_StepsRecord = NULL;

jmethodID _m_StepsRecord__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__new0(int64_t j,
                            jobject instant,
                            jobject zoneOffset,
                            jobject instant1,
                            jobject zoneOffset1,
                            jobject metadata) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__new0, "<init>",
              "(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/"
              "Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/"
              "records/metadata/Metadata;)V");
  if (_m_StepsRecord__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_StepsRecord, _m_StepsRecord__new0, j, instant, zoneOffset,
      instant1, zoneOffset1, metadata);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__new1(int64_t j,
                            jobject instant,
                            jobject zoneOffset,
                            jobject instant1,
                            jobject zoneOffset1,
                            jobject metadata,
                            int32_t i,
                            jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_StepsRecord, &_m_StepsRecord__new1, "<init>",
      "(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/"
      "time/ZoneOffset;Landroidx/health/connect/client/records/metadata/"
      "Metadata;ILkotlin/jvm/internal/DefaultConstructorMarker;)V");
  if (_m_StepsRecord__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_StepsRecord, _m_StepsRecord__new1, j, instant, zoneOffset,
      instant1, zoneOffset1, metadata, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__getCount = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getCount(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getCount, "getCount", "()J");
  if (_m_StepsRecord__getCount == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result =
      (*jniEnv)->CallLongMethod(jniEnv, self_, _m_StepsRecord__getCount);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_StepsRecord__getStartTime = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getStartTime(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getStartTime, "getStartTime",
              "()Ljava/time/Instant;");
  if (_m_StepsRecord__getStartTime == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_StepsRecord__getStartTime);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__getStartZoneOffset = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getStartZoneOffset(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getStartZoneOffset,
              "getStartZoneOffset", "()Ljava/time/ZoneOffset;");
  if (_m_StepsRecord__getStartZoneOffset == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_StepsRecord__getStartZoneOffset);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__getEndTime = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getEndTime(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getEndTime, "getEndTime",
              "()Ljava/time/Instant;");
  if (_m_StepsRecord__getEndTime == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_StepsRecord__getEndTime);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__getEndZoneOffset = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getEndZoneOffset(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getEndZoneOffset,
              "getEndZoneOffset", "()Ljava/time/ZoneOffset;");
  if (_m_StepsRecord__getEndZoneOffset == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_StepsRecord__getEndZoneOffset);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__getMetadata = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__getMetadata(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__getMetadata, "getMetadata",
              "()Landroidx/health/connect/client/records/metadata/Metadata;");
  if (_m_StepsRecord__getMetadata == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_StepsRecord__getMetadata);
  return to_global_ref_result(_result);
}

jmethodID _m_StepsRecord__equals = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__equals(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__equals, "equals",
              "(Ljava/lang/Object;)Z");
  if (_m_StepsRecord__equals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_StepsRecord__equals, object);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_StepsRecord__hashCode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult StepsRecord__hashCode1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_StepsRecord, &_m_StepsRecord__hashCode1, "hashCode", "()I");
  if (_m_StepsRecord__hashCode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_StepsRecord__hashCode1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jfieldID _f_StepsRecord__Companion = NULL;
FFI_PLUGIN_EXPORT
JniResult get_StepsRecord__Companion() {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_StepsRecord, &_f_StepsRecord__Companion, "Companion",
      "Landroidx/health/connect/client/records/StepsRecord$Companion;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_StepsRecord,
                                                    _f_StepsRecord__Companion);
  return to_global_ref_result(_result);
}

jfieldID _f_StepsRecord__COUNT_TOTAL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_StepsRecord__COUNT_TOTAL() {
  load_env();
  load_class_global_ref(&_c_StepsRecord,
                        "androidx/health/connect/client/records/StepsRecord");
  if (_c_StepsRecord == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_StepsRecord, &_f_StepsRecord__COUNT_TOTAL, "COUNT_TOTAL",
      "Landroidx/health/connect/client/aggregate/AggregateMetric;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_StepsRecord, _f_StepsRecord__COUNT_TOTAL);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.time.TimeRangeFilter$Companion
jclass _c_TimeRangeFilter_Companion = NULL;

jmethodID _m_TimeRangeFilter_Companion__between = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__between(jobject self_,
                                             jobject instant,
                                             jobject instant1) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__between, "between",
              "(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/"
              "connect/client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__between == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__between, instant, instant1);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__between1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__between1(jobject self_,
                                              jobject localDateTime,
                                              jobject localDateTime1) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__between1, "between",
              "(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/"
              "health/connect/client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__between1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__between1, localDateTime,
      localDateTime1);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__before = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__before(jobject self_, jobject instant) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__before, "before",
              "(Ljava/time/Instant;)Landroidx/health/connect/client/time/"
              "TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__before == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__before, instant);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__before1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__before1(jobject self_,
                                             jobject localDateTime) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__before1, "before",
              "(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/"
              "TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__before1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__before1, localDateTime);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__after = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__after(jobject self_, jobject instant) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__after, "after",
              "(Ljava/time/Instant;)Landroidx/health/connect/client/time/"
              "TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__after == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__after, instant);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__after1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__after1(jobject self_,
                                            jobject localDateTime) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion,
              &_m_TimeRangeFilter_Companion__after1, "after",
              "(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/"
              "TimeRangeFilter;");
  if (_m_TimeRangeFilter_Companion__after1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_TimeRangeFilter_Companion__after1, localDateTime);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter_Companion__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter_Companion__new0(jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_TimeRangeFilter_Companion,
      "androidx/health/connect/client/time/TimeRangeFilter$Companion");
  if (_c_TimeRangeFilter_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter_Companion, &_m_TimeRangeFilter_Companion__new0,
              "<init>", "(Lkotlin/jvm/internal/DefaultConstructorMarker;)V");
  if (_m_TimeRangeFilter_Companion__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_TimeRangeFilter_Companion,
                                         _m_TimeRangeFilter_Companion__new0,
                                         defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.time.TimeRangeFilter
jclass _c_TimeRangeFilter = NULL;

jmethodID _m_TimeRangeFilter__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__new0(jobject instant,
                                jobject instant1,
                                jobject localDateTime,
                                jobject localDateTime1) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__new0, "<init>",
              "(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/"
              "LocalDateTime;Ljava/time/LocalDateTime;)V");
  if (_m_TimeRangeFilter__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__new0,
                           instant, instant1, localDateTime, localDateTime1);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__new1(jobject instant,
                                jobject instant1,
                                jobject localDateTime,
                                jobject localDateTime1,
                                int32_t i,
                                jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_TimeRangeFilter, &_m_TimeRangeFilter__new1, "<init>",
      "(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/"
      "time/LocalDateTime;ILkotlin/jvm/internal/DefaultConstructorMarker;)V");
  if (_m_TimeRangeFilter__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__new1, instant, instant1,
      localDateTime, localDateTime1, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__equals = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__equals(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__equals, "equals",
              "(Ljava/lang/Object;)Z");
  if (_m_TimeRangeFilter__equals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_TimeRangeFilter__equals, object);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_TimeRangeFilter__hashCode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__hashCode1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__hashCode1, "hashCode",
              "()I");
  if (_m_TimeRangeFilter__hashCode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_TimeRangeFilter__hashCode1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_TimeRangeFilter__new2 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__new2() {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__new2, "<init>", "()V");
  if (_m_TimeRangeFilter__new2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_TimeRangeFilter,
                                         _m_TimeRangeFilter__new2);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__between = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__between(jobject instant, jobject instant1) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__between,
                     "between",
                     "(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/"
                     "connect/client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__between == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__between, instant,
      instant1);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__between1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__between1(jobject localDateTime,
                                    jobject localDateTime1) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_TimeRangeFilter, &_m_TimeRangeFilter__between1, "between",
      "(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/"
      "connect/client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__between1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__between1, localDateTime,
      localDateTime1);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__before = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__before(jobject instant) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__before, "before",
                     "(Ljava/time/Instant;)Landroidx/health/connect/client/"
                     "time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__before == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__before, instant);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__before1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__before1(jobject localDateTime) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__before1, "before",
                     "(Ljava/time/LocalDateTime;)Landroidx/health/connect/"
                     "client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__before1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__before1, localDateTime);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__after = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__after(jobject instant) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__after, "after",
                     "(Ljava/time/Instant;)Landroidx/health/connect/client/"
                     "time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__after == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__after, instant);
  return to_global_ref_result(_result);
}

jmethodID _m_TimeRangeFilter__after1 = NULL;
FFI_PLUGIN_EXPORT
JniResult TimeRangeFilter__after1(jobject localDateTime) {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_TimeRangeFilter, &_m_TimeRangeFilter__after1, "after",
                     "(Ljava/time/LocalDateTime;)Landroidx/health/connect/"
                     "client/time/TimeRangeFilter;");
  if (_m_TimeRangeFilter__after1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_TimeRangeFilter, _m_TimeRangeFilter__after1, localDateTime);
  return to_global_ref_result(_result);
}

jfieldID _f_TimeRangeFilter__Companion = NULL;
FFI_PLUGIN_EXPORT
JniResult get_TimeRangeFilter__Companion() {
  load_env();
  load_class_global_ref(&_c_TimeRangeFilter,
                        "androidx/health/connect/client/time/TimeRangeFilter");
  if (_c_TimeRangeFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_TimeRangeFilter, &_f_TimeRangeFilter__Companion, "Companion",
      "Landroidx/health/connect/client/time/TimeRangeFilter$Companion;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_TimeRangeFilter, _f_TimeRangeFilter__Companion);
  return to_global_ref_result(_result);
}

// android.content.Context
jclass _c_Context = NULL;

jmethodID _m_Context__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__new0() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__new0, "<init>", "()V");
  if (_m_Context__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_Context, _m_Context__new0);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getAssets = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getAssets(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getAssets, "getAssets",
              "()Landroid/content/res/AssetManager;");
  if (_m_Context__getAssets == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getAssets);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getResources = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getResources(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getResources, "getResources",
              "()Landroid/content/res/Resources;");
  if (_m_Context__getResources == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getResources);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getPackageManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getPackageManager(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getPackageManager, "getPackageManager",
              "()Landroid/content/pm/PackageManager;");
  if (_m_Context__getPackageManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getPackageManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getContentResolver = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getContentResolver(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getContentResolver, "getContentResolver",
              "()Landroid/content/ContentResolver;");
  if (_m_Context__getContentResolver == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Context__getContentResolver);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getMainLooper = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getMainLooper(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getMainLooper, "getMainLooper",
              "()Landroid/os/Looper;");
  if (_m_Context__getMainLooper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getMainLooper);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getMainExecutor = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getMainExecutor(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getMainExecutor, "getMainExecutor",
              "()Ljava/util/concurrent/Executor;");
  if (_m_Context__getMainExecutor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getMainExecutor);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getApplicationContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getApplicationContext(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getApplicationContext,
              "getApplicationContext", "()Landroid/content/Context;");
  if (_m_Context__getApplicationContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getApplicationContext);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__registerComponentCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__registerComponentCallbacks(jobject self_,
                                              jobject componentCallbacks) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__registerComponentCallbacks,
              "registerComponentCallbacks",
              "(Landroid/content/ComponentCallbacks;)V");
  if (_m_Context__registerComponentCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__registerComponentCallbacks,
                            componentCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__unregisterComponentCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__unregisterComponentCallbacks(jobject self_,
                                                jobject componentCallbacks) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__unregisterComponentCallbacks,
              "unregisterComponentCallbacks",
              "(Landroid/content/ComponentCallbacks;)V");
  if (_m_Context__unregisterComponentCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__unregisterComponentCallbacks,
                            componentCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__getText = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getText(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getText, "getText",
              "(I)Ljava/lang/CharSequence;");
  if (_m_Context__getText == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getText, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getString = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getString(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getString, "getString",
              "(I)Ljava/lang/String;");
  if (_m_Context__getString == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getString, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getString1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getString1(jobject self_, int32_t i, jobject objects) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getString1, "getString",
              "(I[Ljava/lang/Object;)Ljava/lang/String;");
  if (_m_Context__getString1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getString1, i, objects);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getColor = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getColor(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getColor, "getColor", "(I)I");
  if (_m_Context__getColor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Context__getColor, i);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__getDrawable = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getDrawable(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getDrawable, "getDrawable",
              "(I)Landroid/graphics/drawable/Drawable;");
  if (_m_Context__getDrawable == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getDrawable, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getColorStateList = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getColorStateList(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getColorStateList, "getColorStateList",
              "(I)Landroid/content/res/ColorStateList;");
  if (_m_Context__getColorStateList == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getColorStateList, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__setTheme = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__setTheme(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__setTheme, "setTheme", "(I)V");
  if (_m_Context__setTheme == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__setTheme, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__getTheme = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getTheme(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getTheme, "getTheme",
              "()Landroid/content/res/Resources$Theme;");
  if (_m_Context__getTheme == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getTheme);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__obtainStyledAttributes = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__obtainStyledAttributes(jobject self_, jobject is) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__obtainStyledAttributes,
              "obtainStyledAttributes", "([I)Landroid/content/res/TypedArray;");
  if (_m_Context__obtainStyledAttributes == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__obtainStyledAttributes, is);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__obtainStyledAttributes1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__obtainStyledAttributes1(jobject self_,
                                           int32_t i,
                                           jobject is) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__obtainStyledAttributes1,
              "obtainStyledAttributes",
              "(I[I)Landroid/content/res/TypedArray;");
  if (_m_Context__obtainStyledAttributes1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__obtainStyledAttributes1, i, is);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__obtainStyledAttributes2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__obtainStyledAttributes2(jobject self_,
                                           jobject attributeSet,
                                           jobject is) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__obtainStyledAttributes2,
      "obtainStyledAttributes",
      "(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;");
  if (_m_Context__obtainStyledAttributes2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__obtainStyledAttributes2, attributeSet, is);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__obtainStyledAttributes3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__obtainStyledAttributes3(jobject self_,
                                           jobject attributeSet,
                                           jobject is,
                                           int32_t i,
                                           int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__obtainStyledAttributes3,
      "obtainStyledAttributes",
      "(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;");
  if (_m_Context__obtainStyledAttributes3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__obtainStyledAttributes3, attributeSet, is, i,
      i1);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getClassLoader = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getClassLoader(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getClassLoader, "getClassLoader",
              "()Ljava/lang/ClassLoader;");
  if (_m_Context__getClassLoader == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getClassLoader);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getPackageName = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getPackageName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getPackageName, "getPackageName",
              "()Ljava/lang/String;");
  if (_m_Context__getPackageName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getPackageName);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getOpPackageName = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getOpPackageName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getOpPackageName, "getOpPackageName",
              "()Ljava/lang/String;");
  if (_m_Context__getOpPackageName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getOpPackageName);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getAttributionTag = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getAttributionTag(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getAttributionTag, "getAttributionTag",
              "()Ljava/lang/String;");
  if (_m_Context__getAttributionTag == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getAttributionTag);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getAttributionSource = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getAttributionSource(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getAttributionSource,
              "getAttributionSource", "()Landroid/content/AttributionSource;");
  if (_m_Context__getAttributionSource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getAttributionSource);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getParams = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getParams(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getParams, "getParams",
              "()Landroid/content/ContextParams;");
  if (_m_Context__getParams == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getParams);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getApplicationInfo = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getApplicationInfo(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getApplicationInfo, "getApplicationInfo",
              "()Landroid/content/pm/ApplicationInfo;");
  if (_m_Context__getApplicationInfo == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Context__getApplicationInfo);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getPackageResourcePath = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getPackageResourcePath(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getPackageResourcePath,
              "getPackageResourcePath", "()Ljava/lang/String;");
  if (_m_Context__getPackageResourcePath == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getPackageResourcePath);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getPackageCodePath = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getPackageCodePath(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getPackageCodePath, "getPackageCodePath",
              "()Ljava/lang/String;");
  if (_m_Context__getPackageCodePath == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Context__getPackageCodePath);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getSharedPreferences = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getSharedPreferences(jobject self_,
                                        jobject string,
                                        int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getSharedPreferences,
              "getSharedPreferences",
              "(Ljava/lang/String;I)Landroid/content/SharedPreferences;");
  if (_m_Context__getSharedPreferences == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getSharedPreferences, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__moveSharedPreferencesFrom = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__moveSharedPreferencesFrom(jobject self_,
                                             jobject context,
                                             jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__moveSharedPreferencesFrom,
              "moveSharedPreferencesFrom",
              "(Landroid/content/Context;Ljava/lang/String;)Z");
  if (_m_Context__moveSharedPreferencesFrom == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__moveSharedPreferencesFrom, context, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__deleteSharedPreferences = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__deleteSharedPreferences(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__deleteSharedPreferences,
              "deleteSharedPreferences", "(Ljava/lang/String;)Z");
  if (_m_Context__deleteSharedPreferences == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__deleteSharedPreferences, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__openFileInput = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__openFileInput(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__openFileInput, "openFileInput",
              "(Ljava/lang/String;)Ljava/io/FileInputStream;");
  if (_m_Context__openFileInput == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__openFileInput, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__openFileOutput = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__openFileOutput(jobject self_, jobject string, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__openFileOutput, "openFileOutput",
              "(Ljava/lang/String;I)Ljava/io/FileOutputStream;");
  if (_m_Context__openFileOutput == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__openFileOutput, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__deleteFile = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__deleteFile(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__deleteFile, "deleteFile",
              "(Ljava/lang/String;)Z");
  if (_m_Context__deleteFile == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__deleteFile, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__getFileStreamPath = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getFileStreamPath(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getFileStreamPath, "getFileStreamPath",
              "(Ljava/lang/String;)Ljava/io/File;");
  if (_m_Context__getFileStreamPath == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getFileStreamPath, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getDataDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getDataDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getDataDir, "getDataDir",
              "()Ljava/io/File;");
  if (_m_Context__getDataDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getDataDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getFilesDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getFilesDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getFilesDir, "getFilesDir",
              "()Ljava/io/File;");
  if (_m_Context__getFilesDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getFilesDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getNoBackupFilesDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getNoBackupFilesDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getNoBackupFilesDir,
              "getNoBackupFilesDir", "()Ljava/io/File;");
  if (_m_Context__getNoBackupFilesDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getNoBackupFilesDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getExternalFilesDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getExternalFilesDir(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getExternalFilesDir,
              "getExternalFilesDir", "(Ljava/lang/String;)Ljava/io/File;");
  if (_m_Context__getExternalFilesDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getExternalFilesDir, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getExternalFilesDirs = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getExternalFilesDirs(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getExternalFilesDirs,
              "getExternalFilesDirs", "(Ljava/lang/String;)[Ljava/io/File;");
  if (_m_Context__getExternalFilesDirs == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getExternalFilesDirs, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getObbDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getObbDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getObbDir, "getObbDir",
              "()Ljava/io/File;");
  if (_m_Context__getObbDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getObbDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getObbDirs = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getObbDirs(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getObbDirs, "getObbDirs",
              "()[Ljava/io/File;");
  if (_m_Context__getObbDirs == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getObbDirs);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getCacheDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getCacheDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getCacheDir, "getCacheDir",
              "()Ljava/io/File;");
  if (_m_Context__getCacheDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getCacheDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getCodeCacheDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getCodeCacheDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getCodeCacheDir, "getCodeCacheDir",
              "()Ljava/io/File;");
  if (_m_Context__getCodeCacheDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getCodeCacheDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getExternalCacheDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getExternalCacheDir(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getExternalCacheDir,
              "getExternalCacheDir", "()Ljava/io/File;");
  if (_m_Context__getExternalCacheDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getExternalCacheDir);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getExternalCacheDirs = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getExternalCacheDirs(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getExternalCacheDirs,
              "getExternalCacheDirs", "()[Ljava/io/File;");
  if (_m_Context__getExternalCacheDirs == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getExternalCacheDirs);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getExternalMediaDirs = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getExternalMediaDirs(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getExternalMediaDirs,
              "getExternalMediaDirs", "()[Ljava/io/File;");
  if (_m_Context__getExternalMediaDirs == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getExternalMediaDirs);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__fileList = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__fileList(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__fileList, "fileList",
              "()[Ljava/lang/String;");
  if (_m_Context__fileList == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__fileList);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getDir = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getDir(jobject self_, jobject string, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getDir, "getDir",
              "(Ljava/lang/String;I)Ljava/io/File;");
  if (_m_Context__getDir == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getDir, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__openOrCreateDatabase = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__openOrCreateDatabase(jobject self_,
                                        jobject string,
                                        int32_t i,
                                        jobject cursorFactory) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__openOrCreateDatabase, "openOrCreateDatabase",
      "(Ljava/lang/String;ILandroid/database/sqlite/"
      "SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;");
  if (_m_Context__openOrCreateDatabase == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__openOrCreateDatabase, string, i,
      cursorFactory);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__openOrCreateDatabase1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__openOrCreateDatabase1(jobject self_,
                                         jobject string,
                                         int32_t i,
                                         jobject cursorFactory,
                                         jobject databaseErrorHandler) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__openOrCreateDatabase1,
              "openOrCreateDatabase",
              "(Ljava/lang/String;ILandroid/database/sqlite/"
              "SQLiteDatabase$CursorFactory;Landroid/database/"
              "DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;");
  if (_m_Context__openOrCreateDatabase1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__openOrCreateDatabase1, string, i,
      cursorFactory, databaseErrorHandler);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__moveDatabaseFrom = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__moveDatabaseFrom(jobject self_,
                                    jobject context,
                                    jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__moveDatabaseFrom, "moveDatabaseFrom",
              "(Landroid/content/Context;Ljava/lang/String;)Z");
  if (_m_Context__moveDatabaseFrom == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__moveDatabaseFrom, context, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__deleteDatabase = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__deleteDatabase(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__deleteDatabase, "deleteDatabase",
              "(Ljava/lang/String;)Z");
  if (_m_Context__deleteDatabase == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__deleteDatabase, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__getDatabasePath = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getDatabasePath(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getDatabasePath, "getDatabasePath",
              "(Ljava/lang/String;)Ljava/io/File;");
  if (_m_Context__getDatabasePath == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getDatabasePath, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__databaseList = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__databaseList(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__databaseList, "databaseList",
              "()[Ljava/lang/String;");
  if (_m_Context__databaseList == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__databaseList);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getWallpaper = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getWallpaper(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getWallpaper, "getWallpaper",
              "()Landroid/graphics/drawable/Drawable;");
  if (_m_Context__getWallpaper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getWallpaper);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__peekWallpaper = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__peekWallpaper(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__peekWallpaper, "peekWallpaper",
              "()Landroid/graphics/drawable/Drawable;");
  if (_m_Context__peekWallpaper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__peekWallpaper);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getWallpaperDesiredMinimumWidth = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getWallpaperDesiredMinimumWidth(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getWallpaperDesiredMinimumWidth,
              "getWallpaperDesiredMinimumWidth", "()I");
  if (_m_Context__getWallpaperDesiredMinimumWidth == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__getWallpaperDesiredMinimumWidth);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__getWallpaperDesiredMinimumHeight = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getWallpaperDesiredMinimumHeight(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getWallpaperDesiredMinimumHeight,
              "getWallpaperDesiredMinimumHeight", "()I");
  if (_m_Context__getWallpaperDesiredMinimumHeight == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__getWallpaperDesiredMinimumHeight);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__setWallpaper = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__setWallpaper(jobject self_, jobject bitmap) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__setWallpaper, "setWallpaper",
              "(Landroid/graphics/Bitmap;)V");
  if (_m_Context__setWallpaper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__setWallpaper, bitmap);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__setWallpaper1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__setWallpaper1(jobject self_, jobject inputStream) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__setWallpaper1, "setWallpaper",
              "(Ljava/io/InputStream;)V");
  if (_m_Context__setWallpaper1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__setWallpaper1,
                            inputStream);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__clearWallpaper = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__clearWallpaper(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__clearWallpaper, "clearWallpaper", "()V");
  if (_m_Context__clearWallpaper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__clearWallpaper);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startActivity(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startActivity, "startActivity",
              "(Landroid/content/Intent;)V");
  if (_m_Context__startActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startActivity, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startActivity1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startActivity1(jobject self_,
                                  jobject intent,
                                  jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startActivity1, "startActivity",
              "(Landroid/content/Intent;Landroid/os/Bundle;)V");
  if (_m_Context__startActivity1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startActivity1, intent,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startActivities = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startActivities(jobject self_, jobject intents) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startActivities, "startActivities",
              "([Landroid/content/Intent;)V");
  if (_m_Context__startActivities == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startActivities,
                            intents);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startActivities1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startActivities1(jobject self_,
                                    jobject intents,
                                    jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startActivities1, "startActivities",
              "([Landroid/content/Intent;Landroid/os/Bundle;)V");
  if (_m_Context__startActivities1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startActivities1,
                            intents, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startIntentSender = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startIntentSender(jobject self_,
                                     jobject intentSender,
                                     jobject intent,
                                     int32_t i,
                                     int32_t i1,
                                     int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startIntentSender, "startIntentSender",
              "(Landroid/content/IntentSender;Landroid/content/Intent;III)V");
  if (_m_Context__startIntentSender == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startIntentSender,
                            intentSender, intent, i, i1, i2);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startIntentSender1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startIntentSender1(jobject self_,
                                      jobject intentSender,
                                      jobject intent,
                                      int32_t i,
                                      int32_t i1,
                                      int32_t i2,
                                      jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startIntentSender1, "startIntentSender",
              "(Landroid/content/IntentSender;Landroid/content/"
              "Intent;IIILandroid/os/Bundle;)V");
  if (_m_Context__startIntentSender1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__startIntentSender1,
                            intentSender, intent, i, i1, i2, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendBroadcast = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendBroadcast(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendBroadcast, "sendBroadcast",
              "(Landroid/content/Intent;)V");
  if (_m_Context__sendBroadcast == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendBroadcast, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendBroadcast1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendBroadcast1(jobject self_,
                                  jobject intent,
                                  jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendBroadcast1, "sendBroadcast",
              "(Landroid/content/Intent;Ljava/lang/String;)V");
  if (_m_Context__sendBroadcast1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendBroadcast1, intent,
                            string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendBroadcastWithMultiplePermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendBroadcastWithMultiplePermissions(jobject self_,
                                                        jobject intent,
                                                        jobject strings) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendBroadcastWithMultiplePermissions,
              "sendBroadcastWithMultiplePermissions",
              "(Landroid/content/Intent;[Ljava/lang/String;)V");
  if (_m_Context__sendBroadcastWithMultiplePermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__sendBroadcastWithMultiplePermissions,
                            intent, strings);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendOrderedBroadcast = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendOrderedBroadcast(jobject self_,
                                        jobject intent,
                                        jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendOrderedBroadcast,
              "sendOrderedBroadcast",
              "(Landroid/content/Intent;Ljava/lang/String;)V");
  if (_m_Context__sendOrderedBroadcast == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendOrderedBroadcast,
                            intent, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendOrderedBroadcast1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendOrderedBroadcast1(jobject self_,
                                         jobject intent,
                                         jobject string,
                                         jobject broadcastReceiver,
                                         jobject handler,
                                         int32_t i,
                                         jobject string1,
                                         jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendOrderedBroadcast1,
              "sendOrderedBroadcast",
              "(Landroid/content/Intent;Ljava/lang/String;Landroid/content/"
              "BroadcastReceiver;Landroid/os/Handler;ILjava/lang/"
              "String;Landroid/os/Bundle;)V");
  if (_m_Context__sendOrderedBroadcast1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendOrderedBroadcast1,
                            intent, string, broadcastReceiver, handler, i,
                            string1, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendBroadcastAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendBroadcastAsUser(jobject self_,
                                       jobject intent,
                                       jobject userHandle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendBroadcastAsUser,
              "sendBroadcastAsUser",
              "(Landroid/content/Intent;Landroid/os/UserHandle;)V");
  if (_m_Context__sendBroadcastAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendBroadcastAsUser,
                            intent, userHandle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendBroadcastAsUser1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendBroadcastAsUser1(jobject self_,
                                        jobject intent,
                                        jobject userHandle,
                                        jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__sendBroadcastAsUser1, "sendBroadcastAsUser",
      "(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;)V");
  if (_m_Context__sendBroadcastAsUser1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendBroadcastAsUser1,
                            intent, userHandle, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendOrderedBroadcastAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendOrderedBroadcastAsUser(jobject self_,
                                              jobject intent,
                                              jobject userHandle,
                                              jobject string,
                                              jobject broadcastReceiver,
                                              jobject handler,
                                              int32_t i,
                                              jobject string1,
                                              jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendOrderedBroadcastAsUser,
              "sendOrderedBroadcastAsUser",
              "(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/"
              "String;Landroid/content/BroadcastReceiver;Landroid/os/"
              "Handler;ILjava/lang/String;Landroid/os/Bundle;)V");
  if (_m_Context__sendOrderedBroadcastAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Context__sendOrderedBroadcastAsUser, intent, userHandle,
      string, broadcastReceiver, handler, i, string1, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendOrderedBroadcast2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendOrderedBroadcast2(jobject self_,
                                         jobject intent,
                                         jobject string,
                                         jobject string1,
                                         jobject broadcastReceiver,
                                         jobject handler,
                                         int32_t i,
                                         jobject string2,
                                         jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendOrderedBroadcast2,
              "sendOrderedBroadcast",
              "(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/"
              "String;Landroid/content/BroadcastReceiver;Landroid/os/"
              "Handler;ILjava/lang/String;Landroid/os/Bundle;)V");
  if (_m_Context__sendOrderedBroadcast2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendOrderedBroadcast2,
                            intent, string, string1, broadcastReceiver, handler,
                            i, string2, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendStickyBroadcast = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendStickyBroadcast(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendStickyBroadcast,
              "sendStickyBroadcast", "(Landroid/content/Intent;)V");
  if (_m_Context__sendStickyBroadcast == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendStickyBroadcast,
                            intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendStickyBroadcast1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendStickyBroadcast1(jobject self_,
                                        jobject intent,
                                        jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendStickyBroadcast1,
              "sendStickyBroadcast",
              "(Landroid/content/Intent;Landroid/os/Bundle;)V");
  if (_m_Context__sendStickyBroadcast1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__sendStickyBroadcast1,
                            intent, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendStickyOrderedBroadcast = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendStickyOrderedBroadcast(jobject self_,
                                              jobject intent,
                                              jobject broadcastReceiver,
                                              jobject handler,
                                              int32_t i,
                                              jobject string,
                                              jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__sendStickyOrderedBroadcast,
      "sendStickyOrderedBroadcast",
      "(Landroid/content/Intent;Landroid/content/BroadcastReceiver;Landroid/os/"
      "Handler;ILjava/lang/String;Landroid/os/Bundle;)V");
  if (_m_Context__sendStickyOrderedBroadcast == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__sendStickyOrderedBroadcast, intent,
                            broadcastReceiver, handler, i, string, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__removeStickyBroadcast = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__removeStickyBroadcast(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__removeStickyBroadcast,
              "removeStickyBroadcast", "(Landroid/content/Intent;)V");
  if (_m_Context__removeStickyBroadcast == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__removeStickyBroadcast,
                            intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendStickyBroadcastAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendStickyBroadcastAsUser(jobject self_,
                                             jobject intent,
                                             jobject userHandle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendStickyBroadcastAsUser,
              "sendStickyBroadcastAsUser",
              "(Landroid/content/Intent;Landroid/os/UserHandle;)V");
  if (_m_Context__sendStickyBroadcastAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Context__sendStickyBroadcastAsUser, intent, userHandle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__sendStickyOrderedBroadcastAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__sendStickyOrderedBroadcastAsUser(jobject self_,
                                                    jobject intent,
                                                    jobject userHandle,
                                                    jobject broadcastReceiver,
                                                    jobject handler,
                                                    int32_t i,
                                                    jobject string,
                                                    jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__sendStickyOrderedBroadcastAsUser,
              "sendStickyOrderedBroadcastAsUser",
              "(Landroid/content/Intent;Landroid/os/UserHandle;Landroid/"
              "content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/"
              "String;Landroid/os/Bundle;)V");
  if (_m_Context__sendStickyOrderedBroadcastAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Context__sendStickyOrderedBroadcastAsUser, intent,
      userHandle, broadcastReceiver, handler, i, string, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__removeStickyBroadcastAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__removeStickyBroadcastAsUser(jobject self_,
                                               jobject intent,
                                               jobject userHandle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__removeStickyBroadcastAsUser,
              "removeStickyBroadcastAsUser",
              "(Landroid/content/Intent;Landroid/os/UserHandle;)V");
  if (_m_Context__removeStickyBroadcastAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__removeStickyBroadcastAsUser, intent,
                            userHandle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__registerReceiver = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__registerReceiver(jobject self_,
                                    jobject broadcastReceiver,
                                    jobject intentFilter) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__registerReceiver, "registerReceiver",
              "(Landroid/content/BroadcastReceiver;Landroid/content/"
              "IntentFilter;)Landroid/content/Intent;");
  if (_m_Context__registerReceiver == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__registerReceiver,
                                  broadcastReceiver, intentFilter);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__registerReceiver1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__registerReceiver1(jobject self_,
                                     jobject broadcastReceiver,
                                     jobject intentFilter,
                                     int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__registerReceiver1, "registerReceiver",
              "(Landroid/content/BroadcastReceiver;Landroid/content/"
              "IntentFilter;I)Landroid/content/Intent;");
  if (_m_Context__registerReceiver1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__registerReceiver1,
                                  broadcastReceiver, intentFilter, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__registerReceiver2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__registerReceiver2(jobject self_,
                                     jobject broadcastReceiver,
                                     jobject intentFilter,
                                     jobject string,
                                     jobject handler) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__registerReceiver2, "registerReceiver",
      "(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/"
      "lang/String;Landroid/os/Handler;)Landroid/content/Intent;");
  if (_m_Context__registerReceiver2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__registerReceiver2, broadcastReceiver,
      intentFilter, string, handler);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__registerReceiver3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__registerReceiver3(jobject self_,
                                     jobject broadcastReceiver,
                                     jobject intentFilter,
                                     jobject string,
                                     jobject handler,
                                     int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__registerReceiver3, "registerReceiver",
      "(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/"
      "lang/String;Landroid/os/Handler;I)Landroid/content/Intent;");
  if (_m_Context__registerReceiver3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__registerReceiver3, broadcastReceiver,
      intentFilter, string, handler, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__unregisterReceiver = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__unregisterReceiver(jobject self_,
                                      jobject broadcastReceiver) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__unregisterReceiver, "unregisterReceiver",
              "(Landroid/content/BroadcastReceiver;)V");
  if (_m_Context__unregisterReceiver == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__unregisterReceiver,
                            broadcastReceiver);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startService(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startService, "startService",
              "(Landroid/content/Intent;)Landroid/content/ComponentName;");
  if (_m_Context__startService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__startService, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__startForegroundService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startForegroundService(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startForegroundService,
              "startForegroundService",
              "(Landroid/content/Intent;)Landroid/content/ComponentName;");
  if (_m_Context__startForegroundService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__startForegroundService, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__stopService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__stopService(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__stopService, "stopService",
              "(Landroid/content/Intent;)Z");
  if (_m_Context__stopService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__stopService, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__bindService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__bindService(jobject self_,
                               jobject intent,
                               jobject serviceConnection,
                               int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__bindService, "bindService",
      "(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z");
  if (_m_Context__bindService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__bindService, intent, serviceConnection, i);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__bindService1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__bindService1(jobject self_,
                                jobject intent,
                                int32_t i,
                                jobject executor,
                                jobject serviceConnection) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__bindService1, "bindService",
              "(Landroid/content/Intent;ILjava/util/concurrent/"
              "Executor;Landroid/content/ServiceConnection;)Z");
  if (_m_Context__bindService1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Context__bindService1,
                                   intent, i, executor, serviceConnection);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__bindIsolatedService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__bindIsolatedService(jobject self_,
                                       jobject intent,
                                       int32_t i,
                                       jobject string,
                                       jobject executor,
                                       jobject serviceConnection) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__bindIsolatedService,
              "bindIsolatedService",
              "(Landroid/content/Intent;ILjava/lang/String;Ljava/util/"
              "concurrent/Executor;Landroid/content/ServiceConnection;)Z");
  if (_m_Context__bindIsolatedService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__bindIsolatedService, intent, i, string,
      executor, serviceConnection);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__bindServiceAsUser = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__bindServiceAsUser(jobject self_,
                                     jobject intent,
                                     jobject serviceConnection,
                                     int32_t i,
                                     jobject userHandle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__bindServiceAsUser, "bindServiceAsUser",
              "(Landroid/content/Intent;Landroid/content/"
              "ServiceConnection;ILandroid/os/UserHandle;)Z");
  if (_m_Context__bindServiceAsUser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Context__bindServiceAsUser,
                                   intent, serviceConnection, i, userHandle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__updateServiceGroup = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__updateServiceGroup(jobject self_,
                                      jobject serviceConnection,
                                      int32_t i,
                                      int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__updateServiceGroup, "updateServiceGroup",
              "(Landroid/content/ServiceConnection;II)V");
  if (_m_Context__updateServiceGroup == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__updateServiceGroup,
                            serviceConnection, i, i1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__unbindService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__unbindService(jobject self_, jobject serviceConnection) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__unbindService, "unbindService",
              "(Landroid/content/ServiceConnection;)V");
  if (_m_Context__unbindService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__unbindService,
                            serviceConnection);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__startInstrumentation = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__startInstrumentation(jobject self_,
                                        jobject componentName,
                                        jobject string,
                                        jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__startInstrumentation,
              "startInstrumentation",
              "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/"
              "Bundle;)Z");
  if (_m_Context__startInstrumentation == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__startInstrumentation, componentName, string,
      bundle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__getSystemService = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getSystemService(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getSystemService, "getSystemService",
              "(Ljava/lang/String;)Ljava/lang/Object;");
  if (_m_Context__getSystemService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getSystemService, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getSystemService1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getSystemService1(jobject self_, jobject class) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getSystemService1, "getSystemService",
              "(Ljava/lang/Class;)Ljava/lang/Object;");
  if (_m_Context__getSystemService1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getSystemService1, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getSystemServiceName = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getSystemServiceName(jobject self_, jobject class) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getSystemServiceName,
              "getSystemServiceName", "(Ljava/lang/Class;)Ljava/lang/String;");
  if (_m_Context__getSystemServiceName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__getSystemServiceName, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__checkPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkPermission(jobject self_,
                                   jobject string,
                                   int32_t i,
                                   int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkPermission, "checkPermission",
              "(Ljava/lang/String;II)I");
  if (_m_Context__checkPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkPermission, string, i, i1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkCallingPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingPermission(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingPermission,
              "checkCallingPermission", "(Ljava/lang/String;)I");
  if (_m_Context__checkCallingPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkCallingPermission, string);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkCallingOrSelfPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingOrSelfPermission(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingOrSelfPermission,
              "checkCallingOrSelfPermission", "(Ljava/lang/String;)I");
  if (_m_Context__checkCallingOrSelfPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkCallingOrSelfPermission, string);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkSelfPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkSelfPermission(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkSelfPermission,
              "checkSelfPermission", "(Ljava/lang/String;)I");
  if (_m_Context__checkSelfPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkSelfPermission, string);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__enforcePermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforcePermission(jobject self_,
                                     jobject string,
                                     int32_t i,
                                     int32_t i1,
                                     jobject string1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforcePermission, "enforcePermission",
              "(Ljava/lang/String;IILjava/lang/String;)V");
  if (_m_Context__enforcePermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__enforcePermission,
                            string, i, i1, string1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__enforceCallingPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceCallingPermission(jobject self_,
                                            jobject string,
                                            jobject string1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceCallingPermission,
              "enforceCallingPermission",
              "(Ljava/lang/String;Ljava/lang/String;)V");
  if (_m_Context__enforceCallingPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__enforceCallingPermission,
                            string, string1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__enforceCallingOrSelfPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceCallingOrSelfPermission(jobject self_,
                                                  jobject string,
                                                  jobject string1) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceCallingOrSelfPermission,
              "enforceCallingOrSelfPermission",
              "(Ljava/lang/String;Ljava/lang/String;)V");
  if (_m_Context__enforceCallingOrSelfPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__enforceCallingOrSelfPermission, string,
                            string1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__grantUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__grantUriPermission(jobject self_,
                                      jobject string,
                                      jobject uri,
                                      int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__grantUriPermission, "grantUriPermission",
              "(Ljava/lang/String;Landroid/net/Uri;I)V");
  if (_m_Context__grantUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__grantUriPermission,
                            string, uri, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__revokeUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__revokeUriPermission(jobject self_, jobject uri, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__revokeUriPermission,
              "revokeUriPermission", "(Landroid/net/Uri;I)V");
  if (_m_Context__revokeUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__revokeUriPermission, uri,
                            i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__revokeUriPermission1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__revokeUriPermission1(jobject self_,
                                        jobject string,
                                        jobject uri,
                                        int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__revokeUriPermission1,
              "revokeUriPermission", "(Ljava/lang/String;Landroid/net/Uri;I)V");
  if (_m_Context__revokeUriPermission1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__revokeUriPermission1,
                            string, uri, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__checkUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkUriPermission(jobject self_,
                                      jobject uri,
                                      int32_t i,
                                      int32_t i1,
                                      int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkUriPermission, "checkUriPermission",
              "(Landroid/net/Uri;III)I");
  if (_m_Context__checkUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkUriPermission, uri, i, i1, i2);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkUriPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkUriPermissions(jobject self_,
                                       jobject list,
                                       int32_t i,
                                       int32_t i1,
                                       int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkUriPermissions,
              "checkUriPermissions", "(Ljava/util/List;III)[I");
  if (_m_Context__checkUriPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__checkUriPermissions, list, i, i1, i2);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__checkCallingUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingUriPermission(jobject self_,
                                             jobject uri,
                                             int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingUriPermission,
              "checkCallingUriPermission", "(Landroid/net/Uri;I)I");
  if (_m_Context__checkCallingUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkCallingUriPermission, uri, i);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkCallingUriPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingUriPermissions(jobject self_,
                                              jobject list,
                                              int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingUriPermissions,
              "checkCallingUriPermissions", "(Ljava/util/List;I)[I");
  if (_m_Context__checkCallingUriPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__checkCallingUriPermissions, list, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__checkCallingOrSelfUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingOrSelfUriPermission(jobject self_,
                                                   jobject uri,
                                                   int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingOrSelfUriPermission,
              "checkCallingOrSelfUriPermission", "(Landroid/net/Uri;I)I");
  if (_m_Context__checkCallingOrSelfUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Context__checkCallingOrSelfUriPermission, uri, i);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__checkCallingOrSelfUriPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkCallingOrSelfUriPermissions(jobject self_,
                                                    jobject list,
                                                    int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkCallingOrSelfUriPermissions,
              "checkCallingOrSelfUriPermissions", "(Ljava/util/List;I)[I");
  if (_m_Context__checkCallingOrSelfUriPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__checkCallingOrSelfUriPermissions, list, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__checkUriPermission1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__checkUriPermission1(jobject self_,
                                       jobject uri,
                                       jobject string,
                                       jobject string1,
                                       int32_t i,
                                       int32_t i1,
                                       int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__checkUriPermission1,
              "checkUriPermission",
              "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I");
  if (_m_Context__checkUriPermission1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Context__checkUriPermission1,
                               uri, string, string1, i, i1, i2);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Context__enforceUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceUriPermission(jobject self_,
                                        jobject uri,
                                        int32_t i,
                                        int32_t i1,
                                        int32_t i2,
                                        jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceUriPermission,
              "enforceUriPermission",
              "(Landroid/net/Uri;IIILjava/lang/String;)V");
  if (_m_Context__enforceUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__enforceUriPermission,
                            uri, i, i1, i2, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__enforceCallingUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceCallingUriPermission(jobject self_,
                                               jobject uri,
                                               int32_t i,
                                               jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceCallingUriPermission,
              "enforceCallingUriPermission",
              "(Landroid/net/Uri;ILjava/lang/String;)V");
  if (_m_Context__enforceCallingUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Context__enforceCallingUriPermission, uri, i, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__enforceCallingOrSelfUriPermission = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceCallingOrSelfUriPermission(jobject self_,
                                                     jobject uri,
                                                     int32_t i,
                                                     jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceCallingOrSelfUriPermission,
              "enforceCallingOrSelfUriPermission",
              "(Landroid/net/Uri;ILjava/lang/String;)V");
  if (_m_Context__enforceCallingOrSelfUriPermission == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__enforceCallingOrSelfUriPermission, uri,
                            i, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__enforceUriPermission1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__enforceUriPermission1(jobject self_,
                                         jobject uri,
                                         jobject string,
                                         jobject string1,
                                         int32_t i,
                                         int32_t i1,
                                         int32_t i2,
                                         jobject string2) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__enforceUriPermission1,
              "enforceUriPermission",
              "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;IIILjava/"
              "lang/String;)V");
  if (_m_Context__enforceUriPermission1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Context__enforceUriPermission1,
                            uri, string, string1, i, i1, i2, string2);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__revokeSelfPermissionOnKill = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__revokeSelfPermissionOnKill(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__revokeSelfPermissionOnKill,
              "revokeSelfPermissionOnKill", "(Ljava/lang/String;)V");
  if (_m_Context__revokeSelfPermissionOnKill == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Context__revokeSelfPermissionOnKill, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__revokeSelfPermissionsOnKill = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__revokeSelfPermissionsOnKill(jobject self_,
                                               jobject collection) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__revokeSelfPermissionsOnKill,
              "revokeSelfPermissionsOnKill", "(Ljava/util/Collection;)V");
  if (_m_Context__revokeSelfPermissionsOnKill == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Context__revokeSelfPermissionsOnKill, collection);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Context__createPackageContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createPackageContext(jobject self_,
                                        jobject string,
                                        int32_t i) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createPackageContext,
              "createPackageContext",
              "(Ljava/lang/String;I)Landroid/content/Context;");
  if (_m_Context__createPackageContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createPackageContext, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createContextForSplit = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createContextForSplit(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createContextForSplit,
              "createContextForSplit",
              "(Ljava/lang/String;)Landroid/content/Context;");
  if (_m_Context__createContextForSplit == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createContextForSplit, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createConfigurationContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createConfigurationContext(jobject self_,
                                              jobject configuration) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createConfigurationContext,
              "createConfigurationContext",
              "(Landroid/content/res/Configuration;)Landroid/content/Context;");
  if (_m_Context__createConfigurationContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createConfigurationContext, configuration);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createDisplayContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createDisplayContext(jobject self_, jobject display) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createDisplayContext,
              "createDisplayContext",
              "(Landroid/view/Display;)Landroid/content/Context;");
  if (_m_Context__createDisplayContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createDisplayContext, display);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createWindowContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createWindowContext(jobject self_,
                                       int32_t i,
                                       jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createWindowContext,
              "createWindowContext",
              "(ILandroid/os/Bundle;)Landroid/content/Context;");
  if (_m_Context__createWindowContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createWindowContext, i, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createWindowContext1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createWindowContext1(jobject self_,
                                        jobject display,
                                        int32_t i,
                                        jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Context, &_m_Context__createWindowContext1, "createWindowContext",
      "(Landroid/view/Display;ILandroid/os/Bundle;)Landroid/content/Context;");
  if (_m_Context__createWindowContext1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createWindowContext1, display, i, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createContext(jobject self_, jobject contextParams) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createContext, "createContext",
              "(Landroid/content/ContextParams;)Landroid/content/Context;");
  if (_m_Context__createContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createContext, contextParams);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createAttributionContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createAttributionContext(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createAttributionContext,
              "createAttributionContext",
              "(Ljava/lang/String;)Landroid/content/Context;");
  if (_m_Context__createAttributionContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createAttributionContext, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__createDeviceProtectedStorageContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__createDeviceProtectedStorageContext(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__createDeviceProtectedStorageContext,
              "createDeviceProtectedStorageContext",
              "()Landroid/content/Context;");
  if (_m_Context__createDeviceProtectedStorageContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Context__createDeviceProtectedStorageContext);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__getDisplay = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__getDisplay(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__getDisplay, "getDisplay",
              "()Landroid/view/Display;");
  if (_m_Context__getDisplay == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Context__getDisplay);
  return to_global_ref_result(_result);
}

jmethodID _m_Context__isRestricted = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__isRestricted(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__isRestricted, "isRestricted", "()Z");
  if (_m_Context__isRestricted == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Context__isRestricted);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__isDeviceProtectedStorage = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__isDeviceProtectedStorage(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__isDeviceProtectedStorage,
              "isDeviceProtectedStorage", "()Z");
  if (_m_Context__isDeviceProtectedStorage == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Context__isDeviceProtectedStorage);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Context__isUiContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Context__isUiContext(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Context, &_m_Context__isUiContext, "isUiContext", "()Z");
  if (_m_Context__isUiContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Context__isUiContext);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jfieldID _f_Context__ACCESSIBILITY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__ACCESSIBILITY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__ACCESSIBILITY_SERVICE,
                    "ACCESSIBILITY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__ACCESSIBILITY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__ACCOUNT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__ACCOUNT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__ACCOUNT_SERVICE, "ACCOUNT_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__ACCOUNT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__ACTIVITY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__ACTIVITY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__ACTIVITY_SERVICE,
                    "ACTIVITY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__ACTIVITY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__ALARM_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__ALARM_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__ALARM_SERVICE, "ALARM_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__ALARM_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__APPWIDGET_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__APPWIDGET_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__APPWIDGET_SERVICE,
                    "APPWIDGET_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__APPWIDGET_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__APP_OPS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__APP_OPS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__APP_OPS_SERVICE, "APP_OPS_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__APP_OPS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__APP_SEARCH_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__APP_SEARCH_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__APP_SEARCH_SERVICE,
                    "APP_SEARCH_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__APP_SEARCH_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__AUDIO_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__AUDIO_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__AUDIO_SERVICE, "AUDIO_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__AUDIO_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__BATTERY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__BATTERY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__BATTERY_SERVICE, "BATTERY_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__BATTERY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__BIOMETRIC_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__BIOMETRIC_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__BIOMETRIC_SERVICE,
                    "BIOMETRIC_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__BIOMETRIC_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__BLOB_STORE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__BLOB_STORE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__BLOB_STORE_SERVICE,
                    "BLOB_STORE_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__BLOB_STORE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__BLUETOOTH_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__BLUETOOTH_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__BLUETOOTH_SERVICE,
                    "BLUETOOTH_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__BLUETOOTH_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__BUGREPORT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__BUGREPORT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__BUGREPORT_SERVICE,
                    "BUGREPORT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__BUGREPORT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CAMERA_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CAMERA_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CAMERA_SERVICE, "CAMERA_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__CAMERA_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CAPTIONING_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CAPTIONING_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CAPTIONING_SERVICE,
                    "CAPTIONING_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CAPTIONING_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CARRIER_CONFIG_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CARRIER_CONFIG_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CARRIER_CONFIG_SERVICE,
                    "CARRIER_CONFIG_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CARRIER_CONFIG_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CLIPBOARD_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CLIPBOARD_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CLIPBOARD_SERVICE,
                    "CLIPBOARD_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CLIPBOARD_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__COMPANION_DEVICE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__COMPANION_DEVICE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__COMPANION_DEVICE_SERVICE,
                    "COMPANION_DEVICE_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__COMPANION_DEVICE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CONNECTIVITY_DIAGNOSTICS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CONNECTIVITY_DIAGNOSTICS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CONNECTIVITY_DIAGNOSTICS_SERVICE,
                    "CONNECTIVITY_DIAGNOSTICS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CONNECTIVITY_DIAGNOSTICS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CONNECTIVITY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CONNECTIVITY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CONNECTIVITY_SERVICE,
                    "CONNECTIVITY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CONNECTIVITY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CONSUMER_IR_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CONSUMER_IR_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CONSUMER_IR_SERVICE,
                    "CONSUMER_IR_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CONSUMER_IR_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__CROSS_PROFILE_APPS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__CROSS_PROFILE_APPS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__CROSS_PROFILE_APPS_SERVICE,
                    "CROSS_PROFILE_APPS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__CROSS_PROFILE_APPS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DEVICE_POLICY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DEVICE_POLICY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DEVICE_POLICY_SERVICE,
                    "DEVICE_POLICY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DEVICE_POLICY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DISPLAY_HASH_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DISPLAY_HASH_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DISPLAY_HASH_SERVICE,
                    "DISPLAY_HASH_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DISPLAY_HASH_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DISPLAY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DISPLAY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DISPLAY_SERVICE, "DISPLAY_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DISPLAY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DOMAIN_VERIFICATION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DOMAIN_VERIFICATION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DOMAIN_VERIFICATION_SERVICE,
                    "DOMAIN_VERIFICATION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DOMAIN_VERIFICATION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DOWNLOAD_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DOWNLOAD_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DOWNLOAD_SERVICE,
                    "DOWNLOAD_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DOWNLOAD_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__DROPBOX_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__DROPBOX_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__DROPBOX_SERVICE, "DROPBOX_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__DROPBOX_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__EUICC_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__EUICC_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__EUICC_SERVICE, "EUICC_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__EUICC_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__FILE_INTEGRITY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__FILE_INTEGRITY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__FILE_INTEGRITY_SERVICE,
                    "FILE_INTEGRITY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__FILE_INTEGRITY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__FINGERPRINT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__FINGERPRINT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__FINGERPRINT_SERVICE,
                    "FINGERPRINT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__FINGERPRINT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__GAME_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__GAME_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__GAME_SERVICE, "GAME_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__GAME_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__HARDWARE_PROPERTIES_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__HARDWARE_PROPERTIES_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__HARDWARE_PROPERTIES_SERVICE,
                    "HARDWARE_PROPERTIES_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__HARDWARE_PROPERTIES_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__INPUT_METHOD_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__INPUT_METHOD_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__INPUT_METHOD_SERVICE,
                    "INPUT_METHOD_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__INPUT_METHOD_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__INPUT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__INPUT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__INPUT_SERVICE, "INPUT_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__INPUT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__IPSEC_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__IPSEC_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__IPSEC_SERVICE, "IPSEC_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__IPSEC_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__JOB_SCHEDULER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__JOB_SCHEDULER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__JOB_SCHEDULER_SERVICE,
                    "JOB_SCHEDULER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__JOB_SCHEDULER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__KEYGUARD_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__KEYGUARD_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__KEYGUARD_SERVICE,
                    "KEYGUARD_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__KEYGUARD_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__LAUNCHER_APPS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__LAUNCHER_APPS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__LAUNCHER_APPS_SERVICE,
                    "LAUNCHER_APPS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__LAUNCHER_APPS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__LAYOUT_INFLATER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__LAYOUT_INFLATER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__LAYOUT_INFLATER_SERVICE,
                    "LAYOUT_INFLATER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__LAYOUT_INFLATER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__LOCALE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__LOCALE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__LOCALE_SERVICE, "LOCALE_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__LOCALE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__LOCATION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__LOCATION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__LOCATION_SERVICE,
                    "LOCATION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__LOCATION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MEDIA_COMMUNICATION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MEDIA_COMMUNICATION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MEDIA_COMMUNICATION_SERVICE,
                    "MEDIA_COMMUNICATION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__MEDIA_COMMUNICATION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MEDIA_METRICS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MEDIA_METRICS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MEDIA_METRICS_SERVICE,
                    "MEDIA_METRICS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__MEDIA_METRICS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MEDIA_PROJECTION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MEDIA_PROJECTION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MEDIA_PROJECTION_SERVICE,
                    "MEDIA_PROJECTION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__MEDIA_PROJECTION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MEDIA_ROUTER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MEDIA_ROUTER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MEDIA_ROUTER_SERVICE,
                    "MEDIA_ROUTER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__MEDIA_ROUTER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MEDIA_SESSION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MEDIA_SESSION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MEDIA_SESSION_SERVICE,
                    "MEDIA_SESSION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__MEDIA_SESSION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__MIDI_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__MIDI_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__MIDI_SERVICE, "MIDI_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__MIDI_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__NETWORK_STATS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__NETWORK_STATS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__NETWORK_STATS_SERVICE,
                    "NETWORK_STATS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__NETWORK_STATS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__NFC_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__NFC_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__NFC_SERVICE, "NFC_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__NFC_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__NOTIFICATION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__NOTIFICATION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__NOTIFICATION_SERVICE,
                    "NOTIFICATION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__NOTIFICATION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__NSD_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__NSD_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__NSD_SERVICE, "NSD_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__NSD_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__PEOPLE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__PEOPLE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__PEOPLE_SERVICE, "PEOPLE_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__PEOPLE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__PERFORMANCE_HINT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__PERFORMANCE_HINT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__PERFORMANCE_HINT_SERVICE,
                    "PERFORMANCE_HINT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__PERFORMANCE_HINT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__POWER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__POWER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__POWER_SERVICE, "POWER_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__POWER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__PRINT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__PRINT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__PRINT_SERVICE, "PRINT_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__PRINT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__RESTRICTIONS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__RESTRICTIONS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__RESTRICTIONS_SERVICE,
                    "RESTRICTIONS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__RESTRICTIONS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__ROLE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__ROLE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__ROLE_SERVICE, "ROLE_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__ROLE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__SEARCH_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__SEARCH_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__SEARCH_SERVICE, "SEARCH_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__SEARCH_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__SENSOR_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__SENSOR_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__SENSOR_SERVICE, "SENSOR_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__SENSOR_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__SHORTCUT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__SHORTCUT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__SHORTCUT_SERVICE,
                    "SHORTCUT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__SHORTCUT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__STATUS_BAR_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__STATUS_BAR_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__STATUS_BAR_SERVICE,
                    "STATUS_BAR_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__STATUS_BAR_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__STORAGE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__STORAGE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__STORAGE_SERVICE, "STORAGE_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__STORAGE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__STORAGE_STATS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__STORAGE_STATS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__STORAGE_STATS_SERVICE,
                    "STORAGE_STATS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__STORAGE_STATS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__SYSTEM_HEALTH_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__SYSTEM_HEALTH_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__SYSTEM_HEALTH_SERVICE,
                    "SYSTEM_HEALTH_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__SYSTEM_HEALTH_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TELECOM_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TELECOM_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TELECOM_SERVICE, "TELECOM_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TELECOM_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TELEPHONY_IMS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TELEPHONY_IMS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TELEPHONY_IMS_SERVICE,
                    "TELEPHONY_IMS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TELEPHONY_IMS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TELEPHONY_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TELEPHONY_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TELEPHONY_SERVICE,
                    "TELEPHONY_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TELEPHONY_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TELEPHONY_SUBSCRIPTION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TELEPHONY_SUBSCRIPTION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TELEPHONY_SUBSCRIPTION_SERVICE,
                    "TELEPHONY_SUBSCRIPTION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TELEPHONY_SUBSCRIPTION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TEXT_CLASSIFICATION_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TEXT_CLASSIFICATION_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TEXT_CLASSIFICATION_SERVICE,
                    "TEXT_CLASSIFICATION_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TEXT_CLASSIFICATION_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TEXT_SERVICES_MANAGER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TEXT_SERVICES_MANAGER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TEXT_SERVICES_MANAGER_SERVICE,
                    "TEXT_SERVICES_MANAGER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TEXT_SERVICES_MANAGER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TV_INPUT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TV_INPUT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TV_INPUT_SERVICE,
                    "TV_INPUT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TV_INPUT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__TV_INTERACTIVE_APP_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__TV_INTERACTIVE_APP_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__TV_INTERACTIVE_APP_SERVICE,
                    "TV_INTERACTIVE_APP_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__TV_INTERACTIVE_APP_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__UI_MODE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__UI_MODE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__UI_MODE_SERVICE, "UI_MODE_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__UI_MODE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__USAGE_STATS_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__USAGE_STATS_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__USAGE_STATS_SERVICE,
                    "USAGE_STATS_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__USAGE_STATS_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__USB_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__USB_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__USB_SERVICE, "USB_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__USB_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__USER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__USER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__USER_SERVICE, "USER_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__USER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__VIBRATOR_MANAGER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__VIBRATOR_MANAGER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__VIBRATOR_MANAGER_SERVICE,
                    "VIBRATOR_MANAGER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__VIBRATOR_MANAGER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__VIBRATOR_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__VIBRATOR_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__VIBRATOR_SERVICE,
                    "VIBRATOR_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__VIBRATOR_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__VPN_MANAGEMENT_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__VPN_MANAGEMENT_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__VPN_MANAGEMENT_SERVICE,
                    "VPN_MANAGEMENT_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__VPN_MANAGEMENT_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WALLPAPER_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WALLPAPER_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WALLPAPER_SERVICE,
                    "WALLPAPER_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__WALLPAPER_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WIFI_AWARE_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WIFI_AWARE_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WIFI_AWARE_SERVICE,
                    "WIFI_AWARE_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__WIFI_AWARE_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WIFI_P2P_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WIFI_P2P_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WIFI_P2P_SERVICE,
                    "WIFI_P2P_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__WIFI_P2P_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WIFI_RTT_RANGING_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WIFI_RTT_RANGING_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WIFI_RTT_RANGING_SERVICE,
                    "WIFI_RTT_RANGING_SERVICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Context, _f_Context__WIFI_RTT_RANGING_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WIFI_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WIFI_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WIFI_SERVICE, "WIFI_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__WIFI_SERVICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Context__WINDOW_SERVICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Context__WINDOW_SERVICE() {
  load_env();
  load_class_global_ref(&_c_Context, "android/content/Context");
  if (_c_Context == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Context, &_f_Context__WINDOW_SERVICE, "WINDOW_SERVICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Context,
                                                    _f_Context__WINDOW_SERVICE);
  return to_global_ref_result(_result);
}

// android.content.Intent$FilterComparison
jclass _c_Intent_FilterComparison = NULL;

jmethodID _m_Intent_FilterComparison__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_FilterComparison__new0(jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent_FilterComparison,
                        "android/content/Intent$FilterComparison");
  if (_c_Intent_FilterComparison == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_FilterComparison, &_m_Intent_FilterComparison__new0,
              "<init>", "(Landroid/content/Intent;)V");
  if (_m_Intent_FilterComparison__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Intent_FilterComparison,
                           _m_Intent_FilterComparison__new0, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent_FilterComparison__getIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_FilterComparison__getIntent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_FilterComparison,
                        "android/content/Intent$FilterComparison");
  if (_c_Intent_FilterComparison == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_FilterComparison,
              &_m_Intent_FilterComparison__getIntent, "getIntent",
              "()Landroid/content/Intent;");
  if (_m_Intent_FilterComparison__getIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent_FilterComparison__getIntent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent_FilterComparison__equals = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_FilterComparison__equals(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(&_c_Intent_FilterComparison,
                        "android/content/Intent$FilterComparison");
  if (_c_Intent_FilterComparison == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_FilterComparison, &_m_Intent_FilterComparison__equals,
              "equals", "(Ljava/lang/Object;)Z");
  if (_m_Intent_FilterComparison__equals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Intent_FilterComparison__equals, object);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent_FilterComparison__hashCode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_FilterComparison__hashCode1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_FilterComparison,
                        "android/content/Intent$FilterComparison");
  if (_c_Intent_FilterComparison == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_FilterComparison,
              &_m_Intent_FilterComparison__hashCode1, "hashCode", "()I");
  if (_m_Intent_FilterComparison__hashCode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Intent_FilterComparison__hashCode1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

// android.content.Intent$ShortcutIconResource
jclass _c_Intent_ShortcutIconResource = NULL;

jmethodID _m_Intent_ShortcutIconResource__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_ShortcutIconResource__new0() {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_ShortcutIconResource,
              &_m_Intent_ShortcutIconResource__new0, "<init>", "()V");
  if (_m_Intent_ShortcutIconResource__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_Intent_ShortcutIconResource,
                                         _m_Intent_ShortcutIconResource__new0);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent_ShortcutIconResource__fromContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_ShortcutIconResource__fromContext(jobject context, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent_ShortcutIconResource,
                     &_m_Intent_ShortcutIconResource__fromContext,
                     "fromContext",
                     "(Landroid/content/Context;I)Landroid/content/"
                     "Intent$ShortcutIconResource;");
  if (_m_Intent_ShortcutIconResource__fromContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent_ShortcutIconResource,
      _m_Intent_ShortcutIconResource__fromContext, context, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent_ShortcutIconResource__describeContents = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_ShortcutIconResource__describeContents(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_ShortcutIconResource,
              &_m_Intent_ShortcutIconResource__describeContents,
              "describeContents", "()I");
  if (_m_Intent_ShortcutIconResource__describeContents == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Intent_ShortcutIconResource__describeContents);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent_ShortcutIconResource__writeToParcel = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_ShortcutIconResource__writeToParcel(jobject self_,
                                                     jobject parcel,
                                                     int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_ShortcutIconResource,
              &_m_Intent_ShortcutIconResource__writeToParcel, "writeToParcel",
              "(Landroid/os/Parcel;I)V");
  if (_m_Intent_ShortcutIconResource__writeToParcel == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Intent_ShortcutIconResource__writeToParcel, parcel, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent_ShortcutIconResource__toString1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent_ShortcutIconResource__toString1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent_ShortcutIconResource,
              &_m_Intent_ShortcutIconResource__toString1, "toString",
              "()Ljava/lang/String;");
  if (_m_Intent_ShortcutIconResource__toString1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent_ShortcutIconResource__toString1);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent_ShortcutIconResource__CREATOR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent_ShortcutIconResource__CREATOR() {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent_ShortcutIconResource,
                    &_f_Intent_ShortcutIconResource__CREATOR, "CREATOR",
                    "Landroid/os/Parcelable$Creator;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent_ShortcutIconResource,
                                      _f_Intent_ShortcutIconResource__CREATOR);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent_ShortcutIconResource__packageName = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent_ShortcutIconResource__packageName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_field(_c_Intent_ShortcutIconResource,
             &_f_Intent_ShortcutIconResource__packageName, "packageName",
             "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetObjectField(
      jniEnv, self_, _f_Intent_ShortcutIconResource__packageName);
  return to_global_ref_result(_result);
}

FFI_PLUGIN_EXPORT
JniResult set_Intent_ShortcutIconResource__packageName(jobject self_,
                                                       jobject value) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_field(_c_Intent_ShortcutIconResource,
             &_f_Intent_ShortcutIconResource__packageName, "packageName",
             "Ljava/lang/String;");
  (*jniEnv)->SetObjectField(jniEnv, self_,
                            _f_Intent_ShortcutIconResource__packageName, value);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jfieldID _f_Intent_ShortcutIconResource__resourceName = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent_ShortcutIconResource__resourceName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_field(_c_Intent_ShortcutIconResource,
             &_f_Intent_ShortcutIconResource__resourceName, "resourceName",
             "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetObjectField(
      jniEnv, self_, _f_Intent_ShortcutIconResource__resourceName);
  return to_global_ref_result(_result);
}

FFI_PLUGIN_EXPORT
JniResult set_Intent_ShortcutIconResource__resourceName(jobject self_,
                                                        jobject value) {
  load_env();
  load_class_global_ref(&_c_Intent_ShortcutIconResource,
                        "android/content/Intent$ShortcutIconResource");
  if (_c_Intent_ShortcutIconResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_field(_c_Intent_ShortcutIconResource,
             &_f_Intent_ShortcutIconResource__resourceName, "resourceName",
             "Ljava/lang/String;");
  (*jniEnv)->SetObjectField(
      jniEnv, self_, _f_Intent_ShortcutIconResource__resourceName, value);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

// android.content.Intent
jclass _c_Intent = NULL;

jmethodID _m_Intent__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new0() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new0, "<init>", "()V");
  if (_m_Intent__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new0);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new1(jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new1, "<init>",
              "(Landroid/content/Intent;)V");
  if (_m_Intent__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new1, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__new2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new2(jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new2, "<init>", "(Ljava/lang/String;)V");
  if (_m_Intent__new2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new2, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__new3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new3(jobject string, jobject uri) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new3, "<init>",
              "(Ljava/lang/String;Landroid/net/Uri;)V");
  if (_m_Intent__new3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new3, string, uri);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__new4 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new4(jobject context, jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new4, "<init>",
              "(Landroid/content/Context;Ljava/lang/Class;)V");
  if (_m_Intent__new4 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new4, context, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__new5 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__new5(jobject string,
                       jobject uri,
                       jobject context,
                       jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__new5, "<init>",
              "(Ljava/lang/String;Landroid/net/Uri;Landroid/content/"
              "Context;Ljava/lang/Class;)V");
  if (_m_Intent__new5 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_Intent, _m_Intent__new5,
                                         string, uri, context, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__createChooser = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__createChooser(jobject intent, jobject charSequence) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent, &_m_Intent__createChooser, "createChooser",
                     "(Landroid/content/Intent;Ljava/lang/"
                     "CharSequence;)Landroid/content/Intent;");
  if (_m_Intent__createChooser == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__createChooser, intent, charSequence);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__createChooser1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__createChooser1(jobject intent,
                                 jobject charSequence,
                                 jobject intentSender) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Intent, &_m_Intent__createChooser1, "createChooser",
      "(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/"
      "IntentSender;)Landroid/content/Intent;");
  if (_m_Intent__createChooser1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__createChooser1, intent, charSequence,
      intentSender);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__clone = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__clone(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__clone, "clone", "()Ljava/lang/Object;");
  if (_m_Intent__clone == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__clone);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__cloneFilter = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__cloneFilter(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__cloneFilter, "cloneFilter",
              "()Landroid/content/Intent;");
  if (_m_Intent__cloneFilter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__cloneFilter);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__makeMainActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__makeMainActivity(jobject componentName) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Intent, &_m_Intent__makeMainActivity, "makeMainActivity",
      "(Landroid/content/ComponentName;)Landroid/content/Intent;");
  if (_m_Intent__makeMainActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__makeMainActivity, componentName);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__makeMainSelectorActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__makeMainSelectorActivity(jobject string, jobject string1) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Intent, &_m_Intent__makeMainSelectorActivity,
      "makeMainSelectorActivity",
      "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__makeMainSelectorActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__makeMainSelectorActivity, string, string1);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__makeRestartActivityTask = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__makeRestartActivityTask(jobject componentName) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Intent, &_m_Intent__makeRestartActivityTask, "makeRestartActivityTask",
      "(Landroid/content/ComponentName;)Landroid/content/Intent;");
  if (_m_Intent__makeRestartActivityTask == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__makeRestartActivityTask, componentName);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIntent(jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent, &_m_Intent__getIntent, "getIntent",
                     "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__getIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__getIntent, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__parseUri = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__parseUri(jobject string, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent, &_m_Intent__parseUri, "parseUri",
                     "(Ljava/lang/String;I)Landroid/content/Intent;");
  if (_m_Intent__parseUri == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__parseUri, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getIntentOld = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIntentOld(jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent, &_m_Intent__getIntentOld, "getIntentOld",
                     "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__getIntentOld == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__getIntentOld, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getAction = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getAction(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getAction, "getAction",
              "()Ljava/lang/String;");
  if (_m_Intent__getAction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getAction);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getData = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getData(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getData, "getData", "()Landroid/net/Uri;");
  if (_m_Intent__getData == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getData);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getDataString = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getDataString(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getDataString, "getDataString",
              "()Ljava/lang/String;");
  if (_m_Intent__getDataString == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getDataString);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getScheme = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getScheme(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getScheme, "getScheme",
              "()Ljava/lang/String;");
  if (_m_Intent__getScheme == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getScheme);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getType = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getType(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getType, "getType",
              "()Ljava/lang/String;");
  if (_m_Intent__getType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getType);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__resolveType = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__resolveType(jobject self_, jobject context) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__resolveType, "resolveType",
              "(Landroid/content/Context;)Ljava/lang/String;");
  if (_m_Intent__resolveType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__resolveType, context);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__resolveType1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__resolveType1(jobject self_, jobject contentResolver) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__resolveType1, "resolveType",
              "(Landroid/content/ContentResolver;)Ljava/lang/String;");
  if (_m_Intent__resolveType1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__resolveType1, contentResolver);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__resolveTypeIfNeeded = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__resolveTypeIfNeeded(jobject self_, jobject contentResolver) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__resolveTypeIfNeeded, "resolveTypeIfNeeded",
              "(Landroid/content/ContentResolver;)Ljava/lang/String;");
  if (_m_Intent__resolveTypeIfNeeded == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__resolveTypeIfNeeded, contentResolver);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getIdentifier = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIdentifier(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getIdentifier, "getIdentifier",
              "()Ljava/lang/String;");
  if (_m_Intent__getIdentifier == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getIdentifier);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__hasCategory = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__hasCategory(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__hasCategory, "hasCategory",
              "(Ljava/lang/String;)Z");
  if (_m_Intent__hasCategory == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Intent__hasCategory, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getCategories = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCategories(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCategories, "getCategories",
              "()Ljava/util/Set;");
  if (_m_Intent__getCategories == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getCategories);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getSelector = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getSelector(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getSelector, "getSelector",
              "()Landroid/content/Intent;");
  if (_m_Intent__getSelector == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getSelector);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getClipData = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getClipData(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getClipData, "getClipData",
              "()Landroid/content/ClipData;");
  if (_m_Intent__getClipData == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getClipData);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setExtrasClassLoader = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setExtrasClassLoader(jobject self_, jobject classLoader) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setExtrasClassLoader,
              "setExtrasClassLoader", "(Ljava/lang/ClassLoader;)V");
  if (_m_Intent__setExtrasClassLoader == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__setExtrasClassLoader,
                            classLoader);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__hasExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__hasExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__hasExtra, "hasExtra",
              "(Ljava/lang/String;)Z");
  if (_m_Intent__hasExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Intent__hasExtra, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__hasFileDescriptors = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__hasFileDescriptors(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__hasFileDescriptors, "hasFileDescriptors",
              "()Z");
  if (_m_Intent__hasFileDescriptors == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(jniEnv, self_,
                                                 _m_Intent__hasFileDescriptors);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getBooleanExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getBooleanExtra(jobject self_, jobject string, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getBooleanExtra, "getBooleanExtra",
              "(Ljava/lang/String;Z)Z");
  if (_m_Intent__getBooleanExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Intent__getBooleanExtra, string, z);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getByteExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getByteExtra(jobject self_, jobject string, int8_t b) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getByteExtra, "getByteExtra",
              "(Ljava/lang/String;B)B");
  if (_m_Intent__getByteExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int8_t _result = (*jniEnv)->CallByteMethod(
      jniEnv, self_, _m_Intent__getByteExtra, string, b);
  return (JniResult){.value = {.b = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getShortExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getShortExtra(jobject self_, jobject string, int16_t s) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getShortExtra, "getShortExtra",
              "(Ljava/lang/String;S)S");
  if (_m_Intent__getShortExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int16_t _result = (*jniEnv)->CallShortMethod(
      jniEnv, self_, _m_Intent__getShortExtra, string, s);
  return (JniResult){.value = {.s = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getCharExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCharExtra(jobject self_, jobject string, uint16_t c) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCharExtra, "getCharExtra",
              "(Ljava/lang/String;C)C");
  if (_m_Intent__getCharExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint16_t _result = (*jniEnv)->CallCharMethod(
      jniEnv, self_, _m_Intent__getCharExtra, string, c);
  return (JniResult){.value = {.c = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getIntExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIntExtra(jobject self_, jobject string, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getIntExtra, "getIntExtra",
              "(Ljava/lang/String;I)I");
  if (_m_Intent__getIntExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(jniEnv, self_,
                                             _m_Intent__getIntExtra, string, i);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getLongExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getLongExtra(jobject self_, jobject string, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getLongExtra, "getLongExtra",
              "(Ljava/lang/String;J)J");
  if (_m_Intent__getLongExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result = (*jniEnv)->CallLongMethod(
      jniEnv, self_, _m_Intent__getLongExtra, string, j);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getFloatExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getFloatExtra(jobject self_, jobject string, float f) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getFloatExtra, "getFloatExtra",
              "(Ljava/lang/String;F)F");
  if (_m_Intent__getFloatExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  float _result = (*jniEnv)->CallFloatMethod(
      jniEnv, self_, _m_Intent__getFloatExtra, string, f);
  return (JniResult){.value = {.f = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getDoubleExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getDoubleExtra(jobject self_, jobject string, double d) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getDoubleExtra, "getDoubleExtra",
              "(Ljava/lang/String;D)D");
  if (_m_Intent__getDoubleExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  double _result = (*jniEnv)->CallDoubleMethod(
      jniEnv, self_, _m_Intent__getDoubleExtra, string, d);
  return (JniResult){.value = {.d = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getStringExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getStringExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getStringExtra, "getStringExtra",
              "(Ljava/lang/String;)Ljava/lang/String;");
  if (_m_Intent__getStringExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getStringExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getCharSequenceExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCharSequenceExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCharSequenceExtra,
              "getCharSequenceExtra",
              "(Ljava/lang/String;)Ljava/lang/CharSequence;");
  if (_m_Intent__getCharSequenceExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getCharSequenceExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableExtra, "getParcelableExtra",
              "(Ljava/lang/String;)Landroid/os/Parcelable;");
  if (_m_Intent__getParcelableExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableExtra1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableExtra1(jobject self_,
                                      jobject string,
                                      jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableExtra1, "getParcelableExtra",
              "(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;");
  if (_m_Intent__getParcelableExtra1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableExtra1, string, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableArrayExtra,
              "getParcelableArrayExtra",
              "(Ljava/lang/String;)[Landroid/os/Parcelable;");
  if (_m_Intent__getParcelableArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableArrayExtra1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableArrayExtra1(jobject self_,
                                           jobject string,
                                           jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableArrayExtra1,
              "getParcelableArrayExtra",
              "(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;");
  if (_m_Intent__getParcelableArrayExtra1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableArrayExtra1, string, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableArrayListExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableArrayListExtra,
              "getParcelableArrayListExtra",
              "(Ljava/lang/String;)Ljava/util/ArrayList;");
  if (_m_Intent__getParcelableArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableArrayListExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getParcelableArrayListExtra1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getParcelableArrayListExtra1(jobject self_,
                                               jobject string,
                                               jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getParcelableArrayListExtra1,
              "getParcelableArrayListExtra",
              "(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;");
  if (_m_Intent__getParcelableArrayListExtra1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getParcelableArrayListExtra1, string, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getSerializableExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getSerializableExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getSerializableExtra,
              "getSerializableExtra",
              "(Ljava/lang/String;)Ljava/io/Serializable;");
  if (_m_Intent__getSerializableExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getSerializableExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getSerializableExtra1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getSerializableExtra1(jobject self_,
                                        jobject string,
                                        jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getSerializableExtra1,
              "getSerializableExtra",
              "(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;");
  if (_m_Intent__getSerializableExtra1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getSerializableExtra1, string, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getIntegerArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIntegerArrayListExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getIntegerArrayListExtra,
              "getIntegerArrayListExtra",
              "(Ljava/lang/String;)Ljava/util/ArrayList;");
  if (_m_Intent__getIntegerArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getIntegerArrayListExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getStringArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getStringArrayListExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getStringArrayListExtra,
              "getStringArrayListExtra",
              "(Ljava/lang/String;)Ljava/util/ArrayList;");
  if (_m_Intent__getStringArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getStringArrayListExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getCharSequenceArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCharSequenceArrayListExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCharSequenceArrayListExtra,
              "getCharSequenceArrayListExtra",
              "(Ljava/lang/String;)Ljava/util/ArrayList;");
  if (_m_Intent__getCharSequenceArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getCharSequenceArrayListExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getBooleanArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getBooleanArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getBooleanArrayExtra,
              "getBooleanArrayExtra", "(Ljava/lang/String;)[Z");
  if (_m_Intent__getBooleanArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getBooleanArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getByteArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getByteArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getByteArrayExtra, "getByteArrayExtra",
              "(Ljava/lang/String;)[B");
  if (_m_Intent__getByteArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getByteArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getShortArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getShortArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getShortArrayExtra, "getShortArrayExtra",
              "(Ljava/lang/String;)[S");
  if (_m_Intent__getShortArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getShortArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getCharArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCharArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCharArrayExtra, "getCharArrayExtra",
              "(Ljava/lang/String;)[C");
  if (_m_Intent__getCharArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getCharArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getIntArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getIntArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getIntArrayExtra, "getIntArrayExtra",
              "(Ljava/lang/String;)[I");
  if (_m_Intent__getIntArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getIntArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getLongArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getLongArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getLongArrayExtra, "getLongArrayExtra",
              "(Ljava/lang/String;)[J");
  if (_m_Intent__getLongArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getLongArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getFloatArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getFloatArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getFloatArrayExtra, "getFloatArrayExtra",
              "(Ljava/lang/String;)[F");
  if (_m_Intent__getFloatArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getFloatArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getDoubleArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getDoubleArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getDoubleArrayExtra, "getDoubleArrayExtra",
              "(Ljava/lang/String;)[D");
  if (_m_Intent__getDoubleArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getDoubleArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getStringArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getStringArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getStringArrayExtra, "getStringArrayExtra",
              "(Ljava/lang/String;)[Ljava/lang/String;");
  if (_m_Intent__getStringArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getStringArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getCharSequenceArrayExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getCharSequenceArrayExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getCharSequenceArrayExtra,
              "getCharSequenceArrayExtra",
              "(Ljava/lang/String;)[Ljava/lang/CharSequence;");
  if (_m_Intent__getCharSequenceArrayExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getCharSequenceArrayExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getBundleExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getBundleExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getBundleExtra, "getBundleExtra",
              "(Ljava/lang/String;)Landroid/os/Bundle;");
  if (_m_Intent__getBundleExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__getBundleExtra, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getExtras = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getExtras(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getExtras, "getExtras",
              "()Landroid/os/Bundle;");
  if (_m_Intent__getExtras == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getExtras);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getFlags = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getFlags(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getFlags, "getFlags", "()I");
  if (_m_Intent__getFlags == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Intent__getFlags);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__getPackage = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getPackage(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getPackage, "getPackage",
              "()Ljava/lang/String;");
  if (_m_Intent__getPackage == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getPackage);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getComponent = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getComponent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getComponent, "getComponent",
              "()Landroid/content/ComponentName;");
  if (_m_Intent__getComponent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getComponent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__getSourceBounds = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__getSourceBounds(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__getSourceBounds, "getSourceBounds",
              "()Landroid/graphics/Rect;");
  if (_m_Intent__getSourceBounds == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__getSourceBounds);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__resolveActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__resolveActivity(jobject self_, jobject packageManager) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__resolveActivity, "resolveActivity",
      "(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;");
  if (_m_Intent__resolveActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__resolveActivity, packageManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__resolveActivityInfo = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__resolveActivityInfo(jobject self_,
                                      jobject packageManager,
                                      int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__resolveActivityInfo, "resolveActivityInfo",
              "(Landroid/content/pm/PackageManager;I)Landroid/content/pm/"
              "ActivityInfo;");
  if (_m_Intent__resolveActivityInfo == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__resolveActivityInfo, packageManager, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setAction = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setAction(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setAction, "setAction",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setAction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__setAction, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setData = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setData(jobject self_, jobject uri) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setData, "setData",
              "(Landroid/net/Uri;)Landroid/content/Intent;");
  if (_m_Intent__setData == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__setData, uri);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setDataAndNormalize = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setDataAndNormalize(jobject self_, jobject uri) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setDataAndNormalize, "setDataAndNormalize",
              "(Landroid/net/Uri;)Landroid/content/Intent;");
  if (_m_Intent__setDataAndNormalize == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setDataAndNormalize, uri);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setType = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setType(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setType, "setType",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__setType, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setTypeAndNormalize = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setTypeAndNormalize(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setTypeAndNormalize, "setTypeAndNormalize",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setTypeAndNormalize == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setTypeAndNormalize, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setDataAndType = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setDataAndType(jobject self_, jobject uri, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setDataAndType, "setDataAndType",
              "(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setDataAndType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setDataAndType, uri, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setDataAndTypeAndNormalize = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setDataAndTypeAndNormalize(jobject self_,
                                             jobject uri,
                                             jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setDataAndTypeAndNormalize,
              "setDataAndTypeAndNormalize",
              "(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setDataAndTypeAndNormalize == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setDataAndTypeAndNormalize, uri, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setIdentifier = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setIdentifier(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setIdentifier, "setIdentifier",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setIdentifier == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setIdentifier, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__addCategory = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__addCategory(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__addCategory, "addCategory",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__addCategory == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Intent__addCategory, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__removeCategory = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__removeCategory(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__removeCategory, "removeCategory",
              "(Ljava/lang/String;)V");
  if (_m_Intent__removeCategory == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__removeCategory, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__setSelector = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setSelector(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setSelector, "setSelector",
              "(Landroid/content/Intent;)V");
  if (_m_Intent__setSelector == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__setSelector, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__setClipData = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setClipData(jobject self_, jobject clipData) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setClipData, "setClipData",
              "(Landroid/content/ClipData;)V");
  if (_m_Intent__setClipData == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__setClipData, clipData);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__putExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra(jobject self_, jobject string, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra, "putExtra",
              "(Ljava/lang/String;Z)Landroid/content/Intent;");
  if (_m_Intent__putExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Intent__putExtra, string, z);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra1(jobject self_, jobject string, int8_t b) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra1, "putExtra",
              "(Ljava/lang/String;B)Landroid/content/Intent;");
  if (_m_Intent__putExtra1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra1, string, b);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra2(jobject self_, jobject string, uint16_t c) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra2, "putExtra",
              "(Ljava/lang/String;C)Landroid/content/Intent;");
  if (_m_Intent__putExtra2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra2, string, c);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra3(jobject self_, jobject string, int16_t s) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra3, "putExtra",
              "(Ljava/lang/String;S)Landroid/content/Intent;");
  if (_m_Intent__putExtra3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra3, string, s);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra4 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra4(jobject self_, jobject string, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra4, "putExtra",
              "(Ljava/lang/String;I)Landroid/content/Intent;");
  if (_m_Intent__putExtra4 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra4, string, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra5 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra5(jobject self_, jobject string, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra5, "putExtra",
              "(Ljava/lang/String;J)Landroid/content/Intent;");
  if (_m_Intent__putExtra5 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra5, string, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra6 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra6(jobject self_, jobject string, float f) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra6, "putExtra",
              "(Ljava/lang/String;F)Landroid/content/Intent;");
  if (_m_Intent__putExtra6 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra6, string, f);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra7 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra7(jobject self_, jobject string, double d) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra7, "putExtra",
              "(Ljava/lang/String;D)Landroid/content/Intent;");
  if (_m_Intent__putExtra7 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra7, string, d);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra8 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra8(jobject self_, jobject string, jobject string1) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra8, "putExtra",
              "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__putExtra8 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra8, string, string1);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra9 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra9(jobject self_,
                            jobject string,
                            jobject charSequence) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra9, "putExtra",
      "(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;");
  if (_m_Intent__putExtra9 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra9, string, charSequence);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra10 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra10(jobject self_,
                             jobject string,
                             jobject parcelable) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra10, "putExtra",
      "(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;");
  if (_m_Intent__putExtra10 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra10, string, parcelable);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra11 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra11(jobject self_,
                             jobject string,
                             jobject parcelables) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra11, "putExtra",
      "(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;");
  if (_m_Intent__putExtra11 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra11, string, parcelables);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putParcelableArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putParcelableArrayListExtra(jobject self_,
                                              jobject string,
                                              jobject arrayList) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putParcelableArrayListExtra,
      "putParcelableArrayListExtra",
      "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;");
  if (_m_Intent__putParcelableArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putParcelableArrayListExtra, string, arrayList);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putIntegerArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putIntegerArrayListExtra(jobject self_,
                                           jobject string,
                                           jobject arrayList) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putIntegerArrayListExtra,
      "putIntegerArrayListExtra",
      "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;");
  if (_m_Intent__putIntegerArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putIntegerArrayListExtra, string, arrayList);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putStringArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putStringArrayListExtra(jobject self_,
                                          jobject string,
                                          jobject arrayList) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putStringArrayListExtra, "putStringArrayListExtra",
      "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;");
  if (_m_Intent__putStringArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putStringArrayListExtra, string, arrayList);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putCharSequenceArrayListExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putCharSequenceArrayListExtra(jobject self_,
                                                jobject string,
                                                jobject arrayList) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putCharSequenceArrayListExtra,
      "putCharSequenceArrayListExtra",
      "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;");
  if (_m_Intent__putCharSequenceArrayListExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putCharSequenceArrayListExtra, string,
      arrayList);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra12 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra12(jobject self_,
                             jobject string,
                             jobject serializable) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra12, "putExtra",
      "(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;");
  if (_m_Intent__putExtra12 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra12, string, serializable);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra13 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra13(jobject self_, jobject string, jobject zs) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra13, "putExtra",
              "(Ljava/lang/String;[Z)Landroid/content/Intent;");
  if (_m_Intent__putExtra13 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra13, string, zs);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra14 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra14(jobject self_, jobject string, jobject bs) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra14, "putExtra",
              "(Ljava/lang/String;[B)Landroid/content/Intent;");
  if (_m_Intent__putExtra14 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra14, string, bs);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra15 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra15(jobject self_, jobject string, jobject ss) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra15, "putExtra",
              "(Ljava/lang/String;[S)Landroid/content/Intent;");
  if (_m_Intent__putExtra15 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra15, string, ss);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra16 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra16(jobject self_, jobject string, jobject cs) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra16, "putExtra",
              "(Ljava/lang/String;[C)Landroid/content/Intent;");
  if (_m_Intent__putExtra16 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra16, string, cs);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra17 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra17(jobject self_, jobject string, jobject is) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra17, "putExtra",
              "(Ljava/lang/String;[I)Landroid/content/Intent;");
  if (_m_Intent__putExtra17 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra17, string, is);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra18 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra18(jobject self_, jobject string, jobject js) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra18, "putExtra",
              "(Ljava/lang/String;[J)Landroid/content/Intent;");
  if (_m_Intent__putExtra18 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra18, string, js);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra19 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra19(jobject self_, jobject string, jobject fs) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra19, "putExtra",
              "(Ljava/lang/String;[F)Landroid/content/Intent;");
  if (_m_Intent__putExtra19 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra19, string, fs);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra20 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra20(jobject self_, jobject string, jobject ds) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtra20, "putExtra",
              "(Ljava/lang/String;[D)Landroid/content/Intent;");
  if (_m_Intent__putExtra20 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra20, string, ds);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra21 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra21(jobject self_, jobject string, jobject strings) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra21, "putExtra",
      "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__putExtra21 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra21, string, strings);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra22 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra22(jobject self_,
                             jobject string,
                             jobject charSequences) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra22, "putExtra",
      "(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;");
  if (_m_Intent__putExtra22 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra22, string, charSequences);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtra23 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtra23(jobject self_, jobject string, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__putExtra23, "putExtra",
      "(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;");
  if (_m_Intent__putExtra23 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__putExtra23, string, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtras = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtras(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtras, "putExtras",
              "(Landroid/content/Intent;)Landroid/content/Intent;");
  if (_m_Intent__putExtras == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__putExtras, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__putExtras1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__putExtras1(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__putExtras1, "putExtras",
              "(Landroid/os/Bundle;)Landroid/content/Intent;");
  if (_m_Intent__putExtras1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__putExtras1, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__replaceExtras = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__replaceExtras(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__replaceExtras, "replaceExtras",
              "(Landroid/content/Intent;)Landroid/content/Intent;");
  if (_m_Intent__replaceExtras == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__replaceExtras, intent);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__replaceExtras1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__replaceExtras1(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__replaceExtras1, "replaceExtras",
              "(Landroid/os/Bundle;)Landroid/content/Intent;");
  if (_m_Intent__replaceExtras1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__replaceExtras1, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__removeExtra = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__removeExtra(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__removeExtra, "removeExtra",
              "(Ljava/lang/String;)V");
  if (_m_Intent__removeExtra == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__removeExtra, string);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__setFlags = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setFlags(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setFlags, "setFlags",
              "(I)Landroid/content/Intent;");
  if (_m_Intent__setFlags == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__setFlags, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__addFlags = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__addFlags(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__addFlags, "addFlags",
              "(I)Landroid/content/Intent;");
  if (_m_Intent__addFlags == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__addFlags, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__removeFlags = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__removeFlags(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__removeFlags, "removeFlags", "(I)V");
  if (_m_Intent__removeFlags == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__removeFlags, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__setPackage = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setPackage(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setPackage, "setPackage",
              "(Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setPackage == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__setPackage, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setComponent = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setComponent(jobject self_, jobject componentName) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setComponent, "setComponent",
              "(Landroid/content/ComponentName;)Landroid/content/Intent;");
  if (_m_Intent__setComponent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setComponent, componentName);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setClassName = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setClassName(jobject self_, jobject context, jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__setClassName, "setClassName",
      "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setClassName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setClassName, context, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setClassName1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setClassName1(jobject self_,
                                jobject string,
                                jobject string1) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setClassName1, "setClassName",
              "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;");
  if (_m_Intent__setClassName1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setClassName1, string, string1);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setClass = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setClass(jobject self_, jobject context, jobject class) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Intent, &_m_Intent__setClass, "setClass",
      "(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;");
  if (_m_Intent__setClass == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Intent__setClass, context, class);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__setSourceBounds = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__setSourceBounds(jobject self_, jobject rect) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__setSourceBounds, "setSourceBounds",
              "(Landroid/graphics/Rect;)V");
  if (_m_Intent__setSourceBounds == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__setSourceBounds, rect);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__fillIn = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__fillIn(jobject self_, jobject intent, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__fillIn, "fillIn",
              "(Landroid/content/Intent;I)I");
  if (_m_Intent__fillIn == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Intent__fillIn, intent, i);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__filterEquals = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__filterEquals(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__filterEquals, "filterEquals",
              "(Landroid/content/Intent;)Z");
  if (_m_Intent__filterEquals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Intent__filterEquals, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__filterHashCode = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__filterHashCode(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__filterHashCode, "filterHashCode", "()I");
  if (_m_Intent__filterHashCode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Intent__filterHashCode);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__toString1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__toString1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__toString1, "toString",
              "()Ljava/lang/String;");
  if (_m_Intent__toString1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__toString1);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__toURI = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__toURI(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__toURI, "toURI", "()Ljava/lang/String;");
  if (_m_Intent__toURI == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__toURI);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__toUri = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__toUri(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__toUri, "toUri", "(I)Ljava/lang/String;");
  if (_m_Intent__toUri == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Intent__toUri, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__describeContents = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__describeContents(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__describeContents, "describeContents",
              "()I");
  if (_m_Intent__describeContents == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Intent__describeContents);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Intent__writeToParcel = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__writeToParcel(jobject self_, jobject parcel, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__writeToParcel, "writeToParcel",
              "(Landroid/os/Parcel;I)V");
  if (_m_Intent__writeToParcel == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__writeToParcel, parcel, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__readFromParcel = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__readFromParcel(jobject self_, jobject parcel) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Intent, &_m_Intent__readFromParcel, "readFromParcel",
              "(Landroid/os/Parcel;)V");
  if (_m_Intent__readFromParcel == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Intent__readFromParcel, parcel);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Intent__parseIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__parseIntent(jobject resources,
                              jobject xmlPullParser,
                              jobject attributeSet) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Intent, &_m_Intent__parseIntent, "parseIntent",
      "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/"
      "util/AttributeSet;)Landroid/content/Intent;");
  if (_m_Intent__parseIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__parseIntent, resources, xmlPullParser,
      attributeSet);
  return to_global_ref_result(_result);
}

jmethodID _m_Intent__normalizeMimeType = NULL;
FFI_PLUGIN_EXPORT
JniResult Intent__normalizeMimeType(jobject string) {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Intent, &_m_Intent__normalizeMimeType,
                     "normalizeMimeType",
                     "(Ljava/lang/String;)Ljava/lang/String;");
  if (_m_Intent__normalizeMimeType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Intent, _m_Intent__normalizeMimeType, string);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_AIRPLANE_MODE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_AIRPLANE_MODE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_AIRPLANE_MODE_CHANGED,
                    "ACTION_AIRPLANE_MODE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_AIRPLANE_MODE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_ALL_APPS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_ALL_APPS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_ALL_APPS, "ACTION_ALL_APPS",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_ALL_APPS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_ANSWER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_ANSWER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_ANSWER, "ACTION_ANSWER",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_ANSWER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_APPLICATION_LOCALE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_APPLICATION_LOCALE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_APPLICATION_LOCALE_CHANGED,
                    "ACTION_APPLICATION_LOCALE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_APPLICATION_LOCALE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_APPLICATION_PREFERENCES = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_APPLICATION_PREFERENCES() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_APPLICATION_PREFERENCES,
                    "ACTION_APPLICATION_PREFERENCES", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_APPLICATION_PREFERENCES);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_APPLICATION_RESTRICTIONS_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_APPLICATION_RESTRICTIONS_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__ACTION_APPLICATION_RESTRICTIONS_CHANGED,
      "ACTION_APPLICATION_RESTRICTIONS_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_APPLICATION_RESTRICTIONS_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_APP_ERROR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_APP_ERROR() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_APP_ERROR, "ACTION_APP_ERROR",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_APP_ERROR);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_ASSIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_ASSIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_ASSIST, "ACTION_ASSIST",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_ASSIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_ATTACH_DATA = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_ATTACH_DATA() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_ATTACH_DATA,
                    "ACTION_ATTACH_DATA", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_ATTACH_DATA);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_AUTO_REVOKE_PERMISSIONS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_AUTO_REVOKE_PERMISSIONS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_AUTO_REVOKE_PERMISSIONS,
                    "ACTION_AUTO_REVOKE_PERMISSIONS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_AUTO_REVOKE_PERMISSIONS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_BATTERY_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_BATTERY_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_BATTERY_CHANGED,
                    "ACTION_BATTERY_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_BATTERY_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_BATTERY_LOW = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_BATTERY_LOW() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_BATTERY_LOW,
                    "ACTION_BATTERY_LOW", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_BATTERY_LOW);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_BATTERY_OKAY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_BATTERY_OKAY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_BATTERY_OKAY,
                    "ACTION_BATTERY_OKAY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_BATTERY_OKAY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_BOOT_COMPLETED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_BOOT_COMPLETED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_BOOT_COMPLETED,
                    "ACTION_BOOT_COMPLETED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_BOOT_COMPLETED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_BUG_REPORT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_BUG_REPORT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_BUG_REPORT,
                    "ACTION_BUG_REPORT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_BUG_REPORT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CALL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CALL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CALL, "ACTION_CALL",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_CALL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CALL_BUTTON = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CALL_BUTTON() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CALL_BUTTON,
                    "ACTION_CALL_BUTTON", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CALL_BUTTON);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CAMERA_BUTTON = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CAMERA_BUTTON() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CAMERA_BUTTON,
                    "ACTION_CAMERA_BUTTON", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CAMERA_BUTTON);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CARRIER_SETUP = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CARRIER_SETUP() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CARRIER_SETUP,
                    "ACTION_CARRIER_SETUP", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CARRIER_SETUP);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CHOOSER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CHOOSER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CHOOSER, "ACTION_CHOOSER",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_CHOOSER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CLOSE_SYSTEM_DIALOGS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CLOSE_SYSTEM_DIALOGS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CLOSE_SYSTEM_DIALOGS,
                    "ACTION_CLOSE_SYSTEM_DIALOGS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CLOSE_SYSTEM_DIALOGS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CONFIGURATION_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CONFIGURATION_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CONFIGURATION_CHANGED,
                    "ACTION_CONFIGURATION_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CONFIGURATION_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CREATE_DOCUMENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CREATE_DOCUMENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CREATE_DOCUMENT,
                    "ACTION_CREATE_DOCUMENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CREATE_DOCUMENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CREATE_REMINDER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CREATE_REMINDER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CREATE_REMINDER,
                    "ACTION_CREATE_REMINDER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CREATE_REMINDER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_CREATE_SHORTCUT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_CREATE_SHORTCUT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_CREATE_SHORTCUT,
                    "ACTION_CREATE_SHORTCUT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_CREATE_SHORTCUT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DATE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DATE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DATE_CHANGED,
                    "ACTION_DATE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DATE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DEFAULT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DEFAULT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DEFAULT, "ACTION_DEFAULT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_DEFAULT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DEFINE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DEFINE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DEFINE, "ACTION_DEFINE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_DEFINE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DELETE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DELETE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DELETE, "ACTION_DELETE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_DELETE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DEVICE_STORAGE_LOW = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DEVICE_STORAGE_LOW() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DEVICE_STORAGE_LOW,
                    "ACTION_DEVICE_STORAGE_LOW", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DEVICE_STORAGE_LOW);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DEVICE_STORAGE_OK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DEVICE_STORAGE_OK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DEVICE_STORAGE_OK,
                    "ACTION_DEVICE_STORAGE_OK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DEVICE_STORAGE_OK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DIAL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DIAL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DIAL, "ACTION_DIAL",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_DIAL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DOCK_EVENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DOCK_EVENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DOCK_EVENT,
                    "ACTION_DOCK_EVENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DOCK_EVENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DREAMING_STARTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DREAMING_STARTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DREAMING_STARTED,
                    "ACTION_DREAMING_STARTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DREAMING_STARTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_DREAMING_STOPPED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_DREAMING_STOPPED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_DREAMING_STOPPED,
                    "ACTION_DREAMING_STOPPED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_DREAMING_STOPPED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_EDIT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_EDIT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_EDIT, "ACTION_EDIT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_EDIT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_EXTERNAL_APPLICATIONS_AVAILABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__ACTION_EXTERNAL_APPLICATIONS_AVAILABLE,
      "ACTION_EXTERNAL_APPLICATIONS_AVAILABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE,
      "ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_FACTORY_TEST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_FACTORY_TEST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_FACTORY_TEST,
                    "ACTION_FACTORY_TEST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_FACTORY_TEST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_GET_CONTENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_GET_CONTENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_GET_CONTENT,
                    "ACTION_GET_CONTENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_GET_CONTENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_GET_RESTRICTION_ENTRIES = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_GET_RESTRICTION_ENTRIES() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_GET_RESTRICTION_ENTRIES,
                    "ACTION_GET_RESTRICTION_ENTRIES", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_GET_RESTRICTION_ENTRIES);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_GTALK_SERVICE_CONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_GTALK_SERVICE_CONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_GTALK_SERVICE_CONNECTED,
                    "ACTION_GTALK_SERVICE_CONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_GTALK_SERVICE_CONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_GTALK_SERVICE_DISCONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_GTALK_SERVICE_DISCONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_GTALK_SERVICE_DISCONNECTED,
                    "ACTION_GTALK_SERVICE_DISCONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_GTALK_SERVICE_DISCONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_HEADSET_PLUG = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_HEADSET_PLUG() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_HEADSET_PLUG,
                    "ACTION_HEADSET_PLUG", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_HEADSET_PLUG);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_INPUT_METHOD_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_INPUT_METHOD_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_INPUT_METHOD_CHANGED,
                    "ACTION_INPUT_METHOD_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_INPUT_METHOD_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_INSERT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_INSERT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_INSERT, "ACTION_INSERT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_INSERT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_INSERT_OR_EDIT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_INSERT_OR_EDIT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_INSERT_OR_EDIT,
                    "ACTION_INSERT_OR_EDIT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_INSERT_OR_EDIT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_INSTALL_FAILURE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_INSTALL_FAILURE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_INSTALL_FAILURE,
                    "ACTION_INSTALL_FAILURE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_INSTALL_FAILURE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_INSTALL_PACKAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_INSTALL_PACKAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_INSTALL_PACKAGE,
                    "ACTION_INSTALL_PACKAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_INSTALL_PACKAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_LOCALE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_LOCALE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_LOCALE_CHANGED,
                    "ACTION_LOCALE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_LOCALE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_LOCKED_BOOT_COMPLETED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_LOCKED_BOOT_COMPLETED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_LOCKED_BOOT_COMPLETED,
                    "ACTION_LOCKED_BOOT_COMPLETED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_LOCKED_BOOT_COMPLETED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MAIN = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MAIN() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MAIN, "ACTION_MAIN",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_MAIN);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGED_PROFILE_ADDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGED_PROFILE_ADDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGED_PROFILE_ADDED,
                    "ACTION_MANAGED_PROFILE_ADDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGED_PROFILE_ADDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGED_PROFILE_AVAILABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGED_PROFILE_AVAILABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGED_PROFILE_AVAILABLE,
                    "ACTION_MANAGED_PROFILE_AVAILABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGED_PROFILE_AVAILABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGED_PROFILE_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGED_PROFILE_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGED_PROFILE_REMOVED,
                    "ACTION_MANAGED_PROFILE_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGED_PROFILE_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGED_PROFILE_UNAVAILABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGED_PROFILE_UNAVAILABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGED_PROFILE_UNAVAILABLE,
                    "ACTION_MANAGED_PROFILE_UNAVAILABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGED_PROFILE_UNAVAILABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGED_PROFILE_UNLOCKED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGED_PROFILE_UNLOCKED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGED_PROFILE_UNLOCKED,
                    "ACTION_MANAGED_PROFILE_UNLOCKED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGED_PROFILE_UNLOCKED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGE_NETWORK_USAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGE_NETWORK_USAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGE_NETWORK_USAGE,
                    "ACTION_MANAGE_NETWORK_USAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGE_NETWORK_USAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGE_PACKAGE_STORAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGE_PACKAGE_STORAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGE_PACKAGE_STORAGE,
                    "ACTION_MANAGE_PACKAGE_STORAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGE_PACKAGE_STORAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MANAGE_UNUSED_APPS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MANAGE_UNUSED_APPS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MANAGE_UNUSED_APPS,
                    "ACTION_MANAGE_UNUSED_APPS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MANAGE_UNUSED_APPS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_BAD_REMOVAL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_BAD_REMOVAL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_BAD_REMOVAL,
                    "ACTION_MEDIA_BAD_REMOVAL", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_BAD_REMOVAL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_BUTTON = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_BUTTON() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_BUTTON,
                    "ACTION_MEDIA_BUTTON", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_BUTTON);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_CHECKING = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_CHECKING() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_CHECKING,
                    "ACTION_MEDIA_CHECKING", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_CHECKING);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_EJECT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_EJECT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_EJECT,
                    "ACTION_MEDIA_EJECT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_EJECT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_MOUNTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_MOUNTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_MOUNTED,
                    "ACTION_MEDIA_MOUNTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_MOUNTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_NOFS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_NOFS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_NOFS,
                    "ACTION_MEDIA_NOFS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_NOFS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_REMOVED,
                    "ACTION_MEDIA_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_SCANNER_FINISHED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_SCANNER_FINISHED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_SCANNER_FINISHED,
                    "ACTION_MEDIA_SCANNER_FINISHED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_SCANNER_FINISHED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_SCANNER_SCAN_FILE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_SCANNER_SCAN_FILE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_SCANNER_SCAN_FILE,
                    "ACTION_MEDIA_SCANNER_SCAN_FILE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_SCANNER_SCAN_FILE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_SCANNER_STARTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_SCANNER_STARTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_SCANNER_STARTED,
                    "ACTION_MEDIA_SCANNER_STARTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_SCANNER_STARTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_SHARED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_SHARED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_SHARED,
                    "ACTION_MEDIA_SHARED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_SHARED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_UNMOUNTABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_UNMOUNTABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_UNMOUNTABLE,
                    "ACTION_MEDIA_UNMOUNTABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_UNMOUNTABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MEDIA_UNMOUNTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MEDIA_UNMOUNTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MEDIA_UNMOUNTED,
                    "ACTION_MEDIA_UNMOUNTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MEDIA_UNMOUNTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MY_PACKAGE_REPLACED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MY_PACKAGE_REPLACED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MY_PACKAGE_REPLACED,
                    "ACTION_MY_PACKAGE_REPLACED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MY_PACKAGE_REPLACED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MY_PACKAGE_SUSPENDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MY_PACKAGE_SUSPENDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MY_PACKAGE_SUSPENDED,
                    "ACTION_MY_PACKAGE_SUSPENDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MY_PACKAGE_SUSPENDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_MY_PACKAGE_UNSUSPENDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_MY_PACKAGE_UNSUSPENDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_MY_PACKAGE_UNSUSPENDED,
                    "ACTION_MY_PACKAGE_UNSUSPENDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_MY_PACKAGE_UNSUSPENDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_NEW_OUTGOING_CALL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_NEW_OUTGOING_CALL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_NEW_OUTGOING_CALL,
                    "ACTION_NEW_OUTGOING_CALL", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_NEW_OUTGOING_CALL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_OPEN_DOCUMENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_OPEN_DOCUMENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_OPEN_DOCUMENT,
                    "ACTION_OPEN_DOCUMENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_OPEN_DOCUMENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_OPEN_DOCUMENT_TREE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_OPEN_DOCUMENT_TREE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_OPEN_DOCUMENT_TREE,
                    "ACTION_OPEN_DOCUMENT_TREE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_OPEN_DOCUMENT_TREE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGES_SUSPENDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGES_SUSPENDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGES_SUSPENDED,
                    "ACTION_PACKAGES_SUSPENDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGES_SUSPENDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGES_UNSUSPENDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGES_UNSUSPENDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGES_UNSUSPENDED,
                    "ACTION_PACKAGES_UNSUSPENDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGES_UNSUSPENDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_ADDED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_ADDED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_ADDED,
                    "ACTION_PACKAGE_ADDED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_ADDED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_CHANGED,
                    "ACTION_PACKAGE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_DATA_CLEARED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_DATA_CLEARED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_DATA_CLEARED,
                    "ACTION_PACKAGE_DATA_CLEARED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_DATA_CLEARED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_FIRST_LAUNCH = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_FIRST_LAUNCH() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_FIRST_LAUNCH,
                    "ACTION_PACKAGE_FIRST_LAUNCH", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_FIRST_LAUNCH);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_FULLY_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_FULLY_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_FULLY_REMOVED,
                    "ACTION_PACKAGE_FULLY_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_FULLY_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_INSTALL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_INSTALL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_INSTALL,
                    "ACTION_PACKAGE_INSTALL", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_INSTALL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_NEEDS_VERIFICATION = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_NEEDS_VERIFICATION() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_NEEDS_VERIFICATION,
                    "ACTION_PACKAGE_NEEDS_VERIFICATION", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_NEEDS_VERIFICATION);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_REMOVED,
                    "ACTION_PACKAGE_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_REPLACED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_REPLACED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_REPLACED,
                    "ACTION_PACKAGE_REPLACED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_REPLACED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_RESTARTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_RESTARTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_RESTARTED,
                    "ACTION_PACKAGE_RESTARTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_RESTARTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PACKAGE_VERIFIED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PACKAGE_VERIFIED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PACKAGE_VERIFIED,
                    "ACTION_PACKAGE_VERIFIED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PACKAGE_VERIFIED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PASTE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PASTE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PASTE, "ACTION_PASTE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_PASTE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PICK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PICK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PICK, "ACTION_PICK",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_PICK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PICK_ACTIVITY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PICK_ACTIVITY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PICK_ACTIVITY,
                    "ACTION_PICK_ACTIVITY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PICK_ACTIVITY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_POWER_CONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_POWER_CONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_POWER_CONNECTED,
                    "ACTION_POWER_CONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_POWER_CONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_POWER_DISCONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_POWER_DISCONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_POWER_DISCONNECTED,
                    "ACTION_POWER_DISCONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_POWER_DISCONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_POWER_USAGE_SUMMARY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_POWER_USAGE_SUMMARY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_POWER_USAGE_SUMMARY,
                    "ACTION_POWER_USAGE_SUMMARY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_POWER_USAGE_SUMMARY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PROCESS_TEXT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PROCESS_TEXT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PROCESS_TEXT,
                    "ACTION_PROCESS_TEXT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PROCESS_TEXT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PROFILE_ACCESSIBLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PROFILE_ACCESSIBLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PROFILE_ACCESSIBLE,
                    "ACTION_PROFILE_ACCESSIBLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PROFILE_ACCESSIBLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PROFILE_INACCESSIBLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PROFILE_INACCESSIBLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PROFILE_INACCESSIBLE,
                    "ACTION_PROFILE_INACCESSIBLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PROFILE_INACCESSIBLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_PROVIDER_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_PROVIDER_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_PROVIDER_CHANGED,
                    "ACTION_PROVIDER_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_PROVIDER_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_QUICK_CLOCK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_QUICK_CLOCK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_QUICK_CLOCK,
                    "ACTION_QUICK_CLOCK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_QUICK_CLOCK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_QUICK_VIEW = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_QUICK_VIEW() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_QUICK_VIEW,
                    "ACTION_QUICK_VIEW", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_QUICK_VIEW);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_REBOOT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_REBOOT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_REBOOT, "ACTION_REBOOT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_REBOOT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_RUN = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_RUN() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_RUN, "ACTION_RUN",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__ACTION_RUN);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SAFETY_CENTER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SAFETY_CENTER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SAFETY_CENTER,
                    "ACTION_SAFETY_CENTER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SAFETY_CENTER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SCREEN_OFF = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SCREEN_OFF() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SCREEN_OFF,
                    "ACTION_SCREEN_OFF", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SCREEN_OFF);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SCREEN_ON = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SCREEN_ON() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SCREEN_ON, "ACTION_SCREEN_ON",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SCREEN_ON);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SEARCH = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SEARCH() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SEARCH, "ACTION_SEARCH",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_SEARCH);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SEARCH_LONG_PRESS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SEARCH_LONG_PRESS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SEARCH_LONG_PRESS,
                    "ACTION_SEARCH_LONG_PRESS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SEARCH_LONG_PRESS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SEND = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SEND() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SEND, "ACTION_SEND",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_SEND);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SENDTO = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SENDTO() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SENDTO, "ACTION_SENDTO",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_SENDTO);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SEND_MULTIPLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SEND_MULTIPLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SEND_MULTIPLE,
                    "ACTION_SEND_MULTIPLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SEND_MULTIPLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SET_WALLPAPER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SET_WALLPAPER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SET_WALLPAPER,
                    "ACTION_SET_WALLPAPER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SET_WALLPAPER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SHOW_APP_INFO = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SHOW_APP_INFO() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SHOW_APP_INFO,
                    "ACTION_SHOW_APP_INFO", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SHOW_APP_INFO);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SHOW_WORK_APPS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SHOW_WORK_APPS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SHOW_WORK_APPS,
                    "ACTION_SHOW_WORK_APPS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SHOW_WORK_APPS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SHUTDOWN = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SHUTDOWN() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SHUTDOWN, "ACTION_SHUTDOWN",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_SHUTDOWN);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SYNC = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SYNC() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SYNC, "ACTION_SYNC",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_SYNC);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_SYSTEM_TUTORIAL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_SYSTEM_TUTORIAL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_SYSTEM_TUTORIAL,
                    "ACTION_SYSTEM_TUTORIAL", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_SYSTEM_TUTORIAL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_TIMEZONE_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_TIMEZONE_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_TIMEZONE_CHANGED,
                    "ACTION_TIMEZONE_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_TIMEZONE_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_TIME_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_TIME_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_TIME_CHANGED,
                    "ACTION_TIME_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_TIME_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_TIME_TICK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_TIME_TICK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_TIME_TICK, "ACTION_TIME_TICK",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_TIME_TICK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_TRANSLATE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_TRANSLATE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_TRANSLATE, "ACTION_TRANSLATE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_TRANSLATE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_UID_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_UID_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_UID_REMOVED,
                    "ACTION_UID_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_UID_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_UMS_CONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_UMS_CONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_UMS_CONNECTED,
                    "ACTION_UMS_CONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_UMS_CONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_UMS_DISCONNECTED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_UMS_DISCONNECTED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_UMS_DISCONNECTED,
                    "ACTION_UMS_DISCONNECTED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_UMS_DISCONNECTED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_UNINSTALL_PACKAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_UNINSTALL_PACKAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_UNINSTALL_PACKAGE,
                    "ACTION_UNINSTALL_PACKAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_UNINSTALL_PACKAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_USER_BACKGROUND = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_USER_BACKGROUND() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_USER_BACKGROUND,
                    "ACTION_USER_BACKGROUND", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_USER_BACKGROUND);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_USER_FOREGROUND = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_USER_FOREGROUND() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_USER_FOREGROUND,
                    "ACTION_USER_FOREGROUND", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_USER_FOREGROUND);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_USER_INITIALIZE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_USER_INITIALIZE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_USER_INITIALIZE,
                    "ACTION_USER_INITIALIZE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_USER_INITIALIZE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_USER_PRESENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_USER_PRESENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_USER_PRESENT,
                    "ACTION_USER_PRESENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_USER_PRESENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_USER_UNLOCKED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_USER_UNLOCKED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_USER_UNLOCKED,
                    "ACTION_USER_UNLOCKED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_USER_UNLOCKED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_VIEW = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_VIEW() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_VIEW, "ACTION_VIEW",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__ACTION_VIEW);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_VIEW_LOCUS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_VIEW_LOCUS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_VIEW_LOCUS,
                    "ACTION_VIEW_LOCUS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_VIEW_LOCUS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_VIEW_PERMISSION_USAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_VIEW_PERMISSION_USAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_VIEW_PERMISSION_USAGE,
                    "ACTION_VIEW_PERMISSION_USAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_VIEW_PERMISSION_USAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD,
      "ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_VOICE_COMMAND = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_VOICE_COMMAND() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_VOICE_COMMAND,
                    "ACTION_VOICE_COMMAND", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_VOICE_COMMAND);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_WALLPAPER_CHANGED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_WALLPAPER_CHANGED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_WALLPAPER_CHANGED,
                    "ACTION_WALLPAPER_CHANGED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_WALLPAPER_CHANGED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__ACTION_WEB_SEARCH = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__ACTION_WEB_SEARCH() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__ACTION_WEB_SEARCH,
                    "ACTION_WEB_SEARCH", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__ACTION_WEB_SEARCH);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET,
      "CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_ALTERNATIVE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_ALTERNATIVE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_ALTERNATIVE,
                    "CATEGORY_ALTERNATIVE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_ALTERNATIVE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_BROWSER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_BROWSER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_BROWSER,
                    "CATEGORY_APP_BROWSER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_BROWSER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_CALCULATOR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_CALCULATOR() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_CALCULATOR,
                    "CATEGORY_APP_CALCULATOR", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_CALCULATOR);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_CALENDAR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_CALENDAR() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_CALENDAR,
                    "CATEGORY_APP_CALENDAR", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_CALENDAR);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_CONTACTS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_CONTACTS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_CONTACTS,
                    "CATEGORY_APP_CONTACTS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_CONTACTS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_EMAIL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_EMAIL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_EMAIL,
                    "CATEGORY_APP_EMAIL", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_EMAIL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_FILES = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_FILES() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_FILES,
                    "CATEGORY_APP_FILES", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_FILES);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_FITNESS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_FITNESS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_FITNESS,
                    "CATEGORY_APP_FITNESS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_FITNESS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_GALLERY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_GALLERY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_GALLERY,
                    "CATEGORY_APP_GALLERY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_GALLERY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_MAPS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_MAPS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_MAPS,
                    "CATEGORY_APP_MAPS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_MAPS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_MARKET = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_MARKET() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_MARKET,
                    "CATEGORY_APP_MARKET", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_MARKET);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_MESSAGING = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_MESSAGING() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_MESSAGING,
                    "CATEGORY_APP_MESSAGING", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_MESSAGING);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_MUSIC = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_MUSIC() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_MUSIC,
                    "CATEGORY_APP_MUSIC", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_MUSIC);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_APP_WEATHER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_APP_WEATHER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_APP_WEATHER,
                    "CATEGORY_APP_WEATHER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_APP_WEATHER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_BROWSABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_BROWSABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_BROWSABLE,
                    "CATEGORY_BROWSABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_BROWSABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_CAR_DOCK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_CAR_DOCK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_CAR_DOCK,
                    "CATEGORY_CAR_DOCK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_CAR_DOCK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_CAR_MODE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_CAR_MODE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_CAR_MODE,
                    "CATEGORY_CAR_MODE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_CAR_MODE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_DEFAULT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_DEFAULT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_DEFAULT, "CATEGORY_DEFAULT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_DEFAULT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_DESK_DOCK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_DESK_DOCK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_DESK_DOCK,
                    "CATEGORY_DESK_DOCK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_DESK_DOCK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_DEVELOPMENT_PREFERENCE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_DEVELOPMENT_PREFERENCE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_DEVELOPMENT_PREFERENCE,
                    "CATEGORY_DEVELOPMENT_PREFERENCE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_DEVELOPMENT_PREFERENCE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_EMBED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_EMBED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_EMBED, "CATEGORY_EMBED",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_EMBED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST,
      "CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_HE_DESK_DOCK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_HE_DESK_DOCK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_HE_DESK_DOCK,
                    "CATEGORY_HE_DESK_DOCK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_HE_DESK_DOCK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_HOME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_HOME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_HOME, "CATEGORY_HOME",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_HOME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_INFO = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_INFO() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_INFO, "CATEGORY_INFO",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_INFO);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_LAUNCHER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_LAUNCHER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_LAUNCHER,
                    "CATEGORY_LAUNCHER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_LAUNCHER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_LEANBACK_LAUNCHER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_LEANBACK_LAUNCHER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_LEANBACK_LAUNCHER,
                    "CATEGORY_LEANBACK_LAUNCHER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_LEANBACK_LAUNCHER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_LE_DESK_DOCK = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_LE_DESK_DOCK() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_LE_DESK_DOCK,
                    "CATEGORY_LE_DESK_DOCK", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_LE_DESK_DOCK);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_MONKEY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_MONKEY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_MONKEY, "CATEGORY_MONKEY",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_MONKEY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_OPENABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_OPENABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_OPENABLE,
                    "CATEGORY_OPENABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_OPENABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_PREFERENCE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_PREFERENCE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_PREFERENCE,
                    "CATEGORY_PREFERENCE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_PREFERENCE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_SAMPLE_CODE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_SAMPLE_CODE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_SAMPLE_CODE,
                    "CATEGORY_SAMPLE_CODE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_SAMPLE_CODE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_SECONDARY_HOME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_SECONDARY_HOME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_SECONDARY_HOME,
                    "CATEGORY_SECONDARY_HOME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_SECONDARY_HOME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_SELECTED_ALTERNATIVE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_SELECTED_ALTERNATIVE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_SELECTED_ALTERNATIVE,
                    "CATEGORY_SELECTED_ALTERNATIVE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_SELECTED_ALTERNATIVE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_TAB = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_TAB() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_TAB, "CATEGORY_TAB",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_TAB);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_TEST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_TEST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_TEST, "CATEGORY_TEST",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_TEST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_TYPED_OPENABLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_TYPED_OPENABLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_TYPED_OPENABLE,
                    "CATEGORY_TYPED_OPENABLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_TYPED_OPENABLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_UNIT_TEST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_UNIT_TEST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_UNIT_TEST,
                    "CATEGORY_UNIT_TEST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_UNIT_TEST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_VOICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_VOICE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_VOICE, "CATEGORY_VOICE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__CATEGORY_VOICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CATEGORY_VR_HOME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CATEGORY_VR_HOME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CATEGORY_VR_HOME, "CATEGORY_VR_HOME",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__CATEGORY_VR_HOME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__CREATOR = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__CREATOR() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__CREATOR, "CREATOR",
                    "Landroid/os/Parcelable$Creator;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__CREATOR);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ALARM_COUNT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ALARM_COUNT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ALARM_COUNT,
                    "EXTRA_ALARM_COUNT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ALARM_COUNT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ALLOW_MULTIPLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ALLOW_MULTIPLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ALLOW_MULTIPLE,
                    "EXTRA_ALLOW_MULTIPLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ALLOW_MULTIPLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ALLOW_REPLACE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ALLOW_REPLACE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ALLOW_REPLACE,
                    "EXTRA_ALLOW_REPLACE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ALLOW_REPLACE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ALTERNATE_INTENTS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ALTERNATE_INTENTS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ALTERNATE_INTENTS,
                    "EXTRA_ALTERNATE_INTENTS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ALTERNATE_INTENTS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ASSIST_CONTEXT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ASSIST_CONTEXT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ASSIST_CONTEXT,
                    "EXTRA_ASSIST_CONTEXT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ASSIST_CONTEXT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ASSIST_INPUT_DEVICE_ID = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ASSIST_INPUT_DEVICE_ID() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ASSIST_INPUT_DEVICE_ID,
                    "EXTRA_ASSIST_INPUT_DEVICE_ID", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ASSIST_INPUT_DEVICE_ID);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ASSIST_INPUT_HINT_KEYBOARD = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ASSIST_INPUT_HINT_KEYBOARD() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ASSIST_INPUT_HINT_KEYBOARD,
                    "EXTRA_ASSIST_INPUT_HINT_KEYBOARD", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ASSIST_INPUT_HINT_KEYBOARD);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ASSIST_PACKAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ASSIST_PACKAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ASSIST_PACKAGE,
                    "EXTRA_ASSIST_PACKAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ASSIST_PACKAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ASSIST_UID = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ASSIST_UID() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ASSIST_UID, "EXTRA_ASSIST_UID",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ASSIST_UID);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ATTRIBUTION_TAGS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ATTRIBUTION_TAGS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ATTRIBUTION_TAGS,
                    "EXTRA_ATTRIBUTION_TAGS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ATTRIBUTION_TAGS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_AUTO_LAUNCH_SINGLE_CHOICE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_AUTO_LAUNCH_SINGLE_CHOICE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_AUTO_LAUNCH_SINGLE_CHOICE,
                    "EXTRA_AUTO_LAUNCH_SINGLE_CHOICE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_AUTO_LAUNCH_SINGLE_CHOICE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_BCC = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_BCC() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_BCC, "EXTRA_BCC",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_BCC);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_BUG_REPORT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_BUG_REPORT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_BUG_REPORT, "EXTRA_BUG_REPORT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_BUG_REPORT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CC = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CC() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CC, "EXTRA_CC",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_CC);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHANGED_COMPONENT_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHANGED_COMPONENT_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHANGED_COMPONENT_NAME,
                    "EXTRA_CHANGED_COMPONENT_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHANGED_COMPONENT_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHANGED_COMPONENT_NAME_LIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHANGED_COMPONENT_NAME_LIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHANGED_COMPONENT_NAME_LIST,
                    "EXTRA_CHANGED_COMPONENT_NAME_LIST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHANGED_COMPONENT_NAME_LIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHANGED_PACKAGE_LIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHANGED_PACKAGE_LIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHANGED_PACKAGE_LIST,
                    "EXTRA_CHANGED_PACKAGE_LIST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHANGED_PACKAGE_LIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHANGED_UID_LIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHANGED_UID_LIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHANGED_UID_LIST,
                    "EXTRA_CHANGED_UID_LIST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHANGED_UID_LIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_Intent, &_f_Intent__EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER,
      "EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHOOSER_TARGETS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHOOSER_TARGETS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHOOSER_TARGETS,
                    "EXTRA_CHOOSER_TARGETS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHOOSER_TARGETS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHOSEN_COMPONENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHOSEN_COMPONENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHOSEN_COMPONENT,
                    "EXTRA_CHOSEN_COMPONENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHOSEN_COMPONENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CHOSEN_COMPONENT_INTENT_SENDER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CHOSEN_COMPONENT_INTENT_SENDER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CHOSEN_COMPONENT_INTENT_SENDER,
                    "EXTRA_CHOSEN_COMPONENT_INTENT_SENDER",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CHOSEN_COMPONENT_INTENT_SENDER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_COMPONENT_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_COMPONENT_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_COMPONENT_NAME,
                    "EXTRA_COMPONENT_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_COMPONENT_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CONTENT_ANNOTATIONS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CONTENT_ANNOTATIONS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CONTENT_ANNOTATIONS,
                    "EXTRA_CONTENT_ANNOTATIONS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CONTENT_ANNOTATIONS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_CONTENT_QUERY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_CONTENT_QUERY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_CONTENT_QUERY,
                    "EXTRA_CONTENT_QUERY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_CONTENT_QUERY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_DATA_REMOVED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_DATA_REMOVED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_DATA_REMOVED,
                    "EXTRA_DATA_REMOVED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_DATA_REMOVED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_DOCK_STATE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_DOCK_STATE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_DOCK_STATE, "EXTRA_DOCK_STATE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_DOCK_STATE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_DONT_KILL_APP = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_DONT_KILL_APP() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_DONT_KILL_APP,
                    "EXTRA_DONT_KILL_APP", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_DONT_KILL_APP);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_DURATION_MILLIS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_DURATION_MILLIS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_DURATION_MILLIS,
                    "EXTRA_DURATION_MILLIS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_DURATION_MILLIS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_EMAIL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_EMAIL() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_EMAIL, "EXTRA_EMAIL",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_EMAIL);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_END_TIME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_END_TIME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_END_TIME, "EXTRA_END_TIME",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_END_TIME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_EXCLUDE_COMPONENTS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_EXCLUDE_COMPONENTS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_EXCLUDE_COMPONENTS,
                    "EXTRA_EXCLUDE_COMPONENTS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_EXCLUDE_COMPONENTS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_FROM_STORAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_FROM_STORAGE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_FROM_STORAGE,
                    "EXTRA_FROM_STORAGE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_FROM_STORAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_HTML_TEXT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_HTML_TEXT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_HTML_TEXT, "EXTRA_HTML_TEXT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_HTML_TEXT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_INDEX = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_INDEX() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_INDEX, "EXTRA_INDEX",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_INDEX);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_INITIAL_INTENTS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_INITIAL_INTENTS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_INITIAL_INTENTS,
                    "EXTRA_INITIAL_INTENTS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_INITIAL_INTENTS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_INSTALLER_PACKAGE_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_INSTALLER_PACKAGE_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_INSTALLER_PACKAGE_NAME,
                    "EXTRA_INSTALLER_PACKAGE_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_INSTALLER_PACKAGE_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_INTENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_INTENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_INTENT, "EXTRA_INTENT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_INTENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_KEY_EVENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_KEY_EVENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_KEY_EVENT, "EXTRA_KEY_EVENT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_KEY_EVENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_LOCALE_LIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_LOCALE_LIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_LOCALE_LIST,
                    "EXTRA_LOCALE_LIST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_LOCALE_LIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_LOCAL_ONLY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_LOCAL_ONLY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_LOCAL_ONLY, "EXTRA_LOCAL_ONLY",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_LOCAL_ONLY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_LOCUS_ID = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_LOCUS_ID() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_LOCUS_ID, "EXTRA_LOCUS_ID",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_LOCUS_ID);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_MIME_TYPES = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_MIME_TYPES() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_MIME_TYPES, "EXTRA_MIME_TYPES",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_MIME_TYPES);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_NOT_UNKNOWN_SOURCE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_NOT_UNKNOWN_SOURCE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_NOT_UNKNOWN_SOURCE,
                    "EXTRA_NOT_UNKNOWN_SOURCE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_NOT_UNKNOWN_SOURCE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_ORIGINATING_URI = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_ORIGINATING_URI() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_ORIGINATING_URI,
                    "EXTRA_ORIGINATING_URI", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_ORIGINATING_URI);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_PACKAGE_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_PACKAGE_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_PACKAGE_NAME,
                    "EXTRA_PACKAGE_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_PACKAGE_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_PERMISSION_GROUP_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_PERMISSION_GROUP_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_PERMISSION_GROUP_NAME,
                    "EXTRA_PERMISSION_GROUP_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_PERMISSION_GROUP_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_PHONE_NUMBER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_PHONE_NUMBER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_PHONE_NUMBER,
                    "EXTRA_PHONE_NUMBER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_PHONE_NUMBER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_PROCESS_TEXT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_PROCESS_TEXT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_PROCESS_TEXT,
                    "EXTRA_PROCESS_TEXT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_PROCESS_TEXT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_PROCESS_TEXT_READONLY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_PROCESS_TEXT_READONLY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_PROCESS_TEXT_READONLY,
                    "EXTRA_PROCESS_TEXT_READONLY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_PROCESS_TEXT_READONLY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_QUICK_VIEW_FEATURES = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_QUICK_VIEW_FEATURES() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_QUICK_VIEW_FEATURES,
                    "EXTRA_QUICK_VIEW_FEATURES", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_QUICK_VIEW_FEATURES);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_QUIET_MODE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_QUIET_MODE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_QUIET_MODE, "EXTRA_QUIET_MODE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_QUIET_MODE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_REFERRER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_REFERRER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_REFERRER, "EXTRA_REFERRER",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_REFERRER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_REFERRER_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_REFERRER_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_REFERRER_NAME,
                    "EXTRA_REFERRER_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_REFERRER_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_REMOTE_INTENT_TOKEN = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_REMOTE_INTENT_TOKEN() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_REMOTE_INTENT_TOKEN,
                    "EXTRA_REMOTE_INTENT_TOKEN", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_REMOTE_INTENT_TOKEN);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_REPLACEMENT_EXTRAS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_REPLACEMENT_EXTRAS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_REPLACEMENT_EXTRAS,
                    "EXTRA_REPLACEMENT_EXTRAS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_REPLACEMENT_EXTRAS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_REPLACING = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_REPLACING() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_REPLACING, "EXTRA_REPLACING",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_REPLACING);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_RESTRICTIONS_BUNDLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_RESTRICTIONS_BUNDLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_RESTRICTIONS_BUNDLE,
                    "EXTRA_RESTRICTIONS_BUNDLE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_RESTRICTIONS_BUNDLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_RESTRICTIONS_INTENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_RESTRICTIONS_INTENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_RESTRICTIONS_INTENT,
                    "EXTRA_RESTRICTIONS_INTENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_RESTRICTIONS_INTENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_RESTRICTIONS_LIST = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_RESTRICTIONS_LIST() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_RESTRICTIONS_LIST,
                    "EXTRA_RESTRICTIONS_LIST", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_RESTRICTIONS_LIST);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_RESULT_RECEIVER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_RESULT_RECEIVER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_RESULT_RECEIVER,
                    "EXTRA_RESULT_RECEIVER", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_RESULT_RECEIVER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_RETURN_RESULT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_RETURN_RESULT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_RETURN_RESULT,
                    "EXTRA_RETURN_RESULT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_RETURN_RESULT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHORTCUT_ICON = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHORTCUT_ICON() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHORTCUT_ICON,
                    "EXTRA_SHORTCUT_ICON", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHORTCUT_ICON);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHORTCUT_ICON_RESOURCE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHORTCUT_ICON_RESOURCE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHORTCUT_ICON_RESOURCE,
                    "EXTRA_SHORTCUT_ICON_RESOURCE", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHORTCUT_ICON_RESOURCE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHORTCUT_ID = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHORTCUT_ID() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHORTCUT_ID,
                    "EXTRA_SHORTCUT_ID", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHORTCUT_ID);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHORTCUT_INTENT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHORTCUT_INTENT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHORTCUT_INTENT,
                    "EXTRA_SHORTCUT_INTENT", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHORTCUT_INTENT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHORTCUT_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHORTCUT_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHORTCUT_NAME,
                    "EXTRA_SHORTCUT_NAME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHORTCUT_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SHUTDOWN_USERSPACE_ONLY = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SHUTDOWN_USERSPACE_ONLY() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SHUTDOWN_USERSPACE_ONLY,
                    "EXTRA_SHUTDOWN_USERSPACE_ONLY", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SHUTDOWN_USERSPACE_ONLY);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SPLIT_NAME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SPLIT_NAME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SPLIT_NAME, "EXTRA_SPLIT_NAME",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SPLIT_NAME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_START_TIME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_START_TIME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_START_TIME, "EXTRA_START_TIME",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_START_TIME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_STREAM = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_STREAM() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_STREAM, "EXTRA_STREAM",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_STREAM);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SUBJECT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SUBJECT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SUBJECT, "EXTRA_SUBJECT",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_SUBJECT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_SUSPENDED_PACKAGE_EXTRAS = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_SUSPENDED_PACKAGE_EXTRAS() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_SUSPENDED_PACKAGE_EXTRAS,
                    "EXTRA_SUSPENDED_PACKAGE_EXTRAS", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_SUSPENDED_PACKAGE_EXTRAS);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_TEMPLATE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_TEMPLATE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_TEMPLATE, "EXTRA_TEMPLATE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_TEMPLATE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_TEXT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_TEXT() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_TEXT, "EXTRA_TEXT",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_TEXT);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_TIME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_TIME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_TIME, "EXTRA_TIME",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_TIME);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_TIMEZONE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_TIMEZONE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_TIMEZONE, "EXTRA_TIMEZONE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_TIMEZONE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_TITLE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_TITLE() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_TITLE, "EXTRA_TITLE",
                    "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent,
                                                    _f_Intent__EXTRA_TITLE);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_UID = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_UID() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_UID, "EXTRA_UID",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_UID);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_USER = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_USER() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_USER, "EXTRA_USER",
                    "Ljava/lang/String;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Intent, _f_Intent__EXTRA_USER);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__EXTRA_USER_INITIATED = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__EXTRA_USER_INITIATED() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__EXTRA_USER_INITIATED,
                    "EXTRA_USER_INITIATED", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__EXTRA_USER_INITIATED);
  return to_global_ref_result(_result);
}

jfieldID _f_Intent__METADATA_DOCK_HOME = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Intent__METADATA_DOCK_HOME() {
  load_env();
  load_class_global_ref(&_c_Intent, "android/content/Intent");
  if (_c_Intent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Intent, &_f_Intent__METADATA_DOCK_HOME,
                    "METADATA_DOCK_HOME", "Ljava/lang/String;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Intent, _f_Intent__METADATA_DOCK_HOME);
  return to_global_ref_result(_result);
}

// android.app.Activity
jclass _c_Activity = NULL;

jmethodID _m_Activity__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__new0() {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__new0, "<init>", "()V");
  if (_m_Activity__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_Activity, _m_Activity__new0);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getIntent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getIntent, "getIntent",
              "()Landroid/content/Intent;");
  if (_m_Activity__getIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getIntent);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setIntent(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setIntent, "setIntent",
              "(Landroid/content/Intent;)V");
  if (_m_Activity__setIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setIntent, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setLocusContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setLocusContext(jobject self_,
                                    jobject locusId,
                                    jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setLocusContext, "setLocusContext",
              "(Landroid/content/LocusId;Landroid/os/Bundle;)V");
  if (_m_Activity__setLocusContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setLocusContext,
                            locusId, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getApplication = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getApplication(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getApplication, "getApplication",
              "()Landroid/app/Application;");
  if (_m_Activity__getApplication == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getApplication);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__isChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isChild(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isChild, "isChild", "()Z");
  if (_m_Activity__isChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__isChild);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getParent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getParent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getParent, "getParent",
              "()Landroid/app/Activity;");
  if (_m_Activity__getParent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getParent);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getWindowManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getWindowManager(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getWindowManager, "getWindowManager",
              "()Landroid/view/WindowManager;");
  if (_m_Activity__getWindowManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getWindowManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getWindow = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getWindow(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getWindow, "getWindow",
              "()Landroid/view/Window;");
  if (_m_Activity__getWindow == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getWindow);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getLoaderManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getLoaderManager(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getLoaderManager, "getLoaderManager",
              "()Landroid/app/LoaderManager;");
  if (_m_Activity__getLoaderManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getLoaderManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getCurrentFocus = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getCurrentFocus(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getCurrentFocus, "getCurrentFocus",
              "()Landroid/view/View;");
  if (_m_Activity__getCurrentFocus == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getCurrentFocus);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__attachBaseContext = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__attachBaseContext(jobject self_, jobject context) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__attachBaseContext, "attachBaseContext",
              "(Landroid/content/Context;)V");
  if (_m_Activity__attachBaseContext == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__attachBaseContext,
                            context);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__registerActivityLifecycleCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__registerActivityLifecycleCallbacks(
    jobject self_,
    jobject activityLifecycleCallbacks) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__registerActivityLifecycleCallbacks,
              "registerActivityLifecycleCallbacks",
              "(Landroid/app/Application$ActivityLifecycleCallbacks;)V");
  if (_m_Activity__registerActivityLifecycleCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__registerActivityLifecycleCallbacks,
                            activityLifecycleCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__unregisterActivityLifecycleCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__unregisterActivityLifecycleCallbacks(
    jobject self_,
    jobject activityLifecycleCallbacks) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__unregisterActivityLifecycleCallbacks,
              "unregisterActivityLifecycleCallbacks",
              "(Landroid/app/Application$ActivityLifecycleCallbacks;)V");
  if (_m_Activity__unregisterActivityLifecycleCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__unregisterActivityLifecycleCallbacks,
                            activityLifecycleCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__registerComponentCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__registerComponentCallbacks(jobject self_,
                                               jobject componentCallbacks) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__registerComponentCallbacks,
              "registerComponentCallbacks",
              "(Landroid/content/ComponentCallbacks;)V");
  if (_m_Activity__registerComponentCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__registerComponentCallbacks,
                            componentCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__unregisterComponentCallbacks = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__unregisterComponentCallbacks(jobject self_,
                                                 jobject componentCallbacks) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__unregisterComponentCallbacks,
              "unregisterComponentCallbacks",
              "(Landroid/content/ComponentCallbacks;)V");
  if (_m_Activity__unregisterComponentCallbacks == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__unregisterComponentCallbacks,
                            componentCallbacks);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreate = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreate(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreate, "onCreate",
              "(Landroid/os/Bundle;)V");
  if (_m_Activity__onCreate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onCreate, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getSplashScreen = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getSplashScreen(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getSplashScreen, "getSplashScreen",
              "()Landroid/window/SplashScreen;");
  if (_m_Activity__getSplashScreen == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getSplashScreen);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onCreate1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreate1(jobject self_,
                              jobject bundle,
                              jobject persistableBundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreate1, "onCreate",
              "(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V");
  if (_m_Activity__onCreate1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onCreate1, bundle,
                            persistableBundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onRestoreInstanceState = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onRestoreInstanceState(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onRestoreInstanceState,
              "onRestoreInstanceState", "(Landroid/os/Bundle;)V");
  if (_m_Activity__onRestoreInstanceState == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onRestoreInstanceState,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onRestoreInstanceState1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onRestoreInstanceState1(jobject self_,
                                            jobject bundle,
                                            jobject persistableBundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onRestoreInstanceState1,
              "onRestoreInstanceState",
              "(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V");
  if (_m_Activity__onRestoreInstanceState1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onRestoreInstanceState1,
                            bundle, persistableBundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPostCreate = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPostCreate(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPostCreate, "onPostCreate",
              "(Landroid/os/Bundle;)V");
  if (_m_Activity__onPostCreate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPostCreate, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPostCreate1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPostCreate1(jobject self_,
                                  jobject bundle,
                                  jobject persistableBundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPostCreate1, "onPostCreate",
              "(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V");
  if (_m_Activity__onPostCreate1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPostCreate1, bundle,
                            persistableBundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onStart = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onStart(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onStart, "onStart", "()V");
  if (_m_Activity__onStart == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onStart);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onRestart = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onRestart(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onRestart, "onRestart", "()V");
  if (_m_Activity__onRestart == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onRestart);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onStateNotSaved = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onStateNotSaved(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onStateNotSaved, "onStateNotSaved",
              "()V");
  if (_m_Activity__onStateNotSaved == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onStateNotSaved);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onResume = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onResume(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onResume, "onResume", "()V");
  if (_m_Activity__onResume == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onResume);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPostResume = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPostResume(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPostResume, "onPostResume", "()V");
  if (_m_Activity__onPostResume == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPostResume);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onTopResumedActivityChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onTopResumedActivityChanged(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onTopResumedActivityChanged,
              "onTopResumedActivityChanged", "(Z)V");
  if (_m_Activity__onTopResumedActivityChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onTopResumedActivityChanged, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isVoiceInteraction = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isVoiceInteraction(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isVoiceInteraction,
              "isVoiceInteraction", "()Z");
  if (_m_Activity__isVoiceInteraction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isVoiceInteraction);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__isVoiceInteractionRoot = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isVoiceInteractionRoot(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isVoiceInteractionRoot,
              "isVoiceInteractionRoot", "()Z");
  if (_m_Activity__isVoiceInteractionRoot == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isVoiceInteractionRoot);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getVoiceInteractor = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getVoiceInteractor(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getVoiceInteractor,
              "getVoiceInteractor", "()Landroid/app/VoiceInteractor;");
  if (_m_Activity__getVoiceInteractor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getVoiceInteractor);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__isLocalVoiceInteractionSupported = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isLocalVoiceInteractionSupported(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isLocalVoiceInteractionSupported,
              "isLocalVoiceInteractionSupported", "()Z");
  if (_m_Activity__isLocalVoiceInteractionSupported == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isLocalVoiceInteractionSupported);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startLocalVoiceInteraction = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startLocalVoiceInteraction(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startLocalVoiceInteraction,
              "startLocalVoiceInteraction", "(Landroid/os/Bundle;)V");
  if (_m_Activity__startLocalVoiceInteraction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startLocalVoiceInteraction, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onLocalVoiceInteractionStarted = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onLocalVoiceInteractionStarted(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onLocalVoiceInteractionStarted,
              "onLocalVoiceInteractionStarted", "()V");
  if (_m_Activity__onLocalVoiceInteractionStarted == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onLocalVoiceInteractionStarted);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onLocalVoiceInteractionStopped = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onLocalVoiceInteractionStopped(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onLocalVoiceInteractionStopped,
              "onLocalVoiceInteractionStopped", "()V");
  if (_m_Activity__onLocalVoiceInteractionStopped == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onLocalVoiceInteractionStopped);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__stopLocalVoiceInteraction = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__stopLocalVoiceInteraction(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__stopLocalVoiceInteraction,
              "stopLocalVoiceInteraction", "()V");
  if (_m_Activity__stopLocalVoiceInteraction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__stopLocalVoiceInteraction);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onNewIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onNewIntent(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onNewIntent, "onNewIntent",
              "(Landroid/content/Intent;)V");
  if (_m_Activity__onNewIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onNewIntent, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onSaveInstanceState = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onSaveInstanceState(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onSaveInstanceState,
              "onSaveInstanceState", "(Landroid/os/Bundle;)V");
  if (_m_Activity__onSaveInstanceState == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onSaveInstanceState,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onSaveInstanceState1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onSaveInstanceState1(jobject self_,
                                         jobject bundle,
                                         jobject persistableBundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onSaveInstanceState1,
              "onSaveInstanceState",
              "(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V");
  if (_m_Activity__onSaveInstanceState1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onSaveInstanceState1,
                            bundle, persistableBundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPause = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPause(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPause, "onPause", "()V");
  if (_m_Activity__onPause == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPause);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onUserLeaveHint = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onUserLeaveHint(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onUserLeaveHint, "onUserLeaveHint",
              "()V");
  if (_m_Activity__onUserLeaveHint == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onUserLeaveHint);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateThumbnail = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateThumbnail(jobject self_,
                                      jobject bitmap,
                                      jobject canvas) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateThumbnail, "onCreateThumbnail",
              "(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z");
  if (_m_Activity__onCreateThumbnail == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onCreateThumbnail, bitmap, canvas);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateDescription = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateDescription(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateDescription,
              "onCreateDescription", "()Ljava/lang/CharSequence;");
  if (_m_Activity__onCreateDescription == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onCreateDescription);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onProvideAssistData = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onProvideAssistData(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onProvideAssistData,
              "onProvideAssistData", "(Landroid/os/Bundle;)V");
  if (_m_Activity__onProvideAssistData == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onProvideAssistData,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onProvideAssistContent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onProvideAssistContent(jobject self_,
                                           jobject assistContent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onProvideAssistContent,
              "onProvideAssistContent",
              "(Landroid/app/assist/AssistContent;)V");
  if (_m_Activity__onProvideAssistContent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onProvideAssistContent,
                            assistContent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onGetDirectActions = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onGetDirectActions(jobject self_,
                                       jobject cancellationSignal,
                                       jobject consumer) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Activity, &_m_Activity__onGetDirectActions, "onGetDirectActions",
      "(Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V");
  if (_m_Activity__onGetDirectActions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onGetDirectActions,
                            cancellationSignal, consumer);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPerformDirectAction = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPerformDirectAction(jobject self_,
                                          jobject string,
                                          jobject bundle,
                                          jobject cancellationSignal,
                                          jobject consumer) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPerformDirectAction,
              "onPerformDirectAction",
              "(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/"
              "CancellationSignal;Ljava/util/function/Consumer;)V");
  if (_m_Activity__onPerformDirectAction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPerformDirectAction,
                            string, bundle, cancellationSignal, consumer);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__requestShowKeyboardShortcuts = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requestShowKeyboardShortcuts(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__requestShowKeyboardShortcuts,
              "requestShowKeyboardShortcuts", "()V");
  if (_m_Activity__requestShowKeyboardShortcuts == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__requestShowKeyboardShortcuts);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__dismissKeyboardShortcutsHelper = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dismissKeyboardShortcutsHelper(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dismissKeyboardShortcutsHelper,
              "dismissKeyboardShortcutsHelper", "()V");
  if (_m_Activity__dismissKeyboardShortcutsHelper == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__dismissKeyboardShortcutsHelper);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onProvideKeyboardShortcuts = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onProvideKeyboardShortcuts(jobject self_,
                                               jobject list,
                                               jobject menu,
                                               int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onProvideKeyboardShortcuts,
              "onProvideKeyboardShortcuts",
              "(Ljava/util/List;Landroid/view/Menu;I)V");
  if (_m_Activity__onProvideKeyboardShortcuts == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Activity__onProvideKeyboardShortcuts, list, menu, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__showAssist = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__showAssist(jobject self_, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__showAssist, "showAssist",
              "(Landroid/os/Bundle;)Z");
  if (_m_Activity__showAssist == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__showAssist, bundle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onStop = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onStop(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onStop, "onStop", "()V");
  if (_m_Activity__onStop == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onStop);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onDestroy = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onDestroy(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onDestroy, "onDestroy", "()V");
  if (_m_Activity__onDestroy == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onDestroy);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__reportFullyDrawn = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__reportFullyDrawn(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__reportFullyDrawn, "reportFullyDrawn",
              "()V");
  if (_m_Activity__reportFullyDrawn == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__reportFullyDrawn);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onMultiWindowModeChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onMultiWindowModeChanged(jobject self_,
                                             uint8_t z,
                                             jobject configuration) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onMultiWindowModeChanged,
              "onMultiWindowModeChanged",
              "(ZLandroid/content/res/Configuration;)V");
  if (_m_Activity__onMultiWindowModeChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Activity__onMultiWindowModeChanged, z, configuration);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onMultiWindowModeChanged1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onMultiWindowModeChanged1(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onMultiWindowModeChanged1,
              "onMultiWindowModeChanged", "(Z)V");
  if (_m_Activity__onMultiWindowModeChanged1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onMultiWindowModeChanged1, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isInMultiWindowMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isInMultiWindowMode(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isInMultiWindowMode,
              "isInMultiWindowMode", "()Z");
  if (_m_Activity__isInMultiWindowMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isInMultiWindowMode);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onPictureInPictureModeChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPictureInPictureModeChanged(jobject self_,
                                                  uint8_t z,
                                                  jobject configuration) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPictureInPictureModeChanged,
              "onPictureInPictureModeChanged",
              "(ZLandroid/content/res/Configuration;)V");
  if (_m_Activity__onPictureInPictureModeChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onPictureInPictureModeChanged, z,
                            configuration);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPictureInPictureUiStateChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPictureInPictureUiStateChanged(
    jobject self_,
    jobject pictureInPictureUiState) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPictureInPictureUiStateChanged,
              "onPictureInPictureUiStateChanged",
              "(Landroid/app/PictureInPictureUiState;)V");
  if (_m_Activity__onPictureInPictureUiStateChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onPictureInPictureUiStateChanged,
                            pictureInPictureUiState);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPictureInPictureModeChanged1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPictureInPictureModeChanged1(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPictureInPictureModeChanged1,
              "onPictureInPictureModeChanged", "(Z)V");
  if (_m_Activity__onPictureInPictureModeChanged1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onPictureInPictureModeChanged1, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isInPictureInPictureMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isInPictureInPictureMode(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isInPictureInPictureMode,
              "isInPictureInPictureMode", "()Z");
  if (_m_Activity__isInPictureInPictureMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isInPictureInPictureMode);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__enterPictureInPictureMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__enterPictureInPictureMode(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__enterPictureInPictureMode,
              "enterPictureInPictureMode", "()V");
  if (_m_Activity__enterPictureInPictureMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__enterPictureInPictureMode);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__enterPictureInPictureMode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__enterPictureInPictureMode1(jobject self_,
                                               jobject pictureInPictureParams) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__enterPictureInPictureMode1,
              "enterPictureInPictureMode",
              "(Landroid/app/PictureInPictureParams;)Z");
  if (_m_Activity__enterPictureInPictureMode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__enterPictureInPictureMode1,
      pictureInPictureParams);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__setPictureInPictureParams = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setPictureInPictureParams(jobject self_,
                                              jobject pictureInPictureParams) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setPictureInPictureParams,
              "setPictureInPictureParams",
              "(Landroid/app/PictureInPictureParams;)V");
  if (_m_Activity__setPictureInPictureParams == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setPictureInPictureParams,
                            pictureInPictureParams);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getMaxNumPictureInPictureActions = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getMaxNumPictureInPictureActions(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getMaxNumPictureInPictureActions,
              "getMaxNumPictureInPictureActions", "()I");
  if (_m_Activity__getMaxNumPictureInPictureActions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Activity__getMaxNumPictureInPictureActions);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onPictureInPictureRequested = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPictureInPictureRequested(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPictureInPictureRequested,
              "onPictureInPictureRequested", "()Z");
  if (_m_Activity__onPictureInPictureRequested == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onPictureInPictureRequested);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__setShouldDockBigOverlays = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setShouldDockBigOverlays(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setShouldDockBigOverlays,
              "setShouldDockBigOverlays", "(Z)V");
  if (_m_Activity__setShouldDockBigOverlays == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setShouldDockBigOverlays, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__shouldDockBigOverlays = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__shouldDockBigOverlays(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__shouldDockBigOverlays,
              "shouldDockBigOverlays", "()Z");
  if (_m_Activity__shouldDockBigOverlays == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__shouldDockBigOverlays);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onConfigurationChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onConfigurationChanged(jobject self_,
                                           jobject configuration) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onConfigurationChanged,
              "onConfigurationChanged",
              "(Landroid/content/res/Configuration;)V");
  if (_m_Activity__onConfigurationChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onConfigurationChanged,
                            configuration);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getChangingConfigurations = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getChangingConfigurations(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getChangingConfigurations,
              "getChangingConfigurations", "()I");
  if (_m_Activity__getChangingConfigurations == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Activity__getChangingConfigurations);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getLastNonConfigurationInstance = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getLastNonConfigurationInstance(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getLastNonConfigurationInstance,
              "getLastNonConfigurationInstance", "()Ljava/lang/Object;");
  if (_m_Activity__getLastNonConfigurationInstance == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getLastNonConfigurationInstance);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onRetainNonConfigurationInstance = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onRetainNonConfigurationInstance(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onRetainNonConfigurationInstance,
              "onRetainNonConfigurationInstance", "()Ljava/lang/Object;");
  if (_m_Activity__onRetainNonConfigurationInstance == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onRetainNonConfigurationInstance);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onLowMemory = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onLowMemory(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onLowMemory, "onLowMemory", "()V");
  if (_m_Activity__onLowMemory == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onLowMemory);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onTrimMemory = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onTrimMemory(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onTrimMemory, "onTrimMemory", "(I)V");
  if (_m_Activity__onTrimMemory == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onTrimMemory, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getFragmentManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getFragmentManager(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getFragmentManager,
              "getFragmentManager", "()Landroid/app/FragmentManager;");
  if (_m_Activity__getFragmentManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getFragmentManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onAttachFragment = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onAttachFragment(jobject self_, jobject fragment) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onAttachFragment, "onAttachFragment",
              "(Landroid/app/Fragment;)V");
  if (_m_Activity__onAttachFragment == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onAttachFragment,
                            fragment);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__managedQuery = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__managedQuery(jobject self_,
                                 jobject uri,
                                 jobject strings,
                                 jobject string,
                                 jobject strings1,
                                 jobject string1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__managedQuery, "managedQuery",
              "(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/"
              "lang/String;Ljava/lang/String;)Landroid/database/Cursor;");
  if (_m_Activity__managedQuery == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__managedQuery, uri,
                                  strings, string, strings1, string1);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__startManagingCursor = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startManagingCursor(jobject self_, jobject cursor) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startManagingCursor,
              "startManagingCursor", "(Landroid/database/Cursor;)V");
  if (_m_Activity__startManagingCursor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startManagingCursor,
                            cursor);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__stopManagingCursor = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__stopManagingCursor(jobject self_, jobject cursor) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__stopManagingCursor,
              "stopManagingCursor", "(Landroid/database/Cursor;)V");
  if (_m_Activity__stopManagingCursor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__stopManagingCursor,
                            cursor);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__findViewById = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__findViewById(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__findViewById, "findViewById",
              "(I)Landroid/view/View;");
  if (_m_Activity__findViewById == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__findViewById, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__requireViewById = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requireViewById(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__requireViewById, "requireViewById",
              "(I)Landroid/view/View;");
  if (_m_Activity__requireViewById == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__requireViewById, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getActionBar = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getActionBar(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getActionBar, "getActionBar",
              "()Landroid/app/ActionBar;");
  if (_m_Activity__getActionBar == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getActionBar);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setActionBar = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setActionBar(jobject self_, jobject toolbar) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setActionBar, "setActionBar",
              "(Landroid/widget/Toolbar;)V");
  if (_m_Activity__setActionBar == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setActionBar, toolbar);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setContentView = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setContentView(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setContentView, "setContentView",
              "(I)V");
  if (_m_Activity__setContentView == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setContentView, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setContentView1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setContentView1(jobject self_, jobject view) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setContentView1, "setContentView",
              "(Landroid/view/View;)V");
  if (_m_Activity__setContentView1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setContentView1, view);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setContentView2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setContentView2(jobject self_,
                                    jobject view,
                                    jobject layoutParams) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setContentView2, "setContentView",
              "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V");
  if (_m_Activity__setContentView2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setContentView2, view,
                            layoutParams);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__addContentView = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__addContentView(jobject self_,
                                   jobject view,
                                   jobject layoutParams) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__addContentView, "addContentView",
              "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V");
  if (_m_Activity__addContentView == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__addContentView, view,
                            layoutParams);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getContentTransitionManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getContentTransitionManager(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getContentTransitionManager,
              "getContentTransitionManager",
              "()Landroid/transition/TransitionManager;");
  if (_m_Activity__getContentTransitionManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getContentTransitionManager);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setContentTransitionManager = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setContentTransitionManager(jobject self_,
                                                jobject transitionManager) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setContentTransitionManager,
              "setContentTransitionManager",
              "(Landroid/transition/TransitionManager;)V");
  if (_m_Activity__setContentTransitionManager == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setContentTransitionManager,
                            transitionManager);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getContentScene = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getContentScene(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getContentScene, "getContentScene",
              "()Landroid/transition/Scene;");
  if (_m_Activity__getContentScene == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getContentScene);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setFinishOnTouchOutside = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setFinishOnTouchOutside(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setFinishOnTouchOutside,
              "setFinishOnTouchOutside", "(Z)V");
  if (_m_Activity__setFinishOnTouchOutside == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setFinishOnTouchOutside,
                            z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setDefaultKeyMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setDefaultKeyMode(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setDefaultKeyMode, "setDefaultKeyMode",
              "(I)V");
  if (_m_Activity__setDefaultKeyMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setDefaultKeyMode, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onKeyDown = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onKeyDown(jobject self_, int32_t i, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onKeyDown, "onKeyDown",
              "(ILandroid/view/KeyEvent;)Z");
  if (_m_Activity__onKeyDown == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onKeyDown, i, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onKeyLongPress = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onKeyLongPress(jobject self_, int32_t i, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onKeyLongPress, "onKeyLongPress",
              "(ILandroid/view/KeyEvent;)Z");
  if (_m_Activity__onKeyLongPress == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onKeyLongPress, i, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onKeyUp = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onKeyUp(jobject self_, int32_t i, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onKeyUp, "onKeyUp",
              "(ILandroid/view/KeyEvent;)Z");
  if (_m_Activity__onKeyUp == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onKeyUp, i, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onKeyMultiple = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onKeyMultiple(jobject self_,
                                  int32_t i,
                                  int32_t i1,
                                  jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onKeyMultiple, "onKeyMultiple",
              "(IILandroid/view/KeyEvent;)Z");
  if (_m_Activity__onKeyMultiple == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onKeyMultiple, i, i1, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onBackPressed = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onBackPressed(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onBackPressed, "onBackPressed", "()V");
  if (_m_Activity__onBackPressed == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onBackPressed);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onKeyShortcut = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onKeyShortcut(jobject self_, int32_t i, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onKeyShortcut, "onKeyShortcut",
              "(ILandroid/view/KeyEvent;)Z");
  if (_m_Activity__onKeyShortcut == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onKeyShortcut, i, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onTouchEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onTouchEvent(jobject self_, jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onTouchEvent, "onTouchEvent",
              "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__onTouchEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onTouchEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onTrackballEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onTrackballEvent(jobject self_, jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onTrackballEvent, "onTrackballEvent",
              "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__onTrackballEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onTrackballEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onGenericMotionEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onGenericMotionEvent(jobject self_, jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onGenericMotionEvent,
              "onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__onGenericMotionEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onGenericMotionEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onUserInteraction = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onUserInteraction(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onUserInteraction, "onUserInteraction",
              "()V");
  if (_m_Activity__onUserInteraction == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onUserInteraction);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onWindowAttributesChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onWindowAttributesChanged(jobject self_,
                                              jobject layoutParams) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onWindowAttributesChanged,
              "onWindowAttributesChanged",
              "(Landroid/view/WindowManager$LayoutParams;)V");
  if (_m_Activity__onWindowAttributesChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Activity__onWindowAttributesChanged, layoutParams);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onContentChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onContentChanged(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onContentChanged, "onContentChanged",
              "()V");
  if (_m_Activity__onContentChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onContentChanged);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onWindowFocusChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onWindowFocusChanged(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onWindowFocusChanged,
              "onWindowFocusChanged", "(Z)V");
  if (_m_Activity__onWindowFocusChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onWindowFocusChanged,
                            z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onAttachedToWindow = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onAttachedToWindow(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onAttachedToWindow,
              "onAttachedToWindow", "()V");
  if (_m_Activity__onAttachedToWindow == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onAttachedToWindow);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onDetachedFromWindow = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onDetachedFromWindow(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onDetachedFromWindow,
              "onDetachedFromWindow", "()V");
  if (_m_Activity__onDetachedFromWindow == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onDetachedFromWindow);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__hasWindowFocus = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__hasWindowFocus(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__hasWindowFocus, "hasWindowFocus",
              "()Z");
  if (_m_Activity__hasWindowFocus == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__hasWindowFocus);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchKeyEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchKeyEvent(jobject self_, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchKeyEvent, "dispatchKeyEvent",
              "(Landroid/view/KeyEvent;)Z");
  if (_m_Activity__dispatchKeyEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchKeyEvent, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchKeyShortcutEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchKeyShortcutEvent(jobject self_, jobject keyEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchKeyShortcutEvent,
              "dispatchKeyShortcutEvent", "(Landroid/view/KeyEvent;)Z");
  if (_m_Activity__dispatchKeyShortcutEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchKeyShortcutEvent, keyEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchTouchEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchTouchEvent(jobject self_, jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchTouchEvent,
              "dispatchTouchEvent", "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__dispatchTouchEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchTouchEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchTrackballEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchTrackballEvent(jobject self_, jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchTrackballEvent,
              "dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__dispatchTrackballEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchTrackballEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchGenericMotionEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchGenericMotionEvent(jobject self_,
                                               jobject motionEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchGenericMotionEvent,
              "dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z");
  if (_m_Activity__dispatchGenericMotionEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchGenericMotionEvent, motionEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dispatchPopulateAccessibilityEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dispatchPopulateAccessibilityEvent(
    jobject self_,
    jobject accessibilityEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dispatchPopulateAccessibilityEvent,
              "dispatchPopulateAccessibilityEvent",
              "(Landroid/view/accessibility/AccessibilityEvent;)Z");
  if (_m_Activity__dispatchPopulateAccessibilityEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__dispatchPopulateAccessibilityEvent,
      accessibilityEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreatePanelView = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreatePanelView(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreatePanelView, "onCreatePanelView",
              "(I)Landroid/view/View;");
  if (_m_Activity__onCreatePanelView == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onCreatePanelView, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onCreatePanelMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreatePanelMenu(jobject self_, int32_t i, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreatePanelMenu, "onCreatePanelMenu",
              "(ILandroid/view/Menu;)Z");
  if (_m_Activity__onCreatePanelMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onCreatePanelMenu, i, menu);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onPreparePanel = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPreparePanel(jobject self_,
                                   int32_t i,
                                   jobject view,
                                   jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPreparePanel, "onPreparePanel",
              "(ILandroid/view/View;Landroid/view/Menu;)Z");
  if (_m_Activity__onPreparePanel == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onPreparePanel, i, view, menu);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onMenuOpened = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onMenuOpened(jobject self_, int32_t i, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onMenuOpened, "onMenuOpened",
              "(ILandroid/view/Menu;)Z");
  if (_m_Activity__onMenuOpened == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onMenuOpened, i, menu);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onMenuItemSelected = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onMenuItemSelected(jobject self_,
                                       int32_t i,
                                       jobject menuItem) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onMenuItemSelected,
              "onMenuItemSelected", "(ILandroid/view/MenuItem;)Z");
  if (_m_Activity__onMenuItemSelected == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onMenuItemSelected, i, menuItem);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onPanelClosed = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPanelClosed(jobject self_, int32_t i, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPanelClosed, "onPanelClosed",
              "(ILandroid/view/Menu;)V");
  if (_m_Activity__onPanelClosed == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPanelClosed, i, menu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__invalidateOptionsMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__invalidateOptionsMenu(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__invalidateOptionsMenu,
              "invalidateOptionsMenu", "()V");
  if (_m_Activity__invalidateOptionsMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__invalidateOptionsMenu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateOptionsMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateOptionsMenu(jobject self_, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateOptionsMenu,
              "onCreateOptionsMenu", "(Landroid/view/Menu;)Z");
  if (_m_Activity__onCreateOptionsMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onCreateOptionsMenu, menu);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onPrepareOptionsMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPrepareOptionsMenu(jobject self_, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPrepareOptionsMenu,
              "onPrepareOptionsMenu", "(Landroid/view/Menu;)Z");
  if (_m_Activity__onPrepareOptionsMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onPrepareOptionsMenu, menu);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onOptionsItemSelected = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onOptionsItemSelected(jobject self_, jobject menuItem) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onOptionsItemSelected,
              "onOptionsItemSelected", "(Landroid/view/MenuItem;)Z");
  if (_m_Activity__onOptionsItemSelected == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onOptionsItemSelected, menuItem);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onNavigateUp = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onNavigateUp(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onNavigateUp, "onNavigateUp", "()Z");
  if (_m_Activity__onNavigateUp == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__onNavigateUp);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onNavigateUpFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onNavigateUpFromChild(jobject self_, jobject activity) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onNavigateUpFromChild,
              "onNavigateUpFromChild", "(Landroid/app/Activity;)Z");
  if (_m_Activity__onNavigateUpFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onNavigateUpFromChild, activity);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateNavigateUpTaskStack = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateNavigateUpTaskStack(jobject self_,
                                                jobject taskStackBuilder) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateNavigateUpTaskStack,
              "onCreateNavigateUpTaskStack",
              "(Landroid/app/TaskStackBuilder;)V");
  if (_m_Activity__onCreateNavigateUpTaskStack == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onCreateNavigateUpTaskStack,
                            taskStackBuilder);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPrepareNavigateUpTaskStack = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPrepareNavigateUpTaskStack(jobject self_,
                                                 jobject taskStackBuilder) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPrepareNavigateUpTaskStack,
              "onPrepareNavigateUpTaskStack",
              "(Landroid/app/TaskStackBuilder;)V");
  if (_m_Activity__onPrepareNavigateUpTaskStack == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onPrepareNavigateUpTaskStack,
                            taskStackBuilder);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onOptionsMenuClosed = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onOptionsMenuClosed(jobject self_, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onOptionsMenuClosed,
              "onOptionsMenuClosed", "(Landroid/view/Menu;)V");
  if (_m_Activity__onOptionsMenuClosed == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onOptionsMenuClosed,
                            menu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__openOptionsMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__openOptionsMenu(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__openOptionsMenu, "openOptionsMenu",
              "()V");
  if (_m_Activity__openOptionsMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__openOptionsMenu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__closeOptionsMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__closeOptionsMenu(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__closeOptionsMenu, "closeOptionsMenu",
              "()V");
  if (_m_Activity__closeOptionsMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__closeOptionsMenu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateContextMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateContextMenu(jobject self_,
                                        jobject contextMenu,
                                        jobject view,
                                        jobject contextMenuInfo) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateContextMenu,
              "onCreateContextMenu",
              "(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/"
              "ContextMenu$ContextMenuInfo;)V");
  if (_m_Activity__onCreateContextMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onCreateContextMenu,
                            contextMenu, view, contextMenuInfo);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__registerForContextMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__registerForContextMenu(jobject self_, jobject view) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__registerForContextMenu,
              "registerForContextMenu", "(Landroid/view/View;)V");
  if (_m_Activity__registerForContextMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__registerForContextMenu,
                            view);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__unregisterForContextMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__unregisterForContextMenu(jobject self_, jobject view) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__unregisterForContextMenu,
              "unregisterForContextMenu", "(Landroid/view/View;)V");
  if (_m_Activity__unregisterForContextMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__unregisterForContextMenu, view);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__openContextMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__openContextMenu(jobject self_, jobject view) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__openContextMenu, "openContextMenu",
              "(Landroid/view/View;)V");
  if (_m_Activity__openContextMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__openContextMenu, view);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__closeContextMenu = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__closeContextMenu(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__closeContextMenu, "closeContextMenu",
              "()V");
  if (_m_Activity__closeContextMenu == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__closeContextMenu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onContextItemSelected = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onContextItemSelected(jobject self_, jobject menuItem) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onContextItemSelected,
              "onContextItemSelected", "(Landroid/view/MenuItem;)Z");
  if (_m_Activity__onContextItemSelected == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onContextItemSelected, menuItem);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onContextMenuClosed = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onContextMenuClosed(jobject self_, jobject menu) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onContextMenuClosed,
              "onContextMenuClosed", "(Landroid/view/Menu;)V");
  if (_m_Activity__onContextMenuClosed == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onContextMenuClosed,
                            menu);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateDialog = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateDialog(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateDialog, "onCreateDialog",
              "(I)Landroid/app/Dialog;");
  if (_m_Activity__onCreateDialog == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__onCreateDialog, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onCreateDialog1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateDialog1(jobject self_, int32_t i, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateDialog1, "onCreateDialog",
              "(ILandroid/os/Bundle;)Landroid/app/Dialog;");
  if (_m_Activity__onCreateDialog1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onCreateDialog1, i, bundle);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onPrepareDialog = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPrepareDialog(jobject self_, int32_t i, jobject dialog) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPrepareDialog, "onPrepareDialog",
              "(ILandroid/app/Dialog;)V");
  if (_m_Activity__onPrepareDialog == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPrepareDialog, i,
                            dialog);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onPrepareDialog1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onPrepareDialog1(jobject self_,
                                     int32_t i,
                                     jobject dialog,
                                     jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onPrepareDialog1, "onPrepareDialog",
              "(ILandroid/app/Dialog;Landroid/os/Bundle;)V");
  if (_m_Activity__onPrepareDialog1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onPrepareDialog1, i,
                            dialog, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__showDialog = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__showDialog(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__showDialog, "showDialog", "(I)V");
  if (_m_Activity__showDialog == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__showDialog, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__showDialog1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__showDialog1(jobject self_, int32_t i, jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__showDialog1, "showDialog",
              "(ILandroid/os/Bundle;)Z");
  if (_m_Activity__showDialog1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__showDialog1, i, bundle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__dismissDialog = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dismissDialog(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dismissDialog, "dismissDialog",
              "(I)V");
  if (_m_Activity__dismissDialog == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__dismissDialog, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__removeDialog = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__removeDialog(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__removeDialog, "removeDialog", "(I)V");
  if (_m_Activity__removeDialog == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__removeDialog, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onSearchRequested = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onSearchRequested(jobject self_, jobject searchEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onSearchRequested, "onSearchRequested",
              "(Landroid/view/SearchEvent;)Z");
  if (_m_Activity__onSearchRequested == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onSearchRequested, searchEvent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onSearchRequested1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onSearchRequested1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onSearchRequested1,
              "onSearchRequested", "()Z");
  if (_m_Activity__onSearchRequested1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__onSearchRequested1);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getSearchEvent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getSearchEvent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getSearchEvent, "getSearchEvent",
              "()Landroid/view/SearchEvent;");
  if (_m_Activity__getSearchEvent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getSearchEvent);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__startSearch = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startSearch(jobject self_,
                                jobject string,
                                uint8_t z,
                                jobject bundle,
                                uint8_t z1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startSearch, "startSearch",
              "(Ljava/lang/String;ZLandroid/os/Bundle;Z)V");
  if (_m_Activity__startSearch == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startSearch, string, z,
                            bundle, z1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__triggerSearch = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__triggerSearch(jobject self_,
                                  jobject string,
                                  jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__triggerSearch, "triggerSearch",
              "(Ljava/lang/String;Landroid/os/Bundle;)V");
  if (_m_Activity__triggerSearch == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__triggerSearch, string,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__takeKeyEvents = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__takeKeyEvents(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__takeKeyEvents, "takeKeyEvents",
              "(Z)V");
  if (_m_Activity__takeKeyEvents == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__takeKeyEvents, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__requestWindowFeature = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requestWindowFeature(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__requestWindowFeature,
              "requestWindowFeature", "(I)Z");
  if (_m_Activity__requestWindowFeature == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__requestWindowFeature, i);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__setFeatureDrawableResource = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setFeatureDrawableResource(jobject self_,
                                               int32_t i,
                                               int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setFeatureDrawableResource,
              "setFeatureDrawableResource", "(II)V");
  if (_m_Activity__setFeatureDrawableResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setFeatureDrawableResource, i, i1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setFeatureDrawableUri = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setFeatureDrawableUri(jobject self_,
                                          int32_t i,
                                          jobject uri) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setFeatureDrawableUri,
              "setFeatureDrawableUri", "(ILandroid/net/Uri;)V");
  if (_m_Activity__setFeatureDrawableUri == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setFeatureDrawableUri,
                            i, uri);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setFeatureDrawable = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setFeatureDrawable(jobject self_,
                                       int32_t i,
                                       jobject drawable) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setFeatureDrawable,
              "setFeatureDrawable", "(ILandroid/graphics/drawable/Drawable;)V");
  if (_m_Activity__setFeatureDrawable == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setFeatureDrawable, i,
                            drawable);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setFeatureDrawableAlpha = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setFeatureDrawableAlpha(jobject self_,
                                            int32_t i,
                                            int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setFeatureDrawableAlpha,
              "setFeatureDrawableAlpha", "(II)V");
  if (_m_Activity__setFeatureDrawableAlpha == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setFeatureDrawableAlpha,
                            i, i1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getLayoutInflater = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getLayoutInflater(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getLayoutInflater, "getLayoutInflater",
              "()Landroid/view/LayoutInflater;");
  if (_m_Activity__getLayoutInflater == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__getLayoutInflater);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getMenuInflater = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getMenuInflater(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getMenuInflater, "getMenuInflater",
              "()Landroid/view/MenuInflater;");
  if (_m_Activity__getMenuInflater == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getMenuInflater);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setTheme = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTheme(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTheme, "setTheme", "(I)V");
  if (_m_Activity__setTheme == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTheme, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onApplyThemeResource = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onApplyThemeResource(jobject self_,
                                         jobject theme,
                                         int32_t i,
                                         uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onApplyThemeResource,
              "onApplyThemeResource",
              "(Landroid/content/res/Resources$Theme;IZ)V");
  if (_m_Activity__onApplyThemeResource == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onApplyThemeResource,
                            theme, i, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__requestPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requestPermissions(jobject self_,
                                       jobject strings,
                                       int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__requestPermissions,
              "requestPermissions", "([Ljava/lang/String;I)V");
  if (_m_Activity__requestPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__requestPermissions,
                            strings, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onRequestPermissionsResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onRequestPermissionsResult(jobject self_,
                                               int32_t i,
                                               jobject strings,
                                               jobject is) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onRequestPermissionsResult,
              "onRequestPermissionsResult", "(I[Ljava/lang/String;[I)V");
  if (_m_Activity__onRequestPermissionsResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Activity__onRequestPermissionsResult, i, strings, is);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__shouldShowRequestPermissionRationale = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__shouldShowRequestPermissionRationale(jobject self_,
                                                         jobject string) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__shouldShowRequestPermissionRationale,
              "shouldShowRequestPermissionRationale", "(Ljava/lang/String;)Z");
  if (_m_Activity__shouldShowRequestPermissionRationale == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__shouldShowRequestPermissionRationale, string);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityForResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityForResult(jobject self_,
                                           jobject intent,
                                           int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityForResult,
              "startActivityForResult", "(Landroid/content/Intent;I)V");
  if (_m_Activity__startActivityForResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivityForResult,
                            intent, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityForResult1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityForResult1(jobject self_,
                                            jobject intent,
                                            int32_t i,
                                            jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityForResult1,
              "startActivityForResult",
              "(Landroid/content/Intent;ILandroid/os/Bundle;)V");
  if (_m_Activity__startActivityForResult1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivityForResult1,
                            intent, i, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isActivityTransitionRunning = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isActivityTransitionRunning(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isActivityTransitionRunning,
              "isActivityTransitionRunning", "()Z");
  if (_m_Activity__isActivityTransitionRunning == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isActivityTransitionRunning);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSenderForResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSenderForResult(jobject self_,
                                               jobject intentSender,
                                               int32_t i,
                                               jobject intent,
                                               int32_t i1,
                                               int32_t i2,
                                               int32_t i3) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSenderForResult,
              "startIntentSenderForResult",
              "(Landroid/content/IntentSender;ILandroid/content/Intent;III)V");
  if (_m_Activity__startIntentSenderForResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startIntentSenderForResult,
                            intentSender, i, intent, i1, i2, i3);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSenderForResult1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSenderForResult1(jobject self_,
                                                jobject intentSender,
                                                int32_t i,
                                                jobject intent,
                                                int32_t i1,
                                                int32_t i2,
                                                int32_t i3,
                                                jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSenderForResult1,
              "startIntentSenderForResult",
              "(Landroid/content/IntentSender;ILandroid/content/"
              "Intent;IIILandroid/os/Bundle;)V");
  if (_m_Activity__startIntentSenderForResult1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startIntentSenderForResult1,
                            intentSender, i, intent, i1, i2, i3, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivity(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivity, "startActivity",
              "(Landroid/content/Intent;)V");
  if (_m_Activity__startActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivity, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivity1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivity1(jobject self_,
                                   jobject intent,
                                   jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivity1, "startActivity",
              "(Landroid/content/Intent;Landroid/os/Bundle;)V");
  if (_m_Activity__startActivity1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivity1, intent,
                            bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivities = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivities(jobject self_, jobject intents) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivities, "startActivities",
              "([Landroid/content/Intent;)V");
  if (_m_Activity__startActivities == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivities,
                            intents);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivities1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivities1(jobject self_,
                                     jobject intents,
                                     jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivities1, "startActivities",
              "([Landroid/content/Intent;Landroid/os/Bundle;)V");
  if (_m_Activity__startActivities1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivities1,
                            intents, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSender = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSender(jobject self_,
                                      jobject intentSender,
                                      jobject intent,
                                      int32_t i,
                                      int32_t i1,
                                      int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSender, "startIntentSender",
              "(Landroid/content/IntentSender;Landroid/content/Intent;III)V");
  if (_m_Activity__startIntentSender == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startIntentSender,
                            intentSender, intent, i, i1, i2);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSender1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSender1(jobject self_,
                                       jobject intentSender,
                                       jobject intent,
                                       int32_t i,
                                       int32_t i1,
                                       int32_t i2,
                                       jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSender1,
              "startIntentSender",
              "(Landroid/content/IntentSender;Landroid/content/"
              "Intent;IIILandroid/os/Bundle;)V");
  if (_m_Activity__startIntentSender1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startIntentSender1,
                            intentSender, intent, i, i1, i2, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityIfNeeded = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityIfNeeded(jobject self_,
                                          jobject intent,
                                          int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityIfNeeded,
              "startActivityIfNeeded", "(Landroid/content/Intent;I)Z");
  if (_m_Activity__startActivityIfNeeded == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__startActivityIfNeeded, intent, i);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityIfNeeded1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityIfNeeded1(jobject self_,
                                           jobject intent,
                                           int32_t i,
                                           jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityIfNeeded1,
              "startActivityIfNeeded",
              "(Landroid/content/Intent;ILandroid/os/Bundle;)Z");
  if (_m_Activity__startActivityIfNeeded1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__startActivityIfNeeded1, intent, i, bundle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startNextMatchingActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startNextMatchingActivity(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startNextMatchingActivity,
              "startNextMatchingActivity", "(Landroid/content/Intent;)Z");
  if (_m_Activity__startNextMatchingActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__startNextMatchingActivity, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startNextMatchingActivity1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startNextMatchingActivity1(jobject self_,
                                               jobject intent,
                                               jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startNextMatchingActivity1,
              "startNextMatchingActivity",
              "(Landroid/content/Intent;Landroid/os/Bundle;)Z");
  if (_m_Activity__startNextMatchingActivity1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__startNextMatchingActivity1, intent, bundle);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityFromChild(jobject self_,
                                           jobject activity,
                                           jobject intent,
                                           int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityFromChild,
              "startActivityFromChild",
              "(Landroid/app/Activity;Landroid/content/Intent;I)V");
  if (_m_Activity__startActivityFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivityFromChild,
                            activity, intent, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityFromChild1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityFromChild1(jobject self_,
                                            jobject activity,
                                            jobject intent,
                                            int32_t i,
                                            jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Activity, &_m_Activity__startActivityFromChild1,
      "startActivityFromChild",
      "(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V");
  if (_m_Activity__startActivityFromChild1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startActivityFromChild1,
                            activity, intent, i, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityFromFragment = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityFromFragment(jobject self_,
                                              jobject fragment,
                                              jobject intent,
                                              int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActivityFromFragment,
              "startActivityFromFragment",
              "(Landroid/app/Fragment;Landroid/content/Intent;I)V");
  if (_m_Activity__startActivityFromFragment == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startActivityFromFragment, fragment,
                            intent, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActivityFromFragment1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActivityFromFragment1(jobject self_,
                                               jobject fragment,
                                               jobject intent,
                                               int32_t i,
                                               jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Activity, &_m_Activity__startActivityFromFragment1,
      "startActivityFromFragment",
      "(Landroid/app/Fragment;Landroid/content/Intent;ILandroid/os/Bundle;)V");
  if (_m_Activity__startActivityFromFragment1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startActivityFromFragment1, fragment,
                            intent, i, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSenderFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSenderFromChild(jobject self_,
                                               jobject activity,
                                               jobject intentSender,
                                               int32_t i,
                                               jobject intent,
                                               int32_t i1,
                                               int32_t i2,
                                               int32_t i3) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSenderFromChild,
              "startIntentSenderFromChild",
              "(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/"
              "content/Intent;III)V");
  if (_m_Activity__startIntentSenderFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startIntentSenderFromChild, activity,
                            intentSender, i, intent, i1, i2, i3);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startIntentSenderFromChild1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startIntentSenderFromChild1(jobject self_,
                                                jobject activity,
                                                jobject intentSender,
                                                int32_t i,
                                                jobject intent,
                                                int32_t i1,
                                                int32_t i2,
                                                int32_t i3,
                                                jobject bundle) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startIntentSenderFromChild1,
              "startIntentSenderFromChild",
              "(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/"
              "content/Intent;IIILandroid/os/Bundle;)V");
  if (_m_Activity__startIntentSenderFromChild1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startIntentSenderFromChild1, activity,
                            intentSender, i, intent, i1, i2, i3, bundle);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__overridePendingTransition = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__overridePendingTransition(jobject self_,
                                              int32_t i,
                                              int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__overridePendingTransition,
              "overridePendingTransition", "(II)V");
  if (_m_Activity__overridePendingTransition == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__overridePendingTransition, i, i1);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__overridePendingTransition1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__overridePendingTransition1(jobject self_,
                                               int32_t i,
                                               int32_t i1,
                                               int32_t i2) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__overridePendingTransition1,
              "overridePendingTransition", "(III)V");
  if (_m_Activity__overridePendingTransition1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__overridePendingTransition1, i, i1, i2);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setResult(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setResult, "setResult", "(I)V");
  if (_m_Activity__setResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setResult, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setResult1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setResult1(jobject self_, int32_t i, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setResult1, "setResult",
              "(ILandroid/content/Intent;)V");
  if (_m_Activity__setResult1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setResult1, i, intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getReferrer = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getReferrer(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getReferrer, "getReferrer",
              "()Landroid/net/Uri;");
  if (_m_Activity__getReferrer == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getReferrer);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onProvideReferrer = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onProvideReferrer(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onProvideReferrer, "onProvideReferrer",
              "()Landroid/net/Uri;");
  if (_m_Activity__onProvideReferrer == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__onProvideReferrer);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getCallingPackage = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getCallingPackage(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getCallingPackage, "getCallingPackage",
              "()Ljava/lang/String;");
  if (_m_Activity__getCallingPackage == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__getCallingPackage);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getCallingActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getCallingActivity(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getCallingActivity,
              "getCallingActivity", "()Landroid/content/ComponentName;");
  if (_m_Activity__getCallingActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getCallingActivity);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setVisible = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setVisible(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setVisible, "setVisible", "(Z)V");
  if (_m_Activity__setVisible == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setVisible, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isFinishing = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isFinishing(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isFinishing, "isFinishing", "()Z");
  if (_m_Activity__isFinishing == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__isFinishing);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__isDestroyed = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isDestroyed(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isDestroyed, "isDestroyed", "()Z");
  if (_m_Activity__isDestroyed == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__isDestroyed);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__isChangingConfigurations = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isChangingConfigurations(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isChangingConfigurations,
              "isChangingConfigurations", "()Z");
  if (_m_Activity__isChangingConfigurations == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isChangingConfigurations);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__recreate = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__recreate(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__recreate, "recreate", "()V");
  if (_m_Activity__recreate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__recreate);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finish = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finish(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finish, "finish", "()V");
  if (_m_Activity__finish == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finish);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishAffinity = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishAffinity(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishAffinity, "finishAffinity",
              "()V");
  if (_m_Activity__finishAffinity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishAffinity);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishFromChild(jobject self_, jobject activity) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishFromChild, "finishFromChild",
              "(Landroid/app/Activity;)V");
  if (_m_Activity__finishFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishFromChild,
                            activity);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishAfterTransition = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishAfterTransition(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishAfterTransition,
              "finishAfterTransition", "()V");
  if (_m_Activity__finishAfterTransition == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishAfterTransition);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishActivity = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishActivity(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishActivity, "finishActivity",
              "(I)V");
  if (_m_Activity__finishActivity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishActivity, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishActivityFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishActivityFromChild(jobject self_,
                                            jobject activity,
                                            int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishActivityFromChild,
              "finishActivityFromChild", "(Landroid/app/Activity;I)V");
  if (_m_Activity__finishActivityFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishActivityFromChild,
                            activity, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__finishAndRemoveTask = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__finishAndRemoveTask(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__finishAndRemoveTask,
              "finishAndRemoveTask", "()V");
  if (_m_Activity__finishAndRemoveTask == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__finishAndRemoveTask);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__releaseInstance = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__releaseInstance(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__releaseInstance, "releaseInstance",
              "()Z");
  if (_m_Activity__releaseInstance == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__releaseInstance);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onActivityResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onActivityResult(jobject self_,
                                     int32_t i,
                                     int32_t i1,
                                     jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onActivityResult, "onActivityResult",
              "(IILandroid/content/Intent;)V");
  if (_m_Activity__onActivityResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onActivityResult, i, i1,
                            intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onActivityReenter = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onActivityReenter(jobject self_,
                                      int32_t i,
                                      jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onActivityReenter, "onActivityReenter",
              "(ILandroid/content/Intent;)V");
  if (_m_Activity__onActivityReenter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onActivityReenter, i,
                            intent);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__createPendingResult = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__createPendingResult(jobject self_,
                                        int32_t i,
                                        jobject intent,
                                        int32_t i1) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__createPendingResult,
              "createPendingResult",
              "(ILandroid/content/Intent;I)Landroid/app/PendingIntent;");
  if (_m_Activity__createPendingResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__createPendingResult, i, intent, i1);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setRequestedOrientation = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setRequestedOrientation(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setRequestedOrientation,
              "setRequestedOrientation", "(I)V");
  if (_m_Activity__setRequestedOrientation == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setRequestedOrientation,
                            i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getRequestedOrientation = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getRequestedOrientation(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getRequestedOrientation,
              "getRequestedOrientation", "()I");
  if (_m_Activity__getRequestedOrientation == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Activity__getRequestedOrientation);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getTaskId = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getTaskId(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getTaskId, "getTaskId", "()I");
  if (_m_Activity__getTaskId == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Activity__getTaskId);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__isTaskRoot = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isTaskRoot(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isTaskRoot, "isTaskRoot", "()Z");
  if (_m_Activity__isTaskRoot == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__isTaskRoot);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__moveTaskToBack = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__moveTaskToBack(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__moveTaskToBack, "moveTaskToBack",
              "(Z)Z");
  if (_m_Activity__moveTaskToBack == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__moveTaskToBack, z);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getLocalClassName = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getLocalClassName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getLocalClassName, "getLocalClassName",
              "()Ljava/lang/String;");
  if (_m_Activity__getLocalClassName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__getLocalClassName);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getComponentName = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getComponentName(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getComponentName, "getComponentName",
              "()Landroid/content/ComponentName;");
  if (_m_Activity__getComponentName == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getComponentName);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getPreferences = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getPreferences(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getPreferences, "getPreferences",
              "(I)Landroid/content/SharedPreferences;");
  if (_m_Activity__getPreferences == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_,
                                                _m_Activity__getPreferences, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__isLaunchedFromBubble = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isLaunchedFromBubble(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isLaunchedFromBubble,
              "isLaunchedFromBubble", "()Z");
  if (_m_Activity__isLaunchedFromBubble == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__isLaunchedFromBubble);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getSystemService = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getSystemService(jobject self_, jobject string) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getSystemService, "getSystemService",
              "(Ljava/lang/String;)Ljava/lang/Object;");
  if (_m_Activity__getSystemService == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getSystemService, string);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setTitle = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTitle(jobject self_, jobject charSequence) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTitle, "setTitle",
              "(Ljava/lang/CharSequence;)V");
  if (_m_Activity__setTitle == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTitle, charSequence);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setTitle1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTitle1(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTitle1, "setTitle", "(I)V");
  if (_m_Activity__setTitle1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTitle1, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setTitleColor = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTitleColor(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTitleColor, "setTitleColor",
              "(I)V");
  if (_m_Activity__setTitleColor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTitleColor, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getTitle = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getTitle(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getTitle, "getTitle",
              "()Ljava/lang/CharSequence;");
  if (_m_Activity__getTitle == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__getTitle);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__getTitleColor = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getTitleColor(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getTitleColor, "getTitleColor", "()I");
  if (_m_Activity__getTitleColor == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Activity__getTitleColor);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onTitleChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onTitleChanged(jobject self_,
                                   jobject charSequence,
                                   int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onTitleChanged, "onTitleChanged",
              "(Ljava/lang/CharSequence;I)V");
  if (_m_Activity__onTitleChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onTitleChanged,
                            charSequence, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onChildTitleChanged = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onChildTitleChanged(jobject self_,
                                        jobject activity,
                                        jobject charSequence) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onChildTitleChanged,
              "onChildTitleChanged",
              "(Landroid/app/Activity;Ljava/lang/CharSequence;)V");
  if (_m_Activity__onChildTitleChanged == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onChildTitleChanged,
                            activity, charSequence);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setTaskDescription = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTaskDescription(jobject self_, jobject taskDescription) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTaskDescription,
              "setTaskDescription",
              "(Landroid/app/ActivityManager$TaskDescription;)V");
  if (_m_Activity__setTaskDescription == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTaskDescription,
                            taskDescription);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setProgressBarVisibility = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setProgressBarVisibility(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setProgressBarVisibility,
              "setProgressBarVisibility", "(Z)V");
  if (_m_Activity__setProgressBarVisibility == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setProgressBarVisibility, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setProgressBarIndeterminateVisibility = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setProgressBarIndeterminateVisibility(jobject self_,
                                                          uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setProgressBarIndeterminateVisibility,
              "setProgressBarIndeterminateVisibility", "(Z)V");
  if (_m_Activity__setProgressBarIndeterminateVisibility == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(
      jniEnv, self_, _m_Activity__setProgressBarIndeterminateVisibility, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setProgressBarIndeterminate = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setProgressBarIndeterminate(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setProgressBarIndeterminate,
              "setProgressBarIndeterminate", "(Z)V");
  if (_m_Activity__setProgressBarIndeterminate == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setProgressBarIndeterminate, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setProgress = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setProgress(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setProgress, "setProgress", "(I)V");
  if (_m_Activity__setProgress == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setProgress, i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setSecondaryProgress = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setSecondaryProgress(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setSecondaryProgress,
              "setSecondaryProgress", "(I)V");
  if (_m_Activity__setSecondaryProgress == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setSecondaryProgress,
                            i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setVolumeControlStream = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setVolumeControlStream(jobject self_, int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setVolumeControlStream,
              "setVolumeControlStream", "(I)V");
  if (_m_Activity__setVolumeControlStream == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setVolumeControlStream,
                            i);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getVolumeControlStream = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getVolumeControlStream(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getVolumeControlStream,
              "getVolumeControlStream", "()I");
  if (_m_Activity__getVolumeControlStream == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result = (*jniEnv)->CallIntMethod(
      jniEnv, self_, _m_Activity__getVolumeControlStream);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__setMediaController = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setMediaController(jobject self_, jobject mediaController) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setMediaController,
              "setMediaController",
              "(Landroid/media/session/MediaController;)V");
  if (_m_Activity__setMediaController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setMediaController,
                            mediaController);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getMediaController = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getMediaController(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getMediaController,
              "getMediaController",
              "()Landroid/media/session/MediaController;");
  if (_m_Activity__getMediaController == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getMediaController);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__runOnUiThread = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__runOnUiThread(jobject self_, jobject runnable) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__runOnUiThread, "runOnUiThread",
              "(Ljava/lang/Runnable;)V");
  if (_m_Activity__runOnUiThread == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__runOnUiThread,
                            runnable);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onCreateView = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateView(jobject self_,
                                 jobject string,
                                 jobject context,
                                 jobject attributeSet) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateView, "onCreateView",
              "(Ljava/lang/String;Landroid/content/Context;Landroid/util/"
              "AttributeSet;)Landroid/view/View;");
  if (_m_Activity__onCreateView == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onCreateView, string, context, attributeSet);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onCreateView1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onCreateView1(jobject self_,
                                  jobject view,
                                  jobject string,
                                  jobject context,
                                  jobject attributeSet) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onCreateView1, "onCreateView",
              "(Landroid/view/View;Ljava/lang/String;Landroid/content/"
              "Context;Landroid/util/AttributeSet;)Landroid/view/View;");
  if (_m_Activity__onCreateView1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Activity__onCreateView1,
                                  view, string, context, attributeSet);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__dump = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__dump(jobject self_,
                         jobject string,
                         jobject fileDescriptor,
                         jobject printWriter,
                         jobject strings) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__dump, "dump",
              "(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/"
              "PrintWriter;[Ljava/lang/String;)V");
  if (_m_Activity__dump == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__dump, string,
                            fileDescriptor, printWriter, strings);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__isImmersive = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__isImmersive(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__isImmersive, "isImmersive", "()Z");
  if (_m_Activity__isImmersive == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Activity__isImmersive);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__setTranslucent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTranslucent(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTranslucent, "setTranslucent",
              "(Z)Z");
  if (_m_Activity__setTranslucent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__setTranslucent, z);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__requestVisibleBehind = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requestVisibleBehind(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__requestVisibleBehind,
              "requestVisibleBehind", "(Z)Z");
  if (_m_Activity__requestVisibleBehind == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__requestVisibleBehind, z);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__onVisibleBehindCanceled = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onVisibleBehindCanceled(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onVisibleBehindCanceled,
              "onVisibleBehindCanceled", "()V");
  if (_m_Activity__onVisibleBehindCanceled == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onVisibleBehindCanceled);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onEnterAnimationComplete = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onEnterAnimationComplete(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onEnterAnimationComplete,
              "onEnterAnimationComplete", "()V");
  if (_m_Activity__onEnterAnimationComplete == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__onEnterAnimationComplete);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setImmersive = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setImmersive(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setImmersive, "setImmersive", "(Z)V");
  if (_m_Activity__setImmersive == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setImmersive, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setVrModeEnabled = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setVrModeEnabled(jobject self_,
                                     uint8_t z,
                                     jobject componentName) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setVrModeEnabled, "setVrModeEnabled",
              "(ZLandroid/content/ComponentName;)V");
  if (_m_Activity__setVrModeEnabled == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setVrModeEnabled, z,
                            componentName);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startActionMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActionMode(jobject self_, jobject callback) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActionMode, "startActionMode",
              "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;");
  if (_m_Activity__startActionMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__startActionMode, callback);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__startActionMode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startActionMode1(jobject self_,
                                     jobject callback,
                                     int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startActionMode1, "startActionMode",
              "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;");
  if (_m_Activity__startActionMode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__startActionMode1, callback, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onWindowStartingActionMode = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onWindowStartingActionMode(jobject self_,
                                               jobject callback) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onWindowStartingActionMode,
              "onWindowStartingActionMode",
              "(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;");
  if (_m_Activity__onWindowStartingActionMode == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onWindowStartingActionMode, callback);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onWindowStartingActionMode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onWindowStartingActionMode1(jobject self_,
                                                jobject callback,
                                                int32_t i) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onWindowStartingActionMode1,
              "onWindowStartingActionMode",
              "(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;");
  if (_m_Activity__onWindowStartingActionMode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__onWindowStartingActionMode1, callback, i);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__onActionModeStarted = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onActionModeStarted(jobject self_, jobject actionMode) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onActionModeStarted,
              "onActionModeStarted", "(Landroid/view/ActionMode;)V");
  if (_m_Activity__onActionModeStarted == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onActionModeStarted,
                            actionMode);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__onActionModeFinished = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__onActionModeFinished(jobject self_, jobject actionMode) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__onActionModeFinished,
              "onActionModeFinished", "(Landroid/view/ActionMode;)V");
  if (_m_Activity__onActionModeFinished == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__onActionModeFinished,
                            actionMode);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__shouldUpRecreateTask = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__shouldUpRecreateTask(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__shouldUpRecreateTask,
              "shouldUpRecreateTask", "(Landroid/content/Intent;)Z");
  if (_m_Activity__shouldUpRecreateTask == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__shouldUpRecreateTask, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__navigateUpTo = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__navigateUpTo(jobject self_, jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__navigateUpTo, "navigateUpTo",
              "(Landroid/content/Intent;)Z");
  if (_m_Activity__navigateUpTo == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__navigateUpTo, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__navigateUpToFromChild = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__navigateUpToFromChild(jobject self_,
                                          jobject activity,
                                          jobject intent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__navigateUpToFromChild,
              "navigateUpToFromChild",
              "(Landroid/app/Activity;Landroid/content/Intent;)Z");
  if (_m_Activity__navigateUpToFromChild == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Activity__navigateUpToFromChild, activity, intent);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Activity__getParentActivityIntent = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getParentActivityIntent(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getParentActivityIntent,
              "getParentActivityIntent", "()Landroid/content/Intent;");
  if (_m_Activity__getParentActivityIntent == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getParentActivityIntent);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__setEnterSharedElementCallback = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setEnterSharedElementCallback(
    jobject self_,
    jobject sharedElementCallback) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setEnterSharedElementCallback,
              "setEnterSharedElementCallback",
              "(Landroid/app/SharedElementCallback;)V");
  if (_m_Activity__setEnterSharedElementCallback == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setEnterSharedElementCallback,
                            sharedElementCallback);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setExitSharedElementCallback = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setExitSharedElementCallback(
    jobject self_,
    jobject sharedElementCallback) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setExitSharedElementCallback,
              "setExitSharedElementCallback",
              "(Landroid/app/SharedElementCallback;)V");
  if (_m_Activity__setExitSharedElementCallback == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setExitSharedElementCallback,
                            sharedElementCallback);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__postponeEnterTransition = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__postponeEnterTransition(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__postponeEnterTransition,
              "postponeEnterTransition", "()V");
  if (_m_Activity__postponeEnterTransition == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__postponeEnterTransition);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__startPostponedEnterTransition = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startPostponedEnterTransition(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startPostponedEnterTransition,
              "startPostponedEnterTransition", "()V");
  if (_m_Activity__startPostponedEnterTransition == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__startPostponedEnterTransition);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__requestDragAndDropPermissions = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__requestDragAndDropPermissions(jobject self_,
                                                  jobject dragEvent) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Activity, &_m_Activity__requestDragAndDropPermissions,
      "requestDragAndDropPermissions",
      "(Landroid/view/DragEvent;)Landroid/view/DragAndDropPermissions;");
  if (_m_Activity__requestDragAndDropPermissions == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__requestDragAndDropPermissions, dragEvent);
  return to_global_ref_result(_result);
}

jmethodID _m_Activity__startLockTask = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__startLockTask(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__startLockTask, "startLockTask", "()V");
  if (_m_Activity__startLockTask == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__startLockTask);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__stopLockTask = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__stopLockTask(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__stopLockTask, "stopLockTask", "()V");
  if (_m_Activity__stopLockTask == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__stopLockTask);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__showLockTaskEscapeMessage = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__showLockTaskEscapeMessage(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__showLockTaskEscapeMessage,
              "showLockTaskEscapeMessage", "()V");
  if (_m_Activity__showLockTaskEscapeMessage == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__showLockTaskEscapeMessage);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setRecentsScreenshotEnabled = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setRecentsScreenshotEnabled(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setRecentsScreenshotEnabled,
              "setRecentsScreenshotEnabled", "(Z)V");
  if (_m_Activity__setRecentsScreenshotEnabled == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setRecentsScreenshotEnabled, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setShowWhenLocked = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setShowWhenLocked(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setShowWhenLocked, "setShowWhenLocked",
              "(Z)V");
  if (_m_Activity__setShowWhenLocked == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setShowWhenLocked, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setInheritShowWhenLocked = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setInheritShowWhenLocked(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setInheritShowWhenLocked,
              "setInheritShowWhenLocked", "(Z)V");
  if (_m_Activity__setInheritShowWhenLocked == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_,
                            _m_Activity__setInheritShowWhenLocked, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__setTurnScreenOn = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__setTurnScreenOn(jobject self_, uint8_t z) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__setTurnScreenOn, "setTurnScreenOn",
              "(Z)V");
  if (_m_Activity__setTurnScreenOn == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  (*jniEnv)->CallVoidMethod(jniEnv, self_, _m_Activity__setTurnScreenOn, z);
  return (JniResult){.value = {.j = 0}, .exception = check_exception()};
}

jmethodID _m_Activity__getOnBackInvokedDispatcher = NULL;
FFI_PLUGIN_EXPORT
JniResult Activity__getOnBackInvokedDispatcher(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Activity, &_m_Activity__getOnBackInvokedDispatcher,
              "getOnBackInvokedDispatcher",
              "()Landroid/window/OnBackInvokedDispatcher;");
  if (_m_Activity__getOnBackInvokedDispatcher == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Activity__getOnBackInvokedDispatcher);
  return to_global_ref_result(_result);
}

jfieldID _f_Activity__FOCUSED_STATE_SET = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Activity__FOCUSED_STATE_SET() {
  load_env();
  load_class_global_ref(&_c_Activity, "android/app/Activity");
  if (_c_Activity == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Activity, &_f_Activity__FOCUSED_STATE_SET,
                    "FOCUSED_STATE_SET", "[I");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_Activity, _f_Activity__FOCUSED_STATE_SET);
  return to_global_ref_result(_result);
}

// java.time.Instant
jclass _c_Instant = NULL;

jmethodID _m_Instant__now = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__now() {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__now, "now",
                     "()Ljava/time/Instant;");
  if (_m_Instant__now == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallStaticObjectMethod(jniEnv, _c_Instant, _m_Instant__now);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__now1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__now1(jobject clock) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__now1, "now",
                     "(Ljava/time/Clock;)Ljava/time/Instant;");
  if (_m_Instant__now1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(jniEnv, _c_Instant,
                                                      _m_Instant__now1, clock);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__ofEpochSecond = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__ofEpochSecond(int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__ofEpochSecond, "ofEpochSecond",
                     "(J)Ljava/time/Instant;");
  if (_m_Instant__ofEpochSecond == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Instant, _m_Instant__ofEpochSecond, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__ofEpochSecond1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__ofEpochSecond1(int64_t j, int64_t j1) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__ofEpochSecond1, "ofEpochSecond",
                     "(JJ)Ljava/time/Instant;");
  if (_m_Instant__ofEpochSecond1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Instant, _m_Instant__ofEpochSecond1, j, j1);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__ofEpochMilli = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__ofEpochMilli(int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__ofEpochMilli, "ofEpochMilli",
                     "(J)Ljava/time/Instant;");
  if (_m_Instant__ofEpochMilli == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Instant, _m_Instant__ofEpochMilli, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__from = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__from(jobject temporalAccessor) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(
      _c_Instant, &_m_Instant__from, "from",
      "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;");
  if (_m_Instant__from == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Instant, _m_Instant__from, temporalAccessor);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__parse = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__parse(jobject charSequence) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_Instant, &_m_Instant__parse, "parse",
                     "(Ljava/lang/CharSequence;)Ljava/time/Instant;");
  if (_m_Instant__parse == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_Instant, _m_Instant__parse, charSequence);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__isSupported = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__isSupported(jobject self_, jobject temporalField) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__isSupported, "isSupported",
              "(Ljava/time/temporal/TemporalField;)Z");
  if (_m_Instant__isSupported == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Instant__isSupported, temporalField);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__isSupported1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__isSupported1(jobject self_, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__isSupported1, "isSupported",
              "(Ljava/time/temporal/TemporalUnit;)Z");
  if (_m_Instant__isSupported1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_Instant__isSupported1, temporalUnit);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__range = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__range(jobject self_, jobject temporalField) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__range, "range",
      "(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;");
  if (_m_Instant__range == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__range, temporalField);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__get0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__get0(jobject self_, jobject temporalField) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__get0, "get",
              "(Ljava/time/temporal/TemporalField;)I");
  if (_m_Instant__get0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Instant__get0, temporalField);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__getLong = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__getLong(jobject self_, jobject temporalField) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__getLong, "getLong",
              "(Ljava/time/temporal/TemporalField;)J");
  if (_m_Instant__getLong == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result = (*jniEnv)->CallLongMethod(
      jniEnv, self_, _m_Instant__getLong, temporalField);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__getEpochSecond = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__getEpochSecond(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__getEpochSecond, "getEpochSecond", "()J");
  if (_m_Instant__getEpochSecond == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result =
      (*jniEnv)->CallLongMethod(jniEnv, self_, _m_Instant__getEpochSecond);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__getNano = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__getNano(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__getNano, "getNano", "()I");
  if (_m_Instant__getNano == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Instant__getNano);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__with0 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__with0(jobject self_, jobject temporalAdjuster) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__with0, "with",
              "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/Instant;");
  if (_m_Instant__with0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__with0, temporalAdjuster);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__with1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__with1(jobject self_, jobject temporalField, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__with1, "with",
              "(Ljava/time/temporal/TemporalField;J)Ljava/time/Instant;");
  if (_m_Instant__with1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__with1, temporalField, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__truncatedTo = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__truncatedTo(jobject self_, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__truncatedTo, "truncatedTo",
              "(Ljava/time/temporal/TemporalUnit;)Ljava/time/Instant;");
  if (_m_Instant__truncatedTo == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__truncatedTo, temporalUnit);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plus = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plus(jobject self_, jobject temporalAmount) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__plus, "plus",
              "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;");
  if (_m_Instant__plus == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__plus,
                                                temporalAmount);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plus1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plus1(jobject self_, int64_t j, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__plus1, "plus",
              "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;");
  if (_m_Instant__plus1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__plus1, j, temporalUnit);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plusSeconds = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plusSeconds(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__plusSeconds, "plusSeconds",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__plusSeconds == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__plusSeconds, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plusMillis = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plusMillis(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__plusMillis, "plusMillis",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__plusMillis == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__plusMillis, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plusNanos = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plusNanos(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__plusNanos, "plusNanos",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__plusNanos == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__plusNanos, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minus = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minus(jobject self_, jobject temporalAmount) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__minus, "minus",
              "(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;");
  if (_m_Instant__minus == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__minus, temporalAmount);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minus1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minus1(jobject self_, int64_t j, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__minus1, "minus",
              "(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;");
  if (_m_Instant__minus1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__minus1, j, temporalUnit);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minusSeconds = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minusSeconds(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__minusSeconds, "minusSeconds",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__minusSeconds == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__minusSeconds, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minusMillis = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minusMillis(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__minusMillis, "minusMillis",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__minusMillis == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__minusMillis, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minusNanos = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minusNanos(jobject self_, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__minusNanos, "minusNanos",
              "(J)Ljava/time/Instant;");
  if (_m_Instant__minusNanos == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__minusNanos, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__query = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__query(jobject self_, jobject temporalQuery) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__query, "query",
              "(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;");
  if (_m_Instant__query == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__query, temporalQuery);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__adjustInto = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__adjustInto(jobject self_, jobject temporal) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__adjustInto, "adjustInto",
              "(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__adjustInto == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__adjustInto, temporal);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__until = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__until(jobject self_,
                         jobject temporal,
                         jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__until, "until",
      "(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J");
  if (_m_Instant__until == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result = (*jniEnv)->CallLongMethod(jniEnv, self_, _m_Instant__until,
                                              temporal, temporalUnit);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__atOffset = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__atOffset(jobject self_, jobject zoneOffset) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__atOffset, "atOffset",
              "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;");
  if (_m_Instant__atOffset == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__atOffset, zoneOffset);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__atZone = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__atZone(jobject self_, jobject zoneId) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__atZone, "atZone",
              "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;");
  if (_m_Instant__atZone == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__atZone, zoneId);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__toEpochMilli = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__toEpochMilli(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__toEpochMilli, "toEpochMilli", "()J");
  if (_m_Instant__toEpochMilli == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int64_t _result =
      (*jniEnv)->CallLongMethod(jniEnv, self_, _m_Instant__toEpochMilli);
  return (JniResult){.value = {.j = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__compareTo = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__compareTo(jobject self_, jobject instant) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__compareTo, "compareTo",
              "(Ljava/time/Instant;)I");
  if (_m_Instant__compareTo == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Instant__compareTo, instant);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__isAfter = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__isAfter(jobject self_, jobject instant) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__isAfter, "isAfter",
              "(Ljava/time/Instant;)Z");
  if (_m_Instant__isAfter == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Instant__isAfter, instant);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__isBefore = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__isBefore(jobject self_, jobject instant) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__isBefore, "isBefore",
              "(Ljava/time/Instant;)Z");
  if (_m_Instant__isBefore == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(jniEnv, self_,
                                                 _m_Instant__isBefore, instant);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__equals = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__equals(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__equals, "equals",
              "(Ljava/lang/Object;)Z");
  if (_m_Instant__equals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result =
      (*jniEnv)->CallBooleanMethod(jniEnv, self_, _m_Instant__equals, object);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__hashCode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__hashCode1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__hashCode1, "hashCode", "()I");
  if (_m_Instant__hashCode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Instant__hashCode1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jmethodID _m_Instant__toString1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__toString1(jobject self_) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__toString1, "toString",
              "()Ljava/lang/String;");
  if (_m_Instant__toString1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->CallObjectMethod(jniEnv, self_, _m_Instant__toString1);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minus2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minus2(jobject self_, int64_t j, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__minus2, "minus",
      "(JLjava/time/temporal/TemporalUnit;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__minus2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__minus2, j, temporalUnit);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__minus3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__minus3(jobject self_, jobject temporalAmount) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__minus3, "minus",
      "(Ljava/time/temporal/TemporalAmount;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__minus3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__minus3, temporalAmount);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plus2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plus2(jobject self_, int64_t j, jobject temporalUnit) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__plus2, "plus",
      "(JLjava/time/temporal/TemporalUnit;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__plus2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__plus2, j, temporalUnit);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__plus3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__plus3(jobject self_, jobject temporalAmount) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__plus3, "plus",
      "(Ljava/time/temporal/TemporalAmount;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__plus3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__plus3, temporalAmount);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__with2 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__with2(jobject self_, jobject temporalField, int64_t j) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__with2, "with",
      "(Ljava/time/temporal/TemporalField;J)Ljava/time/temporal/Temporal;");
  if (_m_Instant__with2 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__with2, temporalField, j);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__with3 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__with3(jobject self_, jobject temporalAdjuster) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_Instant, &_m_Instant__with3, "with",
      "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/temporal/Temporal;");
  if (_m_Instant__with3 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_Instant__with3, temporalAdjuster);
  return to_global_ref_result(_result);
}

jmethodID _m_Instant__compareTo1 = NULL;
FFI_PLUGIN_EXPORT
JniResult Instant__compareTo1(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_Instant, &_m_Instant__compareTo1, "compareTo",
              "(Ljava/lang/Object;)I");
  if (_m_Instant__compareTo1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_Instant__compareTo1, object);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

jfieldID _f_Instant__EPOCH = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Instant__EPOCH() {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Instant, &_f_Instant__EPOCH, "EPOCH",
                    "Ljava/time/Instant;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Instant, _f_Instant__EPOCH);
  return to_global_ref_result(_result);
}

jfieldID _f_Instant__MAX = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Instant__MAX() {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Instant, &_f_Instant__MAX, "MAX", "Ljava/time/Instant;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Instant, _f_Instant__MAX);
  return to_global_ref_result(_result);
}

jfieldID _f_Instant__MIN = NULL;
FFI_PLUGIN_EXPORT
JniResult get_Instant__MIN() {
  load_env();
  load_class_global_ref(&_c_Instant, "java/time/Instant");
  if (_c_Instant == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_Instant, &_f_Instant__MIN, "MIN", "Ljava/time/Instant;");
  jobject _result =
      (*jniEnv)->GetStaticObjectField(jniEnv, _c_Instant, _f_Instant__MIN);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.request.AggregateGroupByDurationRequest
jclass _c_AggregateGroupByDurationRequest = NULL;

jmethodID _m_AggregateGroupByDurationRequest__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateGroupByDurationRequest__new0(jobject set,
                                                jobject timeRangeFilter,
                                                jobject duration,
                                                jobject set1) {
  load_env();
  load_class_global_ref(
      &_c_AggregateGroupByDurationRequest,
      "androidx/health/connect/client/request/AggregateGroupByDurationRequest");
  if (_c_AggregateGroupByDurationRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateGroupByDurationRequest,
              &_m_AggregateGroupByDurationRequest__new0, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;)V");
  if (_m_AggregateGroupByDurationRequest__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_AggregateGroupByDurationRequest,
                           _m_AggregateGroupByDurationRequest__new0, set,
                           timeRangeFilter, duration, set1);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregateGroupByDurationRequest__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateGroupByDurationRequest__new1(
    jobject set,
    jobject timeRangeFilter,
    jobject duration,
    jobject set1,
    int32_t i,
    jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_AggregateGroupByDurationRequest,
      "androidx/health/connect/client/request/AggregateGroupByDurationRequest");
  if (_c_AggregateGroupByDurationRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateGroupByDurationRequest,
              &_m_AggregateGroupByDurationRequest__new1, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;ILkotlin/jvm/"
              "internal/DefaultConstructorMarker;)V");
  if (_m_AggregateGroupByDurationRequest__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_AggregateGroupByDurationRequest,
      _m_AggregateGroupByDurationRequest__new1, set, timeRangeFilter, duration,
      set1, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.request.AggregateGroupByPeriodRequest
jclass _c_AggregateGroupByPeriodRequest = NULL;

jmethodID _m_AggregateGroupByPeriodRequest__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateGroupByPeriodRequest__new0(jobject set,
                                              jobject timeRangeFilter,
                                              jobject period,
                                              jobject set1) {
  load_env();
  load_class_global_ref(
      &_c_AggregateGroupByPeriodRequest,
      "androidx/health/connect/client/request/AggregateGroupByPeriodRequest");
  if (_c_AggregateGroupByPeriodRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateGroupByPeriodRequest,
              &_m_AggregateGroupByPeriodRequest__new0, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;)V");
  if (_m_AggregateGroupByPeriodRequest__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_AggregateGroupByPeriodRequest,
                           _m_AggregateGroupByPeriodRequest__new0, set,
                           timeRangeFilter, period, set1);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregateGroupByPeriodRequest__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateGroupByPeriodRequest__new1(
    jobject set,
    jobject timeRangeFilter,
    jobject period,
    jobject set1,
    int32_t i,
    jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_AggregateGroupByPeriodRequest,
      "androidx/health/connect/client/request/AggregateGroupByPeriodRequest");
  if (_c_AggregateGroupByPeriodRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateGroupByPeriodRequest,
              &_m_AggregateGroupByPeriodRequest__new1, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;ILkotlin/jvm/"
              "internal/DefaultConstructorMarker;)V");
  if (_m_AggregateGroupByPeriodRequest__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_AggregateGroupByPeriodRequest,
      _m_AggregateGroupByPeriodRequest__new1, set, timeRangeFilter, period,
      set1, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.request.AggregateRequest
jclass _c_AggregateRequest = NULL;

jmethodID _m_AggregateRequest__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateRequest__new0(jobject set,
                                 jobject timeRangeFilter,
                                 jobject set1) {
  load_env();
  load_class_global_ref(
      &_c_AggregateRequest,
      "androidx/health/connect/client/request/AggregateRequest");
  if (_c_AggregateRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateRequest, &_m_AggregateRequest__new0, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/util/Set;)V");
  if (_m_AggregateRequest__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_AggregateRequest,
                                         _m_AggregateRequest__new0, set,
                                         timeRangeFilter, set1);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregateRequest__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateRequest__new1(jobject set,
                                 jobject timeRangeFilter,
                                 jobject set1,
                                 int32_t i,
                                 jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_AggregateRequest,
      "androidx/health/connect/client/request/AggregateRequest");
  if (_c_AggregateRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateRequest, &_m_AggregateRequest__new1, "<init>",
              "(Ljava/util/Set;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/util/Set;ILkotlin/jvm/internal/"
              "DefaultConstructorMarker;)V");
  if (_m_AggregateRequest__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_AggregateRequest, _m_AggregateRequest__new1, set,
      timeRangeFilter, set1, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.request.ChangesTokenRequest
jclass _c_ChangesTokenRequest = NULL;

jmethodID _m_ChangesTokenRequest__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult ChangesTokenRequest__new0(jobject set, jobject set1) {
  load_env();
  load_class_global_ref(
      &_c_ChangesTokenRequest,
      "androidx/health/connect/client/request/ChangesTokenRequest");
  if (_c_ChangesTokenRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ChangesTokenRequest, &_m_ChangesTokenRequest__new0, "<init>",
              "(Ljava/util/Set;Ljava/util/Set;)V");
  if (_m_ChangesTokenRequest__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_ChangesTokenRequest, _m_ChangesTokenRequest__new0, set, set1);
  return to_global_ref_result(_result);
}

jmethodID _m_ChangesTokenRequest__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult ChangesTokenRequest__new1(jobject set,
                                    jobject set1,
                                    int32_t i,
                                    jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_ChangesTokenRequest,
      "androidx/health/connect/client/request/ChangesTokenRequest");
  if (_c_ChangesTokenRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ChangesTokenRequest, &_m_ChangesTokenRequest__new1, "<init>",
              "(Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/"
              "DefaultConstructorMarker;)V");
  if (_m_ChangesTokenRequest__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_ChangesTokenRequest,
                                         _m_ChangesTokenRequest__new1, set,
                                         set1, i, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.request.ReadRecordsRequest
jclass _c_ReadRecordsRequest = NULL;

jmethodID _m_ReadRecordsRequest__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult ReadRecordsRequest__new0(jobject kClass,
                                   jobject timeRangeFilter,
                                   jobject set,
                                   uint8_t z,
                                   int32_t i,
                                   jobject string) {
  load_env();
  load_class_global_ref(
      &_c_ReadRecordsRequest,
      "androidx/health/connect/client/request/ReadRecordsRequest");
  if (_c_ReadRecordsRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ReadRecordsRequest, &_m_ReadRecordsRequest__new0, "<init>",
              "(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;)V");
  if (_m_ReadRecordsRequest__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_ReadRecordsRequest,
                                         _m_ReadRecordsRequest__new0, kClass,
                                         timeRangeFilter, set, z, i, string);
  return to_global_ref_result(_result);
}

jmethodID _m_ReadRecordsRequest__new1 = NULL;
FFI_PLUGIN_EXPORT
JniResult ReadRecordsRequest__new1(jobject kClass,
                                   jobject timeRangeFilter,
                                   jobject set,
                                   uint8_t z,
                                   int32_t i,
                                   jobject string,
                                   int32_t i1,
                                   jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_ReadRecordsRequest,
      "androidx/health/connect/client/request/ReadRecordsRequest");
  if (_c_ReadRecordsRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ReadRecordsRequest, &_m_ReadRecordsRequest__new1, "<init>",
              "(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/"
              "TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;ILkotlin/jvm/"
              "internal/DefaultConstructorMarker;)V");
  if (_m_ReadRecordsRequest__new1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_ReadRecordsRequest, _m_ReadRecordsRequest__new1, kClass,
      timeRangeFilter, set, z, i, string, i1, defaultConstructorMarker);
  return to_global_ref_result(_result);
}

jmethodID _m_ReadRecordsRequest__equals = NULL;
FFI_PLUGIN_EXPORT
JniResult ReadRecordsRequest__equals(jobject self_, jobject object) {
  load_env();
  load_class_global_ref(
      &_c_ReadRecordsRequest,
      "androidx/health/connect/client/request/ReadRecordsRequest");
  if (_c_ReadRecordsRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ReadRecordsRequest, &_m_ReadRecordsRequest__equals, "equals",
              "(Ljava/lang/Object;)Z");
  if (_m_ReadRecordsRequest__equals == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_ReadRecordsRequest__equals, object);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_ReadRecordsRequest__hashCode1 = NULL;
FFI_PLUGIN_EXPORT
JniResult ReadRecordsRequest__hashCode1(jobject self_) {
  load_env();
  load_class_global_ref(
      &_c_ReadRecordsRequest,
      "androidx/health/connect/client/request/ReadRecordsRequest");
  if (_c_ReadRecordsRequest == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_ReadRecordsRequest, &_m_ReadRecordsRequest__hashCode1,
              "hashCode", "()I");
  if (_m_ReadRecordsRequest__hashCode1 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  int32_t _result =
      (*jniEnv)->CallIntMethod(jniEnv, self_, _m_ReadRecordsRequest__hashCode1);
  return (JniResult){.value = {.i = _result}, .exception = check_exception()};
}

// androidx.health.connect.client.aggregate.AggregationResult
jclass _c_AggregationResult = NULL;

jmethodID _m_AggregationResult__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__new0(jobject map, jobject map1, jobject set) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__new0, "<init>",
              "(Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;)V");
  if (_m_AggregationResult__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(
      jniEnv, _c_AggregationResult, _m_AggregationResult__new0, map, map1, set);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregationResult__getDataOrigins = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__getDataOrigins(jobject self_) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__getDataOrigins,
              "getDataOrigins", "()Ljava/util/Set;");
  if (_m_AggregationResult__getDataOrigins == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_AggregationResult__getDataOrigins);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregationResult__hasMetric = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__hasMetric(jobject self_, jobject aggregateMetric) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__hasMetric,
              "hasMetric",
              "(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z");
  if (_m_AggregationResult__hasMetric == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_AggregationResult__hasMetric, aggregateMetric);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_AggregationResult__contains = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__contains(jobject self_, jobject aggregateMetric) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__contains, "contains",
              "(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z");
  if (_m_AggregationResult__contains == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  uint8_t _result = (*jniEnv)->CallBooleanMethod(
      jniEnv, self_, _m_AggregationResult__contains, aggregateMetric);
  return (JniResult){.value = {.z = _result}, .exception = check_exception()};
}

jmethodID _m_AggregationResult__getMetric = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__getMetric(jobject self_, jobject aggregateMetric) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__getMetric,
              "getMetric",
              "(Landroidx/health/connect/client/aggregate/"
              "AggregateMetric;)Ljava/lang/Object;");
  if (_m_AggregationResult__getMetric == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_AggregationResult__getMetric, aggregateMetric);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregationResult__get0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregationResult__get0(jobject self_, jobject aggregateMetric) {
  load_env();
  load_class_global_ref(
      &_c_AggregationResult,
      "androidx/health/connect/client/aggregate/AggregationResult");
  if (_c_AggregationResult == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregationResult, &_m_AggregationResult__get0, "get",
              "(Landroidx/health/connect/client/aggregate/"
              "AggregateMetric;)Ljava/lang/Object;");
  if (_m_AggregationResult__get0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_, _m_AggregationResult__get0, aggregateMetric);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.aggregate.AggregateMetric$AggregationType
jclass _c_AggregateMetric_AggregationType = NULL;

jmethodID _m_AggregateMetric_AggregationType__getAggregationTypeString = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateMetric_AggregationType__getAggregationTypeString(
    jobject self_) {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateMetric_AggregationType,
              &_m_AggregateMetric_AggregationType__getAggregationTypeString,
              "getAggregationTypeString", "()Ljava/lang/String;");
  if (_m_AggregateMetric_AggregationType__getAggregationTypeString == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallObjectMethod(
      jniEnv, self_,
      _m_AggregateMetric_AggregationType__getAggregationTypeString);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregateMetric_AggregationType__values = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateMetric_AggregationType__values() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_AggregateMetric_AggregationType,
                     &_m_AggregateMetric_AggregationType__values, "values",
                     "()[Landroidx/health/connect/client/aggregate/"
                     "AggregateMetric$AggregationType;");
  if (_m_AggregateMetric_AggregationType__values == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_AggregateMetric_AggregationType,
      _m_AggregateMetric_AggregationType__values);
  return to_global_ref_result(_result);
}

jmethodID _m_AggregateMetric_AggregationType__valueOf = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateMetric_AggregationType__valueOf(jobject string) {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_method(_c_AggregateMetric_AggregationType,
                     &_m_AggregateMetric_AggregationType__valueOf, "valueOf",
                     "(Ljava/lang/String;)Landroidx/health/connect/client/"
                     "aggregate/AggregateMetric$AggregationType;");
  if (_m_AggregateMetric_AggregationType__valueOf == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->CallStaticObjectMethod(
      jniEnv, _c_AggregateMetric_AggregationType,
      _m_AggregateMetric_AggregationType__valueOf, string);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__DURATION = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__DURATION() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__DURATION, "DURATION",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__DURATION);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__AVERAGE = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__AVERAGE() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__AVERAGE, "AVERAGE",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__AVERAGE);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__MINIMUM = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__MINIMUM() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__MINIMUM, "MINIMUM",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__MINIMUM);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__MAXIMUM = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__MAXIMUM() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__MAXIMUM, "MAXIMUM",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__MAXIMUM);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__TOTAL = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__TOTAL() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__TOTAL, "TOTAL",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__TOTAL);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric_AggregationType__COUNT = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric_AggregationType__COUNT() {
  load_env();
  load_class_global_ref(&_c_AggregateMetric_AggregationType,
                        "androidx/health/connect/client/aggregate/"
                        "AggregateMetric$AggregationType");
  if (_c_AggregateMetric_AggregationType == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(_c_AggregateMetric_AggregationType,
                    &_f_AggregateMetric_AggregationType__COUNT, "COUNT",
                    "Landroidx/health/connect/client/aggregate/"
                    "AggregateMetric$AggregationType;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric_AggregationType,
      _f_AggregateMetric_AggregationType__COUNT);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.aggregate.AggregateMetric$Companion
jclass _c_AggregateMetric_Companion = NULL;

jmethodID _m_AggregateMetric_Companion__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateMetric_Companion__new0(jobject defaultConstructorMarker) {
  load_env();
  load_class_global_ref(
      &_c_AggregateMetric_Companion,
      "androidx/health/connect/client/aggregate/AggregateMetric$Companion");
  if (_c_AggregateMetric_Companion == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(_c_AggregateMetric_Companion, &_m_AggregateMetric_Companion__new0,
              "<init>", "(Lkotlin/jvm/internal/DefaultConstructorMarker;)V");
  if (_m_AggregateMetric_Companion__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result = (*jniEnv)->NewObject(jniEnv, _c_AggregateMetric_Companion,
                                         _m_AggregateMetric_Companion__new0,
                                         defaultConstructorMarker);
  return to_global_ref_result(_result);
}

// androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromDouble
jclass _c_AggregateMetric_Converter_FromDouble = NULL;

// androidx.health.connect.client.aggregate.AggregateMetric$Converter$FromLong
jclass _c_AggregateMetric_Converter_FromLong = NULL;

// androidx.health.connect.client.aggregate.AggregateMetric$Converter
jclass _c_AggregateMetric_Converter = NULL;

// androidx.health.connect.client.aggregate.AggregateMetric
jclass _c_AggregateMetric = NULL;

jmethodID _m_AggregateMetric__new0 = NULL;
FFI_PLUGIN_EXPORT
JniResult AggregateMetric__new0(jobject converter,
                                jobject string,
                                jobject aggregationType,
                                jobject string1) {
  load_env();
  load_class_global_ref(
      &_c_AggregateMetric,
      "androidx/health/connect/client/aggregate/AggregateMetric");
  if (_c_AggregateMetric == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_method(
      _c_AggregateMetric, &_m_AggregateMetric__new0, "<init>",
      "(Landroidx/health/connect/client/aggregate/"
      "AggregateMetric$Converter;Ljava/lang/String;Landroidx/health/connect/"
      "client/aggregate/AggregateMetric$AggregationType;Ljava/lang/String;)V");
  if (_m_AggregateMetric__new0 == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  jobject _result =
      (*jniEnv)->NewObject(jniEnv, _c_AggregateMetric, _m_AggregateMetric__new0,
                           converter, string, aggregationType, string1);
  return to_global_ref_result(_result);
}

jfieldID _f_AggregateMetric__Companion = NULL;
FFI_PLUGIN_EXPORT
JniResult get_AggregateMetric__Companion() {
  load_env();
  load_class_global_ref(
      &_c_AggregateMetric,
      "androidx/health/connect/client/aggregate/AggregateMetric");
  if (_c_AggregateMetric == NULL)
    return (JniResult){.value = {.j = 0}, .exception = check_exception()};
  load_static_field(
      _c_AggregateMetric, &_f_AggregateMetric__Companion, "Companion",
      "Landroidx/health/connect/client/aggregate/AggregateMetric$Companion;");
  jobject _result = (*jniEnv)->GetStaticObjectField(
      jniEnv, _c_AggregateMetric, _f_AggregateMetric__Companion);
  return to_global_ref_result(_result);
}
