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
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


__jni_bindgen! {
    /// public class [ActivityInfo](https://developer.android.com/reference/android/content/pm/ActivityInfo.html)
    ///
    /// Required feature: android-content-pm-ActivityInfo
    #[cfg(any(feature = "all", feature = "android-content-pm-ActivityInfo"))]
    public class ActivityInfo extends crate::android::content::pm::ComponentInfo, implements crate::android::os::Parcelable {

        /// <init>
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::pm::ActivityInfo>> {
            // class.path == "android/content/pm/ActivityInfo", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/pm/ActivityInfo\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// <init>
        ///
        /// Required features: "android-content-pm-ActivityInfo"
        #[cfg(any(feature = "all", all(feature = "android-content-pm-ActivityInfo")))]
        pub fn new_activity_info<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::pm::ActivityInfo>>) -> __jni_bindgen::Result<__jni_bindgen::Local<'env, crate::android::content::pm::ActivityInfo>> {
            // class.path == "android/content/pm/ActivityInfo", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/content/pm/ActivityInfo;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/pm/ActivityInfo\0", "<init>\0", "(Landroid/content/pm/ActivityInfo;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getThemeResource](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#getThemeResource())
        pub fn get_theme_resource<'env>(&'env self) -> __jni_bindgen::Result<i32> {
            // class.path == "android/content/pm/ActivityInfo", java.flags == PUBLIC | FINAL, .name == "getThemeResource", .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/content/pm/ActivityInfo\0", "getThemeResource\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [dump](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#dump(android,%2520util,%2520Printer,%2520java,%2520lang,%2520String))
        ///
        /// Required features: "android-util-Printer", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-util-Printer", feature = "java-lang-String")))]
        pub fn dump<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::util::Printer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::Result<()> {
            // class.path == "android/content/pm/ActivityInfo", java.flags == PUBLIC, .name == "dump", .descriptor == "(Landroid/util/Printer;Ljava/lang/String;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/content/pm/ActivityInfo\0", "dump\0", "(Landroid/util/Printer;Ljava/lang/String;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [toString](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#toString())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn to_string<'env>(&'env self) -> __jni_bindgen::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>> {
            // class.path == "android/content/pm/ActivityInfo", 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/content/pm/ActivityInfo\0", "toString\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [describeContents](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#describeContents())
        pub fn describe_contents<'env>(&'env self) -> __jni_bindgen::Result<i32> {
            // class.path == "android/content/pm/ActivityInfo", 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/content/pm/ActivityInfo\0", "describeContents\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [writeToParcel](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#writeToParcel(android,%2520os,%2520Parcel,%2520int))
        ///
        /// Required features: "android-os-Parcel"
        #[cfg(any(feature = "all", all(feature = "android-os-Parcel")))]
        pub fn write_to_parcel<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::os::Parcel>>, arg1: i32) -> __jni_bindgen::Result<()> {
            // class.path == "android/content/pm/ActivityInfo", 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/content/pm/ActivityInfo\0", "writeToParcel\0", "(Landroid/os/Parcel;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        // // Not emitting: Failed to mangle method name
        // // Not emitting: Non-public method
        // // Not emitting: Static class constructor - never needs to be called by Rust.
        // /// <clinit>
        // fn <clinit><'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::Result<()> {
        //     // class.path == "android/content/pm/ActivityInfo", java.flags == STATIC, .name == "<clinit>", .descriptor == "()V"
        //     unsafe {
        //         let __jni_args = [];
        //         let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/content/pm/ActivityInfo\0", "<clinit>\0", "()V\0");
        //         __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
        //     }
        // }

        /// public static final [COLOR_MODE_DEFAULT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT)
        pub const COLOR_MODE_DEFAULT : i32 = 0;

        /// public static final [COLOR_MODE_HDR](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR)
        pub const COLOR_MODE_HDR : i32 = 2;

        /// public static final [COLOR_MODE_WIDE_COLOR_GAMUT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT)
        pub const COLOR_MODE_WIDE_COLOR_GAMUT : i32 = 1;

        /// public static final [CONFIG_COLOR_MODE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_COLOR_MODE)
        pub const CONFIG_COLOR_MODE : i32 = 16384;

        /// public static final [CONFIG_DENSITY](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_DENSITY)
        pub const CONFIG_DENSITY : i32 = 4096;

        /// public static final [CONFIG_FONT_SCALE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_FONT_SCALE)
        pub const CONFIG_FONT_SCALE : i32 = 1073741824;

        /// public static final [CONFIG_KEYBOARD](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_KEYBOARD)
        pub const CONFIG_KEYBOARD : i32 = 16;

        /// public static final [CONFIG_KEYBOARD_HIDDEN](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_KEYBOARD_HIDDEN)
        pub const CONFIG_KEYBOARD_HIDDEN : i32 = 32;

        /// public static final [CONFIG_LAYOUT_DIRECTION](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_LAYOUT_DIRECTION)
        pub const CONFIG_LAYOUT_DIRECTION : i32 = 8192;

        /// public static final [CONFIG_LOCALE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_LOCALE)
        pub const CONFIG_LOCALE : i32 = 4;

        /// public static final [CONFIG_MCC](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_MCC)
        pub const CONFIG_MCC : i32 = 1;

        /// public static final [CONFIG_MNC](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_MNC)
        pub const CONFIG_MNC : i32 = 2;

        /// public static final [CONFIG_NAVIGATION](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_NAVIGATION)
        pub const CONFIG_NAVIGATION : i32 = 64;

        /// public static final [CONFIG_ORIENTATION](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_ORIENTATION)
        pub const CONFIG_ORIENTATION : i32 = 128;

        /// public static final [CONFIG_SCREEN_LAYOUT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_SCREEN_LAYOUT)
        pub const CONFIG_SCREEN_LAYOUT : i32 = 256;

        /// public static final [CONFIG_SCREEN_SIZE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_SCREEN_SIZE)
        pub const CONFIG_SCREEN_SIZE : i32 = 1024;

        /// public static final [CONFIG_SMALLEST_SCREEN_SIZE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_SMALLEST_SCREEN_SIZE)
        pub const CONFIG_SMALLEST_SCREEN_SIZE : i32 = 2048;

        /// public static final [CONFIG_TOUCHSCREEN](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_TOUCHSCREEN)
        pub const CONFIG_TOUCHSCREEN : i32 = 8;

        /// public static final [CONFIG_UI_MODE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#CONFIG_UI_MODE)
        pub const CONFIG_UI_MODE : i32 = 512;

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public static final [CREATOR](https://developer.android.com/reference/android/content/pm/ActivityInfo.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) -> android/os/Parcelable$Creator {
        //     unsafe {
        //         let (class, field) = env.require_class_static_field("android/content/pm/ActivityInfo\0", "CREATOR\0", "Landroid/os/Parcelable$Creator;\0");
        //         env.get_static_object_field(class, field)
        //     }
        // }

        /// public static final [DOCUMENT_LAUNCH_ALWAYS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#DOCUMENT_LAUNCH_ALWAYS)
        pub const DOCUMENT_LAUNCH_ALWAYS : i32 = 2;

        /// public static final [DOCUMENT_LAUNCH_INTO_EXISTING](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#DOCUMENT_LAUNCH_INTO_EXISTING)
        pub const DOCUMENT_LAUNCH_INTO_EXISTING : i32 = 1;

        /// public static final [DOCUMENT_LAUNCH_NEVER](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#DOCUMENT_LAUNCH_NEVER)
        pub const DOCUMENT_LAUNCH_NEVER : i32 = 3;

        /// public static final [DOCUMENT_LAUNCH_NONE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#DOCUMENT_LAUNCH_NONE)
        pub const DOCUMENT_LAUNCH_NONE : i32 = 0;

        /// public static final [FLAG_ALLOW_TASK_REPARENTING](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_ALLOW_TASK_REPARENTING)
        pub const FLAG_ALLOW_TASK_REPARENTING : i32 = 64;

        /// public static final [FLAG_ALWAYS_RETAIN_TASK_STATE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_ALWAYS_RETAIN_TASK_STATE)
        pub const FLAG_ALWAYS_RETAIN_TASK_STATE : i32 = 8;

        /// public static final [FLAG_AUTO_REMOVE_FROM_RECENTS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_AUTO_REMOVE_FROM_RECENTS)
        pub const FLAG_AUTO_REMOVE_FROM_RECENTS : i32 = 8192;

        /// public static final [FLAG_CLEAR_TASK_ON_LAUNCH](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_CLEAR_TASK_ON_LAUNCH)
        pub const FLAG_CLEAR_TASK_ON_LAUNCH : i32 = 4;

        /// public static final [FLAG_ENABLE_VR_MODE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_ENABLE_VR_MODE)
        pub const FLAG_ENABLE_VR_MODE : i32 = 32768;

        /// public static final [FLAG_EXCLUDE_FROM_RECENTS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_EXCLUDE_FROM_RECENTS)
        pub const FLAG_EXCLUDE_FROM_RECENTS : i32 = 32;

        /// public static final [FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS)
        pub const FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS : i32 = 256;

        /// public static final [FLAG_FINISH_ON_TASK_LAUNCH](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_FINISH_ON_TASK_LAUNCH)
        pub const FLAG_FINISH_ON_TASK_LAUNCH : i32 = 2;

        /// public static final [FLAG_HARDWARE_ACCELERATED](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_HARDWARE_ACCELERATED)
        pub const FLAG_HARDWARE_ACCELERATED : i32 = 512;

        /// public static final [FLAG_IMMERSIVE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_IMMERSIVE)
        pub const FLAG_IMMERSIVE : i32 = 2048;

        /// public static final [FLAG_MULTIPROCESS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_MULTIPROCESS)
        pub const FLAG_MULTIPROCESS : i32 = 1;

        /// public static final [FLAG_NO_HISTORY](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_NO_HISTORY)
        pub const FLAG_NO_HISTORY : i32 = 128;

        /// public static final [FLAG_RELINQUISH_TASK_IDENTITY](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_RELINQUISH_TASK_IDENTITY)
        pub const FLAG_RELINQUISH_TASK_IDENTITY : i32 = 4096;

        /// public static final [FLAG_RESUME_WHILE_PAUSING](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_RESUME_WHILE_PAUSING)
        pub const FLAG_RESUME_WHILE_PAUSING : i32 = 16384;

        /// public static final [FLAG_SINGLE_USER](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_SINGLE_USER)
        pub const FLAG_SINGLE_USER : i32 = 1073741824;

        /// public static final [FLAG_STATE_NOT_NEEDED](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#FLAG_STATE_NOT_NEEDED)
        pub const FLAG_STATE_NOT_NEEDED : i32 = 16;

        /// public static final [LAUNCH_MULTIPLE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#LAUNCH_MULTIPLE)
        pub const LAUNCH_MULTIPLE : i32 = 0;

        /// public static final [LAUNCH_SINGLE_INSTANCE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#LAUNCH_SINGLE_INSTANCE)
        pub const LAUNCH_SINGLE_INSTANCE : i32 = 3;

        /// public static final [LAUNCH_SINGLE_TASK](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#LAUNCH_SINGLE_TASK)
        pub const LAUNCH_SINGLE_TASK : i32 = 2;

        /// public static final [LAUNCH_SINGLE_TOP](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#LAUNCH_SINGLE_TOP)
        pub const LAUNCH_SINGLE_TOP : i32 = 1;

        /// public static final [PERSIST_ACROSS_REBOOTS](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#PERSIST_ACROSS_REBOOTS)
        pub const PERSIST_ACROSS_REBOOTS : i32 = 2;

        /// public static final [PERSIST_NEVER](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#PERSIST_NEVER)
        pub const PERSIST_NEVER : i32 = 1;

        /// public static final [PERSIST_ROOT_ONLY](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#PERSIST_ROOT_ONLY)
        pub const PERSIST_ROOT_ONLY : i32 = 0;

        /// public static final [SCREEN_ORIENTATION_BEHIND](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_BEHIND)
        pub const SCREEN_ORIENTATION_BEHIND : i32 = 3;

        /// public static final [SCREEN_ORIENTATION_FULL_SENSOR](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_FULL_SENSOR)
        pub const SCREEN_ORIENTATION_FULL_SENSOR : i32 = 10;

        /// public static final [SCREEN_ORIENTATION_FULL_USER](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_FULL_USER)
        pub const SCREEN_ORIENTATION_FULL_USER : i32 = 13;

        /// public static final [SCREEN_ORIENTATION_LANDSCAPE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_LANDSCAPE)
        pub const SCREEN_ORIENTATION_LANDSCAPE : i32 = 0;

        /// public static final [SCREEN_ORIENTATION_LOCKED](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_LOCKED)
        pub const SCREEN_ORIENTATION_LOCKED : i32 = 14;

        /// public static final [SCREEN_ORIENTATION_NOSENSOR](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_NOSENSOR)
        pub const SCREEN_ORIENTATION_NOSENSOR : i32 = 5;

        /// public static final [SCREEN_ORIENTATION_PORTRAIT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_PORTRAIT)
        pub const SCREEN_ORIENTATION_PORTRAIT : i32 = 1;

        /// public static final [SCREEN_ORIENTATION_REVERSE_LANDSCAPE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_REVERSE_LANDSCAPE)
        pub const SCREEN_ORIENTATION_REVERSE_LANDSCAPE : i32 = 8;

        /// public static final [SCREEN_ORIENTATION_REVERSE_PORTRAIT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_REVERSE_PORTRAIT)
        pub const SCREEN_ORIENTATION_REVERSE_PORTRAIT : i32 = 9;

        /// public static final [SCREEN_ORIENTATION_SENSOR](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR)
        pub const SCREEN_ORIENTATION_SENSOR : i32 = 4;

        /// public static final [SCREEN_ORIENTATION_SENSOR_LANDSCAPE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
        pub const SCREEN_ORIENTATION_SENSOR_LANDSCAPE : i32 = 6;

        /// public static final [SCREEN_ORIENTATION_SENSOR_PORTRAIT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR_PORTRAIT)
        pub const SCREEN_ORIENTATION_SENSOR_PORTRAIT : i32 = 7;

        /// public static final [SCREEN_ORIENTATION_UNSPECIFIED](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_UNSPECIFIED)
        pub const SCREEN_ORIENTATION_UNSPECIFIED : i32 = -1;

        /// public static final [SCREEN_ORIENTATION_USER](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER)
        pub const SCREEN_ORIENTATION_USER : i32 = 2;

        /// public static final [SCREEN_ORIENTATION_USER_LANDSCAPE](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER_LANDSCAPE)
        pub const SCREEN_ORIENTATION_USER_LANDSCAPE : i32 = 11;

        /// public static final [SCREEN_ORIENTATION_USER_PORTRAIT](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER_PORTRAIT)
        pub const SCREEN_ORIENTATION_USER_PORTRAIT : i32 = 12;

        /// public static final [UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW)
        pub const UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW : i32 = 1;

        /// **get** public [colorMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#colorMode)
        pub fn color_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "colorMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [colorMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#colorMode)
        pub fn set_color_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "colorMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [configChanges](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#configChanges)
        pub fn config_changes<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "configChanges\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [configChanges](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#configChanges)
        pub fn set_config_changes<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "configChanges\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [documentLaunchMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#documentLaunchMode)
        pub fn document_launch_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "documentLaunchMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [documentLaunchMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#documentLaunchMode)
        pub fn set_document_launch_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "documentLaunchMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [flags](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#flags)
        pub fn flags<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "flags\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [flags](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#flags)
        pub fn set_flags<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "flags\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [launchMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#launchMode)
        pub fn launch_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "launchMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [launchMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#launchMode)
        pub fn set_launch_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "launchMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [maxRecents](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#maxRecents)
        pub fn max_recents<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "maxRecents\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [maxRecents](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#maxRecents)
        pub fn set_max_recents<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "maxRecents\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [parentActivityName](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#parentActivityName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn parent_activity_name<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "parentActivityName\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [parentActivityName](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#parentActivityName)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_parent_activity_name<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "parentActivityName\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [permission](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#permission)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn permission<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "permission\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [permission](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#permission)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_permission<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "permission\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        /// **get** public [persistableMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#persistableMode)
        pub fn persistable_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "persistableMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [persistableMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#persistableMode)
        pub fn set_persistable_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "persistableMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [screenOrientation](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#screenOrientation)
        pub fn screen_orientation<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "screenOrientation\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [screenOrientation](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#screenOrientation)
        pub fn set_screen_orientation<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "screenOrientation\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [softInputMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#softInputMode)
        pub fn soft_input_mode<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "softInputMode\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [softInputMode](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#softInputMode)
        pub fn set_soft_input_mode<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "softInputMode\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [targetActivity](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#targetActivity)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn target_activity<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "targetActivity\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [targetActivity](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#targetActivity)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_target_activity<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "targetActivity\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [taskAffinity](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#taskAffinity)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn task_affinity<'env>(&'env self) -> java/lang/String {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "taskAffinity\0", "Ljava/lang/String;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [taskAffinity](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#taskAffinity)
        // ///
        // /// Required feature: java-lang-String
        // #[cfg(any(feature = "all", feature = "java-lang-String"))]
        // pub fn set_task_affinity<'env>(&'env self, value: java/lang/String) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "taskAffinity\0", "Ljava/lang/String;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }

        /// **get** public [theme](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#theme)
        pub fn theme<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "theme\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [theme](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#theme)
        pub fn set_theme<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "theme\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        /// **get** public [uiOptions](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#uiOptions)
        pub fn ui_options<'env>(&'env self) -> i32 {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "uiOptions\0", "I\0");
                env.get_int_field(class, field)
            }
        }

        /// **set** public [uiOptions](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#uiOptions)
        pub fn set_ui_options<'env>(&'env self, value: i32) {
            unsafe {
                let env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "uiOptions\0", "I\0");
                env.set_int_field(class, field, value)
            }
        }

        // // Not emitting: Haven't yet implemented object field types
        // /// **get** public [windowLayout](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#windowLayout)
        // ///
        // /// Required feature: android-content-pm-ActivityInfo_WindowLayout
        // #[cfg(any(feature = "all", feature = "android-content-pm-ActivityInfo_WindowLayout"))]
        // pub fn window_layout<'env>(&'env self) -> android/content/pm/ActivityInfo$WindowLayout {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "windowLayout\0", "Landroid/content/pm/ActivityInfo$WindowLayout;\0");
        //         env.get_object_field(class, field)
        //     }
        // }

        // /// **set** public [windowLayout](https://developer.android.com/reference/android/content/pm/ActivityInfo.html#windowLayout)
        // ///
        // /// Required feature: android-content-pm-ActivityInfo_WindowLayout
        // #[cfg(any(feature = "all", feature = "android-content-pm-ActivityInfo_WindowLayout"))]
        // pub fn set_window_layout<'env>(&'env self, value: android/content/pm/ActivityInfo$WindowLayout) {
        //     unsafe {
        //         let env = __jni_bindgen::Env::from_ptr(self.0.env);
        //         let (class, field) = env.require_class_field("android/content/pm/ActivityInfo\0", "windowLayout\0", "Landroid/content/pm/ActivityInfo$WindowLayout;\0");
        //         env.set_object_field(class, field, value)
        //     }
        // }
    }
}