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
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-provider-Telephony_CarrierId"))]
__jni_bindgen! {
/// public final class [Telephony.CarrierId](https://developer.android.com/reference/android/provider/Telephony.CarrierId.html)
///
/// Required feature: "android-provider-Telephony_CarrierId"
public final class Telephony_CarrierId ("android/provider/Telephony$CarrierId") extends crate::java::lang::Object, implements crate::android::provider::BaseColumns {
/// [getUriForSubscriptionId](https://developer.android.com/reference/android/provider/Telephony.CarrierId.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$CarrierId", 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$CarrierId\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 [CARRIER_ID](https://developer.android.com/reference/android/provider/Telephony.CarrierId.html#CARRIER_ID)
pub const CARRIER_ID : &'static str = "carrier_id";
/// public static final [CARRIER_NAME](https://developer.android.com/reference/android/provider/Telephony.CarrierId.html#CARRIER_NAME)
pub const CARRIER_NAME : &'static str = "carrier_name";
/// **get** public static final [CONTENT_URI](https://developer.android.com/reference/android/provider/Telephony.CarrierId.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$CarrierId\0", "CONTENT_URI\0", "Landroid/net/Uri;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}