| // Copyright 2017 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| |
| // This file is autogenerated by |
| // base/android/jni_generator/jni_registration_generator.py |
| // Please do not change its content. |
| |
| #ifndef TEMP_DIR_HEADER_ |
| #define TEMP_DIR_HEADER_ |
| |
| #include <jni.h> |
| |
| #include <iterator> |
| |
| #include "base/android/jni_generator/jni_generator_helper.h" |
| #include "base/android/jni_int_wrapper.h" |
| |
| |
| // Step 1: Forward declarations (classes). |
| |
| |
| // Step 2: Forward declarations (methods). |
| |
| JNI_GENERATOR_EXPORT void Java_this_is_a_package_prefix_J_N_MGfHLNVl( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobject Java_this_is_a_package_prefix_J_N_M5EfCheU( |
| JNIEnv* env, |
| jclass jcaller, |
| jobject sample); |
| JNI_GENERATOR_EXPORT jstring Java_this_is_a_package_prefix_J_N_MXQefv1w( |
| JNIEnv* env, |
| jclass jcaller, |
| jstring stringToReverse); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MSYtnUBS( |
| JNIEnv* env, |
| jclass jcaller, |
| jobjectArray strs); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MaV5G8K8( |
| JNIEnv* env, |
| jclass jcaller, |
| jobjectArray strs); |
| JNI_GENERATOR_EXPORT jboolean Java_this_is_a_package_prefix_J_N_MM2Yz6XD( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jintArray Java_this_is_a_package_prefix_J_N_MMy4dcxH( |
| JNIEnv* env, |
| jclass jcaller, |
| jint zint, |
| jintArray ints, |
| jlong zlong, |
| jlongArray longs, |
| jshort zshort, |
| jshortArray shorts, |
| jchar zchar, |
| jcharArray chars, |
| jbyte zbyte, |
| jbyteArray bytes, |
| jdouble zdouble, |
| jdoubleArray doubles, |
| jfloat zfloat, |
| jfloatArray floats, |
| jboolean zbool, |
| jbooleanArray bools); |
| JNI_GENERATOR_EXPORT void Java_this_is_a_package_prefix_J_N_MSslZIsy( |
| JNIEnv* env, |
| jclass jcaller, |
| jclass clazz, |
| jobjectArray classes, |
| jthrowable throwable, |
| jobjectArray throwables, |
| jstring string, |
| jobjectArray strings, |
| jobject tStruct, |
| jobjectArray structs, |
| jobject obj, |
| jobjectArray objects); |
| JNI_GENERATOR_EXPORT jthrowable Java_this_is_a_package_prefix_J_N_Mehs9t7u( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MQH82FhP( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jclass Java_this_is_a_package_prefix_J_N_MyxAHj2Y( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MNGv55Cm( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jstring Java_this_is_a_package_prefix_J_N_Mysjo_00024pl( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_M3B287zk( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobject Java_this_is_a_package_prefix_J_N_M8UGsyhL( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MtYMX5wX( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobject Java_this_is_a_package_prefix_J_N_MIs8T9aQ( |
| JNIEnv* env, |
| jclass jcaller); |
| JNI_GENERATOR_EXPORT jobjectArray Java_this_is_a_package_prefix_J_N_MtkQGyRy( |
| JNIEnv* env, |
| jclass jcaller); |
| |
| |
| // Step 3: Method declarations. |
| |
| |
| static const JNINativeMethod kMethods_this_is_a_package_prefix_J_N[] = { |
| { "MGfHLNVl", "()V", reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MGfHLNVl) }, |
| { "M5EfCheU", "(Ljava/lang/Object;)Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_M5EfCheU) }, |
| { "MXQefv1w", "(Ljava/lang/String;)Ljava/lang/String;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MXQefv1w) }, |
| { "MSYtnUBS", "([Ljava/lang/String;)[Ljava/lang/String;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MSYtnUBS) }, |
| { "MaV5G8K8", "([Ljava/lang/Object;)[Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MaV5G8K8) }, |
| { "MM2Yz6XD", "()Z", reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MM2Yz6XD) }, |
| { "MMy4dcxH", "(I[IJ[JS[SC[CB[BD[DF[FZ[Z)[I", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MMy4dcxH) }, |
| { "MSslZIsy", |
| "(Ljava/lang/Class;[Ljava/lang/Class;Ljava/lang/Throwable;[Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)V", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MSslZIsy) }, |
| { "Mehs9t7u", "()Ljava/lang/Throwable;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_Mehs9t7u) }, |
| { "MQH82FhP", "()[Ljava/lang/Throwable;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MQH82FhP) }, |
| { "MyxAHj2Y", "()Ljava/lang/Class;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MyxAHj2Y) }, |
| { "MNGv55Cm", "()[Ljava/lang/Class;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MNGv55Cm) }, |
| { "Mysjo$pl", "()Ljava/lang/String;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_Mysjo_00024pl) }, |
| { "M3B287zk", "()[Ljava/lang/String;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_M3B287zk) }, |
| { "M8UGsyhL", "()Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_M8UGsyhL) }, |
| { "MtYMX5wX", "()[Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MtYMX5wX) }, |
| { "MIs8T9aQ", "()Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MIs8T9aQ) }, |
| { "MtkQGyRy", "()[Ljava/lang/Object;", |
| reinterpret_cast<void*>(Java_this_is_a_package_prefix_J_N_MtkQGyRy) }, |
| |
| }; |
| |
| namespace { |
| |
| JNI_REGISTRATION_EXPORT bool RegisterNative_this_is_a_package_prefix_J_N(JNIEnv* env) { |
| const int number_of_methods = std::size(kMethods_this_is_a_package_prefix_J_N); |
| |
| base::android::ScopedJavaLocalRef<jclass> native_clazz = |
| base::android::GetClass(env, "this/is/a/package/prefix/J/N"); |
| if (env->RegisterNatives( |
| native_clazz.obj(), |
| kMethods_this_is_a_package_prefix_J_N, |
| number_of_methods) < 0) { |
| |
| jni_generator::HandleRegistrationError(env, native_clazz.obj(), __FILE__); |
| return false; |
| } |
| |
| return true; |
| } |
| |
| } // namespace |
| |
| |
| // Step 4: Registration function. |
| |
| namespace None { |
| |
| bool RegisterNatives(JNIEnv* env) { |
| // Register natives in a proxy. |
| if (!RegisterNative_this_is_a_package_prefix_J_N(env)) { |
| return false; |
| } |
| |
| |
| return true; |
| } |
| |
| } // namespace None |
| |
| #endif // TEMP_DIR_HEADER_ |