jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "dalvik-system-Zygote"))]
__jni_bindgen! {
    /// public class [Zygote](https://developer.android.com/reference/dalvik/system/Zygote.html)
    ///
    /// Required feature: "dalvik-system-Zygote"
    public class Zygote ("dalvik/system/Zygote") extends crate::java::lang::Object {

        /// [fork](https://developer.android.com/reference/dalvik/system/Zygote.html#fork())
        pub fn fork<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "dalvik/system/Zygote", java.flags == PUBLIC | STATIC | NATIVE, .name == "fork", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/system/Zygote\0", "fork\0", "()I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [forkAndSpecialize](https://developer.android.com/reference/dalvik/system/Zygote.html#forkAndSpecialize(int,%20int,%20int%5B%5D,%20int,%20int%5B%5D%5B%5D))
        pub fn forkAndSpecialize_int_int_int_array_int_int_array_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg3: i32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<__jni_bindgen::IntArray, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "dalvik/system/Zygote", java.flags == PUBLIC | STATIC | NATIVE, .name == "forkAndSpecialize", .descriptor == "(II[II[[I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/system/Zygote\0", "forkAndSpecialize\0", "(II[II[[I)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [forkAndSpecialize](https://developer.android.com/reference/dalvik/system/Zygote.html#forkAndSpecialize(int,%20int,%20int%5B%5D,%20boolean,%20int%5B%5D%5B%5D))
        pub fn forkAndSpecialize_int_int_int_array_boolean_int_array_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg3: bool, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<__jni_bindgen::IntArray, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "dalvik/system/Zygote", java.flags == PUBLIC | STATIC, .name == "forkAndSpecialize", .descriptor == "(II[IZ[[I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/system/Zygote\0", "forkAndSpecialize\0", "(II[IZ[[I)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [forkSystemServer](https://developer.android.com/reference/dalvik/system/Zygote.html#forkSystemServer(int,%20int,%20int%5B%5D,%20int,%20int%5B%5D%5B%5D))
        pub fn forkSystemServer_int_int_int_array_int_int_array_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg3: i32, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<__jni_bindgen::IntArray, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "dalvik/system/Zygote", java.flags == PUBLIC | STATIC | NATIVE, .name == "forkSystemServer", .descriptor == "(II[II[[I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/system/Zygote\0", "forkSystemServer\0", "(II[II[[I)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [forkSystemServer](https://developer.android.com/reference/dalvik/system/Zygote.html#forkSystemServer(int,%20int,%20int%5B%5D,%20boolean,%20int%5B%5D%5B%5D))
        pub fn forkSystemServer_int_int_int_array_boolean_int_array_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg3: bool, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<__jni_bindgen::IntArray, crate::java::lang::Throwable>>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "dalvik/system/Zygote", java.flags == PUBLIC | STATIC, .name == "forkSystemServer", .descriptor == "(II[IZ[[I)I"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("dalvik/system/Zygote\0", "forkSystemServer\0", "(II[IZ[[I)I\0");
                __jni_env.call_static_int_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [DEBUG_ENABLE_DEBUGGER](https://developer.android.com/reference/dalvik/system/Zygote.html#DEBUG_ENABLE_DEBUGGER)
        pub const DEBUG_ENABLE_DEBUGGER : i32 = 1;

        /// public static final [DEBUG_ENABLE_CHECKJNI](https://developer.android.com/reference/dalvik/system/Zygote.html#DEBUG_ENABLE_CHECKJNI)
        pub const DEBUG_ENABLE_CHECKJNI : i32 = 2;

        /// public static final [DEBUG_ENABLE_ASSERT](https://developer.android.com/reference/dalvik/system/Zygote.html#DEBUG_ENABLE_ASSERT)
        pub const DEBUG_ENABLE_ASSERT : i32 = 4;

        /// public static final [DEBUG_ENABLE_SAFEMODE](https://developer.android.com/reference/dalvik/system/Zygote.html#DEBUG_ENABLE_SAFEMODE)
        pub const DEBUG_ENABLE_SAFEMODE : i32 = 8;
    }
}