jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-location-GnssMeasurement"))]
__jni_bindgen! {
    /// public final class [GnssMeasurement](https://developer.android.com/reference/android/location/GnssMeasurement.html)
    ///
    /// Required feature: "android-location-GnssMeasurement"
    public final class GnssMeasurement ("android/location/GnssMeasurement") extends crate::java::lang::Object, implements crate::android::os::Parcelable {

        /// [getSvid](https://developer.android.com/reference/android/location/GnssMeasurement.html#getSvid())
        pub fn getSvid<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getSvid", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getSvid\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getConstellationType](https://developer.android.com/reference/android/location/GnssMeasurement.html#getConstellationType())
        pub fn getConstellationType<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getConstellationType", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getConstellationType\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getTimeOffsetNanos](https://developer.android.com/reference/android/location/GnssMeasurement.html#getTimeOffsetNanos())
        pub fn getTimeOffsetNanos<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getTimeOffsetNanos", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getTimeOffsetNanos\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getState](https://developer.android.com/reference/android/location/GnssMeasurement.html#getState())
        pub fn getState<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getState", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getState\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getReceivedSvTimeNanos](https://developer.android.com/reference/android/location/GnssMeasurement.html#getReceivedSvTimeNanos())
        pub fn getReceivedSvTimeNanos<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getReceivedSvTimeNanos", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getReceivedSvTimeNanos\0", "()J\0");
                __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getReceivedSvTimeUncertaintyNanos](https://developer.android.com/reference/android/location/GnssMeasurement.html#getReceivedSvTimeUncertaintyNanos())
        pub fn getReceivedSvTimeUncertaintyNanos<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getReceivedSvTimeUncertaintyNanos", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getReceivedSvTimeUncertaintyNanos\0", "()J\0");
                __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCn0DbHz](https://developer.android.com/reference/android/location/GnssMeasurement.html#getCn0DbHz())
        pub fn getCn0DbHz<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getCn0DbHz", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getCn0DbHz\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getPseudorangeRateMetersPerSecond](https://developer.android.com/reference/android/location/GnssMeasurement.html#getPseudorangeRateMetersPerSecond())
        pub fn getPseudorangeRateMetersPerSecond<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getPseudorangeRateMetersPerSecond", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getPseudorangeRateMetersPerSecond\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getPseudorangeRateUncertaintyMetersPerSecond](https://developer.android.com/reference/android/location/GnssMeasurement.html#getPseudorangeRateUncertaintyMetersPerSecond())
        pub fn getPseudorangeRateUncertaintyMetersPerSecond<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getPseudorangeRateUncertaintyMetersPerSecond", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getPseudorangeRateUncertaintyMetersPerSecond\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getAccumulatedDeltaRangeState](https://developer.android.com/reference/android/location/GnssMeasurement.html#getAccumulatedDeltaRangeState())
        pub fn getAccumulatedDeltaRangeState<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getAccumulatedDeltaRangeState", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getAccumulatedDeltaRangeState\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getAccumulatedDeltaRangeMeters](https://developer.android.com/reference/android/location/GnssMeasurement.html#getAccumulatedDeltaRangeMeters())
        pub fn getAccumulatedDeltaRangeMeters<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getAccumulatedDeltaRangeMeters", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getAccumulatedDeltaRangeMeters\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getAccumulatedDeltaRangeUncertaintyMeters](https://developer.android.com/reference/android/location/GnssMeasurement.html#getAccumulatedDeltaRangeUncertaintyMeters())
        pub fn getAccumulatedDeltaRangeUncertaintyMeters<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getAccumulatedDeltaRangeUncertaintyMeters", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getAccumulatedDeltaRangeUncertaintyMeters\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasCarrierFrequencyHz())
        pub fn hasCarrierFrequencyHz<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasCarrierFrequencyHz", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasCarrierFrequencyHz\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCarrierFrequencyHz](https://developer.android.com/reference/android/location/GnssMeasurement.html#getCarrierFrequencyHz())
        pub fn getCarrierFrequencyHz<'env>(&'env self) -> __jni_bindgen::std::result::Result<f32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getCarrierFrequencyHz", .descriptor == "()F"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getCarrierFrequencyHz\0", "()F\0");
                __jni_env.call_float_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasCarrierCycles](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasCarrierCycles())
        pub fn hasCarrierCycles<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasCarrierCycles", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasCarrierCycles\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCarrierCycles](https://developer.android.com/reference/android/location/GnssMeasurement.html#getCarrierCycles())
        pub fn getCarrierCycles<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getCarrierCycles", .descriptor == "()J"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getCarrierCycles\0", "()J\0");
                __jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasCarrierPhase](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasCarrierPhase())
        pub fn hasCarrierPhase<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasCarrierPhase", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasCarrierPhase\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCarrierPhase](https://developer.android.com/reference/android/location/GnssMeasurement.html#getCarrierPhase())
        pub fn getCarrierPhase<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getCarrierPhase", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getCarrierPhase\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasCarrierPhaseUncertainty](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasCarrierPhaseUncertainty())
        pub fn hasCarrierPhaseUncertainty<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasCarrierPhaseUncertainty", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasCarrierPhaseUncertainty\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCarrierPhaseUncertainty](https://developer.android.com/reference/android/location/GnssMeasurement.html#getCarrierPhaseUncertainty())
        pub fn getCarrierPhaseUncertainty<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getCarrierPhaseUncertainty", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getCarrierPhaseUncertainty\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMultipathIndicator](https://developer.android.com/reference/android/location/GnssMeasurement.html#getMultipathIndicator())
        pub fn getMultipathIndicator<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getMultipathIndicator", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getMultipathIndicator\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasSnrInDb](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasSnrInDb())
        pub fn hasSnrInDb<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasSnrInDb", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasSnrInDb\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getSnrInDb](https://developer.android.com/reference/android/location/GnssMeasurement.html#getSnrInDb())
        pub fn getSnrInDb<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getSnrInDb", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getSnrInDb\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [hasAutomaticGainControlLevelDb](https://developer.android.com/reference/android/location/GnssMeasurement.html#hasAutomaticGainControlLevelDb())
        pub fn hasAutomaticGainControlLevelDb<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "hasAutomaticGainControlLevelDb", .descriptor == "()Z"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "hasAutomaticGainControlLevelDb\0", "()Z\0");
                __jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getAutomaticGainControlLevelDb](https://developer.android.com/reference/android/location/GnssMeasurement.html#getAutomaticGainControlLevelDb())
        pub fn getAutomaticGainControlLevelDb<'env>(&'env self) -> __jni_bindgen::std::result::Result<f64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "getAutomaticGainControlLevelDb", .descriptor == "()D"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "getAutomaticGainControlLevelDb\0", "()D\0");
                __jni_env.call_double_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [writeToParcel](https://developer.android.com/reference/android/location/GnssMeasurement.html#writeToParcel(android.os.Parcel,%20int))
        ///
        /// Required features: "android-os-Parcel"
        #[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
        pub fn writeToParcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "writeToParcel", .descriptor == "(Landroid/os/Parcel;I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [describeContents](https://developer.android.com/reference/android/location/GnssMeasurement.html#describeContents())
        pub fn describeContents<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "describeContents", .descriptor == "()I"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "describeContents\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [toString](https://developer.android.com/reference/android/location/GnssMeasurement.html#toString())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn toString<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/location/GnssMeasurement", java.flags == PUBLIC, .name == "toString", .descriptor == "()Ljava/lang/String;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/location/GnssMeasurement\0", "toString\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [ADR_STATE_CYCLE_SLIP](https://developer.android.com/reference/android/location/GnssMeasurement.html#ADR_STATE_CYCLE_SLIP)
        pub const ADR_STATE_CYCLE_SLIP : i32 = 4;

        /// public static final [ADR_STATE_RESET](https://developer.android.com/reference/android/location/GnssMeasurement.html#ADR_STATE_RESET)
        pub const ADR_STATE_RESET : i32 = 2;

        /// public static final [ADR_STATE_UNKNOWN](https://developer.android.com/reference/android/location/GnssMeasurement.html#ADR_STATE_UNKNOWN)
        pub const ADR_STATE_UNKNOWN : i32 = 0;

        /// public static final [ADR_STATE_VALID](https://developer.android.com/reference/android/location/GnssMeasurement.html#ADR_STATE_VALID)
        pub const ADR_STATE_VALID : i32 = 1;

        /// **get** public static final [CREATOR](https://developer.android.com/reference/android/location/GnssMeasurement.html#CREATOR)
        ///
        /// Required feature: "android-os-Parcelable_Creator"
        #[cfg(any(feature = "all", feature = "android-os-Parcelable_Creator"))]
        pub fn CREATOR<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::os::Parcelable_Creator>> {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/location/GnssMeasurement\0", "CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
                env.get_static_object_field(__jni_class, __jni_field)
            }
        }

        /// public static final [MULTIPATH_INDICATOR_DETECTED](https://developer.android.com/reference/android/location/GnssMeasurement.html#MULTIPATH_INDICATOR_DETECTED)
        pub const MULTIPATH_INDICATOR_DETECTED : i32 = 1;

        /// public static final [MULTIPATH_INDICATOR_NOT_DETECTED](https://developer.android.com/reference/android/location/GnssMeasurement.html#MULTIPATH_INDICATOR_NOT_DETECTED)
        pub const MULTIPATH_INDICATOR_NOT_DETECTED : i32 = 2;

        /// public static final [MULTIPATH_INDICATOR_UNKNOWN](https://developer.android.com/reference/android/location/GnssMeasurement.html#MULTIPATH_INDICATOR_UNKNOWN)
        pub const MULTIPATH_INDICATOR_UNKNOWN : i32 = 0;

        /// public static final [STATE_BDS_D2_BIT_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_BDS_D2_BIT_SYNC)
        pub const STATE_BDS_D2_BIT_SYNC : i32 = 256;

        /// public static final [STATE_BDS_D2_SUBFRAME_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_BDS_D2_SUBFRAME_SYNC)
        pub const STATE_BDS_D2_SUBFRAME_SYNC : i32 = 512;

        /// public static final [STATE_BIT_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_BIT_SYNC)
        pub const STATE_BIT_SYNC : i32 = 2;

        /// public static final [STATE_CODE_LOCK](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_CODE_LOCK)
        pub const STATE_CODE_LOCK : i32 = 1;

        /// public static final [STATE_GAL_E1BC_CODE_LOCK](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GAL_E1BC_CODE_LOCK)
        pub const STATE_GAL_E1BC_CODE_LOCK : i32 = 1024;

        /// public static final [STATE_GAL_E1B_PAGE_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GAL_E1B_PAGE_SYNC)
        pub const STATE_GAL_E1B_PAGE_SYNC : i32 = 4096;

        /// public static final [STATE_GAL_E1C_2ND_CODE_LOCK](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GAL_E1C_2ND_CODE_LOCK)
        pub const STATE_GAL_E1C_2ND_CODE_LOCK : i32 = 2048;

        /// public static final [STATE_GLO_STRING_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GLO_STRING_SYNC)
        pub const STATE_GLO_STRING_SYNC : i32 = 64;

        /// public static final [STATE_GLO_TOD_DECODED](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GLO_TOD_DECODED)
        pub const STATE_GLO_TOD_DECODED : i32 = 128;

        /// public static final [STATE_GLO_TOD_KNOWN](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_GLO_TOD_KNOWN)
        pub const STATE_GLO_TOD_KNOWN : i32 = 32768;

        /// public static final [STATE_MSEC_AMBIGUOUS](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_MSEC_AMBIGUOUS)
        pub const STATE_MSEC_AMBIGUOUS : i32 = 16;

        /// public static final [STATE_SBAS_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_SBAS_SYNC)
        pub const STATE_SBAS_SYNC : i32 = 8192;

        /// public static final [STATE_SUBFRAME_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_SUBFRAME_SYNC)
        pub const STATE_SUBFRAME_SYNC : i32 = 4;

        /// public static final [STATE_SYMBOL_SYNC](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_SYMBOL_SYNC)
        pub const STATE_SYMBOL_SYNC : i32 = 32;

        /// public static final [STATE_TOW_DECODED](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_TOW_DECODED)
        pub const STATE_TOW_DECODED : i32 = 8;

        /// public static final [STATE_TOW_KNOWN](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_TOW_KNOWN)
        pub const STATE_TOW_KNOWN : i32 = 16384;

        /// public static final [STATE_UNKNOWN](https://developer.android.com/reference/android/location/GnssMeasurement.html#STATE_UNKNOWN)
        pub const STATE_UNKNOWN : i32 = 0;
    }
}