1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-util-Config"))]
__jni_bindgen! {
/// public final class [Config](https://developer.android.com/reference/android/util/Config.html)
///
/// Required feature: "android-util-Config"
public final class Config ("android/util/Config") extends crate::java::lang::Object {
/// [Config](https://developer.android.com/reference/android/util/Config.html#Config())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::util::Config>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/util/Config", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/util/Config\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [DEBUG](https://developer.android.com/reference/android/util/Config.html#DEBUG)
pub fn DEBUG<'env>(env: &'env __jni_bindgen::Env) -> bool {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/util/Config\0", "DEBUG\0", "Z\0");
env.get_static_boolean_field(__jni_class, __jni_field)
}
}
/// **get** public static final [RELEASE](https://developer.android.com/reference/android/util/Config.html#RELEASE)
pub fn RELEASE<'env>(env: &'env __jni_bindgen::Env) -> bool {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/util/Config\0", "RELEASE\0", "Z\0");
env.get_static_boolean_field(__jni_class, __jni_field)
}
}
/// public static final [PROFILE](https://developer.android.com/reference/android/util/Config.html#PROFILE)
pub const PROFILE : bool = false;
/// public static final [LOGV](https://developer.android.com/reference/android/util/Config.html#LOGV)
pub const LOGV : bool = false;
/// public static final [LOGD](https://developer.android.com/reference/android/util/Config.html#LOGD)
pub const LOGD : bool = true;
}
}