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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-provider-Telephony_ServiceStateTable"))]
__jni_bindgen! {
/// public final class [Telephony.ServiceStateTable](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html)
///
/// Required feature: "android-provider-Telephony_ServiceStateTable"
public final class Telephony_ServiceStateTable ("android/provider/Telephony$ServiceStateTable") extends crate::java::lang::Object {
/// [getUriForSubscriptionIdAndField](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#getUriForSubscriptionIdAndField(int,%20java.lang.String))
///
/// Required features: "android-net-Uri", "java-lang-String"
#[cfg(any(feature = "all", all(feature = "android-net-Uri", feature = "java-lang-String")))]
pub fn getUriForSubscriptionIdAndField<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Telephony$ServiceStateTable", java.flags == PUBLIC | STATIC, .name == "getUriForSubscriptionIdAndField", .descriptor == "(ILjava/lang/String;)Landroid/net/Uri;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Telephony$ServiceStateTable\0", "getUriForSubscriptionIdAndField\0", "(ILjava/lang/String;)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getUriForSubscriptionId](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#getUriForSubscriptionId(int))
///
/// Required features: "android-net-Uri"
#[cfg(any(feature = "all", all(feature = "android-net-Uri")))]
pub fn getUriForSubscriptionId<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/provider/Telephony$ServiceStateTable", java.flags == PUBLIC | STATIC, .name == "getUriForSubscriptionId", .descriptor == "(I)Landroid/net/Uri;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/provider/Telephony$ServiceStateTable\0", "getUriForSubscriptionId\0", "(I)Landroid/net/Uri;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [AUTHORITY](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#AUTHORITY)
pub const AUTHORITY : &'static str = "service-state";
/// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#CONTENT_URI)
///
/// Required feature: "android-net-Uri"
#[cfg(any(feature = "all", feature = "android-net-Uri"))]
pub fn CONTENT_URI<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::Uri>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("android/provider/Telephony$ServiceStateTable\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// public static final [IS_MANUAL_NETWORK_SELECTION](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#IS_MANUAL_NETWORK_SELECTION)
pub const IS_MANUAL_NETWORK_SELECTION : &'static str = "is_manual_network_selection";
/// public static final [VOICE_OPERATOR_NUMERIC](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#VOICE_OPERATOR_NUMERIC)
pub const VOICE_OPERATOR_NUMERIC : &'static str = "voice_operator_numeric";
/// public static final [VOICE_REG_STATE](https://developer.android.com/reference/android/provider/Telephony.ServiceStateTable.html#VOICE_REG_STATE)
pub const VOICE_REG_STATE : &'static str = "voice_reg_state";
}
}