From e8765fed70c45351c3df2ea19d19c98d8a8073a3 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 31 Aug 2021 12:39:25 +0200 Subject: [PATCH] ndk-sys: Regenerate against NDK r23 (#178) Android 12 reached platform stability today, including the first stable release of NDK r23. --- ndk-sys/CHANGELOG.md | 2 + ndk-sys/generate_bindings.sh | 2 +- ndk-sys/src/ffi_aarch64.rs | 2675 ++++++++++++++++++--------------- ndk-sys/src/ffi_arm.rs | 2747 +++++++++++++++++++--------------- ndk-sys/src/ffi_i686.rs | 2729 ++++++++++++++++++--------------- ndk-sys/src/ffi_x86_64.rs | 2739 ++++++++++++++++++--------------- 6 files changed, 6069 insertions(+), 4825 deletions(-) mode change 100644 => 100755 ndk-sys/generate_bindings.sh diff --git a/ndk-sys/CHANGELOG.md b/ndk-sys/CHANGELOG.md index a37e05b0..0bbbdf3e 100644 --- a/ndk-sys/CHANGELOG.md +++ b/ndk-sys/CHANGELOG.md @@ -1,5 +1,7 @@ # Unreleased +- Regenerate against NDK r23 (#178) + # 0.2.1 (2020-10-15) - Fix documentation build on docs.rs diff --git a/ndk-sys/generate_bindings.sh b/ndk-sys/generate_bindings.sh old mode 100644 new mode 100755 index 4f3ad4de..c700c6b7 --- a/ndk-sys/generate_bindings.sh +++ b/ndk-sys/generate_bindings.sh @@ -1,7 +1,7 @@ #!/bin/sh while read ARCH && read TARGET ; do - bindgen wrapper.h -o src/ffi_$ARCH.rs -- --sysroot="${NDK_HOME}"/sysroot --target=$TARGET + bindgen wrapper.h -o src/ffi_$ARCH.rs -- --sysroot="${ANDROID_NDK_ROOT}"/toolchains/llvm/prebuilt/linux-x86_64/sysroot/ --target=$TARGET done << EOF arm arm-linux-androideabi diff --git a/ndk-sys/src/ffi_aarch64.rs b/ndk-sys/src/ffi_aarch64.rs index 84ee0da5..7ba97cd7 100644 --- a/ndk-sys/src/ffi_aarch64.rs +++ b/ndk-sys/src/ffi_aarch64.rs @@ -1,12 +1,13 @@ -/* automatically generated by rust-bindgen */ +/* automatically generated by rust-bindgen 0.59.1 */ pub const __BIONIC__: u32 = 1; pub const __WORDSIZE: u32 = 64; pub const __bos_level: u32 = 0; -pub const __NDK_MAJOR__: u32 = 21; -pub const __NDK_MINOR__: u32 = 1; -pub const __NDK_BETA__: u32 = 3; -pub const __NDK_BUILD__: u32 = 6363665; +pub const __ANDROID_NDK__: u32 = 1; +pub const __NDK_MAJOR__: u32 = 23; +pub const __NDK_MINOR__: u32 = 0; +pub const __NDK_BETA__: u32 = 0; +pub const __NDK_BUILD__: u32 = 7599858; pub const __NDK_CANARY__: u32 = 0; pub const __ANDROID_API_FUTURE__: u32 = 10000; pub const __ANDROID_API__: u32 = 10000; @@ -26,6 +27,7 @@ pub const __ANDROID_API_O_MR1__: u32 = 27; pub const __ANDROID_API_P__: u32 = 28; pub const __ANDROID_API_Q__: u32 = 29; pub const __ANDROID_API_R__: u32 = 30; +pub const __ANDROID_API_S__: u32 = 31; pub const WCHAR_MIN: u8 = 0u8; pub const INT8_MIN: i32 = -128; pub const INT8_MAX: u32 = 127; @@ -234,7 +236,6 @@ pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\0"; pub const SCNxMAX: &'static [u8; 3usize] = b"jx\0"; pub const SCNxPTR: &'static [u8; 3usize] = b"lx\0"; pub const AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT: u32 = 8; -pub const _K_SS_MAXSIZE: u32 = 128; pub const O_DIRECTORY: u32 = 16384; pub const O_NOFOLLOW: u32 = 32768; pub const O_DIRECT: u32 = 65536; @@ -376,6 +377,8 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -680,6 +683,7 @@ pub const __WCLONE: u32 = 2147483648; pub const P_ALL: u32 = 0; pub const P_PID: u32 = 1; pub const P_PGID: u32 = 2; +pub const P_PIDFD: u32 = 3; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -697,9 +701,19 @@ pub const L_ctermid: u32 = 1024; pub const STRUCT_MALLINFO_DECLARED: u32 = 1; pub const M_DECAY_TIME: i32 = -100; pub const M_PURGE: i32 = -101; +pub const M_MEMTAG_TUNING: i32 = -102; +pub const M_MEMTAG_TUNING_BUFFER_OVERFLOW: u32 = 0; +pub const M_MEMTAG_TUNING_UAF: u32 = 1; +pub const M_THREAD_DISABLE_MEM_INIT: i32 = -103; +pub const M_CACHE_COUNT_MAX: i32 = -200; +pub const M_CACHE_SIZE_MAX: i32 = -201; +pub const M_TSDS_COUNT_MAX: i32 = -202; +pub const M_BIONIC_ZERO_INIT: i32 = -203; +pub const M_BIONIC_SET_HEAP_TAGGING_LEVEL: i32 = -204; pub const EXIT_FAILURE: u32 = 1; pub const EXIT_SUCCESS: u32 = 0; pub const RAND_MAX: u32 = 2147483647; +pub const __NNAPI_FL5_MIN_ANDROID_API__: u32 = 31; pub const NR_OPEN: u32 = 1024; pub const NGROUPS_MAX: u32 = 65536; pub const ARG_MAX: u32 = 131072; @@ -1004,6 +1018,8 @@ pub const __SIGRTMAX: u32 = 64; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; pub const SA_SIGINFO: u32 = 4; +pub const SA_UNSUPPORTED: u32 = 1024; +pub const SA_EXPOSE_TAGBITS: u32 = 2048; pub const SA_ONSTACK: u32 = 134217728; pub const SA_RESTART: u32 = 268435456; pub const SA_NODEFER: u32 = 1073741824; @@ -1059,7 +1075,9 @@ pub const SEGV_PKUERR: u32 = 4; pub const SEGV_ACCADI: u32 = 5; pub const SEGV_ADIDERR: u32 = 6; pub const SEGV_ADIPERR: u32 = 7; -pub const NSIGSEGV: u32 = 7; +pub const SEGV_MTEAERR: u32 = 8; +pub const SEGV_MTESERR: u32 = 9; +pub const NSIGSEGV: u32 = 9; pub const BUS_ADRALN: u32 = 1; pub const BUS_ADRERR: u32 = 2; pub const BUS_OBJERR: u32 = 3; @@ -1071,7 +1089,8 @@ pub const TRAP_TRACE: u32 = 2; pub const TRAP_BRANCH: u32 = 3; pub const TRAP_HWBKPT: u32 = 4; pub const TRAP_UNK: u32 = 5; -pub const NSIGTRAP: u32 = 5; +pub const TRAP_PERF: u32 = 6; +pub const NSIGTRAP: u32 = 6; pub const CLD_EXITED: u32 = 1; pub const CLD_KILLED: u32 = 2; pub const CLD_DUMPED: u32 = 3; @@ -1087,7 +1106,8 @@ pub const POLL_PRI: u32 = 5; pub const POLL_HUP: u32 = 6; pub const NSIGPOLL: u32 = 6; pub const SYS_SECCOMP: u32 = 1; -pub const NSIGSYS: u32 = 1; +pub const SYS_USER_DISPATCH: u32 = 2; +pub const NSIGSYS: u32 = 2; pub const EMT_TAGOVF: u32 = 1; pub const NSIGEMT: u32 = 1; pub const SIGEV_SIGNAL: u32 = 0; @@ -1278,6 +1298,7 @@ fn bindgen_test_layout___kernel_fsid_t() { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -1602,11 +1623,11 @@ pub struct AAssetDir { pub struct AAsset { _unused: [u8; 0], } -pub const AASSET_MODE_UNKNOWN: _bindgen_ty_1 = 0; -pub const AASSET_MODE_RANDOM: _bindgen_ty_1 = 1; -pub const AASSET_MODE_STREAMING: _bindgen_ty_1 = 2; -pub const AASSET_MODE_BUFFER: _bindgen_ty_1 = 3; -pub type _bindgen_ty_1 = u32; +pub const AASSET_MODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AASSET_MODE_RANDOM: ::std::os::raw::c_uint = 1; +pub const AASSET_MODE_STREAMING: ::std::os::raw::c_uint = 2; +pub const AASSET_MODE_BUFFER: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_1 = ::std::os::raw::c_uint; extern "C" { pub fn AAssetManager_openDir( mgr: *mut AAssetManager, @@ -1731,7 +1752,6 @@ pub union jvalue { pub f: jfloat, pub d: jdouble, pub l: jobject, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_jvalue() { @@ -1795,7 +1815,7 @@ pub const jobjectRefType_JNIInvalidRefType: jobjectRefType = 0; pub const jobjectRefType_JNILocalRefType: jobjectRefType = 1; pub const jobjectRefType_JNIGlobalRefType: jobjectRefType = 2; pub const jobjectRefType_JNIWeakGlobalRefType: jobjectRefType = 3; -pub type jobjectRefType = u32; +pub type jobjectRefType = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JNINativeMethod { @@ -6257,26 +6277,26 @@ extern "C" { extern "C" { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } -pub const ANDROID_BITMAP_RESULT_SUCCESS: _bindgen_ty_2 = 0; -pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: _bindgen_ty_2 = -1; -pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: _bindgen_ty_2 = -2; -pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: _bindgen_ty_2 = -3; -pub type _bindgen_ty_2 = i32; +pub const ANDROID_BITMAP_RESULT_SUCCESS: ::std::os::raw::c_int = 0; +pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: ::std::os::raw::c_int = -1; +pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: ::std::os::raw::c_int = -2; +pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: ::std::os::raw::c_int = -3; +pub type _bindgen_ty_2 = ::std::os::raw::c_int; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_NONE: AndroidBitmapFormat = 0; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_8888: AndroidBitmapFormat = 1; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGB_565: AndroidBitmapFormat = 4; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_4444: AndroidBitmapFormat = 7; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_A_8: AndroidBitmapFormat = 8; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_F16: AndroidBitmapFormat = 9; -pub type AndroidBitmapFormat = u32; -pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: _bindgen_ty_3 = 0; -pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: _bindgen_ty_3 = 1; -pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: _bindgen_ty_3 = 2; -pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: _bindgen_ty_3 = 3; -pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: _bindgen_ty_3 = 0; -pub type _bindgen_ty_3 = u32; -pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: _bindgen_ty_4 = -2147483648; -pub type _bindgen_ty_4 = i32; +pub type AndroidBitmapFormat = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: ::std::os::raw::c_uint = 0; +pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: ::std::os::raw::c_uint = 1; +pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: ::std::os::raw::c_uint = 2; +pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: ::std::os::raw::c_uint = 3; +pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: ::std::os::raw::c_uint = 0; +pub type _bindgen_ty_3 = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: ::std::os::raw::c_int = -2147483648; +pub type _bindgen_ty_4 = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AndroidBitmapInfo { @@ -6377,7 +6397,7 @@ pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSY: AndroidBitmapCompressFormat = 3; pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSLESS: AndroidBitmapCompressFormat = 4; -pub type AndroidBitmapCompressFormat = u32; +pub type AndroidBitmapCompressFormat = ::std::os::raw::c_uint; pub type AndroidBitmap_CompressWriteFunc = ::std::option::Option< unsafe extern "C" fn( userContext: *mut ::std::os::raw::c_void, @@ -6474,93 +6494,93 @@ extern "C" { pub struct AConfiguration { _unused: [u8; 0], } -pub const ACONFIGURATION_ORIENTATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_ORIENTATION_PORT: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_ORIENTATION_LAND: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_ORIENTATION_SQUARE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_TOUCHSCREEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_TOUCHSCREEN_FINGER: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_DENSITY_DEFAULT: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_DENSITY_LOW: _bindgen_ty_5 = 120; -pub const ACONFIGURATION_DENSITY_MEDIUM: _bindgen_ty_5 = 160; -pub const ACONFIGURATION_DENSITY_TV: _bindgen_ty_5 = 213; -pub const ACONFIGURATION_DENSITY_HIGH: _bindgen_ty_5 = 240; -pub const ACONFIGURATION_DENSITY_XHIGH: _bindgen_ty_5 = 320; -pub const ACONFIGURATION_DENSITY_XXHIGH: _bindgen_ty_5 = 480; -pub const ACONFIGURATION_DENSITY_XXXHIGH: _bindgen_ty_5 = 640; -pub const ACONFIGURATION_DENSITY_ANY: _bindgen_ty_5 = 65534; -pub const ACONFIGURATION_DENSITY_NONE: _bindgen_ty_5 = 65535; -pub const ACONFIGURATION_KEYBOARD_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYBOARD_NOKEYS: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYBOARD_QWERTY: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYBOARD_12KEY: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVIGATION_NONAV: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVIGATION_DPAD: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_NAVIGATION_TRACKBALL: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_WHEEL: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_KEYSHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYSHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYSHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYSHIDDEN_SOFT: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENSIZE_SMALL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENSIZE_NORMAL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_LARGE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_SCREENSIZE_XLARGE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_SCREENLONG_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENLONG_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENLONG_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENROUND_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENROUND_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENROUND_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_HDR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_HDR_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_HDR_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_TYPE_DESK: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_CAR: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: _bindgen_ty_5 = 5; -pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: _bindgen_ty_5 = 6; -pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: _bindgen_ty_5 = 7; -pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_NIGHT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_NIGHT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_LTR: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_LAYOUTDIR_RTL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_MCC: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_MNC: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_LOCALE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_TOUCHSCREEN: _bindgen_ty_5 = 8; -pub const ACONFIGURATION_KEYBOARD: _bindgen_ty_5 = 16; -pub const ACONFIGURATION_KEYBOARD_HIDDEN: _bindgen_ty_5 = 32; -pub const ACONFIGURATION_NAVIGATION: _bindgen_ty_5 = 64; -pub const ACONFIGURATION_ORIENTATION: _bindgen_ty_5 = 128; -pub const ACONFIGURATION_DENSITY: _bindgen_ty_5 = 256; -pub const ACONFIGURATION_SCREEN_SIZE: _bindgen_ty_5 = 512; -pub const ACONFIGURATION_VERSION: _bindgen_ty_5 = 1024; -pub const ACONFIGURATION_SCREEN_LAYOUT: _bindgen_ty_5 = 2048; -pub const ACONFIGURATION_UI_MODE: _bindgen_ty_5 = 4096; -pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: _bindgen_ty_5 = 8192; -pub const ACONFIGURATION_LAYOUTDIR: _bindgen_ty_5 = 16384; -pub const ACONFIGURATION_SCREEN_ROUND: _bindgen_ty_5 = 32768; -pub const ACONFIGURATION_COLOR_MODE: _bindgen_ty_5 = 65536; -pub const ACONFIGURATION_MNC_ZERO: _bindgen_ty_5 = 65535; -pub type _bindgen_ty_5 = u32; +pub const ACONFIGURATION_ORIENTATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_ORIENTATION_PORT: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_ORIENTATION_LAND: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_ORIENTATION_SQUARE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_TOUCHSCREEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_TOUCHSCREEN_FINGER: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_DENSITY_DEFAULT: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_DENSITY_LOW: ::std::os::raw::c_uint = 120; +pub const ACONFIGURATION_DENSITY_MEDIUM: ::std::os::raw::c_uint = 160; +pub const ACONFIGURATION_DENSITY_TV: ::std::os::raw::c_uint = 213; +pub const ACONFIGURATION_DENSITY_HIGH: ::std::os::raw::c_uint = 240; +pub const ACONFIGURATION_DENSITY_XHIGH: ::std::os::raw::c_uint = 320; +pub const ACONFIGURATION_DENSITY_XXHIGH: ::std::os::raw::c_uint = 480; +pub const ACONFIGURATION_DENSITY_XXXHIGH: ::std::os::raw::c_uint = 640; +pub const ACONFIGURATION_DENSITY_ANY: ::std::os::raw::c_uint = 65534; +pub const ACONFIGURATION_DENSITY_NONE: ::std::os::raw::c_uint = 65535; +pub const ACONFIGURATION_KEYBOARD_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYBOARD_NOKEYS: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYBOARD_QWERTY: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYBOARD_12KEY: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVIGATION_NONAV: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVIGATION_DPAD: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_NAVIGATION_TRACKBALL: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_WHEEL: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_KEYSHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYSHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYSHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYSHIDDEN_SOFT: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENSIZE_SMALL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENSIZE_NORMAL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_LARGE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_SCREENSIZE_XLARGE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_SCREENLONG_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENLONG_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENLONG_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENROUND_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENROUND_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENROUND_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_HDR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_HDR_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_HDR_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_TYPE_DESK: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_CAR: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: ::std::os::raw::c_uint = 5; +pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: ::std::os::raw::c_uint = 6; +pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: ::std::os::raw::c_uint = 7; +pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_NIGHT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_NIGHT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_LTR: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_LAYOUTDIR_RTL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_MCC: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_MNC: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_LOCALE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_TOUCHSCREEN: ::std::os::raw::c_uint = 8; +pub const ACONFIGURATION_KEYBOARD: ::std::os::raw::c_uint = 16; +pub const ACONFIGURATION_KEYBOARD_HIDDEN: ::std::os::raw::c_uint = 32; +pub const ACONFIGURATION_NAVIGATION: ::std::os::raw::c_uint = 64; +pub const ACONFIGURATION_ORIENTATION: ::std::os::raw::c_uint = 128; +pub const ACONFIGURATION_DENSITY: ::std::os::raw::c_uint = 256; +pub const ACONFIGURATION_SCREEN_SIZE: ::std::os::raw::c_uint = 512; +pub const ACONFIGURATION_VERSION: ::std::os::raw::c_uint = 1024; +pub const ACONFIGURATION_SCREEN_LAYOUT: ::std::os::raw::c_uint = 2048; +pub const ACONFIGURATION_UI_MODE: ::std::os::raw::c_uint = 4096; +pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: ::std::os::raw::c_uint = 8192; +pub const ACONFIGURATION_LAYOUTDIR: ::std::os::raw::c_uint = 16384; +pub const ACONFIGURATION_SCREEN_ROUND: ::std::os::raw::c_uint = 32768; +pub const ACONFIGURATION_COLOR_MODE: ::std::os::raw::c_uint = 65536; +pub const ACONFIGURATION_MNC_ZERO: ::std::os::raw::c_uint = 65535; +pub type _bindgen_ty_5 = ::std::os::raw::c_uint; extern "C" { pub fn AConfiguration_new() -> *mut AConfiguration; } @@ -6808,18 +6828,18 @@ pub const ADataSpace_ADATASPACE_BT2020: ADataSpace = 147193856; pub const ADataSpace_ADATASPACE_BT709: ADataSpace = 281083904; pub const ADataSpace_ADATASPACE_DCI_P3: ADataSpace = 155844608; pub const ADataSpace_ADATASPACE_SRGB_LINEAR: ADataSpace = 138477568; -pub type ADataSpace = u32; -pub const ANDROID_DLEXT_RESERVED_ADDRESS: _bindgen_ty_6 = 1; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: _bindgen_ty_6 = 2; -pub const ANDROID_DLEXT_WRITE_RELRO: _bindgen_ty_6 = 4; -pub const ANDROID_DLEXT_USE_RELRO: _bindgen_ty_6 = 8; -pub const ANDROID_DLEXT_USE_LIBRARY_FD: _bindgen_ty_6 = 16; -pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: _bindgen_ty_6 = 32; -pub const ANDROID_DLEXT_FORCE_LOAD: _bindgen_ty_6 = 64; -pub const ANDROID_DLEXT_USE_NAMESPACE: _bindgen_ty_6 = 512; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: _bindgen_ty_6 = 1024; -pub const ANDROID_DLEXT_VALID_FLAG_BITS: _bindgen_ty_6 = 1663; -pub type _bindgen_ty_6 = u32; +pub type ADataSpace = ::std::os::raw::c_uint; +pub const ANDROID_DLEXT_RESERVED_ADDRESS: ::std::os::raw::c_uint = 1; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: ::std::os::raw::c_uint = 2; +pub const ANDROID_DLEXT_WRITE_RELRO: ::std::os::raw::c_uint = 4; +pub const ANDROID_DLEXT_USE_RELRO: ::std::os::raw::c_uint = 8; +pub const ANDROID_DLEXT_USE_LIBRARY_FD: ::std::os::raw::c_uint = 16; +pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: ::std::os::raw::c_uint = 32; +pub const ANDROID_DLEXT_FORCE_LOAD: ::std::os::raw::c_uint = 64; +pub const ANDROID_DLEXT_USE_NAMESPACE: ::std::os::raw::c_uint = 512; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: ::std::os::raw::c_uint = 1024; +pub const ANDROID_DLEXT_VALID_FLAG_BITS: ::std::os::raw::c_uint = 1663; +pub type _bindgen_ty_6 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct android_namespace_t { @@ -7009,7 +7029,7 @@ pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: AHard 52; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_S8_UINT: AHardwareBuffer_Format = 53; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: AHardwareBuffer_Format = 35; -pub type AHardwareBuffer_Format = u32; +pub type AHardwareBuffer_Format = ::std::os::raw::c_uint; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_NEVER: AHardwareBuffer_UsageFlags = 0; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_RARELY: @@ -7086,7 +7106,7 @@ pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_18: AHardwareB 4611686018427387904; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_19: AHardwareBuffer_UsageFlags = 9223372036854775808; -pub type AHardwareBuffer_UsageFlags = u64; +pub type AHardwareBuffer_UsageFlags = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AHardwareBuffer_Desc { @@ -7312,15 +7332,6 @@ extern "C" { outVirtualAddress: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } -extern "C" { - pub fn AHardwareBuffer_lockPlanes( - buffer: *mut AHardwareBuffer, - usage: u64, - fence: i32, - rect: *const ARect, - outPlanes: *mut AHardwareBuffer_Planes, - ) -> ::std::os::raw::c_int; -} extern "C" { pub fn AHardwareBuffer_unlock( buffer: *mut AHardwareBuffer, @@ -7339,6 +7350,15 @@ extern "C" { outBuffer: *mut *mut AHardwareBuffer, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_lockPlanes( + buffer: *mut AHardwareBuffer, + usage: u64, + fence: i32, + rect: *const ARect, + outPlanes: *mut AHardwareBuffer_Planes, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_isSupported(desc: *const AHardwareBuffer_Desc) -> ::std::os::raw::c_int; } @@ -7353,6 +7373,12 @@ extern "C" { outBytesPerStride: *mut i32, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_getId( + buffer: *const AHardwareBuffer, + outId: *mut u64, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_fromHardwareBuffer( env: *mut JNIEnv, @@ -7365,296 +7391,296 @@ extern "C" { hardwareBuffer: *mut AHardwareBuffer, ) -> jobject; } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_7 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_7 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_7 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_7 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_7 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_7 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_7 = 6; -pub const AKEYCODE_0: _bindgen_ty_7 = 7; -pub const AKEYCODE_1: _bindgen_ty_7 = 8; -pub const AKEYCODE_2: _bindgen_ty_7 = 9; -pub const AKEYCODE_3: _bindgen_ty_7 = 10; -pub const AKEYCODE_4: _bindgen_ty_7 = 11; -pub const AKEYCODE_5: _bindgen_ty_7 = 12; -pub const AKEYCODE_6: _bindgen_ty_7 = 13; -pub const AKEYCODE_7: _bindgen_ty_7 = 14; -pub const AKEYCODE_8: _bindgen_ty_7 = 15; -pub const AKEYCODE_9: _bindgen_ty_7 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_7 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_7 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_7 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_7 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_7 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_7 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_7 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_7 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_7 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_7 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_7 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_7 = 28; -pub const AKEYCODE_A: _bindgen_ty_7 = 29; -pub const AKEYCODE_B: _bindgen_ty_7 = 30; -pub const AKEYCODE_C: _bindgen_ty_7 = 31; -pub const AKEYCODE_D: _bindgen_ty_7 = 32; -pub const AKEYCODE_E: _bindgen_ty_7 = 33; -pub const AKEYCODE_F: _bindgen_ty_7 = 34; -pub const AKEYCODE_G: _bindgen_ty_7 = 35; -pub const AKEYCODE_H: _bindgen_ty_7 = 36; -pub const AKEYCODE_I: _bindgen_ty_7 = 37; -pub const AKEYCODE_J: _bindgen_ty_7 = 38; -pub const AKEYCODE_K: _bindgen_ty_7 = 39; -pub const AKEYCODE_L: _bindgen_ty_7 = 40; -pub const AKEYCODE_M: _bindgen_ty_7 = 41; -pub const AKEYCODE_N: _bindgen_ty_7 = 42; -pub const AKEYCODE_O: _bindgen_ty_7 = 43; -pub const AKEYCODE_P: _bindgen_ty_7 = 44; -pub const AKEYCODE_Q: _bindgen_ty_7 = 45; -pub const AKEYCODE_R: _bindgen_ty_7 = 46; -pub const AKEYCODE_S: _bindgen_ty_7 = 47; -pub const AKEYCODE_T: _bindgen_ty_7 = 48; -pub const AKEYCODE_U: _bindgen_ty_7 = 49; -pub const AKEYCODE_V: _bindgen_ty_7 = 50; -pub const AKEYCODE_W: _bindgen_ty_7 = 51; -pub const AKEYCODE_X: _bindgen_ty_7 = 52; -pub const AKEYCODE_Y: _bindgen_ty_7 = 53; -pub const AKEYCODE_Z: _bindgen_ty_7 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_7 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_7 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_7 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_7 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_7 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_7 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_7 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_7 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_7 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_7 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_7 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_7 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_7 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_7 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_7 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_7 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_7 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_7 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_7 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_7 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_7 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_7 = 76; -pub const AKEYCODE_AT: _bindgen_ty_7 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_7 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_7 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_7 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_7 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_7 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_7 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_7 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_7 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_7 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_7 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_7 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_7 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_7 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_7 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_7 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_7 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_7 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_7 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_7 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_7 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_7 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_7 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_7 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_7 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_7 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_7 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_7 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_7 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_7 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_7 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_7 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_7 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_7 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_7 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_7 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_7 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_7 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_7 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_7 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_7 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_7 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_7 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_7 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_7 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_7 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_7 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_7 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_7 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_7 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_7 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_7 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_7 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_7 = 130; -pub const AKEYCODE_F1: _bindgen_ty_7 = 131; -pub const AKEYCODE_F2: _bindgen_ty_7 = 132; -pub const AKEYCODE_F3: _bindgen_ty_7 = 133; -pub const AKEYCODE_F4: _bindgen_ty_7 = 134; -pub const AKEYCODE_F5: _bindgen_ty_7 = 135; -pub const AKEYCODE_F6: _bindgen_ty_7 = 136; -pub const AKEYCODE_F7: _bindgen_ty_7 = 137; -pub const AKEYCODE_F8: _bindgen_ty_7 = 138; -pub const AKEYCODE_F9: _bindgen_ty_7 = 139; -pub const AKEYCODE_F10: _bindgen_ty_7 = 140; -pub const AKEYCODE_F11: _bindgen_ty_7 = 141; -pub const AKEYCODE_F12: _bindgen_ty_7 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_7 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_7 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_7 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_7 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_7 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_7 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_7 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_7 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_7 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_7 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_7 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_7 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_7 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_7 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_7 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_7 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_7 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_7 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_7 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_7 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_7 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_7 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_7 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_7 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_7 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_7 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_7 = 169; -pub const AKEYCODE_TV: _bindgen_ty_7 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_7 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_7 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_7 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_7 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_7 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_7 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_7 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_7 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_7 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_7 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_7 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_7 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_7 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_7 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_7 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_7 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_7 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_7 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_7 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_7 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_7 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_7 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_7 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_7 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_7 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_7 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_7 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_7 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_7 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_7 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_7 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_7 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_7 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_7 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_7 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_7 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_7 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_7 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_7 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_7 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_7 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_7 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_7 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_7 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_7 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_7 = 216; -pub const AKEYCODE_RO: _bindgen_ty_7 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_7 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_7 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_7 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_7 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_7 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_7 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_7 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_7 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_7 = 226; -pub const AKEYCODE_11: _bindgen_ty_7 = 227; -pub const AKEYCODE_12: _bindgen_ty_7 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_7 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_7 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_7 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_7 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_7 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_7 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_7 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_7 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_7 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_7 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_7 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_7 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_7 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_7 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_7 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_7 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_7 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_7 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_7 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_7 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_7 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_7 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_7 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_7 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_7 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_7 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_7 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_7 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_7 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_7 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_7 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_7 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_7 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_7 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_7 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_7 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_7 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_7 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_7 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_7 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_7 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_7 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_7 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_7 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_7 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_7 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_7 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_7 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_7 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_7 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_7 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_7 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_7 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_7 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_7 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_7 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_7 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_7 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_7 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_7 = 288; -pub type _bindgen_ty_7 = u32; +pub const AKEYCODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AKEYCODE_SOFT_LEFT: ::std::os::raw::c_uint = 1; +pub const AKEYCODE_SOFT_RIGHT: ::std::os::raw::c_uint = 2; +pub const AKEYCODE_HOME: ::std::os::raw::c_uint = 3; +pub const AKEYCODE_BACK: ::std::os::raw::c_uint = 4; +pub const AKEYCODE_CALL: ::std::os::raw::c_uint = 5; +pub const AKEYCODE_ENDCALL: ::std::os::raw::c_uint = 6; +pub const AKEYCODE_0: ::std::os::raw::c_uint = 7; +pub const AKEYCODE_1: ::std::os::raw::c_uint = 8; +pub const AKEYCODE_2: ::std::os::raw::c_uint = 9; +pub const AKEYCODE_3: ::std::os::raw::c_uint = 10; +pub const AKEYCODE_4: ::std::os::raw::c_uint = 11; +pub const AKEYCODE_5: ::std::os::raw::c_uint = 12; +pub const AKEYCODE_6: ::std::os::raw::c_uint = 13; +pub const AKEYCODE_7: ::std::os::raw::c_uint = 14; +pub const AKEYCODE_8: ::std::os::raw::c_uint = 15; +pub const AKEYCODE_9: ::std::os::raw::c_uint = 16; +pub const AKEYCODE_STAR: ::std::os::raw::c_uint = 17; +pub const AKEYCODE_POUND: ::std::os::raw::c_uint = 18; +pub const AKEYCODE_DPAD_UP: ::std::os::raw::c_uint = 19; +pub const AKEYCODE_DPAD_DOWN: ::std::os::raw::c_uint = 20; +pub const AKEYCODE_DPAD_LEFT: ::std::os::raw::c_uint = 21; +pub const AKEYCODE_DPAD_RIGHT: ::std::os::raw::c_uint = 22; +pub const AKEYCODE_DPAD_CENTER: ::std::os::raw::c_uint = 23; +pub const AKEYCODE_VOLUME_UP: ::std::os::raw::c_uint = 24; +pub const AKEYCODE_VOLUME_DOWN: ::std::os::raw::c_uint = 25; +pub const AKEYCODE_POWER: ::std::os::raw::c_uint = 26; +pub const AKEYCODE_CAMERA: ::std::os::raw::c_uint = 27; +pub const AKEYCODE_CLEAR: ::std::os::raw::c_uint = 28; +pub const AKEYCODE_A: ::std::os::raw::c_uint = 29; +pub const AKEYCODE_B: ::std::os::raw::c_uint = 30; +pub const AKEYCODE_C: ::std::os::raw::c_uint = 31; +pub const AKEYCODE_D: ::std::os::raw::c_uint = 32; +pub const AKEYCODE_E: ::std::os::raw::c_uint = 33; +pub const AKEYCODE_F: ::std::os::raw::c_uint = 34; +pub const AKEYCODE_G: ::std::os::raw::c_uint = 35; +pub const AKEYCODE_H: ::std::os::raw::c_uint = 36; +pub const AKEYCODE_I: ::std::os::raw::c_uint = 37; +pub const AKEYCODE_J: ::std::os::raw::c_uint = 38; +pub const AKEYCODE_K: ::std::os::raw::c_uint = 39; +pub const AKEYCODE_L: ::std::os::raw::c_uint = 40; +pub const AKEYCODE_M: ::std::os::raw::c_uint = 41; +pub const AKEYCODE_N: ::std::os::raw::c_uint = 42; +pub const AKEYCODE_O: ::std::os::raw::c_uint = 43; +pub const AKEYCODE_P: ::std::os::raw::c_uint = 44; +pub const AKEYCODE_Q: ::std::os::raw::c_uint = 45; +pub const AKEYCODE_R: ::std::os::raw::c_uint = 46; +pub const AKEYCODE_S: ::std::os::raw::c_uint = 47; +pub const AKEYCODE_T: ::std::os::raw::c_uint = 48; +pub const AKEYCODE_U: ::std::os::raw::c_uint = 49; +pub const AKEYCODE_V: ::std::os::raw::c_uint = 50; +pub const AKEYCODE_W: ::std::os::raw::c_uint = 51; +pub const AKEYCODE_X: ::std::os::raw::c_uint = 52; +pub const AKEYCODE_Y: ::std::os::raw::c_uint = 53; +pub const AKEYCODE_Z: ::std::os::raw::c_uint = 54; +pub const AKEYCODE_COMMA: ::std::os::raw::c_uint = 55; +pub const AKEYCODE_PERIOD: ::std::os::raw::c_uint = 56; +pub const AKEYCODE_ALT_LEFT: ::std::os::raw::c_uint = 57; +pub const AKEYCODE_ALT_RIGHT: ::std::os::raw::c_uint = 58; +pub const AKEYCODE_SHIFT_LEFT: ::std::os::raw::c_uint = 59; +pub const AKEYCODE_SHIFT_RIGHT: ::std::os::raw::c_uint = 60; +pub const AKEYCODE_TAB: ::std::os::raw::c_uint = 61; +pub const AKEYCODE_SPACE: ::std::os::raw::c_uint = 62; +pub const AKEYCODE_SYM: ::std::os::raw::c_uint = 63; +pub const AKEYCODE_EXPLORER: ::std::os::raw::c_uint = 64; +pub const AKEYCODE_ENVELOPE: ::std::os::raw::c_uint = 65; +pub const AKEYCODE_ENTER: ::std::os::raw::c_uint = 66; +pub const AKEYCODE_DEL: ::std::os::raw::c_uint = 67; +pub const AKEYCODE_GRAVE: ::std::os::raw::c_uint = 68; +pub const AKEYCODE_MINUS: ::std::os::raw::c_uint = 69; +pub const AKEYCODE_EQUALS: ::std::os::raw::c_uint = 70; +pub const AKEYCODE_LEFT_BRACKET: ::std::os::raw::c_uint = 71; +pub const AKEYCODE_RIGHT_BRACKET: ::std::os::raw::c_uint = 72; +pub const AKEYCODE_BACKSLASH: ::std::os::raw::c_uint = 73; +pub const AKEYCODE_SEMICOLON: ::std::os::raw::c_uint = 74; +pub const AKEYCODE_APOSTROPHE: ::std::os::raw::c_uint = 75; +pub const AKEYCODE_SLASH: ::std::os::raw::c_uint = 76; +pub const AKEYCODE_AT: ::std::os::raw::c_uint = 77; +pub const AKEYCODE_NUM: ::std::os::raw::c_uint = 78; +pub const AKEYCODE_HEADSETHOOK: ::std::os::raw::c_uint = 79; +pub const AKEYCODE_FOCUS: ::std::os::raw::c_uint = 80; +pub const AKEYCODE_PLUS: ::std::os::raw::c_uint = 81; +pub const AKEYCODE_MENU: ::std::os::raw::c_uint = 82; +pub const AKEYCODE_NOTIFICATION: ::std::os::raw::c_uint = 83; +pub const AKEYCODE_SEARCH: ::std::os::raw::c_uint = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: ::std::os::raw::c_uint = 85; +pub const AKEYCODE_MEDIA_STOP: ::std::os::raw::c_uint = 86; +pub const AKEYCODE_MEDIA_NEXT: ::std::os::raw::c_uint = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: ::std::os::raw::c_uint = 88; +pub const AKEYCODE_MEDIA_REWIND: ::std::os::raw::c_uint = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: ::std::os::raw::c_uint = 90; +pub const AKEYCODE_MUTE: ::std::os::raw::c_uint = 91; +pub const AKEYCODE_PAGE_UP: ::std::os::raw::c_uint = 92; +pub const AKEYCODE_PAGE_DOWN: ::std::os::raw::c_uint = 93; +pub const AKEYCODE_PICTSYMBOLS: ::std::os::raw::c_uint = 94; +pub const AKEYCODE_SWITCH_CHARSET: ::std::os::raw::c_uint = 95; +pub const AKEYCODE_BUTTON_A: ::std::os::raw::c_uint = 96; +pub const AKEYCODE_BUTTON_B: ::std::os::raw::c_uint = 97; +pub const AKEYCODE_BUTTON_C: ::std::os::raw::c_uint = 98; +pub const AKEYCODE_BUTTON_X: ::std::os::raw::c_uint = 99; +pub const AKEYCODE_BUTTON_Y: ::std::os::raw::c_uint = 100; +pub const AKEYCODE_BUTTON_Z: ::std::os::raw::c_uint = 101; +pub const AKEYCODE_BUTTON_L1: ::std::os::raw::c_uint = 102; +pub const AKEYCODE_BUTTON_R1: ::std::os::raw::c_uint = 103; +pub const AKEYCODE_BUTTON_L2: ::std::os::raw::c_uint = 104; +pub const AKEYCODE_BUTTON_R2: ::std::os::raw::c_uint = 105; +pub const AKEYCODE_BUTTON_THUMBL: ::std::os::raw::c_uint = 106; +pub const AKEYCODE_BUTTON_THUMBR: ::std::os::raw::c_uint = 107; +pub const AKEYCODE_BUTTON_START: ::std::os::raw::c_uint = 108; +pub const AKEYCODE_BUTTON_SELECT: ::std::os::raw::c_uint = 109; +pub const AKEYCODE_BUTTON_MODE: ::std::os::raw::c_uint = 110; +pub const AKEYCODE_ESCAPE: ::std::os::raw::c_uint = 111; +pub const AKEYCODE_FORWARD_DEL: ::std::os::raw::c_uint = 112; +pub const AKEYCODE_CTRL_LEFT: ::std::os::raw::c_uint = 113; +pub const AKEYCODE_CTRL_RIGHT: ::std::os::raw::c_uint = 114; +pub const AKEYCODE_CAPS_LOCK: ::std::os::raw::c_uint = 115; +pub const AKEYCODE_SCROLL_LOCK: ::std::os::raw::c_uint = 116; +pub const AKEYCODE_META_LEFT: ::std::os::raw::c_uint = 117; +pub const AKEYCODE_META_RIGHT: ::std::os::raw::c_uint = 118; +pub const AKEYCODE_FUNCTION: ::std::os::raw::c_uint = 119; +pub const AKEYCODE_SYSRQ: ::std::os::raw::c_uint = 120; +pub const AKEYCODE_BREAK: ::std::os::raw::c_uint = 121; +pub const AKEYCODE_MOVE_HOME: ::std::os::raw::c_uint = 122; +pub const AKEYCODE_MOVE_END: ::std::os::raw::c_uint = 123; +pub const AKEYCODE_INSERT: ::std::os::raw::c_uint = 124; +pub const AKEYCODE_FORWARD: ::std::os::raw::c_uint = 125; +pub const AKEYCODE_MEDIA_PLAY: ::std::os::raw::c_uint = 126; +pub const AKEYCODE_MEDIA_PAUSE: ::std::os::raw::c_uint = 127; +pub const AKEYCODE_MEDIA_CLOSE: ::std::os::raw::c_uint = 128; +pub const AKEYCODE_MEDIA_EJECT: ::std::os::raw::c_uint = 129; +pub const AKEYCODE_MEDIA_RECORD: ::std::os::raw::c_uint = 130; +pub const AKEYCODE_F1: ::std::os::raw::c_uint = 131; +pub const AKEYCODE_F2: ::std::os::raw::c_uint = 132; +pub const AKEYCODE_F3: ::std::os::raw::c_uint = 133; +pub const AKEYCODE_F4: ::std::os::raw::c_uint = 134; +pub const AKEYCODE_F5: ::std::os::raw::c_uint = 135; +pub const AKEYCODE_F6: ::std::os::raw::c_uint = 136; +pub const AKEYCODE_F7: ::std::os::raw::c_uint = 137; +pub const AKEYCODE_F8: ::std::os::raw::c_uint = 138; +pub const AKEYCODE_F9: ::std::os::raw::c_uint = 139; +pub const AKEYCODE_F10: ::std::os::raw::c_uint = 140; +pub const AKEYCODE_F11: ::std::os::raw::c_uint = 141; +pub const AKEYCODE_F12: ::std::os::raw::c_uint = 142; +pub const AKEYCODE_NUM_LOCK: ::std::os::raw::c_uint = 143; +pub const AKEYCODE_NUMPAD_0: ::std::os::raw::c_uint = 144; +pub const AKEYCODE_NUMPAD_1: ::std::os::raw::c_uint = 145; +pub const AKEYCODE_NUMPAD_2: ::std::os::raw::c_uint = 146; +pub const AKEYCODE_NUMPAD_3: ::std::os::raw::c_uint = 147; +pub const AKEYCODE_NUMPAD_4: ::std::os::raw::c_uint = 148; +pub const AKEYCODE_NUMPAD_5: ::std::os::raw::c_uint = 149; +pub const AKEYCODE_NUMPAD_6: ::std::os::raw::c_uint = 150; +pub const AKEYCODE_NUMPAD_7: ::std::os::raw::c_uint = 151; +pub const AKEYCODE_NUMPAD_8: ::std::os::raw::c_uint = 152; +pub const AKEYCODE_NUMPAD_9: ::std::os::raw::c_uint = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: ::std::os::raw::c_uint = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: ::std::os::raw::c_uint = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: ::std::os::raw::c_uint = 156; +pub const AKEYCODE_NUMPAD_ADD: ::std::os::raw::c_uint = 157; +pub const AKEYCODE_NUMPAD_DOT: ::std::os::raw::c_uint = 158; +pub const AKEYCODE_NUMPAD_COMMA: ::std::os::raw::c_uint = 159; +pub const AKEYCODE_NUMPAD_ENTER: ::std::os::raw::c_uint = 160; +pub const AKEYCODE_NUMPAD_EQUALS: ::std::os::raw::c_uint = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: ::std::os::raw::c_uint = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: ::std::os::raw::c_uint = 163; +pub const AKEYCODE_VOLUME_MUTE: ::std::os::raw::c_uint = 164; +pub const AKEYCODE_INFO: ::std::os::raw::c_uint = 165; +pub const AKEYCODE_CHANNEL_UP: ::std::os::raw::c_uint = 166; +pub const AKEYCODE_CHANNEL_DOWN: ::std::os::raw::c_uint = 167; +pub const AKEYCODE_ZOOM_IN: ::std::os::raw::c_uint = 168; +pub const AKEYCODE_ZOOM_OUT: ::std::os::raw::c_uint = 169; +pub const AKEYCODE_TV: ::std::os::raw::c_uint = 170; +pub const AKEYCODE_WINDOW: ::std::os::raw::c_uint = 171; +pub const AKEYCODE_GUIDE: ::std::os::raw::c_uint = 172; +pub const AKEYCODE_DVR: ::std::os::raw::c_uint = 173; +pub const AKEYCODE_BOOKMARK: ::std::os::raw::c_uint = 174; +pub const AKEYCODE_CAPTIONS: ::std::os::raw::c_uint = 175; +pub const AKEYCODE_SETTINGS: ::std::os::raw::c_uint = 176; +pub const AKEYCODE_TV_POWER: ::std::os::raw::c_uint = 177; +pub const AKEYCODE_TV_INPUT: ::std::os::raw::c_uint = 178; +pub const AKEYCODE_STB_POWER: ::std::os::raw::c_uint = 179; +pub const AKEYCODE_STB_INPUT: ::std::os::raw::c_uint = 180; +pub const AKEYCODE_AVR_POWER: ::std::os::raw::c_uint = 181; +pub const AKEYCODE_AVR_INPUT: ::std::os::raw::c_uint = 182; +pub const AKEYCODE_PROG_RED: ::std::os::raw::c_uint = 183; +pub const AKEYCODE_PROG_GREEN: ::std::os::raw::c_uint = 184; +pub const AKEYCODE_PROG_YELLOW: ::std::os::raw::c_uint = 185; +pub const AKEYCODE_PROG_BLUE: ::std::os::raw::c_uint = 186; +pub const AKEYCODE_APP_SWITCH: ::std::os::raw::c_uint = 187; +pub const AKEYCODE_BUTTON_1: ::std::os::raw::c_uint = 188; +pub const AKEYCODE_BUTTON_2: ::std::os::raw::c_uint = 189; +pub const AKEYCODE_BUTTON_3: ::std::os::raw::c_uint = 190; +pub const AKEYCODE_BUTTON_4: ::std::os::raw::c_uint = 191; +pub const AKEYCODE_BUTTON_5: ::std::os::raw::c_uint = 192; +pub const AKEYCODE_BUTTON_6: ::std::os::raw::c_uint = 193; +pub const AKEYCODE_BUTTON_7: ::std::os::raw::c_uint = 194; +pub const AKEYCODE_BUTTON_8: ::std::os::raw::c_uint = 195; +pub const AKEYCODE_BUTTON_9: ::std::os::raw::c_uint = 196; +pub const AKEYCODE_BUTTON_10: ::std::os::raw::c_uint = 197; +pub const AKEYCODE_BUTTON_11: ::std::os::raw::c_uint = 198; +pub const AKEYCODE_BUTTON_12: ::std::os::raw::c_uint = 199; +pub const AKEYCODE_BUTTON_13: ::std::os::raw::c_uint = 200; +pub const AKEYCODE_BUTTON_14: ::std::os::raw::c_uint = 201; +pub const AKEYCODE_BUTTON_15: ::std::os::raw::c_uint = 202; +pub const AKEYCODE_BUTTON_16: ::std::os::raw::c_uint = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: ::std::os::raw::c_uint = 204; +pub const AKEYCODE_MANNER_MODE: ::std::os::raw::c_uint = 205; +pub const AKEYCODE_3D_MODE: ::std::os::raw::c_uint = 206; +pub const AKEYCODE_CONTACTS: ::std::os::raw::c_uint = 207; +pub const AKEYCODE_CALENDAR: ::std::os::raw::c_uint = 208; +pub const AKEYCODE_MUSIC: ::std::os::raw::c_uint = 209; +pub const AKEYCODE_CALCULATOR: ::std::os::raw::c_uint = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: ::std::os::raw::c_uint = 211; +pub const AKEYCODE_EISU: ::std::os::raw::c_uint = 212; +pub const AKEYCODE_MUHENKAN: ::std::os::raw::c_uint = 213; +pub const AKEYCODE_HENKAN: ::std::os::raw::c_uint = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: ::std::os::raw::c_uint = 215; +pub const AKEYCODE_YEN: ::std::os::raw::c_uint = 216; +pub const AKEYCODE_RO: ::std::os::raw::c_uint = 217; +pub const AKEYCODE_KANA: ::std::os::raw::c_uint = 218; +pub const AKEYCODE_ASSIST: ::std::os::raw::c_uint = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: ::std::os::raw::c_uint = 220; +pub const AKEYCODE_BRIGHTNESS_UP: ::std::os::raw::c_uint = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: ::std::os::raw::c_uint = 222; +pub const AKEYCODE_SLEEP: ::std::os::raw::c_uint = 223; +pub const AKEYCODE_WAKEUP: ::std::os::raw::c_uint = 224; +pub const AKEYCODE_PAIRING: ::std::os::raw::c_uint = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: ::std::os::raw::c_uint = 226; +pub const AKEYCODE_11: ::std::os::raw::c_uint = 227; +pub const AKEYCODE_12: ::std::os::raw::c_uint = 228; +pub const AKEYCODE_LAST_CHANNEL: ::std::os::raw::c_uint = 229; +pub const AKEYCODE_TV_DATA_SERVICE: ::std::os::raw::c_uint = 230; +pub const AKEYCODE_VOICE_ASSIST: ::std::os::raw::c_uint = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: ::std::os::raw::c_uint = 232; +pub const AKEYCODE_TV_TELETEXT: ::std::os::raw::c_uint = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: ::std::os::raw::c_uint = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: ::std::os::raw::c_uint = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: ::std::os::raw::c_uint = 236; +pub const AKEYCODE_TV_SATELLITE: ::std::os::raw::c_uint = 237; +pub const AKEYCODE_TV_SATELLITE_BS: ::std::os::raw::c_uint = 238; +pub const AKEYCODE_TV_SATELLITE_CS: ::std::os::raw::c_uint = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: ::std::os::raw::c_uint = 240; +pub const AKEYCODE_TV_NETWORK: ::std::os::raw::c_uint = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: ::std::os::raw::c_uint = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: ::std::os::raw::c_uint = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: ::std::os::raw::c_uint = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: ::std::os::raw::c_uint = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: ::std::os::raw::c_uint = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: ::std::os::raw::c_uint = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: ::std::os::raw::c_uint = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: ::std::os::raw::c_uint = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: ::std::os::raw::c_uint = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: ::std::os::raw::c_uint = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: ::std::os::raw::c_uint = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: ::std::os::raw::c_uint = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: ::std::os::raw::c_uint = 254; +pub const AKEYCODE_TV_ZOOM_MODE: ::std::os::raw::c_uint = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: ::std::os::raw::c_uint = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: ::std::os::raw::c_uint = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: ::std::os::raw::c_uint = 258; +pub const AKEYCODE_HELP: ::std::os::raw::c_uint = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: ::std::os::raw::c_uint = 260; +pub const AKEYCODE_NAVIGATE_NEXT: ::std::os::raw::c_uint = 261; +pub const AKEYCODE_NAVIGATE_IN: ::std::os::raw::c_uint = 262; +pub const AKEYCODE_NAVIGATE_OUT: ::std::os::raw::c_uint = 263; +pub const AKEYCODE_STEM_PRIMARY: ::std::os::raw::c_uint = 264; +pub const AKEYCODE_STEM_1: ::std::os::raw::c_uint = 265; +pub const AKEYCODE_STEM_2: ::std::os::raw::c_uint = 266; +pub const AKEYCODE_STEM_3: ::std::os::raw::c_uint = 267; +pub const AKEYCODE_DPAD_UP_LEFT: ::std::os::raw::c_uint = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: ::std::os::raw::c_uint = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: ::std::os::raw::c_uint = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: ::std::os::raw::c_uint = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: ::std::os::raw::c_uint = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: ::std::os::raw::c_uint = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: ::std::os::raw::c_uint = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: ::std::os::raw::c_uint = 275; +pub const AKEYCODE_SOFT_SLEEP: ::std::os::raw::c_uint = 276; +pub const AKEYCODE_CUT: ::std::os::raw::c_uint = 277; +pub const AKEYCODE_COPY: ::std::os::raw::c_uint = 278; +pub const AKEYCODE_PASTE: ::std::os::raw::c_uint = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: ::std::os::raw::c_uint = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: ::std::os::raw::c_uint = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: ::std::os::raw::c_uint = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: ::std::os::raw::c_uint = 283; +pub const AKEYCODE_ALL_APPS: ::std::os::raw::c_uint = 284; +pub const AKEYCODE_REFRESH: ::std::os::raw::c_uint = 285; +pub const AKEYCODE_THUMBS_UP: ::std::os::raw::c_uint = 286; +pub const AKEYCODE_THUMBS_DOWN: ::std::os::raw::c_uint = 287; +pub const AKEYCODE_PROFILE_SWITCH: ::std::os::raw::c_uint = 288; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -7663,28 +7689,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_8 = 1; -pub type _bindgen_ty_8 = u32; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; extern "C" { pub fn ALooper_prepare(opts: ::std::os::raw::c_int) -> *mut ALooper; } -pub const ALOOPER_POLL_WAKE: _bindgen_ty_9 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_9 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_9 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_9 = -4; -pub type _bindgen_ty_9 = i32; +pub const ALOOPER_POLL_WAKE: ::std::os::raw::c_int = -1; +pub const ALOOPER_POLL_CALLBACK: ::std::os::raw::c_int = -2; +pub const ALOOPER_POLL_TIMEOUT: ::std::os::raw::c_int = -3; +pub const ALOOPER_POLL_ERROR: ::std::os::raw::c_int = -4; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn ALooper_acquire(looper: *mut ALooper); } extern "C" { pub fn ALooper_release(looper: *mut ALooper); } -pub const ALOOPER_EVENT_INPUT: _bindgen_ty_10 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_10 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_10 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_10 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_10 = 16; -pub type _bindgen_ty_10 = u32; +pub const ALOOPER_EVENT_INPUT: ::std::os::raw::c_uint = 1; +pub const ALOOPER_EVENT_OUTPUT: ::std::os::raw::c_uint = 2; +pub const ALOOPER_EVENT_ERROR: ::std::os::raw::c_uint = 4; +pub const ALOOPER_EVENT_HANGUP: ::std::os::raw::c_uint = 8; +pub const ALOOPER_EVENT_INVALID: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -7727,178 +7753,182 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_11 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_11 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_11 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_11 = 2; -pub type _bindgen_ty_11 = i32; -pub const AMETA_NONE: _bindgen_ty_12 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_12 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_12 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_12 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_12 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_12 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_12 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_12 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_12 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_12 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_12 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_12 = 16384; -pub const AMETA_META_ON: _bindgen_ty_12 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_12 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_12 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_12 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_12 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_12 = 4194304; -pub type _bindgen_ty_12 = u32; +pub const AKEY_STATE_UNKNOWN: ::std::os::raw::c_int = -1; +pub const AKEY_STATE_UP: ::std::os::raw::c_int = 0; +pub const AKEY_STATE_DOWN: ::std::os::raw::c_int = 1; +pub const AKEY_STATE_VIRTUAL: ::std::os::raw::c_int = 2; +pub type _bindgen_ty_11 = ::std::os::raw::c_int; +pub const AMETA_NONE: ::std::os::raw::c_uint = 0; +pub const AMETA_ALT_ON: ::std::os::raw::c_uint = 2; +pub const AMETA_ALT_LEFT_ON: ::std::os::raw::c_uint = 16; +pub const AMETA_ALT_RIGHT_ON: ::std::os::raw::c_uint = 32; +pub const AMETA_SHIFT_ON: ::std::os::raw::c_uint = 1; +pub const AMETA_SHIFT_LEFT_ON: ::std::os::raw::c_uint = 64; +pub const AMETA_SHIFT_RIGHT_ON: ::std::os::raw::c_uint = 128; +pub const AMETA_SYM_ON: ::std::os::raw::c_uint = 4; +pub const AMETA_FUNCTION_ON: ::std::os::raw::c_uint = 8; +pub const AMETA_CTRL_ON: ::std::os::raw::c_uint = 4096; +pub const AMETA_CTRL_LEFT_ON: ::std::os::raw::c_uint = 8192; +pub const AMETA_CTRL_RIGHT_ON: ::std::os::raw::c_uint = 16384; +pub const AMETA_META_ON: ::std::os::raw::c_uint = 65536; +pub const AMETA_META_LEFT_ON: ::std::os::raw::c_uint = 131072; +pub const AMETA_META_RIGHT_ON: ::std::os::raw::c_uint = 262144; +pub const AMETA_CAPS_LOCK_ON: ::std::os::raw::c_uint = 1048576; +pub const AMETA_NUM_LOCK_ON: ::std::os::raw::c_uint = 2097152; +pub const AMETA_SCROLL_LOCK_ON: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputEvent { _unused: [u8; 0], } -pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_13 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_13 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_13 = 3; -pub type _bindgen_ty_13 = u32; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_14 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_14 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_14 = 2; -pub type _bindgen_ty_14 = u32; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_15 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_15 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_15 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_15 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_15 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_15 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_15 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_15 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_15 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_15 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_15 = 1024; -pub type _bindgen_ty_15 = u32; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_16 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_16 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_16 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_16 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_16 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_16 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_16 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_16 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_16 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_16 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_16 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_16 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_16 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_16 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_16 = 12; -pub type _bindgen_ty_16 = u32; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_17 = 1; -pub type _bindgen_ty_17 = u32; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_18 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_18 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_18 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_18 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_18 = 8; -pub type _bindgen_ty_18 = u32; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_19 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_19 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_19 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_19 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_19 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_19 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_19 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_19 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_19 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_19 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_19 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_19 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_19 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_19 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_19 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_19 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_19 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_19 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_19 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_19 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_19 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_19 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_19 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_19 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_19 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_19 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_19 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_19 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_19 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_19 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_19 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_19 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_19 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_19 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_19 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_19 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_19 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_19 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_19 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_19 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_19 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_19 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_19 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_19 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_19 = 47; -pub type _bindgen_ty_19 = u32; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_20 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_20 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_20 = 64; -pub type _bindgen_ty_20 = u32; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_21 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_21 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_21 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_21 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_21 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_21 = 5; -pub type _bindgen_ty_21 = u32; -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_22 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_22 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_22 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_22 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_22 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_22 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_22 = 16; -pub type _bindgen_ty_22 = u32; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_23 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_23 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_23 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_23 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_23 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_23 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_23 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_23 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_23 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_23 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_23 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_23 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_23 = 16777232; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_23 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_23 = 4294967040; -pub type _bindgen_ty_23 = u32; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_24 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_24 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_24 = 2; -pub type _bindgen_ty_24 = u32; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_25 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_25 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_25 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_25 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_25 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_25 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_25 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_25 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_25 = 8; -pub type _bindgen_ty_25 = u32; +pub const AINPUT_EVENT_TYPE_KEY: ::std::os::raw::c_uint = 1; +pub const AINPUT_EVENT_TYPE_MOTION: ::std::os::raw::c_uint = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: ::std::os::raw::c_uint = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: ::std::os::raw::c_uint = 4; +pub const AINPUT_EVENT_TYPE_DRAG: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AKEY_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_FLAG_WOKE_HERE: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: ::std::os::raw::c_uint = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: ::std::os::raw::c_uint = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: ::std::os::raw::c_uint = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: ::std::os::raw::c_uint = 16; +pub const AKEY_EVENT_FLAG_CANCELED: ::std::os::raw::c_uint = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: ::std::os::raw::c_uint = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: ::std::os::raw::c_uint = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: ::std::os::raw::c_uint = 256; +pub const AKEY_EVENT_FLAG_TRACKING: ::std::os::raw::c_uint = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: ::std::os::raw::c_uint = 1024; +pub type _bindgen_ty_15 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_ACTION_MASK: ::std::os::raw::c_uint = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: ::std::os::raw::c_uint = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_ACTION_MOVE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_17 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_18 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_AXIS_X: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_AXIS_Y: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_AXIS_SIZE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_AXIS_Z: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_AXIS_RX: ::std::os::raw::c_uint = 12; +pub const AMOTION_EVENT_AXIS_RY: ::std::os::raw::c_uint = 13; +pub const AMOTION_EVENT_AXIS_RZ: ::std::os::raw::c_uint = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: ::std::os::raw::c_uint = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: ::std::os::raw::c_uint = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: ::std::os::raw::c_uint = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: ::std::os::raw::c_uint = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: ::std::os::raw::c_uint = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: ::std::os::raw::c_uint = 21; +pub const AMOTION_EVENT_AXIS_GAS: ::std::os::raw::c_uint = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: ::std::os::raw::c_uint = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: ::std::os::raw::c_uint = 24; +pub const AMOTION_EVENT_AXIS_TILT: ::std::os::raw::c_uint = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: ::std::os::raw::c_uint = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: ::std::os::raw::c_uint = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: ::std::os::raw::c_uint = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: ::std::os::raw::c_uint = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: ::std::os::raw::c_uint = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: ::std::os::raw::c_uint = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: ::std::os::raw::c_uint = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: ::std::os::raw::c_uint = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: ::std::os::raw::c_uint = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: ::std::os::raw::c_uint = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: ::std::os::raw::c_uint = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: ::std::os::raw::c_uint = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: ::std::os::raw::c_uint = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: ::std::os::raw::c_uint = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: ::std::os::raw::c_uint = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: ::std::os::raw::c_uint = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: ::std::os::raw::c_uint = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: ::std::os::raw::c_uint = 47; +pub type _bindgen_ty_19 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_BUTTON_BACK: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: ::std::os::raw::c_uint = 64; +pub type _bindgen_ty_20 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_21 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_CLASS_MASK: ::std::os::raw::c_uint = 255; +pub const AINPUT_SOURCE_CLASS_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: ::std::os::raw::c_uint = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: ::std::os::raw::c_uint = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: ::std::os::raw::c_uint = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: ::std::os::raw::c_uint = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_22 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_KEYBOARD: ::std::os::raw::c_uint = 257; +pub const AINPUT_SOURCE_DPAD: ::std::os::raw::c_uint = 513; +pub const AINPUT_SOURCE_GAMEPAD: ::std::os::raw::c_uint = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: ::std::os::raw::c_uint = 4098; +pub const AINPUT_SOURCE_MOUSE: ::std::os::raw::c_uint = 8194; +pub const AINPUT_SOURCE_STYLUS: ::std::os::raw::c_uint = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: ::std::os::raw::c_uint = 49154; +pub const AINPUT_SOURCE_TRACKBALL: ::std::os::raw::c_uint = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: ::std::os::raw::c_uint = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: ::std::os::raw::c_uint = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: ::std::os::raw::c_uint = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: ::std::os::raw::c_uint = 16777232; +pub const AINPUT_SOURCE_HDMI: ::std::os::raw::c_uint = 33554433; +pub const AINPUT_SOURCE_SENSOR: ::std::os::raw::c_uint = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: ::std::os::raw::c_uint = 4194304; +pub const AINPUT_SOURCE_ANY: ::std::os::raw::c_uint = 4294967040; +pub type _bindgen_ty_23 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: ::std::os::raw::c_uint = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_24 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: ::std::os::raw::c_uint = 0; +pub const AINPUT_MOTION_RANGE_Y: ::std::os::raw::c_uint = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AINPUT_MOTION_RANGE_SIZE: ::std::os::raw::c_uint = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_25 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -7908,6 +7938,9 @@ extern "C" { extern "C" { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } +extern "C" { + pub fn AInputEvent_release(event: *const AInputEvent); +} extern "C" { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } @@ -7932,6 +7965,9 @@ extern "C" { extern "C" { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } +extern "C" { + pub fn AKeyEvent_fromJava(env: *mut JNIEnv, keyEvent: jobject) -> *const AInputEvent; +} extern "C" { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } @@ -8128,6 +8164,9 @@ extern "C" { history_index: size_t, ) -> f32; } +extern "C" { + pub fn AMotionEvent_fromJava(env: *mut JNIEnv, motionEvent: jobject) -> *const AInputEvent; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputQueue { @@ -8170,7 +8209,7 @@ pub const android_LogPriority_ANDROID_LOG_WARN: android_LogPriority = 5; pub const android_LogPriority_ANDROID_LOG_ERROR: android_LogPriority = 6; pub const android_LogPriority_ANDROID_LOG_FATAL: android_LogPriority = 7; pub const android_LogPriority_ANDROID_LOG_SILENT: android_LogPriority = 8; -pub type android_LogPriority = u32; +pub type android_LogPriority = ::std::os::raw::c_uint; extern "C" { pub fn __android_log_write( prio: ::std::os::raw::c_int, @@ -8213,7 +8252,7 @@ pub const log_id_LOG_ID_SECURITY: log_id = 6; pub const log_id_LOG_ID_KERNEL: log_id = 7; pub const log_id_LOG_ID_MAX: log_id = 8; pub const log_id_LOG_ID_DEFAULT: log_id = 2147483647; -pub type log_id = u32; +pub type log_id = ::std::os::raw::c_uint; pub use self::log_id as log_id_t; extern "C" { pub fn __android_log_buf_write( @@ -8377,155 +8416,14 @@ extern "C" { extern "C" { pub fn __android_log_set_default_tag(tag: *const ::std::os::raw::c_char); } -pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sockaddr_storage__bindgen_ty_1 { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, - pub __align: *mut ::std::os::raw::c_void, - _bindgen_union_align: [u64; 16usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { - pub ss_family: __kernel_sa_family_t, - pub __data: [::std::os::raw::c_char; 126usize], -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!( - "Size of: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!( - "Alignment of ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).ss_family - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(ss_family) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__data - as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(__data) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__align as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1), - "::", - stringify!(__align) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(sockaddr_storage)) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct f_owner_ex { - pub type_: ::std::os::raw::c_int, - pub pid: __kernel_pid_t, -} -#[test] -fn bindgen_test_layout_f_owner_ex() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(f_owner_ex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(f_owner_ex)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(type_) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(pid) - ) - ); -} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct flock { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_off_t, - pub l_len: __kernel_off_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock() { @@ -8595,9 +8493,9 @@ fn bindgen_test_layout_flock() { pub struct flock64 { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_loff_t, - pub l_len: __kernel_loff_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock64() { @@ -8664,6 +8562,45 @@ fn bindgen_test_layout_flock64() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct f_owner_ex { + pub type_: ::std::os::raw::c_int, + pub pid: __kernel_pid_t, +} +#[test] +fn bindgen_test_layout_f_owner_ex() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(f_owner_ex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(f_owner_ex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(pid) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct iovec { pub iov_base: *mut ::std::os::raw::c_void, pub iov_len: __kernel_size_t, @@ -8702,10 +8639,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_26 = 0; -pub const SHUT_WR: _bindgen_ty_26 = 1; -pub const SHUT_RDWR: _bindgen_ty_26 = 2; -pub type _bindgen_ty_26 = u32; +pub const SHUT_RD: ::std::os::raw::c_uint = 0; +pub const SHUT_WR: ::std::os::raw::c_uint = 1; +pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8720,29 +8657,129 @@ fn bindgen_test_layout_sockaddr() { concat!("Size of: ", stringify!(sockaddr)) ); assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(sockaddr)) + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(sockaddr)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_family) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_data) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_storage { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union sockaddr_storage__bindgen_ty_1 { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, + pub __align: *mut ::std::os::raw::c_void, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { + pub ss_family: sa_family_t, + pub __data: [::std::os::raw::c_char; 126usize], +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!( + "Size of: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!( + "Alignment of ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ss_family + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(ss_family) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__data + as *const _ as usize + }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(__data) + ) + ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + unsafe { + &(*(::std::ptr::null::())).__align as *const _ as usize + }, 0usize, concat!( "Offset of field: ", - stringify!(sockaddr), + stringify!(sockaddr_storage__bindgen_ty_1), "::", - stringify!(sa_family) + stringify!(__align) ) ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage() { assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr), - "::", - stringify!(sa_data) - ) + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(sockaddr_storage)) ); } #[repr(C)] @@ -10246,6 +10283,11 @@ extern "C" { __fp: *mut FILE, ) -> ::std::os::raw::c_int; } +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_NONE: HeapTaggingLevel = 0; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_TBI: HeapTaggingLevel = 1; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_ASYNC: HeapTaggingLevel = 2; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_SYNC: HeapTaggingLevel = 3; +pub type HeapTaggingLevel = ::std::os::raw::c_uint; extern "C" { pub fn mallopt( __option: ::std::os::raw::c_int, @@ -10818,6 +10860,15 @@ extern "C" { extern "C" { pub fn android_setprocnetwork(network: net_handle_t) -> ::std::os::raw::c_int; } +extern "C" { + pub fn android_getprocnetwork(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_setprocdns(network: net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_getprocdns(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} extern "C" { pub fn android_getaddrinfofornetwork( network: net_handle_t, @@ -10875,7 +10926,7 @@ pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT16_ASYMM: OperandCode = 12; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_SYMM: OperandCode = 13; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED: OperandCode = 14; pub const OperandCode_ANEURALNETWORKS_MODEL: OperandCode = 15; -pub type OperandCode = u32; +pub type OperandCode = ::std::os::raw::c_uint; pub const OperationCode_ANEURALNETWORKS_ADD: OperationCode = 0; pub const OperationCode_ANEURALNETWORKS_AVERAGE_POOL_2D: OperationCode = 1; pub const OperationCode_ANEURALNETWORKS_CONCATENATION: OperationCode = 2; @@ -10978,25 +11029,31 @@ pub const OperationCode_ANEURALNETWORKS_ELU: OperationCode = 98; pub const OperationCode_ANEURALNETWORKS_HARD_SWISH: OperationCode = 99; pub const OperationCode_ANEURALNETWORKS_FILL: OperationCode = 100; pub const OperationCode_ANEURALNETWORKS_RANK: OperationCode = 101; -pub type OperationCode = u32; +pub type OperationCode = ::std::os::raw::c_uint; pub const FuseCode_ANEURALNETWORKS_FUSED_NONE: FuseCode = 0; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU: FuseCode = 1; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU1: FuseCode = 2; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU6: FuseCode = 3; -pub type FuseCode = u32; +pub type FuseCode = ::std::os::raw::c_uint; pub const PaddingCode_ANEURALNETWORKS_PADDING_SAME: PaddingCode = 1; pub const PaddingCode_ANEURALNETWORKS_PADDING_VALID: PaddingCode = 2; -pub type PaddingCode = u32; +pub type PaddingCode = ::std::os::raw::c_uint; pub const PreferenceCode_ANEURALNETWORKS_PREFER_LOW_POWER: PreferenceCode = 0; pub const PreferenceCode_ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER: PreferenceCode = 1; pub const PreferenceCode_ANEURALNETWORKS_PREFER_SUSTAINED_SPEED: PreferenceCode = 2; -pub type PreferenceCode = u32; +pub type PreferenceCode = ::std::os::raw::c_uint; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = 0; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = 1; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = 2; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = 3; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = 4; -pub type DeviceTypeCode = u32; +pub type DeviceTypeCode = ::std::os::raw::c_uint; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_1: FeatureLevelCode = 27; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_2: FeatureLevelCode = 28; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_3: FeatureLevelCode = 29; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_4: FeatureLevelCode = 30; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_5: FeatureLevelCode = 31; +pub type FeatureLevelCode = ::std::os::raw::c_uint; pub const ResultCode_ANEURALNETWORKS_NO_ERROR: ResultCode = 0; pub const ResultCode_ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = 1; pub const ResultCode_ANEURALNETWORKS_INCOMPLETE: ResultCode = 2; @@ -11012,21 +11069,21 @@ pub const ResultCode_ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = 11 pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = 12; pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = 13; pub const ResultCode_ANEURALNETWORKS_DEAD_OBJECT: ResultCode = 14; -pub type ResultCode = u32; -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_27 = 128; -pub type _bindgen_ty_27 = u32; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_28 = 32; -pub type _bindgen_ty_28 = u32; +pub type ResultCode = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: ::std::os::raw::c_uint = 128; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: ::std::os::raw::c_uint = 32; +pub type _bindgen_ty_28 = ::std::os::raw::c_uint; pub const DurationCode_ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = 0; pub const DurationCode_ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = 1; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = 2; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = 3; -pub type DurationCode = u32; +pub type DurationCode = ::std::os::raw::c_uint; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = 90; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = 100; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = 110; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = 100; -pub type PriorityCode = u32; +pub type PriorityCode = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANeuralNetworksMemory { @@ -11593,10 +11650,53 @@ extern "C" { event: *mut *mut ANeuralNetworksEvent, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn ANeuralNetworks_getRuntimeFeatureLevel() -> i64; +} +extern "C" { + pub fn ANeuralNetworksExecution_enableInputAndOutputPadding( + execution: *mut ANeuralNetworksExecution, + enable: bool, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksExecution_setReusable( + execution: *mut ANeuralNetworksExecution, + reusable: bool, + ) -> ::std::os::raw::c_int; +} pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBA_8888: ANativeWindow_LegacyFormat = 1; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBX_8888: ANativeWindow_LegacyFormat = 2; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGB_565: ANativeWindow_LegacyFormat = 4; -pub type ANativeWindow_LegacyFormat = u32; +pub type ANativeWindow_LegacyFormat = ::std::os::raw::c_uint; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_IDENTITY: ANativeWindowTransform = 0; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL: ANativeWindowTransform = 1; @@ -11605,7 +11705,7 @@ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL: ANativ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_90: ANativeWindowTransform = 4; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_180: ANativeWindowTransform = 3; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_270: ANativeWindowTransform = 7; -pub type ANativeWindowTransform = u32; +pub type ANativeWindowTransform = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeWindow { @@ -11736,9 +11836,10 @@ extern "C" { extern "C" { pub fn ANativeWindow_getBuffersDataSpace(window: *mut ANativeWindow) -> i32; } -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: _bindgen_ty_29 = 0; -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE: _bindgen_ty_29 = 1; -pub type _bindgen_ty_29 = u32; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: + ANativeWindow_FrameRateCompatibility = 0; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE : ANativeWindow_FrameRateCompatibility = 1 ; +pub type ANativeWindow_FrameRateCompatibility = ::std::os::raw::c_uint; extern "C" { pub fn ANativeWindow_setFrameRate( window: *mut ANativeWindow, @@ -11749,6 +11850,19 @@ extern "C" { extern "C" { pub fn ANativeWindow_tryAllocateBuffers(window: *mut ANativeWindow); } +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS: + ANativeWindow_ChangeFrameRateStrategy = 0; +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ALWAYS: + ANativeWindow_ChangeFrameRateStrategy = 1; +pub type ANativeWindow_ChangeFrameRateStrategy = ::std::os::raw::c_uint; +extern "C" { + pub fn ANativeWindow_setFrameRateWithChangeStrategy( + window: *mut ANativeWindow, + frameRate: f32, + compatibility: i8, + changeFrameRateStrategy: i8, + ) -> i32; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeActivity { @@ -12162,15 +12276,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_30 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = u32; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_29 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = u32; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -12185,8 +12299,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_32 = 1; -pub type _bindgen_ty_32 = u32; +pub const AOBBINFO_OVERLAY: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -12746,63 +12860,63 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_33 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_33 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_33 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_33 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_33 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_33 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_33 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_33 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_33 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_33 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_33 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_33 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_33 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_33 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_33 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_33 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_33 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_33 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_33 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_33 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_33 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_33 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_33 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_33 = 31; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_33 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_33 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_33 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_33 = 36; -pub type _bindgen_ty_33 = i32; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_34 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_34 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_34 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_34 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_34 = 3; -pub type _bindgen_ty_34 = i32; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_35 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_35 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_35 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_35 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_35 = 3; -pub type _bindgen_ty_35 = i32; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_36 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_36 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_36 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_36 = 3; -pub type _bindgen_ty_36 = u32; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_37 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_37 = 2; -pub type _bindgen_ty_37 = u32; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_38 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_38 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_38 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_38 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_38 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_38 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_38 = 65540; -pub type _bindgen_ty_38 = u32; +pub const ASENSOR_TYPE_INVALID: ::std::os::raw::c_int = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: ::std::os::raw::c_int = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: ::std::os::raw::c_int = 2; +pub const ASENSOR_TYPE_GYROSCOPE: ::std::os::raw::c_int = 4; +pub const ASENSOR_TYPE_LIGHT: ::std::os::raw::c_int = 5; +pub const ASENSOR_TYPE_PRESSURE: ::std::os::raw::c_int = 6; +pub const ASENSOR_TYPE_PROXIMITY: ::std::os::raw::c_int = 8; +pub const ASENSOR_TYPE_GRAVITY: ::std::os::raw::c_int = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: ::std::os::raw::c_int = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: ::std::os::raw::c_int = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: ::std::os::raw::c_int = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: ::std::os::raw::c_int = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: ::std::os::raw::c_int = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: ::std::os::raw::c_int = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: ::std::os::raw::c_int = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: ::std::os::raw::c_int = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: ::std::os::raw::c_int = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: ::std::os::raw::c_int = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: ::std::os::raw::c_int = 20; +pub const ASENSOR_TYPE_HEART_RATE: ::std::os::raw::c_int = 21; +pub const ASENSOR_TYPE_POSE_6DOF: ::std::os::raw::c_int = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: ::std::os::raw::c_int = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: ::std::os::raw::c_int = 30; +pub const ASENSOR_TYPE_HEART_BEAT: ::std::os::raw::c_int = 31; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: ::std::os::raw::c_int = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: ::std::os::raw::c_int = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: ::std::os::raw::c_int = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: ::std::os::raw::c_int = 36; +pub type _bindgen_ty_32 = ::std::os::raw::c_int; +pub const ASENSOR_STATUS_NO_CONTACT: ::std::os::raw::c_int = -1; +pub const ASENSOR_STATUS_UNRELIABLE: ::std::os::raw::c_int = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: ::std::os::raw::c_int = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: ::std::os::raw::c_int = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_33 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: ::std::os::raw::c_int = -1; +pub const AREPORTING_MODE_CONTINUOUS: ::std::os::raw::c_int = 0; +pub const AREPORTING_MODE_ON_CHANGE: ::std::os::raw::c_int = 1; +pub const AREPORTING_MODE_ONE_SHOT: ::std::os::raw::c_int = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_34 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: ::std::os::raw::c_uint = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_RATE_FAST: ::std::os::raw::c_uint = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: ::std::os::raw::c_uint = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: ::std::os::raw::c_uint = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: ::std::os::raw::c_uint = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: ::std::os::raw::c_uint = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: ::std::os::raw::c_uint = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: ::std::os::raw::c_uint = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: ::std::os::raw::c_uint = 65540; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -12816,7 +12930,6 @@ pub union ASensorVector__bindgen_ty_1 { pub v: [f32; 3usize], pub __bindgen_anon_1: ASensorVector__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_2: ASensorVector__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13054,7 +13167,6 @@ pub struct AUncalibratedEvent { pub union AUncalibratedEvent__bindgen_ty_1 { pub uncalib: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13155,7 +13267,6 @@ fn bindgen_test_layout_AUncalibratedEvent__bindgen_ty_1() { pub union AUncalibratedEvent__bindgen_ty_2 { pub bias: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_2__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13353,7 +13464,6 @@ pub struct AAdditionalInfoEvent { pub union AAdditionalInfoEvent__bindgen_ty_1 { pub data_int32: [i32; 14usize], pub data_float: [f32; 14usize], - _bindgen_union_align: [u32; 14usize], } #[test] fn bindgen_test_layout_AAdditionalInfoEvent__bindgen_ty_1() { @@ -13446,8 +13556,7 @@ pub struct ASensorEvent { #[derive(Copy, Clone)] pub union ASensorEvent__bindgen_ty_1 { pub __bindgen_anon_1: ASensorEvent__bindgen_ty_1__bindgen_ty_1, - pub u64: ASensorEvent__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u64; 8usize], + pub u64_: ASensorEvent__bindgen_ty_1__bindgen_ty_2, } #[repr(C)] #[derive(Copy, Clone)] @@ -13455,19 +13564,20 @@ pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 { pub data: [f32; 16usize], pub vector: ASensorVector, pub acceleration: ASensorVector, + pub gyro: ASensorVector, pub magnetic: ASensorVector, pub temperature: f32, pub distance: f32, pub light: f32, pub pressure: f32, pub relative_humidity: f32, + pub uncalibrated_acceleration: AUncalibratedEvent, pub uncalibrated_gyro: AUncalibratedEvent, pub uncalibrated_magnetic: AUncalibratedEvent, pub meta_data: AMetaDataEvent, pub heart_rate: AHeartRateEvent, pub dynamic_sensor_meta: ADynamicSensorEvent, pub additional_info: AAdditionalInfoEvent, - _bindgen_union_align: [u32; 16usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { @@ -13526,6 +13636,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(acceleration) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).gyro as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(gyro) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).magnetic @@ -13604,6 +13727,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(relative_humidity) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())) + .uncalibrated_acceleration as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(uncalibrated_acceleration) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).uncalibrated_gyro @@ -13688,7 +13824,6 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { pub union ASensorEvent__bindgen_ty_1__bindgen_ty_2 { pub data: [u64; 8usize], pub step_counter: u64, - _bindgen_union_align: [u64; 8usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_2() { @@ -13748,13 +13883,13 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1() { concat!("Alignment of ", stringify!(ASensorEvent__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).u64 as *const _ as usize }, + unsafe { &(*(::std::ptr::null::())).u64_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ASensorEvent__bindgen_ty_1), "::", - stringify!(u64) + stringify!(u64_) ) ); } @@ -14043,15 +14178,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_39 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_39 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_39 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_39 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_39 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_39 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_39 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_39 = 25; -pub type _bindgen_ty_39 = u32; +pub const AOBB_STATE_MOUNTED: ::std::os::raw::c_uint = 1; +pub const AOBB_STATE_UNMOUNTED: ::std::os::raw::c_uint = 2; +pub const AOBB_STATE_ERROR_INTERNAL: ::std::os::raw::c_uint = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: ::std::os::raw::c_uint = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: ::std::os::raw::c_uint = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: ::std::os::raw::c_uint = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: ::std::os::raw::c_uint = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: ::std::os::raw::c_uint = 25; +pub type _bindgen_ty_38 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -14384,30 +14519,30 @@ extern "C" { extern "C" { pub fn ATrace_setCounter(counterName: *const ::std::os::raw::c_char, counterValue: i64); } -pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_40 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_40 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_40 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_40 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_40 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_40 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_40 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_40 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_40 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_40 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_40 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_40 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_40 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_40 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_40 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_40 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_40 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_40 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_40 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_40 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_40 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_40 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_40 = 4194304; -pub type _bindgen_ty_40 = u32; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: ::std::os::raw::c_uint = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: ::std::os::raw::c_uint = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: ::std::os::raw::c_uint = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: ::std::os::raw::c_uint = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: ::std::os::raw::c_uint = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: ::std::os::raw::c_uint = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: ::std::os::raw::c_uint = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: ::std::os::raw::c_uint = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: ::std::os::raw::c_uint = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: ::std::os::raw::c_uint = 512; +pub const AWINDOW_FLAG_FULLSCREEN: ::std::os::raw::c_uint = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: ::std::os::raw::c_uint = 2048; +pub const AWINDOW_FLAG_DITHER: ::std::os::raw::c_uint = 4096; +pub const AWINDOW_FLAG_SECURE: ::std::os::raw::c_uint = 8192; +pub const AWINDOW_FLAG_SCALED: ::std::os::raw::c_uint = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: ::std::os::raw::c_uint = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: ::std::os::raw::c_uint = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: ::std::os::raw::c_uint = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: ::std::os::raw::c_uint = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: ::std::os::raw::c_uint = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: ::std::os::raw::c_uint = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: ::std::os::raw::c_uint = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_39 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -14488,40 +14623,40 @@ fn bindgen_test_layout___kernel_itimerspec() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __kernel_old_timeval { - pub tv_sec: __kernel_long_t, - pub tv_usec: __kernel_long_t, +pub struct __kernel_old_timespec { + pub tv_sec: __kernel_old_time_t, + pub tv_nsec: ::std::os::raw::c_long, } #[test] -fn bindgen_test_layout___kernel_old_timeval() { +fn bindgen_test_layout___kernel_old_timespec() { assert_eq!( - ::std::mem::size_of::<__kernel_old_timeval>(), + ::std::mem::size_of::<__kernel_old_timespec>(), 16usize, - concat!("Size of: ", stringify!(__kernel_old_timeval)) + concat!("Size of: ", stringify!(__kernel_old_timespec)) ); assert_eq!( - ::std::mem::align_of::<__kernel_old_timeval>(), + ::std::mem::align_of::<__kernel_old_timespec>(), 8usize, - concat!("Alignment of ", stringify!(__kernel_old_timeval)) + concat!("Alignment of ", stringify!(__kernel_old_timespec)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_sec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", stringify!(tv_sec) ) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_usec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_nsec as *const _ as usize }, 8usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", - stringify!(tv_usec) + stringify!(tv_nsec) ) ); } @@ -14567,7 +14702,7 @@ fn bindgen_test_layout___kernel_sock_timeval() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timespec { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_nsec: ::std::os::raw::c_long, } #[test] @@ -14606,7 +14741,7 @@ fn bindgen_test_layout_timespec() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timeval { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_usec: __kernel_suseconds_t, } #[test] @@ -14644,45 +14779,6 @@ fn bindgen_test_layout_timeval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct timezone { - pub tz_minuteswest: ::std::os::raw::c_int, - pub tz_dsttime: ::std::os::raw::c_int, -} -#[test] -fn bindgen_test_layout_timezone() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(timezone)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(timezone)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_minuteswest) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_dsttime) - ) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct itimerspec { pub it_interval: timespec, pub it_value: timespec, @@ -14760,8 +14856,47 @@ fn bindgen_test_layout_itimerval() { ); } #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct timezone { + pub tz_minuteswest: ::std::os::raw::c_int, + pub tz_dsttime: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_timezone() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(timezone)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(timezone)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_minuteswest) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_dsttime) + ) + ); +} +#[repr(C)] #[repr(align(16))] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct sigcontext { pub fault_address: __u64, pub regs: [__u64; 31usize], @@ -15245,7 +15380,6 @@ pub type stack_t = sigaltstack; pub union sigval { pub sival_int: ::std::os::raw::c_int, pub sival_ptr: *mut ::std::os::raw::c_void, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigval() { @@ -15291,7 +15425,6 @@ pub union __sifields { pub _sigfault: __sifields__bindgen_ty_5, pub _sigpoll: __sifields__bindgen_ty_6, pub _sigsys: __sifields__bindgen_ty_7, - _bindgen_union_align: [u64; 4usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15534,10 +15667,11 @@ pub struct __sifields__bindgen_ty_5 { #[repr(C)] #[derive(Copy, Clone)] pub union __sifields__bindgen_ty_5__bindgen_ty_1 { + pub _trapno: ::std::os::raw::c_int, pub _addr_lsb: ::std::os::raw::c_short, pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u64; 3usize], + pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15655,6 +15789,57 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() { ) ); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { + pub _data: ::std::os::raw::c_ulong, + pub _type: __u32, +} +#[test] +fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() { + assert_eq!( + ::std::mem::size_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 16usize, + concat!( + "Size of: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + ::std::mem::align_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 8usize, + concat!( + "Alignment of ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._data + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_data) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._type + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_type) + ) + ); +} #[test] fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { assert_eq!( @@ -15673,6 +15858,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(__sifields__bindgen_ty_5__bindgen_ty_1) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._trapno as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_trapno) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._addr_lsb as *const _ @@ -15712,6 +15910,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(_addr_pkey) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._perf as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_perf) + ) + ); } #[test] fn bindgen_test_layout___sifields__bindgen_ty_5() { @@ -15922,7 +16133,6 @@ pub struct siginfo { pub union siginfo__bindgen_ty_1 { pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, pub _si_pad: [::std::os::raw::c_int; 32usize], - _bindgen_union_align: [u64; 16usize], } #[repr(C)] #[derive(Copy, Clone)] @@ -16051,7 +16261,6 @@ pub union sigevent__bindgen_ty_1 { pub _pad: [::std::os::raw::c_int; 12usize], pub _tid: ::std::os::raw::c_int, pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u64; 6usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -16226,7 +16435,6 @@ pub union sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigaction__bindgen_ty_1() { @@ -16327,7 +16535,6 @@ pub union sigaction64__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigaction64__bindgen_ty_1() { @@ -16542,7 +16749,6 @@ pub struct ucontext { pub union ucontext__bindgen_ty_1 { pub uc_sigmask: sigset_t, pub uc_sigmask64: sigset64_t, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ucontext__bindgen_ty_1() { @@ -16904,7 +17110,7 @@ extern "C" { } extern "C" { pub fn select( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -16913,7 +17119,7 @@ extern "C" { } extern "C" { pub fn pselect( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -16923,7 +17129,7 @@ extern "C" { } extern "C" { pub fn pselect64( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -17242,101 +17448,103 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_41 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_41 = 1; -pub type _bindgen_ty_41 = u32; +pub const AAUDIO_DIRECTION_OUTPUT: ::std::os::raw::c_uint = 0; +pub const AAUDIO_DIRECTION_INPUT: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_40 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_42 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_42 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_42 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_42 = 2; -pub type _bindgen_ty_42 = i32; +pub const AAUDIO_FORMAT_INVALID: ::std::os::raw::c_int = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: ::std::os::raw::c_int = 0; +pub const AAUDIO_FORMAT_PCM_I16: ::std::os::raw::c_int = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: ::std::os::raw::c_int = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: ::std::os::raw::c_int = 3; +pub const AAUDIO_FORMAT_PCM_I32: ::std::os::raw::c_int = 4; +pub type _bindgen_ty_41 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_43 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_43 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_43 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_43 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_43 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_43 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_43 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_43 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_43 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_43 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_43 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_43 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_43 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_43 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_43 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_43 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_43 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_43 = -880; -pub type _bindgen_ty_43 = i32; +pub const AAUDIO_OK: ::std::os::raw::c_int = 0; +pub const AAUDIO_ERROR_BASE: ::std::os::raw::c_int = -900; +pub const AAUDIO_ERROR_DISCONNECTED: ::std::os::raw::c_int = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: ::std::os::raw::c_int = -898; +pub const AAUDIO_ERROR_INTERNAL: ::std::os::raw::c_int = -896; +pub const AAUDIO_ERROR_INVALID_STATE: ::std::os::raw::c_int = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: ::std::os::raw::c_int = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: ::std::os::raw::c_int = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: ::std::os::raw::c_int = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: ::std::os::raw::c_int = -888; +pub const AAUDIO_ERROR_NO_MEMORY: ::std::os::raw::c_int = -887; +pub const AAUDIO_ERROR_NULL: ::std::os::raw::c_int = -886; +pub const AAUDIO_ERROR_TIMEOUT: ::std::os::raw::c_int = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: ::std::os::raw::c_int = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: ::std::os::raw::c_int = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: ::std::os::raw::c_int = -882; +pub const AAUDIO_ERROR_NO_SERVICE: ::std::os::raw::c_int = -881; +pub const AAUDIO_ERROR_INVALID_RATE: ::std::os::raw::c_int = -880; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_44 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_44 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_44 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_44 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_44 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_44 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_44 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_44 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_44 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_44 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_44 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_44 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_44 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_44 = 13; -pub type _bindgen_ty_44 = u32; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: ::std::os::raw::c_uint = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: ::std::os::raw::c_uint = 1; +pub const AAUDIO_STREAM_STATE_OPEN: ::std::os::raw::c_uint = 2; +pub const AAUDIO_STREAM_STATE_STARTING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_STREAM_STATE_STARTED: ::std::os::raw::c_uint = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: ::std::os::raw::c_uint = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: ::std::os::raw::c_uint = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: ::std::os::raw::c_uint = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: ::std::os::raw::c_uint = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: ::std::os::raw::c_uint = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: ::std::os::raw::c_uint = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: ::std::os::raw::c_uint = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: ::std::os::raw::c_uint = 13; +pub type _bindgen_ty_43 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_45 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_45 = 1; -pub type _bindgen_ty_45 = u32; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_SHARING_MODE_SHARED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_46 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_46 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_46 = 12; -pub type _bindgen_ty_46 = u32; +pub const AAUDIO_PERFORMANCE_MODE_NONE: ::std::os::raw::c_uint = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_47 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_47 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_47 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_47 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_47 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_47 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_47 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_47 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_47 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_47 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_47 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_47 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_47 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_47 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_47 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_47 = 1003; -pub type _bindgen_ty_47 = u32; +pub const AAUDIO_USAGE_MEDIA: ::std::os::raw::c_uint = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_USAGE_ALARM: ::std::os::raw::c_uint = 4; +pub const AAUDIO_USAGE_NOTIFICATION: ::std::os::raw::c_uint = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: ::std::os::raw::c_uint = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: ::std::os::raw::c_uint = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: ::std::os::raw::c_uint = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: ::std::os::raw::c_uint = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: ::std::os::raw::c_uint = 13; +pub const AAUDIO_USAGE_GAME: ::std::os::raw::c_uint = 14; +pub const AAUDIO_USAGE_ASSISTANT: ::std::os::raw::c_uint = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: ::std::os::raw::c_uint = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: ::std::os::raw::c_uint = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: ::std::os::raw::c_uint = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: ::std::os::raw::c_uint = 1003; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_48 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_48 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_48 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_48 = 4; -pub type _bindgen_ty_48 = u32; +pub const AAUDIO_CONTENT_TYPE_SPEECH: ::std::os::raw::c_uint = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: ::std::os::raw::c_uint = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: ::std::os::raw::c_uint = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: ::std::os::raw::c_uint = 4; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_49 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_49 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_49 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_49 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_49 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_49 = 10; -pub type _bindgen_ty_49 = u32; +pub const AAUDIO_INPUT_PRESET_GENERIC: ::std::os::raw::c_uint = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: ::std::os::raw::c_uint = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: ::std::os::raw::c_uint = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: ::std::os::raw::c_uint = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: ::std::os::raw::c_uint = 10; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_50 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_50 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_50 = 3; -pub type _bindgen_ty_50 = u32; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: ::std::os::raw::c_uint = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: ::std::os::raw::c_uint = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_51 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_51 = 0; -pub type _bindgen_ty_51 = i32; +pub const AAUDIO_SESSION_ID_NONE: ::std::os::raw::c_int = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: ::std::os::raw::c_int = 0; +pub type _bindgen_ty_50 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17365,6 +17573,18 @@ extern "C" { extern "C" { pub fn AAudioStreamBuilder_setDeviceId(builder: *mut AAudioStreamBuilder, deviceId: i32); } +extern "C" { + pub fn AAudioStreamBuilder_setPackageName( + builder: *mut AAudioStreamBuilder, + packageName: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AAudioStreamBuilder_setAttributionTag( + builder: *mut AAudioStreamBuilder, + attributionTag: *const ::std::os::raw::c_char, + ); +} extern "C" { pub fn AAudioStreamBuilder_setSampleRate(builder: *mut AAudioStreamBuilder, sampleRate: i32); } @@ -17443,9 +17663,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_52 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_52 = 1; -pub type _bindgen_ty_52 = u32; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_51 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -17632,7 +17852,7 @@ pub const camera_status_t_ACAMERA_ERROR_MAX_CAMERA_IN_USE: camera_status_t = -10 pub const camera_status_t_ACAMERA_ERROR_CAMERA_DISABLED: camera_status_t = -10012; pub const camera_status_t_ACAMERA_ERROR_PERMISSION_DENIED: camera_status_t = -10013; pub const camera_status_t_ACAMERA_ERROR_UNSUPPORTED_OPERATION: camera_status_t = -10014; -pub type camera_status_t = i32; +pub type camera_status_t = ::std::os::raw::c_int; pub const acamera_metadata_section_ACAMERA_COLOR_CORRECTION: acamera_metadata_section = 0; pub const acamera_metadata_section_ACAMERA_CONTROL: acamera_metadata_section = 1; pub const acamera_metadata_section_ACAMERA_DEMOSAIC: acamera_metadata_section = 2; @@ -17665,7 +17885,7 @@ pub const acamera_metadata_section_ACAMERA_HEIC: acamera_metadata_section = 28; pub const acamera_metadata_section_ACAMERA_HEIC_INFO: acamera_metadata_section = 29; pub const acamera_metadata_section_ACAMERA_SECTION_COUNT: acamera_metadata_section = 30; pub const acamera_metadata_section_ACAMERA_VENDOR: acamera_metadata_section = 32768; -pub type acamera_metadata_section = u32; +pub type acamera_metadata_section = ::std::os::raw::c_uint; pub use self::acamera_metadata_section as acamera_metadata_section_t; pub const acamera_metadata_section_start_ACAMERA_COLOR_CORRECTION_START: acamera_metadata_section_start = 0; @@ -17729,7 +17949,7 @@ pub const acamera_metadata_section_start_ACAMERA_HEIC_INFO_START: acamera_metada 1900544; pub const acamera_metadata_section_start_ACAMERA_VENDOR_START: acamera_metadata_section_start = -2147483648; -pub type acamera_metadata_section_start = i32; +pub type acamera_metadata_section_start = ::std::os::raw::c_int; pub use self::acamera_metadata_section_start as acamera_metadata_section_start_t; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_MODE: acamera_metadata_tag = 0; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_TRANSFORM: acamera_metadata_tag = 1; @@ -17784,11 +18004,11 @@ pub const acamera_metadata_tag_ACAMERA_CONTROL_POST_RAW_SENSITIVITY_BOOST: acame 65576; pub const acamera_metadata_tag_ACAMERA_CONTROL_ENABLE_ZSL: acamera_metadata_tag = 65577; pub const acamera_metadata_tag_ACAMERA_CONTROL_AF_SCENE_CHANGE: acamera_metadata_tag = 65578; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_MAX_SIZES: acamera_metadata_tag = - 65579; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_ZOOM_RATIO_RANGES: +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_MAX_SIZES: + acamera_metadata_tag = 65579; +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_ZOOM_RATIO_RANGES: acamera_metadata_tag = 65580; -pub const acamera_metadata_tag_ACAMERA_CONTROL_BOKEH_MODE: acamera_metadata_tag = 65581; +pub const acamera_metadata_tag_ACAMERA_CONTROL_EXTENDED_SCENE_MODE: acamera_metadata_tag = 65581; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO_RANGE: acamera_metadata_tag = 65582; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO: acamera_metadata_tag = 65583; pub const acamera_metadata_tag_ACAMERA_CONTROL_END: acamera_metadata_tag = 65584; @@ -17829,7 +18049,11 @@ pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION: acamera_metad pub const acamera_metadata_tag_ACAMERA_LENS_RADIAL_DISTORTION: acamera_metadata_tag = 524299; pub const acamera_metadata_tag_ACAMERA_LENS_POSE_REFERENCE: acamera_metadata_tag = 524300; pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION: acamera_metadata_tag = 524301; -pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION_MAXIMUM_RESOLUTION: acamera_metadata_tag = + 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 524303; +pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524304; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_APERTURES: acamera_metadata_tag = 589824; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_FILTER_DENSITIES: acamera_metadata_tag = 589825; @@ -17879,7 +18103,21 @@ pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFI acamera_metadata_tag = 851982; pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_INPUT_OUTPUT_FORMATS_MAP: acamera_metadata_tag = 851983; -pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES: + acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_ROTATE_AND_CROP: acamera_metadata_tag = 851985; +pub const acamera_metadata_tag_ACAMERA_SCALER_DEFAULT_SECURE_IMAGE_SIZE: acamera_metadata_tag = + 851986; +pub const acamera_metadata_tag_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS : acamera_metadata_tag = 851987 ; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851988; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851989; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851990; +pub const acamera_metadata_tag_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED: + acamera_metadata_tag = 851992; +pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851993; pub const acamera_metadata_tag_ACAMERA_SENSOR_EXPOSURE_TIME: acamera_metadata_tag = 917504; pub const acamera_metadata_tag_ACAMERA_SENSOR_FRAME_DURATION: acamera_metadata_tag = 917505; pub const acamera_metadata_tag_ACAMERA_SENSOR_SENSITIVITY: acamera_metadata_tag = 917506; @@ -17906,7 +18144,10 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW: acamera_meta pub const acamera_metadata_tag_ACAMERA_SENSOR_OPTICAL_BLACK_REGIONS: acamera_metadata_tag = 917531; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_BLACK_LEVEL: acamera_metadata_tag = 917532; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_WHITE_LEVEL: acamera_metadata_tag = 917533; -pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917534; +pub const acamera_metadata_tag_ACAMERA_SENSOR_PIXEL_MODE: acamera_metadata_tag = 917536; +pub const acamera_metadata_tag_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED: acamera_metadata_tag = + 917537; +pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917538; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983040; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_SENSITIVITY_RANGE: acamera_metadata_tag = 983041; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT: acamera_metadata_tag = @@ -17923,7 +18164,13 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED: acamera 983049; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983050; -pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983052; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION : acamera_metadata_tag = 983053 ; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_BINNING_FACTOR: acamera_metadata_tag = 983054; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983055; pub const acamera_metadata_tag_ACAMERA_SHADING_MODE: acamera_metadata_tag = 1048576; pub const acamera_metadata_tag_ACAMERA_SHADING_AVAILABLE_MODES: acamera_metadata_tag = 1048578; pub const acamera_metadata_tag_ACAMERA_SHADING_END: acamera_metadata_tag = 1048579; @@ -17989,7 +18236,14 @@ pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_D acamera_metadata_tag = 1638407; pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS: acamera_metadata_tag = 1638408; -pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638409; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638409 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638410 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1638411; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638412 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638413 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638414 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638415; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS: acamera_metadata_tag = 1703936; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE: acamera_metadata_tag = @@ -18007,31 +18261,35 @@ pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS: acamera_metadata_tag = 1835009; pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS: acamera_metadata_tag = 1835010; -pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835011; -pub type acamera_metadata_tag = u32; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835011 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835012 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1835013; +pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835014; +pub type acamera_metadata_tag = ::std::os::raw::c_uint; pub use self::acamera_metadata_tag as acamera_metadata_tag_t; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_TRANSFORM_MATRIX : acamera_metadata_enum_acamera_color_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_FAST: acamera_metadata_enum_acamera_color_correction_mode = 1; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_mode as acamera_metadata_enum_android_color_correction_mode_t; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_OFF : acamera_metadata_enum_acamera_color_correction_aberration_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_FAST : acamera_metadata_enum_acamera_color_correction_aberration_mode = 1 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_aberration_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_aberration_mode as acamera_metadata_enum_android_color_correction_aberration_mode_t; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_OFF : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 0 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_50HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 1 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_60HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 2 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_AUTO : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 3 ; -pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_antibanding_mode as acamera_metadata_enum_android_control_ae_antibanding_mode_t; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_OFF: acamera_metadata_enum_acamera_control_ae_lock = 0; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_ON: acamera_metadata_enum_acamera_control_ae_lock = 1; -pub type acamera_metadata_enum_acamera_control_ae_lock = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock as acamera_metadata_enum_android_control_ae_lock_t; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_OFF: acamera_metadata_enum_acamera_control_ae_mode = 0; @@ -18043,12 +18301,12 @@ pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ acamera_metadata_enum_acamera_control_ae_mode = 3; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE : acamera_metadata_enum_acamera_control_ae_mode = 4 ; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_EXTERNAL_FLASH : acamera_metadata_enum_acamera_control_ae_mode = 5 ; -pub type acamera_metadata_enum_acamera_control_ae_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_mode as acamera_metadata_enum_android_control_ae_mode_t; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_IDLE : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 0 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_START : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 1 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 2 ; -pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = u32; +pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_precapture_trigger as acamera_metadata_enum_android_control_ae_precapture_trigger_t; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_OFF: acamera_metadata_enum_acamera_control_af_mode = 0; @@ -18061,7 +18319,7 @@ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_CONTINUOUS_PICTURE : acamera_metadata_enum_acamera_control_af_mode = 4 ; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_EDOF: acamera_metadata_enum_acamera_control_af_mode = 5; -pub type acamera_metadata_enum_acamera_control_af_mode = u32; +pub type acamera_metadata_enum_acamera_control_af_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_mode as acamera_metadata_enum_android_control_af_mode_t; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_IDLE: acamera_metadata_enum_acamera_control_af_trigger = 0; @@ -18069,13 +18327,13 @@ pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TR acamera_metadata_enum_acamera_control_af_trigger = 1; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_CANCEL: acamera_metadata_enum_acamera_control_af_trigger = 2; -pub type acamera_metadata_enum_acamera_control_af_trigger = u32; +pub type acamera_metadata_enum_acamera_control_af_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_trigger as acamera_metadata_enum_android_control_af_trigger_t; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_OFF: acamera_metadata_enum_acamera_control_awb_lock = 0; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_ON: acamera_metadata_enum_acamera_control_awb_lock = 1; -pub type acamera_metadata_enum_acamera_control_awb_lock = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock as acamera_metadata_enum_android_control_awb_lock_t; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_OFF: acamera_metadata_enum_acamera_control_awb_mode = 0; @@ -18093,7 +18351,7 @@ pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MOD acamera_metadata_enum_acamera_control_awb_mode = 7; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_SHADE: acamera_metadata_enum_acamera_control_awb_mode = 8; -pub type acamera_metadata_enum_acamera_control_awb_mode = u32; +pub type acamera_metadata_enum_acamera_control_awb_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_mode as acamera_metadata_enum_android_control_awb_mode_t; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_CUSTOM : acamera_metadata_enum_acamera_control_capture_intent = 0 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_PREVIEW : acamera_metadata_enum_acamera_control_capture_intent = 1 ; @@ -18103,7 +18361,7 @@ pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_C pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_control_capture_intent = 5 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MANUAL : acamera_metadata_enum_acamera_control_capture_intent = 6 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MOTION_TRACKING : acamera_metadata_enum_acamera_control_capture_intent = 7 ; -pub type acamera_metadata_enum_acamera_control_capture_intent = u32; +pub type acamera_metadata_enum_acamera_control_capture_intent = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_capture_intent as acamera_metadata_enum_android_control_capture_intent_t; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_OFF: acamera_metadata_enum_acamera_control_effect_mode = 0; @@ -18120,7 +18378,7 @@ pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFE pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_BLACKBOARD : acamera_metadata_enum_acamera_control_effect_mode = 7 ; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_AQUA: acamera_metadata_enum_acamera_control_effect_mode = 8; -pub type acamera_metadata_enum_acamera_control_effect_mode = u32; +pub type acamera_metadata_enum_acamera_control_effect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_effect_mode as acamera_metadata_enum_android_control_effect_mode_t; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF: acamera_metadata_enum_acamera_control_mode = 0; @@ -18130,7 +18388,8 @@ pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_SC acamera_metadata_enum_acamera_control_mode = 2; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF_KEEP_STATE: acamera_metadata_enum_acamera_control_mode = 3; -pub type acamera_metadata_enum_acamera_control_mode = u32; +pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_EXTENDED_SCENE_MODE : acamera_metadata_enum_acamera_control_mode = 4 ; +pub type acamera_metadata_enum_acamera_control_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_mode as acamera_metadata_enum_android_control_mode_t; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_DISABLED: acamera_metadata_enum_acamera_control_scene_mode = 0; @@ -18164,11 +18423,11 @@ pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE acamera_metadata_enum_acamera_control_scene_mode = 16; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_HDR: acamera_metadata_enum_acamera_control_scene_mode = 18; -pub type acamera_metadata_enum_acamera_control_scene_mode = u32; +pub type acamera_metadata_enum_acamera_control_scene_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_scene_mode as acamera_metadata_enum_android_control_scene_mode_t; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_control_video_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_control_video_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_video_stabilization_mode as acamera_metadata_enum_android_control_video_stabilization_mode_t; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_INACTIVE: acamera_metadata_enum_acamera_control_ae_state = 0; @@ -18182,7 +18441,7 @@ pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STAT acamera_metadata_enum_acamera_control_ae_state = 4; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_PRECAPTURE: acamera_metadata_enum_acamera_control_ae_state = 5; -pub type acamera_metadata_enum_acamera_control_ae_state = u32; +pub type acamera_metadata_enum_acamera_control_ae_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_state as acamera_metadata_enum_android_control_ae_state_t; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_INACTIVE: acamera_metadata_enum_acamera_control_af_state = 0; @@ -18195,7 +18454,7 @@ pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STAT acamera_metadata_enum_acamera_control_af_state = 4; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED : acamera_metadata_enum_acamera_control_af_state = 5 ; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_PASSIVE_UNFOCUSED : acamera_metadata_enum_acamera_control_af_state = 6 ; -pub type acamera_metadata_enum_acamera_control_af_state = u32; +pub type acamera_metadata_enum_acamera_control_af_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_state as acamera_metadata_enum_android_control_af_state_t; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_INACTIVE: acamera_metadata_enum_acamera_control_awb_state = 0; @@ -18205,33 +18464,31 @@ pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_ST acamera_metadata_enum_acamera_control_awb_state = 2; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_LOCKED: acamera_metadata_enum_acamera_control_awb_state = 3; -pub type acamera_metadata_enum_acamera_control_awb_state = u32; +pub type acamera_metadata_enum_acamera_control_awb_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_state as acamera_metadata_enum_android_control_awb_state_t; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_ae_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_ae_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_ae_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock_available as acamera_metadata_enum_android_control_ae_lock_available_t; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_awb_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_awb_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_awb_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock_available as acamera_metadata_enum_android_control_awb_lock_available_t; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_FALSE: acamera_metadata_enum_acamera_control_enable_zsl = 0; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_TRUE: acamera_metadata_enum_acamera_control_enable_zsl = 1; -pub type acamera_metadata_enum_acamera_control_enable_zsl = u32; +pub type acamera_metadata_enum_acamera_control_enable_zsl = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_enable_zsl as acamera_metadata_enum_android_control_enable_zsl_t; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 0 ; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 1 ; -pub type acamera_metadata_enum_acamera_control_af_scene_change = u32; +pub type acamera_metadata_enum_acamera_control_af_scene_change = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_scene_change as acamera_metadata_enum_android_control_af_scene_change_t; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_OFF: - acamera_metadata_enum_acamera_control_bokeh_mode = 0; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_STILL_CAPTURE : acamera_metadata_enum_acamera_control_bokeh_mode = 1 ; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_CONTINUOUS: - acamera_metadata_enum_acamera_control_bokeh_mode = 2; -pub type acamera_metadata_enum_acamera_control_bokeh_mode = u32; -pub use self::acamera_metadata_enum_acamera_control_bokeh_mode as acamera_metadata_enum_android_control_bokeh_mode_t; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_DISABLED : acamera_metadata_enum_acamera_control_extended_scene_mode = 0 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_STILL_CAPTURE : acamera_metadata_enum_acamera_control_extended_scene_mode = 1 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_CONTINUOUS : acamera_metadata_enum_acamera_control_extended_scene_mode = 2 ; +pub type acamera_metadata_enum_acamera_control_extended_scene_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_control_extended_scene_mode as acamera_metadata_enum_android_control_extended_scene_mode_t; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_OFF: acamera_metadata_enum_acamera_edge_mode = 0; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_FAST: @@ -18240,7 +18497,7 @@ pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_HIGH_QUALITY acamera_metadata_enum_acamera_edge_mode = 2; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_ZERO_SHUTTER_LAG: acamera_metadata_enum_acamera_edge_mode = 3; -pub type acamera_metadata_enum_acamera_edge_mode = u32; +pub type acamera_metadata_enum_acamera_edge_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_edge_mode as acamera_metadata_enum_android_edge_mode_t; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_OFF: acamera_metadata_enum_acamera_flash_mode = 0; @@ -18248,7 +18505,7 @@ pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_SINGLE: acamera_metadata_enum_acamera_flash_mode = 1; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_TORCH: acamera_metadata_enum_acamera_flash_mode = 2; -pub type acamera_metadata_enum_acamera_flash_mode = u32; +pub type acamera_metadata_enum_acamera_flash_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_mode as acamera_metadata_enum_android_flash_mode_t; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_UNAVAILABLE: acamera_metadata_enum_acamera_flash_state = 0; @@ -18260,13 +18517,13 @@ pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_FIRED: acamera_metadata_enum_acamera_flash_state = 3; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_PARTIAL: acamera_metadata_enum_acamera_flash_state = 4; -pub type acamera_metadata_enum_acamera_flash_state = u32; +pub type acamera_metadata_enum_acamera_flash_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_state as acamera_metadata_enum_android_flash_state_t; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_FALSE: acamera_metadata_enum_acamera_flash_info_available = 0; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_TRUE: acamera_metadata_enum_acamera_flash_info_available = 1; -pub type acamera_metadata_enum_acamera_flash_info_available = u32; +pub type acamera_metadata_enum_acamera_flash_info_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_info_available as acamera_metadata_enum_android_flash_info_available_t; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_OFF: acamera_metadata_enum_acamera_hot_pixel_mode = 0; @@ -18274,11 +18531,11 @@ pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_FA acamera_metadata_enum_acamera_hot_pixel_mode = 1; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_hot_pixel_mode = 2; -pub type acamera_metadata_enum_acamera_hot_pixel_mode = u32; +pub type acamera_metadata_enum_acamera_hot_pixel_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_hot_pixel_mode as acamera_metadata_enum_android_hot_pixel_mode_t; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_optical_stabilization_mode as acamera_metadata_enum_android_lens_optical_stabilization_mode_t; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_FRONT: acamera_metadata_enum_acamera_lens_facing = 0; @@ -18286,23 +18543,24 @@ pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_BACK: acamera_metadata_enum_acamera_lens_facing = 1; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_EXTERNAL: acamera_metadata_enum_acamera_lens_facing = 2; -pub type acamera_metadata_enum_acamera_lens_facing = u32; +pub type acamera_metadata_enum_acamera_lens_facing = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_facing as acamera_metadata_enum_android_lens_facing_t; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_STATIONARY: acamera_metadata_enum_acamera_lens_state = 0; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_MOVING: acamera_metadata_enum_acamera_lens_state = 1; -pub type acamera_metadata_enum_acamera_lens_state = u32; +pub type acamera_metadata_enum_acamera_lens_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_state as acamera_metadata_enum_android_lens_state_t; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_PRIMARY_CAMERA : acamera_metadata_enum_acamera_lens_pose_reference = 0 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_GYROSCOPE : acamera_metadata_enum_acamera_lens_pose_reference = 1 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_UNDEFINED : acamera_metadata_enum_acamera_lens_pose_reference = 2 ; -pub type acamera_metadata_enum_acamera_lens_pose_reference = u32; +pub type acamera_metadata_enum_acamera_lens_pose_reference = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_pose_reference as acamera_metadata_enum_android_lens_pose_reference_t; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 0 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 1 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 2 ; -pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = u32; +pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_info_focus_distance_calibration as acamera_metadata_enum_android_lens_info_focus_distance_calibration_t; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_OFF: acamera_metadata_enum_acamera_noise_reduction_mode = 0; @@ -18311,7 +18569,7 @@ pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUC pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_noise_reduction_mode = 2 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_MINIMAL : acamera_metadata_enum_acamera_noise_reduction_mode = 3 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_noise_reduction_mode = 4 ; -pub type acamera_metadata_enum_acamera_noise_reduction_mode = u32; +pub type acamera_metadata_enum_acamera_noise_reduction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_noise_reduction_mode as acamera_metadata_enum_android_noise_reduction_mode_t; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE : acamera_metadata_enum_acamera_request_available_capabilities = 0 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 1 ; @@ -18325,15 +18583,17 @@ pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_R pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MONOCHROME : acamera_metadata_enum_acamera_request_available_capabilities = 12 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA : acamera_metadata_enum_acamera_request_available_capabilities = 13 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA : acamera_metadata_enum_acamera_request_available_capabilities = 14 ; -pub type acamera_metadata_enum_acamera_request_available_capabilities = u32; +pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 16 ; +pub type acamera_metadata_enum_acamera_request_available_capabilities = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_request_available_capabilities as acamera_metadata_enum_android_request_available_capabilities_t; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations as acamera_metadata_enum_android_scaler_available_stream_configurations_t; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_CENTER_ONLY : acamera_metadata_enum_acamera_scaler_cropping_type = 0 ; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_FREEFORM : acamera_metadata_enum_acamera_scaler_cropping_type = 1 ; -pub type acamera_metadata_enum_acamera_scaler_cropping_type = u32; +pub type acamera_metadata_enum_acamera_scaler_cropping_type = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_cropping_type as acamera_metadata_enum_android_scaler_cropping_type_t; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PREVIEW : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RECORD : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 1 ; @@ -18344,8 +18604,32 @@ pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_conf pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_LOW_LATENCY_SNAPSHOT : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 6 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PUBLIC_END : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 7 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VENDOR_START : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 24 ; -pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations as acamera_metadata_enum_android_scaler_available_recommended_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_NONE : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 0 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_90: + acamera_metadata_enum_acamera_scaler_rotate_and_crop = 1; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_180 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 2 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_270 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 3 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_AUTO : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 4 ; +pub type acamera_metadata_enum_acamera_scaler_rotate_and_crop = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_rotate_and_crop as acamera_metadata_enum_android_scaler_rotate_and_crop_t; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 0 ; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 1 ; +pub type acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations as acamera_metadata_enum_android_scaler_physical_camera_multi_resolution_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution as acamera_metadata_enum_android_scaler_available_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_FALSE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 0 ; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_TRUE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 1 ; +pub type acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported as acamera_metadata_enum_android_scaler_multi_resolution_stream_supported_t; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 1 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 2 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 3 ; @@ -18365,7 +18649,7 @@ pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SEN pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D75 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 22 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D50 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 23 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 24 ; -pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = u32; +pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_reference_illuminant1 as acamera_metadata_enum_android_sensor_reference_illuminant1_t; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_OFF : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 0 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_SOLID_COLOR : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 1 ; @@ -18373,8 +18657,17 @@ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 3 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_PN9 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 4 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_CUSTOM1 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 256 ; -pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = u32; +pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_test_pattern_mode as acamera_metadata_enum_android_sensor_test_pattern_mode_t; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_DEFAULT: + acamera_metadata_enum_acamera_sensor_pixel_mode = 0; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION : acamera_metadata_enum_acamera_sensor_pixel_mode = 1 ; +pub type acamera_metadata_enum_acamera_sensor_pixel_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_pixel_mode as acamera_metadata_enum_android_sensor_pixel_mode_t; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_TRUE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 0 ; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_FALSE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 1 ; +pub type acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_raw_binning_factor_used as acamera_metadata_enum_android_sensor_raw_binning_factor_used_t; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 1 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 2 ; @@ -18382,15 +18675,16 @@ pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACA pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 4 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 5 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 6 ; -pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = u32; +pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement as acamera_metadata_enum_android_sensor_info_color_filter_arrangement_t; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = u32; +pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_timestamp_source as acamera_metadata_enum_android_sensor_info_timestamp_source_t; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_FALSE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_TRUE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = u32; +pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_lens_shading_applied as acamera_metadata_enum_android_sensor_info_lens_shading_applied_t; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_OFF: acamera_metadata_enum_acamera_shading_mode = 0; @@ -18398,29 +18692,29 @@ pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_FAST: acamera_metadata_enum_acamera_shading_mode = 1; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_shading_mode = 2; -pub type acamera_metadata_enum_acamera_shading_mode = u32; +pub type acamera_metadata_enum_acamera_shading_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_shading_mode as acamera_metadata_enum_android_shading_mode_t; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_OFF : acamera_metadata_enum_acamera_statistics_face_detect_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_SIMPLE : acamera_metadata_enum_acamera_statistics_face_detect_mode = 1 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_FULL : acamera_metadata_enum_acamera_statistics_face_detect_mode = 2 ; -pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_face_detect_mode as acamera_metadata_enum_android_statistics_face_detect_mode_t; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode as acamera_metadata_enum_android_statistics_hot_pixel_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_NONE : acamera_metadata_enum_acamera_statistics_scene_flicker = 0 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_50HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 1 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_60HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 2 ; -pub type acamera_metadata_enum_acamera_statistics_scene_flicker = u32; +pub type acamera_metadata_enum_acamera_statistics_scene_flicker = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_scene_flicker as acamera_metadata_enum_android_statistics_scene_flicker_t; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_lens_shading_map_mode as acamera_metadata_enum_android_statistics_lens_shading_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_OFF : acamera_metadata_enum_acamera_statistics_ois_data_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_ON : acamera_metadata_enum_acamera_statistics_ois_data_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_ois_data_mode as acamera_metadata_enum_android_statistics_ois_data_mode_t; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_CONTRAST_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 0; @@ -18432,76 +18726,95 @@ pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_GAMMA_ acamera_metadata_enum_acamera_tonemap_mode = 3; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_PRESET_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 4; -pub type acamera_metadata_enum_acamera_tonemap_mode = u32; +pub type acamera_metadata_enum_acamera_tonemap_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_mode as acamera_metadata_enum_android_tonemap_mode_t; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_SRGB: acamera_metadata_enum_acamera_tonemap_preset_curve = 0; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_REC709: acamera_metadata_enum_acamera_tonemap_preset_curve = 1; -pub type acamera_metadata_enum_acamera_tonemap_preset_curve = u32; +pub type acamera_metadata_enum_acamera_tonemap_preset_curve = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_preset_curve as acamera_metadata_enum_android_tonemap_preset_curve_t; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED : acamera_metadata_enum_acamera_info_supported_hardware_level = 0 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_FULL : acamera_metadata_enum_acamera_info_supported_hardware_level = 1 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY : acamera_metadata_enum_acamera_info_supported_hardware_level = 2 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_3 : acamera_metadata_enum_acamera_info_supported_hardware_level = 3 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL : acamera_metadata_enum_acamera_info_supported_hardware_level = 4 ; -pub type acamera_metadata_enum_acamera_info_supported_hardware_level = u32; +pub type acamera_metadata_enum_acamera_info_supported_hardware_level = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_info_supported_hardware_level as acamera_metadata_enum_android_info_supported_hardware_level_t; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_OFF: acamera_metadata_enum_acamera_black_level_lock = 0; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_ON: acamera_metadata_enum_acamera_black_level_lock = 1; -pub type acamera_metadata_enum_acamera_black_level_lock = u32; +pub type acamera_metadata_enum_acamera_black_level_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_black_level_lock as acamera_metadata_enum_android_black_level_lock_t; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_CONVERGING: acamera_metadata_enum_acamera_sync_frame_number = -1; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_UNKNOWN: acamera_metadata_enum_acamera_sync_frame_number = -2; -pub type acamera_metadata_enum_acamera_sync_frame_number = i32; +pub type acamera_metadata_enum_acamera_sync_frame_number = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_frame_number as acamera_metadata_enum_android_sync_frame_number_t; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_PER_FRAME_CONTROL : acamera_metadata_enum_acamera_sync_max_latency = 0 ; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_UNKNOWN: acamera_metadata_enum_acamera_sync_max_latency = -1; -pub type acamera_metadata_enum_acamera_sync_max_latency = i32; +pub type acamera_metadata_enum_acamera_sync_max_latency = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_max_latency as acamera_metadata_enum_android_sync_max_latency_t; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations as acamera_metadata_enum_android_depth_available_depth_stream_configurations_t; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_FALSE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 0 ; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_TRUE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 1 ; -pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = u32; +pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_depth_is_exclusive as acamera_metadata_enum_android_depth_depth_is_exclusive_t; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_t; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_depth_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_maximum_resolution_t; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 0 ; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 1 ; -pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = u32; +pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type as acamera_metadata_enum_android_logical_multi_camera_sensor_sync_type_t; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_OFF : acamera_metadata_enum_acamera_distortion_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_FAST : acamera_metadata_enum_acamera_distortion_correction_mode = 1 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_distortion_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_distortion_correction_mode = u32; +pub type acamera_metadata_enum_acamera_distortion_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_distortion_correction_mode as acamera_metadata_enum_android_distortion_correction_mode_t; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations as acamera_metadata_enum_android_heic_available_heic_stream_configurations_t; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution as acamera_metadata_enum_android_heic_available_heic_stream_configurations_maximum_resolution_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_53 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_53 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_53 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_53 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_53 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_53 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_53 = 6; -pub type _bindgen_ty_53 = u32; +pub const ACAMERA_TYPE_BYTE: ::std::os::raw::c_uint = 0; +pub const ACAMERA_TYPE_INT32: ::std::os::raw::c_uint = 1; +pub const ACAMERA_TYPE_FLOAT: ::std::os::raw::c_uint = 2; +pub const ACAMERA_TYPE_INT64: ::std::os::raw::c_uint = 3; +pub const ACAMERA_TYPE_DOUBLE: ::std::os::raw::c_uint = 4; +pub const ACAMERA_TYPE_RATIONAL: ::std::os::raw::c_uint = 5; +pub const ACAMERA_NUM_TYPES: ::std::os::raw::c_uint = 6; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -18556,13 +18869,12 @@ pub struct ACameraMetadata_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_entry__bindgen_ty_1 { - pub u8: *mut u8, - pub i32: *mut i32, + pub u8_: *mut u8, + pub i32_: *mut i32, pub f: *mut f32, - pub i64: *mut i64, + pub i64_: *mut i64, pub d: *mut f64, pub r: *mut ACameraMetadata_rational, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { @@ -18581,26 +18893,27 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ as usize + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ as usize + &(*(::std::ptr::null::())).i32_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -18617,14 +18930,15 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ as usize + &(*(::std::ptr::null::())).i64_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -18716,13 +19030,12 @@ pub struct ACameraMetadata_const_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_const_entry__bindgen_ty_1 { - pub u8: *const u8, - pub i32: *const i32, + pub u8_: *const u8, + pub i32_: *const i32, pub f: *const f32, - pub i64: *const i64, + pub i64_: *const i64, pub d: *const f64, pub r: *const ACameraMetadata_rational, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { @@ -18744,7 +19057,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, @@ -18752,12 +19065,12 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ + &(*(::std::ptr::null::())).i32_ as *const _ as usize }, 0usize, @@ -18765,7 +19078,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -18783,7 +19096,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ + &(*(::std::ptr::null::())).i64_ as *const _ as usize }, 0usize, @@ -18791,7 +19104,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -19179,9 +19492,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_54 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_54 = 1; -pub type _bindgen_ty_54 = u32; +pub const CAPTURE_FAILURE_REASON_FLUSHED: ::std::os::raw::c_uint = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -19432,8 +19745,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_55 = -1; -pub type _bindgen_ty_55 = i32; +pub const CAPTURE_SEQUENCE_ID_NONE: ::std::os::raw::c_int = -1; +pub type _bindgen_ty_54 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -19743,12 +20056,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_56 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_56 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_56 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_56 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_56 = 5; -pub type _bindgen_ty_56 = u32; +pub const ERROR_CAMERA_IN_USE: ::std::os::raw::c_uint = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: ::std::os::raw::c_uint = 2; +pub const ERROR_CAMERA_DISABLED: ::std::os::raw::c_uint = 3; +pub const ERROR_CAMERA_DEVICE: ::std::os::raw::c_uint = 4; +pub const ERROR_CAMERA_SERVICE: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_55 = ::std::os::raw::c_uint; pub type ACameraDevice_StateCallback = ::std::option::Option< unsafe extern "C" fn(context: *mut ::std::os::raw::c_void, device: *mut ACameraDevice), >; @@ -19831,7 +20144,7 @@ pub const ACameraDevice_request_template_TEMPLATE_VIDEO_SNAPSHOT: ACameraDevice_ pub const ACameraDevice_request_template_TEMPLATE_ZERO_SHUTTER_LAG: ACameraDevice_request_template = 5; pub const ACameraDevice_request_template_TEMPLATE_MANUAL: ACameraDevice_request_template = 6; -pub type ACameraDevice_request_template = u32; +pub type ACameraDevice_request_template = ::std::os::raw::c_uint; extern "C" { pub fn ACameraDevice_createCaptureRequest( device: *const ACameraDevice, @@ -20189,7 +20502,7 @@ pub const media_status_t_AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED: media_status_t = pub const media_status_t_AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE: media_status_t = -30003; pub const media_status_t_AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE: media_status_t = -30004; pub const media_status_t_AMEDIA_IMGREADER_IMAGE_NOT_LOCKED: media_status_t = -30005; -pub type media_status_t = i32; +pub type media_status_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImage { @@ -20212,7 +20525,7 @@ pub const AIMAGE_FORMATS_AIMAGE_FORMAT_PRIVATE: AIMAGE_FORMATS = 34; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_Y8: AIMAGE_FORMATS = 538982489; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_HEIC: AIMAGE_FORMATS = 1212500294; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_DEPTH_JPEG: AIMAGE_FORMATS = 1768253795; -pub type AIMAGE_FORMATS = u32; +pub type AIMAGE_FORMATS = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImageCropRect { diff --git a/ndk-sys/src/ffi_arm.rs b/ndk-sys/src/ffi_arm.rs index 9431fe6c..3241f454 100644 --- a/ndk-sys/src/ffi_arm.rs +++ b/ndk-sys/src/ffi_arm.rs @@ -1,18 +1,17 @@ -/* automatically generated by rust-bindgen */ +/* automatically generated by rust-bindgen 0.59.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] -pub struct __BindgenBitfieldUnit { +pub struct __BindgenBitfieldUnit { storage: Storage, - align: [Align; 0], } -impl __BindgenBitfieldUnit { +impl __BindgenBitfieldUnit { #[inline] pub const fn new(storage: Storage) -> Self { - Self { storage, align: [] } + Self { storage } } } -impl __BindgenBitfieldUnit +impl __BindgenBitfieldUnit where Storage: AsRef<[u8]> + AsMut<[u8]>, { @@ -84,10 +83,11 @@ where pub const __BIONIC__: u32 = 1; pub const __WORDSIZE: u32 = 32; pub const __bos_level: u32 = 0; -pub const __NDK_MAJOR__: u32 = 21; -pub const __NDK_MINOR__: u32 = 1; -pub const __NDK_BETA__: u32 = 3; -pub const __NDK_BUILD__: u32 = 6363665; +pub const __ANDROID_NDK__: u32 = 1; +pub const __NDK_MAJOR__: u32 = 23; +pub const __NDK_MINOR__: u32 = 0; +pub const __NDK_BETA__: u32 = 0; +pub const __NDK_BUILD__: u32 = 7599858; pub const __NDK_CANARY__: u32 = 0; pub const __ANDROID_API_FUTURE__: u32 = 10000; pub const __ANDROID_API__: u32 = 10000; @@ -107,6 +107,7 @@ pub const __ANDROID_API_O_MR1__: u32 = 27; pub const __ANDROID_API_P__: u32 = 28; pub const __ANDROID_API_Q__: u32 = 29; pub const __ANDROID_API_R__: u32 = 30; +pub const __ANDROID_API_S__: u32 = 31; pub const WCHAR_MIN: u8 = 0u8; pub const INT8_MIN: i32 = -128; pub const INT8_MAX: u32 = 127; @@ -286,7 +287,6 @@ pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\0"; pub const SCNxFAST64: &'static [u8; 4usize] = b"llx\0"; pub const SCNxMAX: &'static [u8; 3usize] = b"jx\0"; pub const AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT: u32 = 8; -pub const _K_SS_MAXSIZE: u32 = 128; pub const O_DIRECTORY: u32 = 16384; pub const O_NOFOLLOW: u32 = 32768; pub const O_DIRECT: u32 = 65536; @@ -431,6 +431,8 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; pub const SOCK_IOC_TYPE: u32 = 137; pub const SIOCADDRT: u32 = 35083; pub const SIOCDELRT: u32 = 35084; @@ -725,6 +727,7 @@ pub const __WCLONE: u32 = 2147483648; pub const P_ALL: u32 = 0; pub const P_PID: u32 = 1; pub const P_PGID: u32 = 2; +pub const P_PIDFD: u32 = 3; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -742,9 +745,19 @@ pub const L_ctermid: u32 = 1024; pub const STRUCT_MALLINFO_DECLARED: u32 = 1; pub const M_DECAY_TIME: i32 = -100; pub const M_PURGE: i32 = -101; +pub const M_MEMTAG_TUNING: i32 = -102; +pub const M_MEMTAG_TUNING_BUFFER_OVERFLOW: u32 = 0; +pub const M_MEMTAG_TUNING_UAF: u32 = 1; +pub const M_THREAD_DISABLE_MEM_INIT: i32 = -103; +pub const M_CACHE_COUNT_MAX: i32 = -200; +pub const M_CACHE_SIZE_MAX: i32 = -201; +pub const M_TSDS_COUNT_MAX: i32 = -202; +pub const M_BIONIC_ZERO_INIT: i32 = -203; +pub const M_BIONIC_SET_HEAP_TAGGING_LEVEL: i32 = -204; pub const EXIT_FAILURE: u32 = 1; pub const EXIT_SUCCESS: u32 = 0; pub const RAND_MAX: u32 = 2147483647; +pub const __NNAPI_FL5_MIN_ANDROID_API__: u32 = 31; pub const NR_OPEN: u32 = 1024; pub const NGROUPS_MAX: u32 = 65536; pub const ARG_MAX: u32 = 131072; @@ -1022,19 +1035,21 @@ pub const SIGSYS: u32 = 31; pub const SIGUNUSED: u32 = 31; pub const __SIGRTMIN: u32 = 32; pub const SIGSWI: u32 = 32; +pub const SA_THIRTYTWO: u32 = 33554432; +pub const SA_RESTORER: u32 = 67108864; +pub const MINSIGSTKSZ: u32 = 2048; +pub const SIGSTKSZ: u32 = 8192; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; pub const SA_SIGINFO: u32 = 4; -pub const SA_THIRTYTWO: u32 = 33554432; -pub const SA_RESTORER: u32 = 67108864; +pub const SA_UNSUPPORTED: u32 = 1024; +pub const SA_EXPOSE_TAGBITS: u32 = 2048; pub const SA_ONSTACK: u32 = 134217728; pub const SA_RESTART: u32 = 268435456; pub const SA_NODEFER: u32 = 1073741824; pub const SA_RESETHAND: u32 = 2147483648; pub const SA_NOMASK: u32 = 1073741824; pub const SA_ONESHOT: u32 = 2147483648; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; pub const SIG_BLOCK: u32 = 0; pub const SIG_UNBLOCK: u32 = 1; pub const SIG_SETMASK: u32 = 2; @@ -1084,7 +1099,9 @@ pub const SEGV_PKUERR: u32 = 4; pub const SEGV_ACCADI: u32 = 5; pub const SEGV_ADIDERR: u32 = 6; pub const SEGV_ADIPERR: u32 = 7; -pub const NSIGSEGV: u32 = 7; +pub const SEGV_MTEAERR: u32 = 8; +pub const SEGV_MTESERR: u32 = 9; +pub const NSIGSEGV: u32 = 9; pub const BUS_ADRALN: u32 = 1; pub const BUS_ADRERR: u32 = 2; pub const BUS_OBJERR: u32 = 3; @@ -1096,7 +1113,8 @@ pub const TRAP_TRACE: u32 = 2; pub const TRAP_BRANCH: u32 = 3; pub const TRAP_HWBKPT: u32 = 4; pub const TRAP_UNK: u32 = 5; -pub const NSIGTRAP: u32 = 5; +pub const TRAP_PERF: u32 = 6; +pub const NSIGTRAP: u32 = 6; pub const CLD_EXITED: u32 = 1; pub const CLD_KILLED: u32 = 2; pub const CLD_DUMPED: u32 = 3; @@ -1112,7 +1130,8 @@ pub const POLL_PRI: u32 = 5; pub const POLL_HUP: u32 = 6; pub const NSIGPOLL: u32 = 6; pub const SYS_SECCOMP: u32 = 1; -pub const NSIGSYS: u32 = 1; +pub const SYS_USER_DISPATCH: u32 = 2; +pub const NSIGSYS: u32 = 2; pub const EMT_TAGOVF: u32 = 1; pub const NSIGEMT: u32 = 1; pub const SIGEV_SIGNAL: u32 = 0; @@ -1302,6 +1321,7 @@ fn bindgen_test_layout___kernel_fsid_t() { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -1615,11 +1635,11 @@ pub struct AAssetDir { pub struct AAsset { _unused: [u8; 0], } -pub const AASSET_MODE_UNKNOWN: _bindgen_ty_1 = 0; -pub const AASSET_MODE_RANDOM: _bindgen_ty_1 = 1; -pub const AASSET_MODE_STREAMING: _bindgen_ty_1 = 2; -pub const AASSET_MODE_BUFFER: _bindgen_ty_1 = 3; -pub type _bindgen_ty_1 = u32; +pub const AASSET_MODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AASSET_MODE_RANDOM: ::std::os::raw::c_uint = 1; +pub const AASSET_MODE_STREAMING: ::std::os::raw::c_uint = 2; +pub const AASSET_MODE_BUFFER: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_1 = ::std::os::raw::c_uint; extern "C" { pub fn AAssetManager_openDir( mgr: *mut AAssetManager, @@ -1744,7 +1764,6 @@ pub union jvalue { pub f: jfloat, pub d: jdouble, pub l: jobject, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_jvalue() { @@ -1808,7 +1827,7 @@ pub const jobjectRefType_JNIInvalidRefType: jobjectRefType = 0; pub const jobjectRefType_JNILocalRefType: jobjectRefType = 1; pub const jobjectRefType_JNIGlobalRefType: jobjectRefType = 2; pub const jobjectRefType_JNIWeakGlobalRefType: jobjectRefType = 3; -pub type jobjectRefType = u32; +pub type jobjectRefType = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JNINativeMethod { @@ -6270,26 +6289,26 @@ extern "C" { extern "C" { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } -pub const ANDROID_BITMAP_RESULT_SUCCESS: _bindgen_ty_2 = 0; -pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: _bindgen_ty_2 = -1; -pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: _bindgen_ty_2 = -2; -pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: _bindgen_ty_2 = -3; -pub type _bindgen_ty_2 = i32; +pub const ANDROID_BITMAP_RESULT_SUCCESS: ::std::os::raw::c_int = 0; +pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: ::std::os::raw::c_int = -1; +pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: ::std::os::raw::c_int = -2; +pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: ::std::os::raw::c_int = -3; +pub type _bindgen_ty_2 = ::std::os::raw::c_int; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_NONE: AndroidBitmapFormat = 0; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_8888: AndroidBitmapFormat = 1; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGB_565: AndroidBitmapFormat = 4; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_4444: AndroidBitmapFormat = 7; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_A_8: AndroidBitmapFormat = 8; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_F16: AndroidBitmapFormat = 9; -pub type AndroidBitmapFormat = u32; -pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: _bindgen_ty_3 = 0; -pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: _bindgen_ty_3 = 1; -pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: _bindgen_ty_3 = 2; -pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: _bindgen_ty_3 = 3; -pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: _bindgen_ty_3 = 0; -pub type _bindgen_ty_3 = u32; -pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: _bindgen_ty_4 = -2147483648; -pub type _bindgen_ty_4 = i32; +pub type AndroidBitmapFormat = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: ::std::os::raw::c_uint = 0; +pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: ::std::os::raw::c_uint = 1; +pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: ::std::os::raw::c_uint = 2; +pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: ::std::os::raw::c_uint = 3; +pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: ::std::os::raw::c_uint = 0; +pub type _bindgen_ty_3 = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: ::std::os::raw::c_int = -2147483648; +pub type _bindgen_ty_4 = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AndroidBitmapInfo { @@ -6390,7 +6409,7 @@ pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSY: AndroidBitmapCompressFormat = 3; pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSLESS: AndroidBitmapCompressFormat = 4; -pub type AndroidBitmapCompressFormat = u32; +pub type AndroidBitmapCompressFormat = ::std::os::raw::c_uint; pub type AndroidBitmap_CompressWriteFunc = ::std::option::Option< unsafe extern "C" fn( userContext: *mut ::std::os::raw::c_void, @@ -6487,93 +6506,93 @@ extern "C" { pub struct AConfiguration { _unused: [u8; 0], } -pub const ACONFIGURATION_ORIENTATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_ORIENTATION_PORT: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_ORIENTATION_LAND: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_ORIENTATION_SQUARE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_TOUCHSCREEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_TOUCHSCREEN_FINGER: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_DENSITY_DEFAULT: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_DENSITY_LOW: _bindgen_ty_5 = 120; -pub const ACONFIGURATION_DENSITY_MEDIUM: _bindgen_ty_5 = 160; -pub const ACONFIGURATION_DENSITY_TV: _bindgen_ty_5 = 213; -pub const ACONFIGURATION_DENSITY_HIGH: _bindgen_ty_5 = 240; -pub const ACONFIGURATION_DENSITY_XHIGH: _bindgen_ty_5 = 320; -pub const ACONFIGURATION_DENSITY_XXHIGH: _bindgen_ty_5 = 480; -pub const ACONFIGURATION_DENSITY_XXXHIGH: _bindgen_ty_5 = 640; -pub const ACONFIGURATION_DENSITY_ANY: _bindgen_ty_5 = 65534; -pub const ACONFIGURATION_DENSITY_NONE: _bindgen_ty_5 = 65535; -pub const ACONFIGURATION_KEYBOARD_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYBOARD_NOKEYS: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYBOARD_QWERTY: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYBOARD_12KEY: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVIGATION_NONAV: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVIGATION_DPAD: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_NAVIGATION_TRACKBALL: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_WHEEL: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_KEYSHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYSHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYSHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYSHIDDEN_SOFT: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENSIZE_SMALL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENSIZE_NORMAL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_LARGE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_SCREENSIZE_XLARGE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_SCREENLONG_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENLONG_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENLONG_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENROUND_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENROUND_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENROUND_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_HDR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_HDR_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_HDR_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_TYPE_DESK: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_CAR: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: _bindgen_ty_5 = 5; -pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: _bindgen_ty_5 = 6; -pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: _bindgen_ty_5 = 7; -pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_NIGHT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_NIGHT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_LTR: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_LAYOUTDIR_RTL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_MCC: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_MNC: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_LOCALE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_TOUCHSCREEN: _bindgen_ty_5 = 8; -pub const ACONFIGURATION_KEYBOARD: _bindgen_ty_5 = 16; -pub const ACONFIGURATION_KEYBOARD_HIDDEN: _bindgen_ty_5 = 32; -pub const ACONFIGURATION_NAVIGATION: _bindgen_ty_5 = 64; -pub const ACONFIGURATION_ORIENTATION: _bindgen_ty_5 = 128; -pub const ACONFIGURATION_DENSITY: _bindgen_ty_5 = 256; -pub const ACONFIGURATION_SCREEN_SIZE: _bindgen_ty_5 = 512; -pub const ACONFIGURATION_VERSION: _bindgen_ty_5 = 1024; -pub const ACONFIGURATION_SCREEN_LAYOUT: _bindgen_ty_5 = 2048; -pub const ACONFIGURATION_UI_MODE: _bindgen_ty_5 = 4096; -pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: _bindgen_ty_5 = 8192; -pub const ACONFIGURATION_LAYOUTDIR: _bindgen_ty_5 = 16384; -pub const ACONFIGURATION_SCREEN_ROUND: _bindgen_ty_5 = 32768; -pub const ACONFIGURATION_COLOR_MODE: _bindgen_ty_5 = 65536; -pub const ACONFIGURATION_MNC_ZERO: _bindgen_ty_5 = 65535; -pub type _bindgen_ty_5 = u32; +pub const ACONFIGURATION_ORIENTATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_ORIENTATION_PORT: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_ORIENTATION_LAND: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_ORIENTATION_SQUARE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_TOUCHSCREEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_TOUCHSCREEN_FINGER: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_DENSITY_DEFAULT: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_DENSITY_LOW: ::std::os::raw::c_uint = 120; +pub const ACONFIGURATION_DENSITY_MEDIUM: ::std::os::raw::c_uint = 160; +pub const ACONFIGURATION_DENSITY_TV: ::std::os::raw::c_uint = 213; +pub const ACONFIGURATION_DENSITY_HIGH: ::std::os::raw::c_uint = 240; +pub const ACONFIGURATION_DENSITY_XHIGH: ::std::os::raw::c_uint = 320; +pub const ACONFIGURATION_DENSITY_XXHIGH: ::std::os::raw::c_uint = 480; +pub const ACONFIGURATION_DENSITY_XXXHIGH: ::std::os::raw::c_uint = 640; +pub const ACONFIGURATION_DENSITY_ANY: ::std::os::raw::c_uint = 65534; +pub const ACONFIGURATION_DENSITY_NONE: ::std::os::raw::c_uint = 65535; +pub const ACONFIGURATION_KEYBOARD_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYBOARD_NOKEYS: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYBOARD_QWERTY: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYBOARD_12KEY: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVIGATION_NONAV: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVIGATION_DPAD: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_NAVIGATION_TRACKBALL: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_WHEEL: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_KEYSHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYSHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYSHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYSHIDDEN_SOFT: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENSIZE_SMALL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENSIZE_NORMAL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_LARGE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_SCREENSIZE_XLARGE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_SCREENLONG_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENLONG_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENLONG_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENROUND_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENROUND_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENROUND_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_HDR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_HDR_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_HDR_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_TYPE_DESK: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_CAR: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: ::std::os::raw::c_uint = 5; +pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: ::std::os::raw::c_uint = 6; +pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: ::std::os::raw::c_uint = 7; +pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_NIGHT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_NIGHT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_LTR: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_LAYOUTDIR_RTL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_MCC: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_MNC: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_LOCALE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_TOUCHSCREEN: ::std::os::raw::c_uint = 8; +pub const ACONFIGURATION_KEYBOARD: ::std::os::raw::c_uint = 16; +pub const ACONFIGURATION_KEYBOARD_HIDDEN: ::std::os::raw::c_uint = 32; +pub const ACONFIGURATION_NAVIGATION: ::std::os::raw::c_uint = 64; +pub const ACONFIGURATION_ORIENTATION: ::std::os::raw::c_uint = 128; +pub const ACONFIGURATION_DENSITY: ::std::os::raw::c_uint = 256; +pub const ACONFIGURATION_SCREEN_SIZE: ::std::os::raw::c_uint = 512; +pub const ACONFIGURATION_VERSION: ::std::os::raw::c_uint = 1024; +pub const ACONFIGURATION_SCREEN_LAYOUT: ::std::os::raw::c_uint = 2048; +pub const ACONFIGURATION_UI_MODE: ::std::os::raw::c_uint = 4096; +pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: ::std::os::raw::c_uint = 8192; +pub const ACONFIGURATION_LAYOUTDIR: ::std::os::raw::c_uint = 16384; +pub const ACONFIGURATION_SCREEN_ROUND: ::std::os::raw::c_uint = 32768; +pub const ACONFIGURATION_COLOR_MODE: ::std::os::raw::c_uint = 65536; +pub const ACONFIGURATION_MNC_ZERO: ::std::os::raw::c_uint = 65535; +pub type _bindgen_ty_5 = ::std::os::raw::c_uint; extern "C" { pub fn AConfiguration_new() -> *mut AConfiguration; } @@ -6821,18 +6840,18 @@ pub const ADataSpace_ADATASPACE_BT2020: ADataSpace = 147193856; pub const ADataSpace_ADATASPACE_BT709: ADataSpace = 281083904; pub const ADataSpace_ADATASPACE_DCI_P3: ADataSpace = 155844608; pub const ADataSpace_ADATASPACE_SRGB_LINEAR: ADataSpace = 138477568; -pub type ADataSpace = u32; -pub const ANDROID_DLEXT_RESERVED_ADDRESS: _bindgen_ty_6 = 1; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: _bindgen_ty_6 = 2; -pub const ANDROID_DLEXT_WRITE_RELRO: _bindgen_ty_6 = 4; -pub const ANDROID_DLEXT_USE_RELRO: _bindgen_ty_6 = 8; -pub const ANDROID_DLEXT_USE_LIBRARY_FD: _bindgen_ty_6 = 16; -pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: _bindgen_ty_6 = 32; -pub const ANDROID_DLEXT_FORCE_LOAD: _bindgen_ty_6 = 64; -pub const ANDROID_DLEXT_USE_NAMESPACE: _bindgen_ty_6 = 512; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: _bindgen_ty_6 = 1024; -pub const ANDROID_DLEXT_VALID_FLAG_BITS: _bindgen_ty_6 = 1663; -pub type _bindgen_ty_6 = u32; +pub type ADataSpace = ::std::os::raw::c_uint; +pub const ANDROID_DLEXT_RESERVED_ADDRESS: ::std::os::raw::c_uint = 1; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: ::std::os::raw::c_uint = 2; +pub const ANDROID_DLEXT_WRITE_RELRO: ::std::os::raw::c_uint = 4; +pub const ANDROID_DLEXT_USE_RELRO: ::std::os::raw::c_uint = 8; +pub const ANDROID_DLEXT_USE_LIBRARY_FD: ::std::os::raw::c_uint = 16; +pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: ::std::os::raw::c_uint = 32; +pub const ANDROID_DLEXT_FORCE_LOAD: ::std::os::raw::c_uint = 64; +pub const ANDROID_DLEXT_USE_NAMESPACE: ::std::os::raw::c_uint = 512; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: ::std::os::raw::c_uint = 1024; +pub const ANDROID_DLEXT_VALID_FLAG_BITS: ::std::os::raw::c_uint = 1663; +pub type _bindgen_ty_6 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct android_namespace_t { @@ -7022,7 +7041,7 @@ pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: AHard 52; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_S8_UINT: AHardwareBuffer_Format = 53; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: AHardwareBuffer_Format = 35; -pub type AHardwareBuffer_Format = u32; +pub type AHardwareBuffer_Format = ::std::os::raw::c_uint; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_NEVER: AHardwareBuffer_UsageFlags = 0; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_RARELY: @@ -7099,7 +7118,7 @@ pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_18: AHardwareB 4611686018427387904; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_19: AHardwareBuffer_UsageFlags = 9223372036854775808; -pub type AHardwareBuffer_UsageFlags = u64; +pub type AHardwareBuffer_UsageFlags = ::std::os::raw::c_ulonglong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AHardwareBuffer_Desc { @@ -7325,15 +7344,6 @@ extern "C" { outVirtualAddress: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } -extern "C" { - pub fn AHardwareBuffer_lockPlanes( - buffer: *mut AHardwareBuffer, - usage: u64, - fence: i32, - rect: *const ARect, - outPlanes: *mut AHardwareBuffer_Planes, - ) -> ::std::os::raw::c_int; -} extern "C" { pub fn AHardwareBuffer_unlock( buffer: *mut AHardwareBuffer, @@ -7352,6 +7362,15 @@ extern "C" { outBuffer: *mut *mut AHardwareBuffer, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_lockPlanes( + buffer: *mut AHardwareBuffer, + usage: u64, + fence: i32, + rect: *const ARect, + outPlanes: *mut AHardwareBuffer_Planes, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_isSupported(desc: *const AHardwareBuffer_Desc) -> ::std::os::raw::c_int; } @@ -7366,6 +7385,12 @@ extern "C" { outBytesPerStride: *mut i32, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_getId( + buffer: *const AHardwareBuffer, + outId: *mut u64, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_fromHardwareBuffer( env: *mut JNIEnv, @@ -7378,296 +7403,296 @@ extern "C" { hardwareBuffer: *mut AHardwareBuffer, ) -> jobject; } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_7 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_7 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_7 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_7 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_7 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_7 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_7 = 6; -pub const AKEYCODE_0: _bindgen_ty_7 = 7; -pub const AKEYCODE_1: _bindgen_ty_7 = 8; -pub const AKEYCODE_2: _bindgen_ty_7 = 9; -pub const AKEYCODE_3: _bindgen_ty_7 = 10; -pub const AKEYCODE_4: _bindgen_ty_7 = 11; -pub const AKEYCODE_5: _bindgen_ty_7 = 12; -pub const AKEYCODE_6: _bindgen_ty_7 = 13; -pub const AKEYCODE_7: _bindgen_ty_7 = 14; -pub const AKEYCODE_8: _bindgen_ty_7 = 15; -pub const AKEYCODE_9: _bindgen_ty_7 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_7 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_7 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_7 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_7 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_7 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_7 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_7 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_7 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_7 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_7 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_7 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_7 = 28; -pub const AKEYCODE_A: _bindgen_ty_7 = 29; -pub const AKEYCODE_B: _bindgen_ty_7 = 30; -pub const AKEYCODE_C: _bindgen_ty_7 = 31; -pub const AKEYCODE_D: _bindgen_ty_7 = 32; -pub const AKEYCODE_E: _bindgen_ty_7 = 33; -pub const AKEYCODE_F: _bindgen_ty_7 = 34; -pub const AKEYCODE_G: _bindgen_ty_7 = 35; -pub const AKEYCODE_H: _bindgen_ty_7 = 36; -pub const AKEYCODE_I: _bindgen_ty_7 = 37; -pub const AKEYCODE_J: _bindgen_ty_7 = 38; -pub const AKEYCODE_K: _bindgen_ty_7 = 39; -pub const AKEYCODE_L: _bindgen_ty_7 = 40; -pub const AKEYCODE_M: _bindgen_ty_7 = 41; -pub const AKEYCODE_N: _bindgen_ty_7 = 42; -pub const AKEYCODE_O: _bindgen_ty_7 = 43; -pub const AKEYCODE_P: _bindgen_ty_7 = 44; -pub const AKEYCODE_Q: _bindgen_ty_7 = 45; -pub const AKEYCODE_R: _bindgen_ty_7 = 46; -pub const AKEYCODE_S: _bindgen_ty_7 = 47; -pub const AKEYCODE_T: _bindgen_ty_7 = 48; -pub const AKEYCODE_U: _bindgen_ty_7 = 49; -pub const AKEYCODE_V: _bindgen_ty_7 = 50; -pub const AKEYCODE_W: _bindgen_ty_7 = 51; -pub const AKEYCODE_X: _bindgen_ty_7 = 52; -pub const AKEYCODE_Y: _bindgen_ty_7 = 53; -pub const AKEYCODE_Z: _bindgen_ty_7 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_7 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_7 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_7 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_7 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_7 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_7 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_7 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_7 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_7 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_7 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_7 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_7 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_7 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_7 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_7 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_7 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_7 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_7 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_7 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_7 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_7 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_7 = 76; -pub const AKEYCODE_AT: _bindgen_ty_7 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_7 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_7 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_7 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_7 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_7 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_7 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_7 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_7 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_7 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_7 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_7 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_7 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_7 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_7 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_7 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_7 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_7 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_7 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_7 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_7 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_7 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_7 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_7 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_7 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_7 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_7 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_7 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_7 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_7 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_7 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_7 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_7 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_7 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_7 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_7 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_7 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_7 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_7 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_7 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_7 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_7 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_7 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_7 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_7 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_7 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_7 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_7 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_7 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_7 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_7 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_7 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_7 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_7 = 130; -pub const AKEYCODE_F1: _bindgen_ty_7 = 131; -pub const AKEYCODE_F2: _bindgen_ty_7 = 132; -pub const AKEYCODE_F3: _bindgen_ty_7 = 133; -pub const AKEYCODE_F4: _bindgen_ty_7 = 134; -pub const AKEYCODE_F5: _bindgen_ty_7 = 135; -pub const AKEYCODE_F6: _bindgen_ty_7 = 136; -pub const AKEYCODE_F7: _bindgen_ty_7 = 137; -pub const AKEYCODE_F8: _bindgen_ty_7 = 138; -pub const AKEYCODE_F9: _bindgen_ty_7 = 139; -pub const AKEYCODE_F10: _bindgen_ty_7 = 140; -pub const AKEYCODE_F11: _bindgen_ty_7 = 141; -pub const AKEYCODE_F12: _bindgen_ty_7 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_7 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_7 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_7 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_7 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_7 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_7 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_7 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_7 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_7 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_7 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_7 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_7 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_7 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_7 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_7 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_7 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_7 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_7 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_7 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_7 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_7 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_7 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_7 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_7 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_7 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_7 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_7 = 169; -pub const AKEYCODE_TV: _bindgen_ty_7 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_7 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_7 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_7 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_7 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_7 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_7 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_7 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_7 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_7 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_7 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_7 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_7 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_7 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_7 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_7 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_7 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_7 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_7 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_7 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_7 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_7 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_7 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_7 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_7 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_7 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_7 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_7 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_7 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_7 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_7 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_7 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_7 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_7 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_7 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_7 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_7 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_7 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_7 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_7 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_7 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_7 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_7 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_7 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_7 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_7 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_7 = 216; -pub const AKEYCODE_RO: _bindgen_ty_7 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_7 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_7 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_7 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_7 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_7 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_7 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_7 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_7 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_7 = 226; -pub const AKEYCODE_11: _bindgen_ty_7 = 227; -pub const AKEYCODE_12: _bindgen_ty_7 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_7 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_7 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_7 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_7 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_7 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_7 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_7 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_7 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_7 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_7 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_7 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_7 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_7 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_7 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_7 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_7 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_7 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_7 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_7 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_7 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_7 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_7 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_7 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_7 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_7 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_7 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_7 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_7 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_7 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_7 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_7 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_7 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_7 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_7 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_7 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_7 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_7 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_7 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_7 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_7 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_7 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_7 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_7 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_7 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_7 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_7 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_7 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_7 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_7 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_7 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_7 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_7 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_7 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_7 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_7 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_7 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_7 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_7 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_7 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_7 = 288; -pub type _bindgen_ty_7 = u32; +pub const AKEYCODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AKEYCODE_SOFT_LEFT: ::std::os::raw::c_uint = 1; +pub const AKEYCODE_SOFT_RIGHT: ::std::os::raw::c_uint = 2; +pub const AKEYCODE_HOME: ::std::os::raw::c_uint = 3; +pub const AKEYCODE_BACK: ::std::os::raw::c_uint = 4; +pub const AKEYCODE_CALL: ::std::os::raw::c_uint = 5; +pub const AKEYCODE_ENDCALL: ::std::os::raw::c_uint = 6; +pub const AKEYCODE_0: ::std::os::raw::c_uint = 7; +pub const AKEYCODE_1: ::std::os::raw::c_uint = 8; +pub const AKEYCODE_2: ::std::os::raw::c_uint = 9; +pub const AKEYCODE_3: ::std::os::raw::c_uint = 10; +pub const AKEYCODE_4: ::std::os::raw::c_uint = 11; +pub const AKEYCODE_5: ::std::os::raw::c_uint = 12; +pub const AKEYCODE_6: ::std::os::raw::c_uint = 13; +pub const AKEYCODE_7: ::std::os::raw::c_uint = 14; +pub const AKEYCODE_8: ::std::os::raw::c_uint = 15; +pub const AKEYCODE_9: ::std::os::raw::c_uint = 16; +pub const AKEYCODE_STAR: ::std::os::raw::c_uint = 17; +pub const AKEYCODE_POUND: ::std::os::raw::c_uint = 18; +pub const AKEYCODE_DPAD_UP: ::std::os::raw::c_uint = 19; +pub const AKEYCODE_DPAD_DOWN: ::std::os::raw::c_uint = 20; +pub const AKEYCODE_DPAD_LEFT: ::std::os::raw::c_uint = 21; +pub const AKEYCODE_DPAD_RIGHT: ::std::os::raw::c_uint = 22; +pub const AKEYCODE_DPAD_CENTER: ::std::os::raw::c_uint = 23; +pub const AKEYCODE_VOLUME_UP: ::std::os::raw::c_uint = 24; +pub const AKEYCODE_VOLUME_DOWN: ::std::os::raw::c_uint = 25; +pub const AKEYCODE_POWER: ::std::os::raw::c_uint = 26; +pub const AKEYCODE_CAMERA: ::std::os::raw::c_uint = 27; +pub const AKEYCODE_CLEAR: ::std::os::raw::c_uint = 28; +pub const AKEYCODE_A: ::std::os::raw::c_uint = 29; +pub const AKEYCODE_B: ::std::os::raw::c_uint = 30; +pub const AKEYCODE_C: ::std::os::raw::c_uint = 31; +pub const AKEYCODE_D: ::std::os::raw::c_uint = 32; +pub const AKEYCODE_E: ::std::os::raw::c_uint = 33; +pub const AKEYCODE_F: ::std::os::raw::c_uint = 34; +pub const AKEYCODE_G: ::std::os::raw::c_uint = 35; +pub const AKEYCODE_H: ::std::os::raw::c_uint = 36; +pub const AKEYCODE_I: ::std::os::raw::c_uint = 37; +pub const AKEYCODE_J: ::std::os::raw::c_uint = 38; +pub const AKEYCODE_K: ::std::os::raw::c_uint = 39; +pub const AKEYCODE_L: ::std::os::raw::c_uint = 40; +pub const AKEYCODE_M: ::std::os::raw::c_uint = 41; +pub const AKEYCODE_N: ::std::os::raw::c_uint = 42; +pub const AKEYCODE_O: ::std::os::raw::c_uint = 43; +pub const AKEYCODE_P: ::std::os::raw::c_uint = 44; +pub const AKEYCODE_Q: ::std::os::raw::c_uint = 45; +pub const AKEYCODE_R: ::std::os::raw::c_uint = 46; +pub const AKEYCODE_S: ::std::os::raw::c_uint = 47; +pub const AKEYCODE_T: ::std::os::raw::c_uint = 48; +pub const AKEYCODE_U: ::std::os::raw::c_uint = 49; +pub const AKEYCODE_V: ::std::os::raw::c_uint = 50; +pub const AKEYCODE_W: ::std::os::raw::c_uint = 51; +pub const AKEYCODE_X: ::std::os::raw::c_uint = 52; +pub const AKEYCODE_Y: ::std::os::raw::c_uint = 53; +pub const AKEYCODE_Z: ::std::os::raw::c_uint = 54; +pub const AKEYCODE_COMMA: ::std::os::raw::c_uint = 55; +pub const AKEYCODE_PERIOD: ::std::os::raw::c_uint = 56; +pub const AKEYCODE_ALT_LEFT: ::std::os::raw::c_uint = 57; +pub const AKEYCODE_ALT_RIGHT: ::std::os::raw::c_uint = 58; +pub const AKEYCODE_SHIFT_LEFT: ::std::os::raw::c_uint = 59; +pub const AKEYCODE_SHIFT_RIGHT: ::std::os::raw::c_uint = 60; +pub const AKEYCODE_TAB: ::std::os::raw::c_uint = 61; +pub const AKEYCODE_SPACE: ::std::os::raw::c_uint = 62; +pub const AKEYCODE_SYM: ::std::os::raw::c_uint = 63; +pub const AKEYCODE_EXPLORER: ::std::os::raw::c_uint = 64; +pub const AKEYCODE_ENVELOPE: ::std::os::raw::c_uint = 65; +pub const AKEYCODE_ENTER: ::std::os::raw::c_uint = 66; +pub const AKEYCODE_DEL: ::std::os::raw::c_uint = 67; +pub const AKEYCODE_GRAVE: ::std::os::raw::c_uint = 68; +pub const AKEYCODE_MINUS: ::std::os::raw::c_uint = 69; +pub const AKEYCODE_EQUALS: ::std::os::raw::c_uint = 70; +pub const AKEYCODE_LEFT_BRACKET: ::std::os::raw::c_uint = 71; +pub const AKEYCODE_RIGHT_BRACKET: ::std::os::raw::c_uint = 72; +pub const AKEYCODE_BACKSLASH: ::std::os::raw::c_uint = 73; +pub const AKEYCODE_SEMICOLON: ::std::os::raw::c_uint = 74; +pub const AKEYCODE_APOSTROPHE: ::std::os::raw::c_uint = 75; +pub const AKEYCODE_SLASH: ::std::os::raw::c_uint = 76; +pub const AKEYCODE_AT: ::std::os::raw::c_uint = 77; +pub const AKEYCODE_NUM: ::std::os::raw::c_uint = 78; +pub const AKEYCODE_HEADSETHOOK: ::std::os::raw::c_uint = 79; +pub const AKEYCODE_FOCUS: ::std::os::raw::c_uint = 80; +pub const AKEYCODE_PLUS: ::std::os::raw::c_uint = 81; +pub const AKEYCODE_MENU: ::std::os::raw::c_uint = 82; +pub const AKEYCODE_NOTIFICATION: ::std::os::raw::c_uint = 83; +pub const AKEYCODE_SEARCH: ::std::os::raw::c_uint = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: ::std::os::raw::c_uint = 85; +pub const AKEYCODE_MEDIA_STOP: ::std::os::raw::c_uint = 86; +pub const AKEYCODE_MEDIA_NEXT: ::std::os::raw::c_uint = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: ::std::os::raw::c_uint = 88; +pub const AKEYCODE_MEDIA_REWIND: ::std::os::raw::c_uint = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: ::std::os::raw::c_uint = 90; +pub const AKEYCODE_MUTE: ::std::os::raw::c_uint = 91; +pub const AKEYCODE_PAGE_UP: ::std::os::raw::c_uint = 92; +pub const AKEYCODE_PAGE_DOWN: ::std::os::raw::c_uint = 93; +pub const AKEYCODE_PICTSYMBOLS: ::std::os::raw::c_uint = 94; +pub const AKEYCODE_SWITCH_CHARSET: ::std::os::raw::c_uint = 95; +pub const AKEYCODE_BUTTON_A: ::std::os::raw::c_uint = 96; +pub const AKEYCODE_BUTTON_B: ::std::os::raw::c_uint = 97; +pub const AKEYCODE_BUTTON_C: ::std::os::raw::c_uint = 98; +pub const AKEYCODE_BUTTON_X: ::std::os::raw::c_uint = 99; +pub const AKEYCODE_BUTTON_Y: ::std::os::raw::c_uint = 100; +pub const AKEYCODE_BUTTON_Z: ::std::os::raw::c_uint = 101; +pub const AKEYCODE_BUTTON_L1: ::std::os::raw::c_uint = 102; +pub const AKEYCODE_BUTTON_R1: ::std::os::raw::c_uint = 103; +pub const AKEYCODE_BUTTON_L2: ::std::os::raw::c_uint = 104; +pub const AKEYCODE_BUTTON_R2: ::std::os::raw::c_uint = 105; +pub const AKEYCODE_BUTTON_THUMBL: ::std::os::raw::c_uint = 106; +pub const AKEYCODE_BUTTON_THUMBR: ::std::os::raw::c_uint = 107; +pub const AKEYCODE_BUTTON_START: ::std::os::raw::c_uint = 108; +pub const AKEYCODE_BUTTON_SELECT: ::std::os::raw::c_uint = 109; +pub const AKEYCODE_BUTTON_MODE: ::std::os::raw::c_uint = 110; +pub const AKEYCODE_ESCAPE: ::std::os::raw::c_uint = 111; +pub const AKEYCODE_FORWARD_DEL: ::std::os::raw::c_uint = 112; +pub const AKEYCODE_CTRL_LEFT: ::std::os::raw::c_uint = 113; +pub const AKEYCODE_CTRL_RIGHT: ::std::os::raw::c_uint = 114; +pub const AKEYCODE_CAPS_LOCK: ::std::os::raw::c_uint = 115; +pub const AKEYCODE_SCROLL_LOCK: ::std::os::raw::c_uint = 116; +pub const AKEYCODE_META_LEFT: ::std::os::raw::c_uint = 117; +pub const AKEYCODE_META_RIGHT: ::std::os::raw::c_uint = 118; +pub const AKEYCODE_FUNCTION: ::std::os::raw::c_uint = 119; +pub const AKEYCODE_SYSRQ: ::std::os::raw::c_uint = 120; +pub const AKEYCODE_BREAK: ::std::os::raw::c_uint = 121; +pub const AKEYCODE_MOVE_HOME: ::std::os::raw::c_uint = 122; +pub const AKEYCODE_MOVE_END: ::std::os::raw::c_uint = 123; +pub const AKEYCODE_INSERT: ::std::os::raw::c_uint = 124; +pub const AKEYCODE_FORWARD: ::std::os::raw::c_uint = 125; +pub const AKEYCODE_MEDIA_PLAY: ::std::os::raw::c_uint = 126; +pub const AKEYCODE_MEDIA_PAUSE: ::std::os::raw::c_uint = 127; +pub const AKEYCODE_MEDIA_CLOSE: ::std::os::raw::c_uint = 128; +pub const AKEYCODE_MEDIA_EJECT: ::std::os::raw::c_uint = 129; +pub const AKEYCODE_MEDIA_RECORD: ::std::os::raw::c_uint = 130; +pub const AKEYCODE_F1: ::std::os::raw::c_uint = 131; +pub const AKEYCODE_F2: ::std::os::raw::c_uint = 132; +pub const AKEYCODE_F3: ::std::os::raw::c_uint = 133; +pub const AKEYCODE_F4: ::std::os::raw::c_uint = 134; +pub const AKEYCODE_F5: ::std::os::raw::c_uint = 135; +pub const AKEYCODE_F6: ::std::os::raw::c_uint = 136; +pub const AKEYCODE_F7: ::std::os::raw::c_uint = 137; +pub const AKEYCODE_F8: ::std::os::raw::c_uint = 138; +pub const AKEYCODE_F9: ::std::os::raw::c_uint = 139; +pub const AKEYCODE_F10: ::std::os::raw::c_uint = 140; +pub const AKEYCODE_F11: ::std::os::raw::c_uint = 141; +pub const AKEYCODE_F12: ::std::os::raw::c_uint = 142; +pub const AKEYCODE_NUM_LOCK: ::std::os::raw::c_uint = 143; +pub const AKEYCODE_NUMPAD_0: ::std::os::raw::c_uint = 144; +pub const AKEYCODE_NUMPAD_1: ::std::os::raw::c_uint = 145; +pub const AKEYCODE_NUMPAD_2: ::std::os::raw::c_uint = 146; +pub const AKEYCODE_NUMPAD_3: ::std::os::raw::c_uint = 147; +pub const AKEYCODE_NUMPAD_4: ::std::os::raw::c_uint = 148; +pub const AKEYCODE_NUMPAD_5: ::std::os::raw::c_uint = 149; +pub const AKEYCODE_NUMPAD_6: ::std::os::raw::c_uint = 150; +pub const AKEYCODE_NUMPAD_7: ::std::os::raw::c_uint = 151; +pub const AKEYCODE_NUMPAD_8: ::std::os::raw::c_uint = 152; +pub const AKEYCODE_NUMPAD_9: ::std::os::raw::c_uint = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: ::std::os::raw::c_uint = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: ::std::os::raw::c_uint = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: ::std::os::raw::c_uint = 156; +pub const AKEYCODE_NUMPAD_ADD: ::std::os::raw::c_uint = 157; +pub const AKEYCODE_NUMPAD_DOT: ::std::os::raw::c_uint = 158; +pub const AKEYCODE_NUMPAD_COMMA: ::std::os::raw::c_uint = 159; +pub const AKEYCODE_NUMPAD_ENTER: ::std::os::raw::c_uint = 160; +pub const AKEYCODE_NUMPAD_EQUALS: ::std::os::raw::c_uint = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: ::std::os::raw::c_uint = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: ::std::os::raw::c_uint = 163; +pub const AKEYCODE_VOLUME_MUTE: ::std::os::raw::c_uint = 164; +pub const AKEYCODE_INFO: ::std::os::raw::c_uint = 165; +pub const AKEYCODE_CHANNEL_UP: ::std::os::raw::c_uint = 166; +pub const AKEYCODE_CHANNEL_DOWN: ::std::os::raw::c_uint = 167; +pub const AKEYCODE_ZOOM_IN: ::std::os::raw::c_uint = 168; +pub const AKEYCODE_ZOOM_OUT: ::std::os::raw::c_uint = 169; +pub const AKEYCODE_TV: ::std::os::raw::c_uint = 170; +pub const AKEYCODE_WINDOW: ::std::os::raw::c_uint = 171; +pub const AKEYCODE_GUIDE: ::std::os::raw::c_uint = 172; +pub const AKEYCODE_DVR: ::std::os::raw::c_uint = 173; +pub const AKEYCODE_BOOKMARK: ::std::os::raw::c_uint = 174; +pub const AKEYCODE_CAPTIONS: ::std::os::raw::c_uint = 175; +pub const AKEYCODE_SETTINGS: ::std::os::raw::c_uint = 176; +pub const AKEYCODE_TV_POWER: ::std::os::raw::c_uint = 177; +pub const AKEYCODE_TV_INPUT: ::std::os::raw::c_uint = 178; +pub const AKEYCODE_STB_POWER: ::std::os::raw::c_uint = 179; +pub const AKEYCODE_STB_INPUT: ::std::os::raw::c_uint = 180; +pub const AKEYCODE_AVR_POWER: ::std::os::raw::c_uint = 181; +pub const AKEYCODE_AVR_INPUT: ::std::os::raw::c_uint = 182; +pub const AKEYCODE_PROG_RED: ::std::os::raw::c_uint = 183; +pub const AKEYCODE_PROG_GREEN: ::std::os::raw::c_uint = 184; +pub const AKEYCODE_PROG_YELLOW: ::std::os::raw::c_uint = 185; +pub const AKEYCODE_PROG_BLUE: ::std::os::raw::c_uint = 186; +pub const AKEYCODE_APP_SWITCH: ::std::os::raw::c_uint = 187; +pub const AKEYCODE_BUTTON_1: ::std::os::raw::c_uint = 188; +pub const AKEYCODE_BUTTON_2: ::std::os::raw::c_uint = 189; +pub const AKEYCODE_BUTTON_3: ::std::os::raw::c_uint = 190; +pub const AKEYCODE_BUTTON_4: ::std::os::raw::c_uint = 191; +pub const AKEYCODE_BUTTON_5: ::std::os::raw::c_uint = 192; +pub const AKEYCODE_BUTTON_6: ::std::os::raw::c_uint = 193; +pub const AKEYCODE_BUTTON_7: ::std::os::raw::c_uint = 194; +pub const AKEYCODE_BUTTON_8: ::std::os::raw::c_uint = 195; +pub const AKEYCODE_BUTTON_9: ::std::os::raw::c_uint = 196; +pub const AKEYCODE_BUTTON_10: ::std::os::raw::c_uint = 197; +pub const AKEYCODE_BUTTON_11: ::std::os::raw::c_uint = 198; +pub const AKEYCODE_BUTTON_12: ::std::os::raw::c_uint = 199; +pub const AKEYCODE_BUTTON_13: ::std::os::raw::c_uint = 200; +pub const AKEYCODE_BUTTON_14: ::std::os::raw::c_uint = 201; +pub const AKEYCODE_BUTTON_15: ::std::os::raw::c_uint = 202; +pub const AKEYCODE_BUTTON_16: ::std::os::raw::c_uint = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: ::std::os::raw::c_uint = 204; +pub const AKEYCODE_MANNER_MODE: ::std::os::raw::c_uint = 205; +pub const AKEYCODE_3D_MODE: ::std::os::raw::c_uint = 206; +pub const AKEYCODE_CONTACTS: ::std::os::raw::c_uint = 207; +pub const AKEYCODE_CALENDAR: ::std::os::raw::c_uint = 208; +pub const AKEYCODE_MUSIC: ::std::os::raw::c_uint = 209; +pub const AKEYCODE_CALCULATOR: ::std::os::raw::c_uint = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: ::std::os::raw::c_uint = 211; +pub const AKEYCODE_EISU: ::std::os::raw::c_uint = 212; +pub const AKEYCODE_MUHENKAN: ::std::os::raw::c_uint = 213; +pub const AKEYCODE_HENKAN: ::std::os::raw::c_uint = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: ::std::os::raw::c_uint = 215; +pub const AKEYCODE_YEN: ::std::os::raw::c_uint = 216; +pub const AKEYCODE_RO: ::std::os::raw::c_uint = 217; +pub const AKEYCODE_KANA: ::std::os::raw::c_uint = 218; +pub const AKEYCODE_ASSIST: ::std::os::raw::c_uint = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: ::std::os::raw::c_uint = 220; +pub const AKEYCODE_BRIGHTNESS_UP: ::std::os::raw::c_uint = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: ::std::os::raw::c_uint = 222; +pub const AKEYCODE_SLEEP: ::std::os::raw::c_uint = 223; +pub const AKEYCODE_WAKEUP: ::std::os::raw::c_uint = 224; +pub const AKEYCODE_PAIRING: ::std::os::raw::c_uint = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: ::std::os::raw::c_uint = 226; +pub const AKEYCODE_11: ::std::os::raw::c_uint = 227; +pub const AKEYCODE_12: ::std::os::raw::c_uint = 228; +pub const AKEYCODE_LAST_CHANNEL: ::std::os::raw::c_uint = 229; +pub const AKEYCODE_TV_DATA_SERVICE: ::std::os::raw::c_uint = 230; +pub const AKEYCODE_VOICE_ASSIST: ::std::os::raw::c_uint = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: ::std::os::raw::c_uint = 232; +pub const AKEYCODE_TV_TELETEXT: ::std::os::raw::c_uint = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: ::std::os::raw::c_uint = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: ::std::os::raw::c_uint = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: ::std::os::raw::c_uint = 236; +pub const AKEYCODE_TV_SATELLITE: ::std::os::raw::c_uint = 237; +pub const AKEYCODE_TV_SATELLITE_BS: ::std::os::raw::c_uint = 238; +pub const AKEYCODE_TV_SATELLITE_CS: ::std::os::raw::c_uint = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: ::std::os::raw::c_uint = 240; +pub const AKEYCODE_TV_NETWORK: ::std::os::raw::c_uint = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: ::std::os::raw::c_uint = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: ::std::os::raw::c_uint = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: ::std::os::raw::c_uint = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: ::std::os::raw::c_uint = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: ::std::os::raw::c_uint = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: ::std::os::raw::c_uint = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: ::std::os::raw::c_uint = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: ::std::os::raw::c_uint = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: ::std::os::raw::c_uint = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: ::std::os::raw::c_uint = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: ::std::os::raw::c_uint = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: ::std::os::raw::c_uint = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: ::std::os::raw::c_uint = 254; +pub const AKEYCODE_TV_ZOOM_MODE: ::std::os::raw::c_uint = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: ::std::os::raw::c_uint = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: ::std::os::raw::c_uint = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: ::std::os::raw::c_uint = 258; +pub const AKEYCODE_HELP: ::std::os::raw::c_uint = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: ::std::os::raw::c_uint = 260; +pub const AKEYCODE_NAVIGATE_NEXT: ::std::os::raw::c_uint = 261; +pub const AKEYCODE_NAVIGATE_IN: ::std::os::raw::c_uint = 262; +pub const AKEYCODE_NAVIGATE_OUT: ::std::os::raw::c_uint = 263; +pub const AKEYCODE_STEM_PRIMARY: ::std::os::raw::c_uint = 264; +pub const AKEYCODE_STEM_1: ::std::os::raw::c_uint = 265; +pub const AKEYCODE_STEM_2: ::std::os::raw::c_uint = 266; +pub const AKEYCODE_STEM_3: ::std::os::raw::c_uint = 267; +pub const AKEYCODE_DPAD_UP_LEFT: ::std::os::raw::c_uint = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: ::std::os::raw::c_uint = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: ::std::os::raw::c_uint = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: ::std::os::raw::c_uint = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: ::std::os::raw::c_uint = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: ::std::os::raw::c_uint = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: ::std::os::raw::c_uint = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: ::std::os::raw::c_uint = 275; +pub const AKEYCODE_SOFT_SLEEP: ::std::os::raw::c_uint = 276; +pub const AKEYCODE_CUT: ::std::os::raw::c_uint = 277; +pub const AKEYCODE_COPY: ::std::os::raw::c_uint = 278; +pub const AKEYCODE_PASTE: ::std::os::raw::c_uint = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: ::std::os::raw::c_uint = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: ::std::os::raw::c_uint = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: ::std::os::raw::c_uint = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: ::std::os::raw::c_uint = 283; +pub const AKEYCODE_ALL_APPS: ::std::os::raw::c_uint = 284; +pub const AKEYCODE_REFRESH: ::std::os::raw::c_uint = 285; +pub const AKEYCODE_THUMBS_UP: ::std::os::raw::c_uint = 286; +pub const AKEYCODE_THUMBS_DOWN: ::std::os::raw::c_uint = 287; +pub const AKEYCODE_PROFILE_SWITCH: ::std::os::raw::c_uint = 288; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -7676,28 +7701,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_8 = 1; -pub type _bindgen_ty_8 = u32; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; extern "C" { pub fn ALooper_prepare(opts: ::std::os::raw::c_int) -> *mut ALooper; } -pub const ALOOPER_POLL_WAKE: _bindgen_ty_9 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_9 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_9 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_9 = -4; -pub type _bindgen_ty_9 = i32; +pub const ALOOPER_POLL_WAKE: ::std::os::raw::c_int = -1; +pub const ALOOPER_POLL_CALLBACK: ::std::os::raw::c_int = -2; +pub const ALOOPER_POLL_TIMEOUT: ::std::os::raw::c_int = -3; +pub const ALOOPER_POLL_ERROR: ::std::os::raw::c_int = -4; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn ALooper_acquire(looper: *mut ALooper); } extern "C" { pub fn ALooper_release(looper: *mut ALooper); } -pub const ALOOPER_EVENT_INPUT: _bindgen_ty_10 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_10 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_10 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_10 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_10 = 16; -pub type _bindgen_ty_10 = u32; +pub const ALOOPER_EVENT_INPUT: ::std::os::raw::c_uint = 1; +pub const ALOOPER_EVENT_OUTPUT: ::std::os::raw::c_uint = 2; +pub const ALOOPER_EVENT_ERROR: ::std::os::raw::c_uint = 4; +pub const ALOOPER_EVENT_HANGUP: ::std::os::raw::c_uint = 8; +pub const ALOOPER_EVENT_INVALID: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -7740,178 +7765,182 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_11 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_11 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_11 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_11 = 2; -pub type _bindgen_ty_11 = i32; -pub const AMETA_NONE: _bindgen_ty_12 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_12 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_12 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_12 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_12 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_12 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_12 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_12 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_12 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_12 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_12 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_12 = 16384; -pub const AMETA_META_ON: _bindgen_ty_12 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_12 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_12 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_12 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_12 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_12 = 4194304; -pub type _bindgen_ty_12 = u32; +pub const AKEY_STATE_UNKNOWN: ::std::os::raw::c_int = -1; +pub const AKEY_STATE_UP: ::std::os::raw::c_int = 0; +pub const AKEY_STATE_DOWN: ::std::os::raw::c_int = 1; +pub const AKEY_STATE_VIRTUAL: ::std::os::raw::c_int = 2; +pub type _bindgen_ty_11 = ::std::os::raw::c_int; +pub const AMETA_NONE: ::std::os::raw::c_uint = 0; +pub const AMETA_ALT_ON: ::std::os::raw::c_uint = 2; +pub const AMETA_ALT_LEFT_ON: ::std::os::raw::c_uint = 16; +pub const AMETA_ALT_RIGHT_ON: ::std::os::raw::c_uint = 32; +pub const AMETA_SHIFT_ON: ::std::os::raw::c_uint = 1; +pub const AMETA_SHIFT_LEFT_ON: ::std::os::raw::c_uint = 64; +pub const AMETA_SHIFT_RIGHT_ON: ::std::os::raw::c_uint = 128; +pub const AMETA_SYM_ON: ::std::os::raw::c_uint = 4; +pub const AMETA_FUNCTION_ON: ::std::os::raw::c_uint = 8; +pub const AMETA_CTRL_ON: ::std::os::raw::c_uint = 4096; +pub const AMETA_CTRL_LEFT_ON: ::std::os::raw::c_uint = 8192; +pub const AMETA_CTRL_RIGHT_ON: ::std::os::raw::c_uint = 16384; +pub const AMETA_META_ON: ::std::os::raw::c_uint = 65536; +pub const AMETA_META_LEFT_ON: ::std::os::raw::c_uint = 131072; +pub const AMETA_META_RIGHT_ON: ::std::os::raw::c_uint = 262144; +pub const AMETA_CAPS_LOCK_ON: ::std::os::raw::c_uint = 1048576; +pub const AMETA_NUM_LOCK_ON: ::std::os::raw::c_uint = 2097152; +pub const AMETA_SCROLL_LOCK_ON: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputEvent { _unused: [u8; 0], } -pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_13 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_13 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_13 = 3; -pub type _bindgen_ty_13 = u32; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_14 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_14 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_14 = 2; -pub type _bindgen_ty_14 = u32; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_15 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_15 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_15 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_15 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_15 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_15 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_15 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_15 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_15 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_15 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_15 = 1024; -pub type _bindgen_ty_15 = u32; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_16 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_16 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_16 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_16 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_16 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_16 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_16 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_16 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_16 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_16 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_16 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_16 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_16 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_16 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_16 = 12; -pub type _bindgen_ty_16 = u32; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_17 = 1; -pub type _bindgen_ty_17 = u32; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_18 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_18 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_18 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_18 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_18 = 8; -pub type _bindgen_ty_18 = u32; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_19 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_19 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_19 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_19 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_19 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_19 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_19 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_19 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_19 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_19 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_19 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_19 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_19 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_19 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_19 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_19 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_19 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_19 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_19 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_19 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_19 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_19 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_19 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_19 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_19 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_19 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_19 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_19 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_19 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_19 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_19 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_19 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_19 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_19 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_19 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_19 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_19 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_19 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_19 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_19 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_19 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_19 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_19 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_19 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_19 = 47; -pub type _bindgen_ty_19 = u32; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_20 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_20 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_20 = 64; -pub type _bindgen_ty_20 = u32; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_21 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_21 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_21 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_21 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_21 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_21 = 5; -pub type _bindgen_ty_21 = u32; -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_22 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_22 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_22 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_22 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_22 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_22 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_22 = 16; -pub type _bindgen_ty_22 = u32; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_23 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_23 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_23 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_23 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_23 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_23 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_23 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_23 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_23 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_23 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_23 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_23 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_23 = 16777232; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_23 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_23 = 4294967040; -pub type _bindgen_ty_23 = u32; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_24 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_24 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_24 = 2; -pub type _bindgen_ty_24 = u32; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_25 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_25 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_25 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_25 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_25 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_25 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_25 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_25 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_25 = 8; -pub type _bindgen_ty_25 = u32; +pub const AINPUT_EVENT_TYPE_KEY: ::std::os::raw::c_uint = 1; +pub const AINPUT_EVENT_TYPE_MOTION: ::std::os::raw::c_uint = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: ::std::os::raw::c_uint = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: ::std::os::raw::c_uint = 4; +pub const AINPUT_EVENT_TYPE_DRAG: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AKEY_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_FLAG_WOKE_HERE: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: ::std::os::raw::c_uint = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: ::std::os::raw::c_uint = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: ::std::os::raw::c_uint = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: ::std::os::raw::c_uint = 16; +pub const AKEY_EVENT_FLAG_CANCELED: ::std::os::raw::c_uint = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: ::std::os::raw::c_uint = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: ::std::os::raw::c_uint = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: ::std::os::raw::c_uint = 256; +pub const AKEY_EVENT_FLAG_TRACKING: ::std::os::raw::c_uint = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: ::std::os::raw::c_uint = 1024; +pub type _bindgen_ty_15 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_ACTION_MASK: ::std::os::raw::c_uint = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: ::std::os::raw::c_uint = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_ACTION_MOVE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_17 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_18 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_AXIS_X: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_AXIS_Y: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_AXIS_SIZE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_AXIS_Z: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_AXIS_RX: ::std::os::raw::c_uint = 12; +pub const AMOTION_EVENT_AXIS_RY: ::std::os::raw::c_uint = 13; +pub const AMOTION_EVENT_AXIS_RZ: ::std::os::raw::c_uint = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: ::std::os::raw::c_uint = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: ::std::os::raw::c_uint = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: ::std::os::raw::c_uint = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: ::std::os::raw::c_uint = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: ::std::os::raw::c_uint = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: ::std::os::raw::c_uint = 21; +pub const AMOTION_EVENT_AXIS_GAS: ::std::os::raw::c_uint = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: ::std::os::raw::c_uint = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: ::std::os::raw::c_uint = 24; +pub const AMOTION_EVENT_AXIS_TILT: ::std::os::raw::c_uint = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: ::std::os::raw::c_uint = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: ::std::os::raw::c_uint = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: ::std::os::raw::c_uint = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: ::std::os::raw::c_uint = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: ::std::os::raw::c_uint = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: ::std::os::raw::c_uint = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: ::std::os::raw::c_uint = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: ::std::os::raw::c_uint = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: ::std::os::raw::c_uint = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: ::std::os::raw::c_uint = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: ::std::os::raw::c_uint = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: ::std::os::raw::c_uint = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: ::std::os::raw::c_uint = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: ::std::os::raw::c_uint = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: ::std::os::raw::c_uint = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: ::std::os::raw::c_uint = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: ::std::os::raw::c_uint = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: ::std::os::raw::c_uint = 47; +pub type _bindgen_ty_19 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_BUTTON_BACK: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: ::std::os::raw::c_uint = 64; +pub type _bindgen_ty_20 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_21 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_CLASS_MASK: ::std::os::raw::c_uint = 255; +pub const AINPUT_SOURCE_CLASS_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: ::std::os::raw::c_uint = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: ::std::os::raw::c_uint = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: ::std::os::raw::c_uint = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: ::std::os::raw::c_uint = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_22 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_KEYBOARD: ::std::os::raw::c_uint = 257; +pub const AINPUT_SOURCE_DPAD: ::std::os::raw::c_uint = 513; +pub const AINPUT_SOURCE_GAMEPAD: ::std::os::raw::c_uint = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: ::std::os::raw::c_uint = 4098; +pub const AINPUT_SOURCE_MOUSE: ::std::os::raw::c_uint = 8194; +pub const AINPUT_SOURCE_STYLUS: ::std::os::raw::c_uint = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: ::std::os::raw::c_uint = 49154; +pub const AINPUT_SOURCE_TRACKBALL: ::std::os::raw::c_uint = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: ::std::os::raw::c_uint = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: ::std::os::raw::c_uint = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: ::std::os::raw::c_uint = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: ::std::os::raw::c_uint = 16777232; +pub const AINPUT_SOURCE_HDMI: ::std::os::raw::c_uint = 33554433; +pub const AINPUT_SOURCE_SENSOR: ::std::os::raw::c_uint = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: ::std::os::raw::c_uint = 4194304; +pub const AINPUT_SOURCE_ANY: ::std::os::raw::c_uint = 4294967040; +pub type _bindgen_ty_23 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: ::std::os::raw::c_uint = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_24 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: ::std::os::raw::c_uint = 0; +pub const AINPUT_MOTION_RANGE_Y: ::std::os::raw::c_uint = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AINPUT_MOTION_RANGE_SIZE: ::std::os::raw::c_uint = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_25 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -7921,6 +7950,9 @@ extern "C" { extern "C" { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } +extern "C" { + pub fn AInputEvent_release(event: *const AInputEvent); +} extern "C" { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } @@ -7945,6 +7977,9 @@ extern "C" { extern "C" { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } +extern "C" { + pub fn AKeyEvent_fromJava(env: *mut JNIEnv, keyEvent: jobject) -> *const AInputEvent; +} extern "C" { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } @@ -8141,6 +8176,9 @@ extern "C" { history_index: size_t, ) -> f32; } +extern "C" { + pub fn AMotionEvent_fromJava(env: *mut JNIEnv, motionEvent: jobject) -> *const AInputEvent; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputQueue { @@ -8183,7 +8221,7 @@ pub const android_LogPriority_ANDROID_LOG_WARN: android_LogPriority = 5; pub const android_LogPriority_ANDROID_LOG_ERROR: android_LogPriority = 6; pub const android_LogPriority_ANDROID_LOG_FATAL: android_LogPriority = 7; pub const android_LogPriority_ANDROID_LOG_SILENT: android_LogPriority = 8; -pub type android_LogPriority = u32; +pub type android_LogPriority = ::std::os::raw::c_uint; extern "C" { pub fn __android_log_write( prio: ::std::os::raw::c_int, @@ -8226,7 +8264,7 @@ pub const log_id_LOG_ID_SECURITY: log_id = 6; pub const log_id_LOG_ID_KERNEL: log_id = 7; pub const log_id_LOG_ID_MAX: log_id = 8; pub const log_id_LOG_ID_DEFAULT: log_id = 2147483647; -pub type log_id = u32; +pub type log_id = ::std::os::raw::c_uint; pub use self::log_id as log_id_t; extern "C" { pub fn __android_log_buf_write( @@ -8390,155 +8428,14 @@ extern "C" { extern "C" { pub fn __android_log_set_default_tag(tag: *const ::std::os::raw::c_char); } -pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sockaddr_storage__bindgen_ty_1 { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, - pub __align: *mut ::std::os::raw::c_void, - _bindgen_union_align: [u32; 32usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { - pub ss_family: __kernel_sa_family_t, - pub __data: [::std::os::raw::c_char; 126usize], -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!( - "Size of: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!( - "Alignment of ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).ss_family - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(ss_family) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__data - as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(__data) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__align as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1), - "::", - stringify!(__align) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(sockaddr_storage)) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct f_owner_ex { - pub type_: ::std::os::raw::c_int, - pub pid: __kernel_pid_t, -} -#[test] -fn bindgen_test_layout_f_owner_ex() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(f_owner_ex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(f_owner_ex)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(type_) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(pid) - ) - ); -} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct flock { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_off_t, - pub l_len: __kernel_off_t, - pub l_pid: __kernel_pid_t, + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock() { @@ -8608,9 +8505,9 @@ fn bindgen_test_layout_flock() { pub struct flock64 { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_loff_t, - pub l_len: __kernel_loff_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock64() { @@ -8677,6 +8574,45 @@ fn bindgen_test_layout_flock64() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct f_owner_ex { + pub type_: ::std::os::raw::c_int, + pub pid: __kernel_pid_t, +} +#[test] +fn bindgen_test_layout_f_owner_ex() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(f_owner_ex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(f_owner_ex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(pid) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct iovec { pub iov_base: *mut ::std::os::raw::c_void, pub iov_len: __kernel_size_t, @@ -8715,10 +8651,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_26 = 0; -pub const SHUT_WR: _bindgen_ty_26 = 1; -pub const SHUT_RDWR: _bindgen_ty_26 = 2; -pub type _bindgen_ty_26 = u32; +pub const SHUT_RD: ::std::os::raw::c_uint = 0; +pub const SHUT_WR: ::std::os::raw::c_uint = 1; +pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8728,34 +8664,134 @@ pub struct sockaddr { #[test] fn bindgen_test_layout_sockaddr() { assert_eq!( - ::std::mem::size_of::(), - 16usize, - concat!("Size of: ", stringify!(sockaddr)) + ::std::mem::size_of::(), + 16usize, + concat!("Size of: ", stringify!(sockaddr)) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(sockaddr)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_family) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_data) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_storage { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union sockaddr_storage__bindgen_ty_1 { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, + pub __align: *mut ::std::os::raw::c_void, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { + pub ss_family: sa_family_t, + pub __data: [::std::os::raw::c_char; 126usize], +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!( + "Size of: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!( + "Alignment of ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ss_family + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(ss_family) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__data + as *const _ as usize + }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(__data) + ) + ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) ); assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(sockaddr)) + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + unsafe { + &(*(::std::ptr::null::())).__align as *const _ as usize + }, 0usize, concat!( "Offset of field: ", - stringify!(sockaddr), + stringify!(sockaddr_storage__bindgen_ty_1), "::", - stringify!(sa_family) + stringify!(__align) ) ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage() { assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr), - "::", - stringify!(sa_data) - ) + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(sockaddr_storage)) ); } #[repr(C)] @@ -10259,6 +10295,11 @@ extern "C" { __fp: *mut FILE, ) -> ::std::os::raw::c_int; } +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_NONE: HeapTaggingLevel = 0; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_TBI: HeapTaggingLevel = 1; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_ASYNC: HeapTaggingLevel = 2; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_SYNC: HeapTaggingLevel = 3; +pub type HeapTaggingLevel = ::std::os::raw::c_uint; extern "C" { pub fn mallopt( __option: ::std::os::raw::c_int, @@ -10825,6 +10866,15 @@ extern "C" { extern "C" { pub fn android_setprocnetwork(network: net_handle_t) -> ::std::os::raw::c_int; } +extern "C" { + pub fn android_getprocnetwork(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_setprocdns(network: net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_getprocdns(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} extern "C" { pub fn android_getaddrinfofornetwork( network: net_handle_t, @@ -10882,7 +10932,7 @@ pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT16_ASYMM: OperandCode = 12; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_SYMM: OperandCode = 13; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED: OperandCode = 14; pub const OperandCode_ANEURALNETWORKS_MODEL: OperandCode = 15; -pub type OperandCode = u32; +pub type OperandCode = ::std::os::raw::c_uint; pub const OperationCode_ANEURALNETWORKS_ADD: OperationCode = 0; pub const OperationCode_ANEURALNETWORKS_AVERAGE_POOL_2D: OperationCode = 1; pub const OperationCode_ANEURALNETWORKS_CONCATENATION: OperationCode = 2; @@ -10985,25 +11035,31 @@ pub const OperationCode_ANEURALNETWORKS_ELU: OperationCode = 98; pub const OperationCode_ANEURALNETWORKS_HARD_SWISH: OperationCode = 99; pub const OperationCode_ANEURALNETWORKS_FILL: OperationCode = 100; pub const OperationCode_ANEURALNETWORKS_RANK: OperationCode = 101; -pub type OperationCode = u32; +pub type OperationCode = ::std::os::raw::c_uint; pub const FuseCode_ANEURALNETWORKS_FUSED_NONE: FuseCode = 0; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU: FuseCode = 1; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU1: FuseCode = 2; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU6: FuseCode = 3; -pub type FuseCode = u32; +pub type FuseCode = ::std::os::raw::c_uint; pub const PaddingCode_ANEURALNETWORKS_PADDING_SAME: PaddingCode = 1; pub const PaddingCode_ANEURALNETWORKS_PADDING_VALID: PaddingCode = 2; -pub type PaddingCode = u32; +pub type PaddingCode = ::std::os::raw::c_uint; pub const PreferenceCode_ANEURALNETWORKS_PREFER_LOW_POWER: PreferenceCode = 0; pub const PreferenceCode_ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER: PreferenceCode = 1; pub const PreferenceCode_ANEURALNETWORKS_PREFER_SUSTAINED_SPEED: PreferenceCode = 2; -pub type PreferenceCode = u32; +pub type PreferenceCode = ::std::os::raw::c_uint; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = 0; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = 1; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = 2; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = 3; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = 4; -pub type DeviceTypeCode = u32; +pub type DeviceTypeCode = ::std::os::raw::c_uint; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_1: FeatureLevelCode = 27; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_2: FeatureLevelCode = 28; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_3: FeatureLevelCode = 29; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_4: FeatureLevelCode = 30; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_5: FeatureLevelCode = 31; +pub type FeatureLevelCode = ::std::os::raw::c_uint; pub const ResultCode_ANEURALNETWORKS_NO_ERROR: ResultCode = 0; pub const ResultCode_ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = 1; pub const ResultCode_ANEURALNETWORKS_INCOMPLETE: ResultCode = 2; @@ -11019,21 +11075,21 @@ pub const ResultCode_ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = 11 pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = 12; pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = 13; pub const ResultCode_ANEURALNETWORKS_DEAD_OBJECT: ResultCode = 14; -pub type ResultCode = u32; -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_27 = 128; -pub type _bindgen_ty_27 = u32; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_28 = 32; -pub type _bindgen_ty_28 = u32; +pub type ResultCode = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: ::std::os::raw::c_uint = 128; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: ::std::os::raw::c_uint = 32; +pub type _bindgen_ty_28 = ::std::os::raw::c_uint; pub const DurationCode_ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = 0; pub const DurationCode_ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = 1; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = 2; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = 3; -pub type DurationCode = u32; +pub type DurationCode = ::std::os::raw::c_uint; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = 90; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = 100; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = 110; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = 100; -pub type PriorityCode = u32; +pub type PriorityCode = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANeuralNetworksMemory { @@ -11600,10 +11656,53 @@ extern "C" { event: *mut *mut ANeuralNetworksEvent, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn ANeuralNetworks_getRuntimeFeatureLevel() -> i64; +} +extern "C" { + pub fn ANeuralNetworksExecution_enableInputAndOutputPadding( + execution: *mut ANeuralNetworksExecution, + enable: bool, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksExecution_setReusable( + execution: *mut ANeuralNetworksExecution, + reusable: bool, + ) -> ::std::os::raw::c_int; +} pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBA_8888: ANativeWindow_LegacyFormat = 1; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBX_8888: ANativeWindow_LegacyFormat = 2; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGB_565: ANativeWindow_LegacyFormat = 4; -pub type ANativeWindow_LegacyFormat = u32; +pub type ANativeWindow_LegacyFormat = ::std::os::raw::c_uint; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_IDENTITY: ANativeWindowTransform = 0; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL: ANativeWindowTransform = 1; @@ -11612,7 +11711,7 @@ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL: ANativ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_90: ANativeWindowTransform = 4; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_180: ANativeWindowTransform = 3; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_270: ANativeWindowTransform = 7; -pub type ANativeWindowTransform = u32; +pub type ANativeWindowTransform = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeWindow { @@ -11743,9 +11842,10 @@ extern "C" { extern "C" { pub fn ANativeWindow_getBuffersDataSpace(window: *mut ANativeWindow) -> i32; } -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: _bindgen_ty_29 = 0; -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE: _bindgen_ty_29 = 1; -pub type _bindgen_ty_29 = u32; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: + ANativeWindow_FrameRateCompatibility = 0; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE : ANativeWindow_FrameRateCompatibility = 1 ; +pub type ANativeWindow_FrameRateCompatibility = ::std::os::raw::c_uint; extern "C" { pub fn ANativeWindow_setFrameRate( window: *mut ANativeWindow, @@ -11756,6 +11856,19 @@ extern "C" { extern "C" { pub fn ANativeWindow_tryAllocateBuffers(window: *mut ANativeWindow); } +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS: + ANativeWindow_ChangeFrameRateStrategy = 0; +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ALWAYS: + ANativeWindow_ChangeFrameRateStrategy = 1; +pub type ANativeWindow_ChangeFrameRateStrategy = ::std::os::raw::c_uint; +extern "C" { + pub fn ANativeWindow_setFrameRateWithChangeStrategy( + window: *mut ANativeWindow, + frameRate: f32, + compatibility: i8, + changeFrameRateStrategy: i8, + ) -> i32; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeActivity { @@ -12169,15 +12282,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_30 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = u32; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_29 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = u32; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -12192,8 +12305,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_32 = 1; -pub type _bindgen_ty_32 = u32; +pub const AOBBINFO_OVERLAY: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -12588,63 +12701,63 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_33 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_33 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_33 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_33 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_33 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_33 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_33 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_33 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_33 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_33 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_33 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_33 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_33 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_33 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_33 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_33 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_33 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_33 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_33 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_33 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_33 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_33 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_33 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_33 = 31; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_33 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_33 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_33 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_33 = 36; -pub type _bindgen_ty_33 = i32; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_34 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_34 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_34 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_34 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_34 = 3; -pub type _bindgen_ty_34 = i32; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_35 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_35 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_35 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_35 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_35 = 3; -pub type _bindgen_ty_35 = i32; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_36 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_36 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_36 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_36 = 3; -pub type _bindgen_ty_36 = u32; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_37 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_37 = 2; -pub type _bindgen_ty_37 = u32; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_38 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_38 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_38 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_38 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_38 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_38 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_38 = 65540; -pub type _bindgen_ty_38 = u32; +pub const ASENSOR_TYPE_INVALID: ::std::os::raw::c_int = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: ::std::os::raw::c_int = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: ::std::os::raw::c_int = 2; +pub const ASENSOR_TYPE_GYROSCOPE: ::std::os::raw::c_int = 4; +pub const ASENSOR_TYPE_LIGHT: ::std::os::raw::c_int = 5; +pub const ASENSOR_TYPE_PRESSURE: ::std::os::raw::c_int = 6; +pub const ASENSOR_TYPE_PROXIMITY: ::std::os::raw::c_int = 8; +pub const ASENSOR_TYPE_GRAVITY: ::std::os::raw::c_int = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: ::std::os::raw::c_int = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: ::std::os::raw::c_int = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: ::std::os::raw::c_int = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: ::std::os::raw::c_int = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: ::std::os::raw::c_int = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: ::std::os::raw::c_int = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: ::std::os::raw::c_int = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: ::std::os::raw::c_int = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: ::std::os::raw::c_int = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: ::std::os::raw::c_int = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: ::std::os::raw::c_int = 20; +pub const ASENSOR_TYPE_HEART_RATE: ::std::os::raw::c_int = 21; +pub const ASENSOR_TYPE_POSE_6DOF: ::std::os::raw::c_int = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: ::std::os::raw::c_int = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: ::std::os::raw::c_int = 30; +pub const ASENSOR_TYPE_HEART_BEAT: ::std::os::raw::c_int = 31; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: ::std::os::raw::c_int = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: ::std::os::raw::c_int = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: ::std::os::raw::c_int = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: ::std::os::raw::c_int = 36; +pub type _bindgen_ty_32 = ::std::os::raw::c_int; +pub const ASENSOR_STATUS_NO_CONTACT: ::std::os::raw::c_int = -1; +pub const ASENSOR_STATUS_UNRELIABLE: ::std::os::raw::c_int = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: ::std::os::raw::c_int = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: ::std::os::raw::c_int = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_33 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: ::std::os::raw::c_int = -1; +pub const AREPORTING_MODE_CONTINUOUS: ::std::os::raw::c_int = 0; +pub const AREPORTING_MODE_ON_CHANGE: ::std::os::raw::c_int = 1; +pub const AREPORTING_MODE_ONE_SHOT: ::std::os::raw::c_int = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_34 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: ::std::os::raw::c_uint = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_RATE_FAST: ::std::os::raw::c_uint = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: ::std::os::raw::c_uint = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: ::std::os::raw::c_uint = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: ::std::os::raw::c_uint = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: ::std::os::raw::c_uint = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: ::std::os::raw::c_uint = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: ::std::os::raw::c_uint = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: ::std::os::raw::c_uint = 65540; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -12658,7 +12771,6 @@ pub union ASensorVector__bindgen_ty_1 { pub v: [f32; 3usize], pub __bindgen_anon_1: ASensorVector__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_2: ASensorVector__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -12896,7 +13008,6 @@ pub struct AUncalibratedEvent { pub union AUncalibratedEvent__bindgen_ty_1 { pub uncalib: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -12997,7 +13108,6 @@ fn bindgen_test_layout_AUncalibratedEvent__bindgen_ty_1() { pub union AUncalibratedEvent__bindgen_ty_2 { pub bias: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_2__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13195,7 +13305,6 @@ pub struct AAdditionalInfoEvent { pub union AAdditionalInfoEvent__bindgen_ty_1 { pub data_int32: [i32; 14usize], pub data_float: [f32; 14usize], - _bindgen_union_align: [u32; 14usize], } #[test] fn bindgen_test_layout_AAdditionalInfoEvent__bindgen_ty_1() { @@ -13288,8 +13397,7 @@ pub struct ASensorEvent { #[derive(Copy, Clone)] pub union ASensorEvent__bindgen_ty_1 { pub __bindgen_anon_1: ASensorEvent__bindgen_ty_1__bindgen_ty_1, - pub u64: ASensorEvent__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u64; 8usize], + pub u64_: ASensorEvent__bindgen_ty_1__bindgen_ty_2, } #[repr(C)] #[derive(Copy, Clone)] @@ -13297,19 +13405,20 @@ pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 { pub data: [f32; 16usize], pub vector: ASensorVector, pub acceleration: ASensorVector, + pub gyro: ASensorVector, pub magnetic: ASensorVector, pub temperature: f32, pub distance: f32, pub light: f32, pub pressure: f32, pub relative_humidity: f32, + pub uncalibrated_acceleration: AUncalibratedEvent, pub uncalibrated_gyro: AUncalibratedEvent, pub uncalibrated_magnetic: AUncalibratedEvent, pub meta_data: AMetaDataEvent, pub heart_rate: AHeartRateEvent, pub dynamic_sensor_meta: ADynamicSensorEvent, pub additional_info: AAdditionalInfoEvent, - _bindgen_union_align: [u32; 16usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { @@ -13368,6 +13477,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(acceleration) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).gyro as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(gyro) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).magnetic @@ -13446,6 +13568,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(relative_humidity) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())) + .uncalibrated_acceleration as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(uncalibrated_acceleration) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).uncalibrated_gyro @@ -13530,7 +13665,6 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { pub union ASensorEvent__bindgen_ty_1__bindgen_ty_2 { pub data: [u64; 8usize], pub step_counter: u64, - _bindgen_union_align: [u64; 8usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_2() { @@ -13590,13 +13724,13 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1() { concat!("Alignment of ", stringify!(ASensorEvent__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).u64 as *const _ as usize }, + unsafe { &(*(::std::ptr::null::())).u64_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ASensorEvent__bindgen_ty_1), "::", - stringify!(u64) + stringify!(u64_) ) ); } @@ -13885,15 +14019,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_39 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_39 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_39 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_39 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_39 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_39 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_39 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_39 = 25; -pub type _bindgen_ty_39 = u32; +pub const AOBB_STATE_MOUNTED: ::std::os::raw::c_uint = 1; +pub const AOBB_STATE_UNMOUNTED: ::std::os::raw::c_uint = 2; +pub const AOBB_STATE_ERROR_INTERNAL: ::std::os::raw::c_uint = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: ::std::os::raw::c_uint = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: ::std::os::raw::c_uint = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: ::std::os::raw::c_uint = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: ::std::os::raw::c_uint = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: ::std::os::raw::c_uint = 25; +pub type _bindgen_ty_38 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -14226,30 +14360,30 @@ extern "C" { extern "C" { pub fn ATrace_setCounter(counterName: *const ::std::os::raw::c_char, counterValue: i64); } -pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_40 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_40 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_40 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_40 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_40 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_40 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_40 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_40 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_40 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_40 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_40 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_40 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_40 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_40 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_40 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_40 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_40 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_40 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_40 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_40 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_40 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_40 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_40 = 4194304; -pub type _bindgen_ty_40 = u32; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: ::std::os::raw::c_uint = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: ::std::os::raw::c_uint = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: ::std::os::raw::c_uint = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: ::std::os::raw::c_uint = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: ::std::os::raw::c_uint = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: ::std::os::raw::c_uint = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: ::std::os::raw::c_uint = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: ::std::os::raw::c_uint = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: ::std::os::raw::c_uint = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: ::std::os::raw::c_uint = 512; +pub const AWINDOW_FLAG_FULLSCREEN: ::std::os::raw::c_uint = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: ::std::os::raw::c_uint = 2048; +pub const AWINDOW_FLAG_DITHER: ::std::os::raw::c_uint = 4096; +pub const AWINDOW_FLAG_SECURE: ::std::os::raw::c_uint = 8192; +pub const AWINDOW_FLAG_SCALED: ::std::os::raw::c_uint = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: ::std::os::raw::c_uint = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: ::std::os::raw::c_uint = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: ::std::os::raw::c_uint = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: ::std::os::raw::c_uint = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: ::std::os::raw::c_uint = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: ::std::os::raw::c_uint = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: ::std::os::raw::c_uint = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_39 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -14330,40 +14464,40 @@ fn bindgen_test_layout___kernel_itimerspec() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __kernel_old_timeval { - pub tv_sec: __kernel_long_t, - pub tv_usec: __kernel_long_t, +pub struct __kernel_old_timespec { + pub tv_sec: __kernel_old_time_t, + pub tv_nsec: ::std::os::raw::c_long, } #[test] -fn bindgen_test_layout___kernel_old_timeval() { +fn bindgen_test_layout___kernel_old_timespec() { assert_eq!( - ::std::mem::size_of::<__kernel_old_timeval>(), + ::std::mem::size_of::<__kernel_old_timespec>(), 8usize, - concat!("Size of: ", stringify!(__kernel_old_timeval)) + concat!("Size of: ", stringify!(__kernel_old_timespec)) ); assert_eq!( - ::std::mem::align_of::<__kernel_old_timeval>(), + ::std::mem::align_of::<__kernel_old_timespec>(), 4usize, - concat!("Alignment of ", stringify!(__kernel_old_timeval)) + concat!("Alignment of ", stringify!(__kernel_old_timespec)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_sec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", stringify!(tv_sec) ) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_usec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_nsec as *const _ as usize }, 4usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", - stringify!(tv_usec) + stringify!(tv_nsec) ) ); } @@ -14409,7 +14543,7 @@ fn bindgen_test_layout___kernel_sock_timeval() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timespec { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_nsec: ::std::os::raw::c_long, } #[test] @@ -14448,7 +14582,7 @@ fn bindgen_test_layout_timespec() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timeval { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_usec: __kernel_suseconds_t, } #[test] @@ -14486,45 +14620,6 @@ fn bindgen_test_layout_timeval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct timezone { - pub tz_minuteswest: ::std::os::raw::c_int, - pub tz_dsttime: ::std::os::raw::c_int, -} -#[test] -fn bindgen_test_layout_timezone() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(timezone)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(timezone)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_minuteswest) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_dsttime) - ) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct itimerspec { pub it_interval: timespec, pub it_value: timespec, @@ -14603,6 +14698,45 @@ fn bindgen_test_layout_itimerval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct timezone { + pub tz_minuteswest: ::std::os::raw::c_int, + pub tz_dsttime: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_timezone() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(timezone)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(timezone)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_minuteswest) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_dsttime) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct sigcontext { pub trap_no: ::std::os::raw::c_ulong, pub error_code: ::std::os::raw::c_ulong, @@ -14873,7 +15007,6 @@ pub union __kernel_sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout___kernel_sigaction__bindgen_ty_1() { @@ -15026,7 +15159,6 @@ pub type stack_t = sigaltstack; pub union sigval { pub sival_int: ::std::os::raw::c_int, pub sival_ptr: *mut ::std::os::raw::c_void, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigval() { @@ -15072,7 +15204,6 @@ pub union __sifields { pub _sigfault: __sifields__bindgen_ty_5, pub _sigpoll: __sifields__bindgen_ty_6, pub _sigsys: __sifields__bindgen_ty_7, - _bindgen_union_align: [u32; 5usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15315,10 +15446,11 @@ pub struct __sifields__bindgen_ty_5 { #[repr(C)] #[derive(Copy, Clone)] pub union __sifields__bindgen_ty_5__bindgen_ty_1 { + pub _trapno: ::std::os::raw::c_int, pub _addr_lsb: ::std::os::raw::c_short, pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], + pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15436,6 +15568,57 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() { ) ); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { + pub _data: ::std::os::raw::c_ulong, + pub _type: __u32, +} +#[test] +fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() { + assert_eq!( + ::std::mem::size_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 8usize, + concat!( + "Size of: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + ::std::mem::align_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._data + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_data) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._type + as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_type) + ) + ); +} #[test] fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { assert_eq!( @@ -15454,6 +15637,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(__sifields__bindgen_ty_5__bindgen_ty_1) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._trapno as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_trapno) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._addr_lsb as *const _ @@ -15493,6 +15689,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(_addr_pkey) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._perf as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_perf) + ) + ); } #[test] fn bindgen_test_layout___sifields__bindgen_ty_5() { @@ -15703,7 +15912,6 @@ pub struct siginfo { pub union siginfo__bindgen_ty_1 { pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, pub _si_pad: [::std::os::raw::c_int; 32usize], - _bindgen_union_align: [u32; 32usize], } #[repr(C)] #[derive(Copy, Clone)] @@ -15832,7 +16040,6 @@ pub union sigevent__bindgen_ty_1 { pub _pad: [::std::os::raw::c_int; 13usize], pub _tid: ::std::os::raw::c_int, pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 13usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -16034,7 +16241,6 @@ pub union sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigaction__bindgen_ty_1() { @@ -16135,7 +16341,6 @@ pub union sigaction64__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigaction64__bindgen_ty_1() { @@ -16221,7 +16426,8 @@ fn bindgen_test_layout_sigaction64() { #[derive(Debug, Copy, Clone)] pub struct user_fpregs { pub fpregs: [user_fpregs_fp_reg; 8usize], - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize], u32>, + pub _bitfield_align_1: [u32; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, pub ftype: [::std::os::raw::c_uchar; 8usize], pub init_flag: ::std::os::raw::c_uint, } @@ -16229,7 +16435,8 @@ pub struct user_fpregs { #[repr(align(4))] #[derive(Debug, Copy, Clone)] pub struct user_fpregs_fp_reg { - pub _bitfield_1: __BindgenBitfieldUnit<[u8; 12usize], u32>, + pub _bitfield_align_1: [u32; 0], + pub _bitfield_1: __BindgenBitfieldUnit<[u8; 12usize]>, } #[test] fn bindgen_test_layout_user_fpregs_fp_reg() { @@ -16331,9 +16538,8 @@ impl user_fpregs_fp_reg { j: ::std::os::raw::c_uint, mantissa1: ::std::os::raw::c_uint, mantissa0: ::std::os::raw::c_uint, - ) -> __BindgenBitfieldUnit<[u8; 12usize], u32> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 12usize], u32> = - Default::default(); + ) -> __BindgenBitfieldUnit<[u8; 12usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 12usize]> = Default::default(); __bindgen_bitfield_unit.set(0usize, 1u8, { let sign1: u32 = unsafe { ::std::mem::transmute(sign1) }; sign1 as u64 @@ -16435,9 +16641,8 @@ impl user_fpregs { pub fn new_bitfield_1( fpsr: ::std::os::raw::c_uint, fpcr: ::std::os::raw::c_uint, - ) -> __BindgenBitfieldUnit<[u8; 8usize], u32> { - let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize], u32> = - Default::default(); + ) -> __BindgenBitfieldUnit<[u8; 8usize]> { + let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); __bindgen_bitfield_unit.set(0usize, 32u8, { let fpsr: u32 = unsafe { ::std::mem::transmute(fpsr) }; fpsr as u64 @@ -16748,23 +16953,23 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_R0: _bindgen_ty_41 = 0; -pub const REG_R1: _bindgen_ty_41 = 1; -pub const REG_R2: _bindgen_ty_41 = 2; -pub const REG_R3: _bindgen_ty_41 = 3; -pub const REG_R4: _bindgen_ty_41 = 4; -pub const REG_R5: _bindgen_ty_41 = 5; -pub const REG_R6: _bindgen_ty_41 = 6; -pub const REG_R7: _bindgen_ty_41 = 7; -pub const REG_R8: _bindgen_ty_41 = 8; -pub const REG_R9: _bindgen_ty_41 = 9; -pub const REG_R10: _bindgen_ty_41 = 10; -pub const REG_R11: _bindgen_ty_41 = 11; -pub const REG_R12: _bindgen_ty_41 = 12; -pub const REG_R13: _bindgen_ty_41 = 13; -pub const REG_R14: _bindgen_ty_41 = 14; -pub const REG_R15: _bindgen_ty_41 = 15; -pub type _bindgen_ty_41 = u32; +pub const REG_R0: ::std::os::raw::c_uint = 0; +pub const REG_R1: ::std::os::raw::c_uint = 1; +pub const REG_R2: ::std::os::raw::c_uint = 2; +pub const REG_R3: ::std::os::raw::c_uint = 3; +pub const REG_R4: ::std::os::raw::c_uint = 4; +pub const REG_R5: ::std::os::raw::c_uint = 5; +pub const REG_R6: ::std::os::raw::c_uint = 6; +pub const REG_R7: ::std::os::raw::c_uint = 7; +pub const REG_R8: ::std::os::raw::c_uint = 8; +pub const REG_R9: ::std::os::raw::c_uint = 9; +pub const REG_R10: ::std::os::raw::c_uint = 10; +pub const REG_R11: ::std::os::raw::c_uint = 11; +pub const REG_R12: ::std::os::raw::c_uint = 12; +pub const REG_R13: ::std::os::raw::c_uint = 13; +pub const REG_R14: ::std::os::raw::c_uint = 14; +pub const REG_R15: ::std::os::raw::c_uint = 15; +pub type _bindgen_ty_40 = ::std::os::raw::c_uint; pub type greg_t = ::std::os::raw::c_int; pub type gregset_t = [greg_t; 18usize]; pub type fpregset_t = user_fpregs; @@ -16786,7 +16991,6 @@ pub struct ucontext { pub union ucontext__bindgen_ty_1 { pub __bindgen_anon_1: ucontext__bindgen_ty_1__bindgen_ty_1, pub uc_sigmask64: sigset64_t, - _bindgen_union_align: [u32; 2usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17197,7 +17401,7 @@ extern "C" { } extern "C" { pub fn select( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -17206,7 +17410,7 @@ extern "C" { } extern "C" { pub fn pselect( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -17216,7 +17420,7 @@ extern "C" { } extern "C" { pub fn pselect64( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -17535,101 +17739,103 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_42 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_42 = 1; -pub type _bindgen_ty_42 = u32; +pub const AAUDIO_DIRECTION_OUTPUT: ::std::os::raw::c_uint = 0; +pub const AAUDIO_DIRECTION_INPUT: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_41 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_43 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_43 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_43 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_43 = 2; -pub type _bindgen_ty_43 = i32; +pub const AAUDIO_FORMAT_INVALID: ::std::os::raw::c_int = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: ::std::os::raw::c_int = 0; +pub const AAUDIO_FORMAT_PCM_I16: ::std::os::raw::c_int = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: ::std::os::raw::c_int = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: ::std::os::raw::c_int = 3; +pub const AAUDIO_FORMAT_PCM_I32: ::std::os::raw::c_int = 4; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_44 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_44 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_44 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_44 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_44 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_44 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_44 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_44 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_44 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_44 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_44 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_44 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_44 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_44 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_44 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_44 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_44 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_44 = -880; -pub type _bindgen_ty_44 = i32; +pub const AAUDIO_OK: ::std::os::raw::c_int = 0; +pub const AAUDIO_ERROR_BASE: ::std::os::raw::c_int = -900; +pub const AAUDIO_ERROR_DISCONNECTED: ::std::os::raw::c_int = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: ::std::os::raw::c_int = -898; +pub const AAUDIO_ERROR_INTERNAL: ::std::os::raw::c_int = -896; +pub const AAUDIO_ERROR_INVALID_STATE: ::std::os::raw::c_int = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: ::std::os::raw::c_int = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: ::std::os::raw::c_int = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: ::std::os::raw::c_int = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: ::std::os::raw::c_int = -888; +pub const AAUDIO_ERROR_NO_MEMORY: ::std::os::raw::c_int = -887; +pub const AAUDIO_ERROR_NULL: ::std::os::raw::c_int = -886; +pub const AAUDIO_ERROR_TIMEOUT: ::std::os::raw::c_int = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: ::std::os::raw::c_int = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: ::std::os::raw::c_int = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: ::std::os::raw::c_int = -882; +pub const AAUDIO_ERROR_NO_SERVICE: ::std::os::raw::c_int = -881; +pub const AAUDIO_ERROR_INVALID_RATE: ::std::os::raw::c_int = -880; +pub type _bindgen_ty_43 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_45 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_45 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_45 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_45 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_45 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_45 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_45 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_45 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_45 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_45 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_45 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_45 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_45 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_45 = 13; -pub type _bindgen_ty_45 = u32; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: ::std::os::raw::c_uint = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: ::std::os::raw::c_uint = 1; +pub const AAUDIO_STREAM_STATE_OPEN: ::std::os::raw::c_uint = 2; +pub const AAUDIO_STREAM_STATE_STARTING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_STREAM_STATE_STARTED: ::std::os::raw::c_uint = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: ::std::os::raw::c_uint = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: ::std::os::raw::c_uint = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: ::std::os::raw::c_uint = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: ::std::os::raw::c_uint = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: ::std::os::raw::c_uint = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: ::std::os::raw::c_uint = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: ::std::os::raw::c_uint = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: ::std::os::raw::c_uint = 13; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_46 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_46 = 1; -pub type _bindgen_ty_46 = u32; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_SHARING_MODE_SHARED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_47 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_47 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_47 = 12; -pub type _bindgen_ty_47 = u32; +pub const AAUDIO_PERFORMANCE_MODE_NONE: ::std::os::raw::c_uint = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_48 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_48 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_48 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_48 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_48 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_48 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_48 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_48 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_48 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_48 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_48 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_48 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_48 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_48 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_48 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_48 = 1003; -pub type _bindgen_ty_48 = u32; +pub const AAUDIO_USAGE_MEDIA: ::std::os::raw::c_uint = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_USAGE_ALARM: ::std::os::raw::c_uint = 4; +pub const AAUDIO_USAGE_NOTIFICATION: ::std::os::raw::c_uint = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: ::std::os::raw::c_uint = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: ::std::os::raw::c_uint = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: ::std::os::raw::c_uint = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: ::std::os::raw::c_uint = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: ::std::os::raw::c_uint = 13; +pub const AAUDIO_USAGE_GAME: ::std::os::raw::c_uint = 14; +pub const AAUDIO_USAGE_ASSISTANT: ::std::os::raw::c_uint = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: ::std::os::raw::c_uint = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: ::std::os::raw::c_uint = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: ::std::os::raw::c_uint = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: ::std::os::raw::c_uint = 1003; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_49 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_49 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_49 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_49 = 4; -pub type _bindgen_ty_49 = u32; +pub const AAUDIO_CONTENT_TYPE_SPEECH: ::std::os::raw::c_uint = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: ::std::os::raw::c_uint = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: ::std::os::raw::c_uint = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: ::std::os::raw::c_uint = 4; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_50 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_50 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_50 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_50 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_50 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_50 = 10; -pub type _bindgen_ty_50 = u32; +pub const AAUDIO_INPUT_PRESET_GENERIC: ::std::os::raw::c_uint = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: ::std::os::raw::c_uint = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: ::std::os::raw::c_uint = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: ::std::os::raw::c_uint = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: ::std::os::raw::c_uint = 10; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_51 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_51 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_51 = 3; -pub type _bindgen_ty_51 = u32; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: ::std::os::raw::c_uint = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: ::std::os::raw::c_uint = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_50 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_52 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_52 = 0; -pub type _bindgen_ty_52 = i32; +pub const AAUDIO_SESSION_ID_NONE: ::std::os::raw::c_int = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: ::std::os::raw::c_int = 0; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17658,6 +17864,18 @@ extern "C" { extern "C" { pub fn AAudioStreamBuilder_setDeviceId(builder: *mut AAudioStreamBuilder, deviceId: i32); } +extern "C" { + pub fn AAudioStreamBuilder_setPackageName( + builder: *mut AAudioStreamBuilder, + packageName: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AAudioStreamBuilder_setAttributionTag( + builder: *mut AAudioStreamBuilder, + attributionTag: *const ::std::os::raw::c_char, + ); +} extern "C" { pub fn AAudioStreamBuilder_setSampleRate(builder: *mut AAudioStreamBuilder, sampleRate: i32); } @@ -17736,9 +17954,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_53 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_53 = 1; -pub type _bindgen_ty_53 = u32; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -17925,7 +18143,7 @@ pub const camera_status_t_ACAMERA_ERROR_MAX_CAMERA_IN_USE: camera_status_t = -10 pub const camera_status_t_ACAMERA_ERROR_CAMERA_DISABLED: camera_status_t = -10012; pub const camera_status_t_ACAMERA_ERROR_PERMISSION_DENIED: camera_status_t = -10013; pub const camera_status_t_ACAMERA_ERROR_UNSUPPORTED_OPERATION: camera_status_t = -10014; -pub type camera_status_t = i32; +pub type camera_status_t = ::std::os::raw::c_int; pub const acamera_metadata_section_ACAMERA_COLOR_CORRECTION: acamera_metadata_section = 0; pub const acamera_metadata_section_ACAMERA_CONTROL: acamera_metadata_section = 1; pub const acamera_metadata_section_ACAMERA_DEMOSAIC: acamera_metadata_section = 2; @@ -17958,7 +18176,7 @@ pub const acamera_metadata_section_ACAMERA_HEIC: acamera_metadata_section = 28; pub const acamera_metadata_section_ACAMERA_HEIC_INFO: acamera_metadata_section = 29; pub const acamera_metadata_section_ACAMERA_SECTION_COUNT: acamera_metadata_section = 30; pub const acamera_metadata_section_ACAMERA_VENDOR: acamera_metadata_section = 32768; -pub type acamera_metadata_section = u32; +pub type acamera_metadata_section = ::std::os::raw::c_uint; pub use self::acamera_metadata_section as acamera_metadata_section_t; pub const acamera_metadata_section_start_ACAMERA_COLOR_CORRECTION_START: acamera_metadata_section_start = 0; @@ -18022,7 +18240,7 @@ pub const acamera_metadata_section_start_ACAMERA_HEIC_INFO_START: acamera_metada 1900544; pub const acamera_metadata_section_start_ACAMERA_VENDOR_START: acamera_metadata_section_start = -2147483648; -pub type acamera_metadata_section_start = i32; +pub type acamera_metadata_section_start = ::std::os::raw::c_int; pub use self::acamera_metadata_section_start as acamera_metadata_section_start_t; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_MODE: acamera_metadata_tag = 0; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_TRANSFORM: acamera_metadata_tag = 1; @@ -18077,11 +18295,11 @@ pub const acamera_metadata_tag_ACAMERA_CONTROL_POST_RAW_SENSITIVITY_BOOST: acame 65576; pub const acamera_metadata_tag_ACAMERA_CONTROL_ENABLE_ZSL: acamera_metadata_tag = 65577; pub const acamera_metadata_tag_ACAMERA_CONTROL_AF_SCENE_CHANGE: acamera_metadata_tag = 65578; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_MAX_SIZES: acamera_metadata_tag = - 65579; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_ZOOM_RATIO_RANGES: +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_MAX_SIZES: + acamera_metadata_tag = 65579; +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_ZOOM_RATIO_RANGES: acamera_metadata_tag = 65580; -pub const acamera_metadata_tag_ACAMERA_CONTROL_BOKEH_MODE: acamera_metadata_tag = 65581; +pub const acamera_metadata_tag_ACAMERA_CONTROL_EXTENDED_SCENE_MODE: acamera_metadata_tag = 65581; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO_RANGE: acamera_metadata_tag = 65582; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO: acamera_metadata_tag = 65583; pub const acamera_metadata_tag_ACAMERA_CONTROL_END: acamera_metadata_tag = 65584; @@ -18122,7 +18340,11 @@ pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION: acamera_metad pub const acamera_metadata_tag_ACAMERA_LENS_RADIAL_DISTORTION: acamera_metadata_tag = 524299; pub const acamera_metadata_tag_ACAMERA_LENS_POSE_REFERENCE: acamera_metadata_tag = 524300; pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION: acamera_metadata_tag = 524301; -pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION_MAXIMUM_RESOLUTION: acamera_metadata_tag = + 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 524303; +pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524304; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_APERTURES: acamera_metadata_tag = 589824; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_FILTER_DENSITIES: acamera_metadata_tag = 589825; @@ -18172,7 +18394,21 @@ pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFI acamera_metadata_tag = 851982; pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_INPUT_OUTPUT_FORMATS_MAP: acamera_metadata_tag = 851983; -pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES: + acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_ROTATE_AND_CROP: acamera_metadata_tag = 851985; +pub const acamera_metadata_tag_ACAMERA_SCALER_DEFAULT_SECURE_IMAGE_SIZE: acamera_metadata_tag = + 851986; +pub const acamera_metadata_tag_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS : acamera_metadata_tag = 851987 ; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851988; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851989; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851990; +pub const acamera_metadata_tag_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED: + acamera_metadata_tag = 851992; +pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851993; pub const acamera_metadata_tag_ACAMERA_SENSOR_EXPOSURE_TIME: acamera_metadata_tag = 917504; pub const acamera_metadata_tag_ACAMERA_SENSOR_FRAME_DURATION: acamera_metadata_tag = 917505; pub const acamera_metadata_tag_ACAMERA_SENSOR_SENSITIVITY: acamera_metadata_tag = 917506; @@ -18199,7 +18435,10 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW: acamera_meta pub const acamera_metadata_tag_ACAMERA_SENSOR_OPTICAL_BLACK_REGIONS: acamera_metadata_tag = 917531; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_BLACK_LEVEL: acamera_metadata_tag = 917532; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_WHITE_LEVEL: acamera_metadata_tag = 917533; -pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917534; +pub const acamera_metadata_tag_ACAMERA_SENSOR_PIXEL_MODE: acamera_metadata_tag = 917536; +pub const acamera_metadata_tag_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED: acamera_metadata_tag = + 917537; +pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917538; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983040; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_SENSITIVITY_RANGE: acamera_metadata_tag = 983041; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT: acamera_metadata_tag = @@ -18216,7 +18455,13 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED: acamera 983049; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983050; -pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983052; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION : acamera_metadata_tag = 983053 ; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_BINNING_FACTOR: acamera_metadata_tag = 983054; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983055; pub const acamera_metadata_tag_ACAMERA_SHADING_MODE: acamera_metadata_tag = 1048576; pub const acamera_metadata_tag_ACAMERA_SHADING_AVAILABLE_MODES: acamera_metadata_tag = 1048578; pub const acamera_metadata_tag_ACAMERA_SHADING_END: acamera_metadata_tag = 1048579; @@ -18282,7 +18527,14 @@ pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_D acamera_metadata_tag = 1638407; pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS: acamera_metadata_tag = 1638408; -pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638409; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638409 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638410 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1638411; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638412 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638413 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638414 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638415; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS: acamera_metadata_tag = 1703936; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE: acamera_metadata_tag = @@ -18300,31 +18552,35 @@ pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS: acamera_metadata_tag = 1835009; pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS: acamera_metadata_tag = 1835010; -pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835011; -pub type acamera_metadata_tag = u32; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835011 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835012 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1835013; +pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835014; +pub type acamera_metadata_tag = ::std::os::raw::c_uint; pub use self::acamera_metadata_tag as acamera_metadata_tag_t; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_TRANSFORM_MATRIX : acamera_metadata_enum_acamera_color_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_FAST: acamera_metadata_enum_acamera_color_correction_mode = 1; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_mode as acamera_metadata_enum_android_color_correction_mode_t; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_OFF : acamera_metadata_enum_acamera_color_correction_aberration_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_FAST : acamera_metadata_enum_acamera_color_correction_aberration_mode = 1 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_aberration_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_aberration_mode as acamera_metadata_enum_android_color_correction_aberration_mode_t; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_OFF : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 0 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_50HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 1 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_60HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 2 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_AUTO : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 3 ; -pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_antibanding_mode as acamera_metadata_enum_android_control_ae_antibanding_mode_t; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_OFF: acamera_metadata_enum_acamera_control_ae_lock = 0; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_ON: acamera_metadata_enum_acamera_control_ae_lock = 1; -pub type acamera_metadata_enum_acamera_control_ae_lock = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock as acamera_metadata_enum_android_control_ae_lock_t; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_OFF: acamera_metadata_enum_acamera_control_ae_mode = 0; @@ -18336,12 +18592,12 @@ pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ acamera_metadata_enum_acamera_control_ae_mode = 3; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE : acamera_metadata_enum_acamera_control_ae_mode = 4 ; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_EXTERNAL_FLASH : acamera_metadata_enum_acamera_control_ae_mode = 5 ; -pub type acamera_metadata_enum_acamera_control_ae_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_mode as acamera_metadata_enum_android_control_ae_mode_t; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_IDLE : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 0 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_START : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 1 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 2 ; -pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = u32; +pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_precapture_trigger as acamera_metadata_enum_android_control_ae_precapture_trigger_t; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_OFF: acamera_metadata_enum_acamera_control_af_mode = 0; @@ -18354,7 +18610,7 @@ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_CONTINUOUS_PICTURE : acamera_metadata_enum_acamera_control_af_mode = 4 ; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_EDOF: acamera_metadata_enum_acamera_control_af_mode = 5; -pub type acamera_metadata_enum_acamera_control_af_mode = u32; +pub type acamera_metadata_enum_acamera_control_af_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_mode as acamera_metadata_enum_android_control_af_mode_t; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_IDLE: acamera_metadata_enum_acamera_control_af_trigger = 0; @@ -18362,13 +18618,13 @@ pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TR acamera_metadata_enum_acamera_control_af_trigger = 1; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_CANCEL: acamera_metadata_enum_acamera_control_af_trigger = 2; -pub type acamera_metadata_enum_acamera_control_af_trigger = u32; +pub type acamera_metadata_enum_acamera_control_af_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_trigger as acamera_metadata_enum_android_control_af_trigger_t; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_OFF: acamera_metadata_enum_acamera_control_awb_lock = 0; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_ON: acamera_metadata_enum_acamera_control_awb_lock = 1; -pub type acamera_metadata_enum_acamera_control_awb_lock = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock as acamera_metadata_enum_android_control_awb_lock_t; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_OFF: acamera_metadata_enum_acamera_control_awb_mode = 0; @@ -18386,7 +18642,7 @@ pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MOD acamera_metadata_enum_acamera_control_awb_mode = 7; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_SHADE: acamera_metadata_enum_acamera_control_awb_mode = 8; -pub type acamera_metadata_enum_acamera_control_awb_mode = u32; +pub type acamera_metadata_enum_acamera_control_awb_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_mode as acamera_metadata_enum_android_control_awb_mode_t; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_CUSTOM : acamera_metadata_enum_acamera_control_capture_intent = 0 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_PREVIEW : acamera_metadata_enum_acamera_control_capture_intent = 1 ; @@ -18396,7 +18652,7 @@ pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_C pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_control_capture_intent = 5 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MANUAL : acamera_metadata_enum_acamera_control_capture_intent = 6 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MOTION_TRACKING : acamera_metadata_enum_acamera_control_capture_intent = 7 ; -pub type acamera_metadata_enum_acamera_control_capture_intent = u32; +pub type acamera_metadata_enum_acamera_control_capture_intent = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_capture_intent as acamera_metadata_enum_android_control_capture_intent_t; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_OFF: acamera_metadata_enum_acamera_control_effect_mode = 0; @@ -18413,7 +18669,7 @@ pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFE pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_BLACKBOARD : acamera_metadata_enum_acamera_control_effect_mode = 7 ; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_AQUA: acamera_metadata_enum_acamera_control_effect_mode = 8; -pub type acamera_metadata_enum_acamera_control_effect_mode = u32; +pub type acamera_metadata_enum_acamera_control_effect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_effect_mode as acamera_metadata_enum_android_control_effect_mode_t; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF: acamera_metadata_enum_acamera_control_mode = 0; @@ -18423,7 +18679,8 @@ pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_SC acamera_metadata_enum_acamera_control_mode = 2; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF_KEEP_STATE: acamera_metadata_enum_acamera_control_mode = 3; -pub type acamera_metadata_enum_acamera_control_mode = u32; +pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_EXTENDED_SCENE_MODE : acamera_metadata_enum_acamera_control_mode = 4 ; +pub type acamera_metadata_enum_acamera_control_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_mode as acamera_metadata_enum_android_control_mode_t; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_DISABLED: acamera_metadata_enum_acamera_control_scene_mode = 0; @@ -18457,11 +18714,11 @@ pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE acamera_metadata_enum_acamera_control_scene_mode = 16; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_HDR: acamera_metadata_enum_acamera_control_scene_mode = 18; -pub type acamera_metadata_enum_acamera_control_scene_mode = u32; +pub type acamera_metadata_enum_acamera_control_scene_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_scene_mode as acamera_metadata_enum_android_control_scene_mode_t; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_control_video_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_control_video_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_video_stabilization_mode as acamera_metadata_enum_android_control_video_stabilization_mode_t; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_INACTIVE: acamera_metadata_enum_acamera_control_ae_state = 0; @@ -18475,7 +18732,7 @@ pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STAT acamera_metadata_enum_acamera_control_ae_state = 4; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_PRECAPTURE: acamera_metadata_enum_acamera_control_ae_state = 5; -pub type acamera_metadata_enum_acamera_control_ae_state = u32; +pub type acamera_metadata_enum_acamera_control_ae_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_state as acamera_metadata_enum_android_control_ae_state_t; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_INACTIVE: acamera_metadata_enum_acamera_control_af_state = 0; @@ -18488,7 +18745,7 @@ pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STAT acamera_metadata_enum_acamera_control_af_state = 4; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED : acamera_metadata_enum_acamera_control_af_state = 5 ; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_PASSIVE_UNFOCUSED : acamera_metadata_enum_acamera_control_af_state = 6 ; -pub type acamera_metadata_enum_acamera_control_af_state = u32; +pub type acamera_metadata_enum_acamera_control_af_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_state as acamera_metadata_enum_android_control_af_state_t; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_INACTIVE: acamera_metadata_enum_acamera_control_awb_state = 0; @@ -18498,33 +18755,31 @@ pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_ST acamera_metadata_enum_acamera_control_awb_state = 2; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_LOCKED: acamera_metadata_enum_acamera_control_awb_state = 3; -pub type acamera_metadata_enum_acamera_control_awb_state = u32; +pub type acamera_metadata_enum_acamera_control_awb_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_state as acamera_metadata_enum_android_control_awb_state_t; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_ae_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_ae_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_ae_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock_available as acamera_metadata_enum_android_control_ae_lock_available_t; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_awb_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_awb_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_awb_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock_available as acamera_metadata_enum_android_control_awb_lock_available_t; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_FALSE: acamera_metadata_enum_acamera_control_enable_zsl = 0; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_TRUE: acamera_metadata_enum_acamera_control_enable_zsl = 1; -pub type acamera_metadata_enum_acamera_control_enable_zsl = u32; +pub type acamera_metadata_enum_acamera_control_enable_zsl = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_enable_zsl as acamera_metadata_enum_android_control_enable_zsl_t; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 0 ; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 1 ; -pub type acamera_metadata_enum_acamera_control_af_scene_change = u32; +pub type acamera_metadata_enum_acamera_control_af_scene_change = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_scene_change as acamera_metadata_enum_android_control_af_scene_change_t; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_OFF: - acamera_metadata_enum_acamera_control_bokeh_mode = 0; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_STILL_CAPTURE : acamera_metadata_enum_acamera_control_bokeh_mode = 1 ; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_CONTINUOUS: - acamera_metadata_enum_acamera_control_bokeh_mode = 2; -pub type acamera_metadata_enum_acamera_control_bokeh_mode = u32; -pub use self::acamera_metadata_enum_acamera_control_bokeh_mode as acamera_metadata_enum_android_control_bokeh_mode_t; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_DISABLED : acamera_metadata_enum_acamera_control_extended_scene_mode = 0 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_STILL_CAPTURE : acamera_metadata_enum_acamera_control_extended_scene_mode = 1 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_CONTINUOUS : acamera_metadata_enum_acamera_control_extended_scene_mode = 2 ; +pub type acamera_metadata_enum_acamera_control_extended_scene_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_control_extended_scene_mode as acamera_metadata_enum_android_control_extended_scene_mode_t; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_OFF: acamera_metadata_enum_acamera_edge_mode = 0; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_FAST: @@ -18533,7 +18788,7 @@ pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_HIGH_QUALITY acamera_metadata_enum_acamera_edge_mode = 2; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_ZERO_SHUTTER_LAG: acamera_metadata_enum_acamera_edge_mode = 3; -pub type acamera_metadata_enum_acamera_edge_mode = u32; +pub type acamera_metadata_enum_acamera_edge_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_edge_mode as acamera_metadata_enum_android_edge_mode_t; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_OFF: acamera_metadata_enum_acamera_flash_mode = 0; @@ -18541,7 +18796,7 @@ pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_SINGLE: acamera_metadata_enum_acamera_flash_mode = 1; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_TORCH: acamera_metadata_enum_acamera_flash_mode = 2; -pub type acamera_metadata_enum_acamera_flash_mode = u32; +pub type acamera_metadata_enum_acamera_flash_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_mode as acamera_metadata_enum_android_flash_mode_t; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_UNAVAILABLE: acamera_metadata_enum_acamera_flash_state = 0; @@ -18553,13 +18808,13 @@ pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_FIRED: acamera_metadata_enum_acamera_flash_state = 3; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_PARTIAL: acamera_metadata_enum_acamera_flash_state = 4; -pub type acamera_metadata_enum_acamera_flash_state = u32; +pub type acamera_metadata_enum_acamera_flash_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_state as acamera_metadata_enum_android_flash_state_t; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_FALSE: acamera_metadata_enum_acamera_flash_info_available = 0; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_TRUE: acamera_metadata_enum_acamera_flash_info_available = 1; -pub type acamera_metadata_enum_acamera_flash_info_available = u32; +pub type acamera_metadata_enum_acamera_flash_info_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_info_available as acamera_metadata_enum_android_flash_info_available_t; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_OFF: acamera_metadata_enum_acamera_hot_pixel_mode = 0; @@ -18567,11 +18822,11 @@ pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_FA acamera_metadata_enum_acamera_hot_pixel_mode = 1; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_hot_pixel_mode = 2; -pub type acamera_metadata_enum_acamera_hot_pixel_mode = u32; +pub type acamera_metadata_enum_acamera_hot_pixel_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_hot_pixel_mode as acamera_metadata_enum_android_hot_pixel_mode_t; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_optical_stabilization_mode as acamera_metadata_enum_android_lens_optical_stabilization_mode_t; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_FRONT: acamera_metadata_enum_acamera_lens_facing = 0; @@ -18579,23 +18834,24 @@ pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_BACK: acamera_metadata_enum_acamera_lens_facing = 1; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_EXTERNAL: acamera_metadata_enum_acamera_lens_facing = 2; -pub type acamera_metadata_enum_acamera_lens_facing = u32; +pub type acamera_metadata_enum_acamera_lens_facing = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_facing as acamera_metadata_enum_android_lens_facing_t; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_STATIONARY: acamera_metadata_enum_acamera_lens_state = 0; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_MOVING: acamera_metadata_enum_acamera_lens_state = 1; -pub type acamera_metadata_enum_acamera_lens_state = u32; +pub type acamera_metadata_enum_acamera_lens_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_state as acamera_metadata_enum_android_lens_state_t; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_PRIMARY_CAMERA : acamera_metadata_enum_acamera_lens_pose_reference = 0 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_GYROSCOPE : acamera_metadata_enum_acamera_lens_pose_reference = 1 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_UNDEFINED : acamera_metadata_enum_acamera_lens_pose_reference = 2 ; -pub type acamera_metadata_enum_acamera_lens_pose_reference = u32; +pub type acamera_metadata_enum_acamera_lens_pose_reference = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_pose_reference as acamera_metadata_enum_android_lens_pose_reference_t; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 0 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 1 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 2 ; -pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = u32; +pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_info_focus_distance_calibration as acamera_metadata_enum_android_lens_info_focus_distance_calibration_t; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_OFF: acamera_metadata_enum_acamera_noise_reduction_mode = 0; @@ -18604,7 +18860,7 @@ pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUC pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_noise_reduction_mode = 2 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_MINIMAL : acamera_metadata_enum_acamera_noise_reduction_mode = 3 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_noise_reduction_mode = 4 ; -pub type acamera_metadata_enum_acamera_noise_reduction_mode = u32; +pub type acamera_metadata_enum_acamera_noise_reduction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_noise_reduction_mode as acamera_metadata_enum_android_noise_reduction_mode_t; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE : acamera_metadata_enum_acamera_request_available_capabilities = 0 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 1 ; @@ -18618,15 +18874,17 @@ pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_R pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MONOCHROME : acamera_metadata_enum_acamera_request_available_capabilities = 12 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA : acamera_metadata_enum_acamera_request_available_capabilities = 13 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA : acamera_metadata_enum_acamera_request_available_capabilities = 14 ; -pub type acamera_metadata_enum_acamera_request_available_capabilities = u32; +pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 16 ; +pub type acamera_metadata_enum_acamera_request_available_capabilities = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_request_available_capabilities as acamera_metadata_enum_android_request_available_capabilities_t; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations as acamera_metadata_enum_android_scaler_available_stream_configurations_t; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_CENTER_ONLY : acamera_metadata_enum_acamera_scaler_cropping_type = 0 ; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_FREEFORM : acamera_metadata_enum_acamera_scaler_cropping_type = 1 ; -pub type acamera_metadata_enum_acamera_scaler_cropping_type = u32; +pub type acamera_metadata_enum_acamera_scaler_cropping_type = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_cropping_type as acamera_metadata_enum_android_scaler_cropping_type_t; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PREVIEW : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RECORD : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 1 ; @@ -18637,8 +18895,32 @@ pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_conf pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_LOW_LATENCY_SNAPSHOT : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 6 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PUBLIC_END : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 7 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VENDOR_START : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 24 ; -pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations as acamera_metadata_enum_android_scaler_available_recommended_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_NONE : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 0 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_90: + acamera_metadata_enum_acamera_scaler_rotate_and_crop = 1; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_180 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 2 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_270 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 3 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_AUTO : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 4 ; +pub type acamera_metadata_enum_acamera_scaler_rotate_and_crop = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_rotate_and_crop as acamera_metadata_enum_android_scaler_rotate_and_crop_t; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 0 ; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 1 ; +pub type acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations as acamera_metadata_enum_android_scaler_physical_camera_multi_resolution_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution as acamera_metadata_enum_android_scaler_available_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_FALSE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 0 ; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_TRUE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 1 ; +pub type acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported as acamera_metadata_enum_android_scaler_multi_resolution_stream_supported_t; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 1 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 2 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 3 ; @@ -18658,7 +18940,7 @@ pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SEN pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D75 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 22 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D50 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 23 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 24 ; -pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = u32; +pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_reference_illuminant1 as acamera_metadata_enum_android_sensor_reference_illuminant1_t; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_OFF : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 0 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_SOLID_COLOR : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 1 ; @@ -18666,8 +18948,17 @@ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 3 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_PN9 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 4 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_CUSTOM1 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 256 ; -pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = u32; +pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_test_pattern_mode as acamera_metadata_enum_android_sensor_test_pattern_mode_t; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_DEFAULT: + acamera_metadata_enum_acamera_sensor_pixel_mode = 0; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION : acamera_metadata_enum_acamera_sensor_pixel_mode = 1 ; +pub type acamera_metadata_enum_acamera_sensor_pixel_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_pixel_mode as acamera_metadata_enum_android_sensor_pixel_mode_t; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_TRUE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 0 ; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_FALSE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 1 ; +pub type acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_raw_binning_factor_used as acamera_metadata_enum_android_sensor_raw_binning_factor_used_t; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 1 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 2 ; @@ -18675,15 +18966,16 @@ pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACA pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 4 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 5 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 6 ; -pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = u32; +pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement as acamera_metadata_enum_android_sensor_info_color_filter_arrangement_t; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = u32; +pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_timestamp_source as acamera_metadata_enum_android_sensor_info_timestamp_source_t; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_FALSE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_TRUE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = u32; +pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_lens_shading_applied as acamera_metadata_enum_android_sensor_info_lens_shading_applied_t; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_OFF: acamera_metadata_enum_acamera_shading_mode = 0; @@ -18691,29 +18983,29 @@ pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_FAST: acamera_metadata_enum_acamera_shading_mode = 1; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_shading_mode = 2; -pub type acamera_metadata_enum_acamera_shading_mode = u32; +pub type acamera_metadata_enum_acamera_shading_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_shading_mode as acamera_metadata_enum_android_shading_mode_t; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_OFF : acamera_metadata_enum_acamera_statistics_face_detect_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_SIMPLE : acamera_metadata_enum_acamera_statistics_face_detect_mode = 1 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_FULL : acamera_metadata_enum_acamera_statistics_face_detect_mode = 2 ; -pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_face_detect_mode as acamera_metadata_enum_android_statistics_face_detect_mode_t; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode as acamera_metadata_enum_android_statistics_hot_pixel_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_NONE : acamera_metadata_enum_acamera_statistics_scene_flicker = 0 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_50HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 1 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_60HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 2 ; -pub type acamera_metadata_enum_acamera_statistics_scene_flicker = u32; +pub type acamera_metadata_enum_acamera_statistics_scene_flicker = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_scene_flicker as acamera_metadata_enum_android_statistics_scene_flicker_t; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_lens_shading_map_mode as acamera_metadata_enum_android_statistics_lens_shading_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_OFF : acamera_metadata_enum_acamera_statistics_ois_data_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_ON : acamera_metadata_enum_acamera_statistics_ois_data_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_ois_data_mode as acamera_metadata_enum_android_statistics_ois_data_mode_t; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_CONTRAST_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 0; @@ -18725,76 +19017,95 @@ pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_GAMMA_ acamera_metadata_enum_acamera_tonemap_mode = 3; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_PRESET_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 4; -pub type acamera_metadata_enum_acamera_tonemap_mode = u32; +pub type acamera_metadata_enum_acamera_tonemap_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_mode as acamera_metadata_enum_android_tonemap_mode_t; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_SRGB: acamera_metadata_enum_acamera_tonemap_preset_curve = 0; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_REC709: acamera_metadata_enum_acamera_tonemap_preset_curve = 1; -pub type acamera_metadata_enum_acamera_tonemap_preset_curve = u32; +pub type acamera_metadata_enum_acamera_tonemap_preset_curve = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_preset_curve as acamera_metadata_enum_android_tonemap_preset_curve_t; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED : acamera_metadata_enum_acamera_info_supported_hardware_level = 0 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_FULL : acamera_metadata_enum_acamera_info_supported_hardware_level = 1 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY : acamera_metadata_enum_acamera_info_supported_hardware_level = 2 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_3 : acamera_metadata_enum_acamera_info_supported_hardware_level = 3 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL : acamera_metadata_enum_acamera_info_supported_hardware_level = 4 ; -pub type acamera_metadata_enum_acamera_info_supported_hardware_level = u32; +pub type acamera_metadata_enum_acamera_info_supported_hardware_level = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_info_supported_hardware_level as acamera_metadata_enum_android_info_supported_hardware_level_t; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_OFF: acamera_metadata_enum_acamera_black_level_lock = 0; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_ON: acamera_metadata_enum_acamera_black_level_lock = 1; -pub type acamera_metadata_enum_acamera_black_level_lock = u32; +pub type acamera_metadata_enum_acamera_black_level_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_black_level_lock as acamera_metadata_enum_android_black_level_lock_t; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_CONVERGING: acamera_metadata_enum_acamera_sync_frame_number = -1; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_UNKNOWN: acamera_metadata_enum_acamera_sync_frame_number = -2; -pub type acamera_metadata_enum_acamera_sync_frame_number = i32; +pub type acamera_metadata_enum_acamera_sync_frame_number = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_frame_number as acamera_metadata_enum_android_sync_frame_number_t; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_PER_FRAME_CONTROL : acamera_metadata_enum_acamera_sync_max_latency = 0 ; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_UNKNOWN: acamera_metadata_enum_acamera_sync_max_latency = -1; -pub type acamera_metadata_enum_acamera_sync_max_latency = i32; +pub type acamera_metadata_enum_acamera_sync_max_latency = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_max_latency as acamera_metadata_enum_android_sync_max_latency_t; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations as acamera_metadata_enum_android_depth_available_depth_stream_configurations_t; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_FALSE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 0 ; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_TRUE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 1 ; -pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = u32; +pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_depth_is_exclusive as acamera_metadata_enum_android_depth_depth_is_exclusive_t; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_t; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_depth_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_maximum_resolution_t; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 0 ; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 1 ; -pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = u32; +pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type as acamera_metadata_enum_android_logical_multi_camera_sensor_sync_type_t; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_OFF : acamera_metadata_enum_acamera_distortion_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_FAST : acamera_metadata_enum_acamera_distortion_correction_mode = 1 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_distortion_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_distortion_correction_mode = u32; +pub type acamera_metadata_enum_acamera_distortion_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_distortion_correction_mode as acamera_metadata_enum_android_distortion_correction_mode_t; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations as acamera_metadata_enum_android_heic_available_heic_stream_configurations_t; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution as acamera_metadata_enum_android_heic_available_heic_stream_configurations_maximum_resolution_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_54 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_54 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_54 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_54 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_54 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_54 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_54 = 6; -pub type _bindgen_ty_54 = u32; +pub const ACAMERA_TYPE_BYTE: ::std::os::raw::c_uint = 0; +pub const ACAMERA_TYPE_INT32: ::std::os::raw::c_uint = 1; +pub const ACAMERA_TYPE_FLOAT: ::std::os::raw::c_uint = 2; +pub const ACAMERA_TYPE_INT64: ::std::os::raw::c_uint = 3; +pub const ACAMERA_TYPE_DOUBLE: ::std::os::raw::c_uint = 4; +pub const ACAMERA_TYPE_RATIONAL: ::std::os::raw::c_uint = 5; +pub const ACAMERA_NUM_TYPES: ::std::os::raw::c_uint = 6; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -18849,13 +19160,12 @@ pub struct ACameraMetadata_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_entry__bindgen_ty_1 { - pub u8: *mut u8, - pub i32: *mut i32, + pub u8_: *mut u8, + pub i32_: *mut i32, pub f: *mut f32, - pub i64: *mut i64, + pub i64_: *mut i64, pub d: *mut f64, pub r: *mut ACameraMetadata_rational, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { @@ -18874,26 +19184,27 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ as usize + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ as usize + &(*(::std::ptr::null::())).i32_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -18910,14 +19221,15 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ as usize + &(*(::std::ptr::null::())).i64_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -19009,13 +19321,12 @@ pub struct ACameraMetadata_const_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_const_entry__bindgen_ty_1 { - pub u8: *const u8, - pub i32: *const i32, + pub u8_: *const u8, + pub i32_: *const i32, pub f: *const f32, - pub i64: *const i64, + pub i64_: *const i64, pub d: *const f64, pub r: *const ACameraMetadata_rational, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { @@ -19037,7 +19348,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, @@ -19045,12 +19356,12 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ + &(*(::std::ptr::null::())).i32_ as *const _ as usize }, 0usize, @@ -19058,7 +19369,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -19076,7 +19387,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ + &(*(::std::ptr::null::())).i64_ as *const _ as usize }, 0usize, @@ -19084,7 +19395,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -19472,9 +19783,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_55 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_55 = 1; -pub type _bindgen_ty_55 = u32; +pub const CAPTURE_FAILURE_REASON_FLUSHED: ::std::os::raw::c_uint = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -19725,8 +20036,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_56 = -1; -pub type _bindgen_ty_56 = i32; +pub const CAPTURE_SEQUENCE_ID_NONE: ::std::os::raw::c_int = -1; +pub type _bindgen_ty_55 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -20036,12 +20347,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_57 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_57 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_57 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_57 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_57 = 5; -pub type _bindgen_ty_57 = u32; +pub const ERROR_CAMERA_IN_USE: ::std::os::raw::c_uint = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: ::std::os::raw::c_uint = 2; +pub const ERROR_CAMERA_DISABLED: ::std::os::raw::c_uint = 3; +pub const ERROR_CAMERA_DEVICE: ::std::os::raw::c_uint = 4; +pub const ERROR_CAMERA_SERVICE: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type ACameraDevice_StateCallback = ::std::option::Option< unsafe extern "C" fn(context: *mut ::std::os::raw::c_void, device: *mut ACameraDevice), >; @@ -20124,7 +20435,7 @@ pub const ACameraDevice_request_template_TEMPLATE_VIDEO_SNAPSHOT: ACameraDevice_ pub const ACameraDevice_request_template_TEMPLATE_ZERO_SHUTTER_LAG: ACameraDevice_request_template = 5; pub const ACameraDevice_request_template_TEMPLATE_MANUAL: ACameraDevice_request_template = 6; -pub type ACameraDevice_request_template = u32; +pub type ACameraDevice_request_template = ::std::os::raw::c_uint; extern "C" { pub fn ACameraDevice_createCaptureRequest( device: *const ACameraDevice, @@ -20482,7 +20793,7 @@ pub const media_status_t_AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED: media_status_t = pub const media_status_t_AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE: media_status_t = -30003; pub const media_status_t_AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE: media_status_t = -30004; pub const media_status_t_AMEDIA_IMGREADER_IMAGE_NOT_LOCKED: media_status_t = -30005; -pub type media_status_t = i32; +pub type media_status_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImage { @@ -20505,7 +20816,7 @@ pub const AIMAGE_FORMATS_AIMAGE_FORMAT_PRIVATE: AIMAGE_FORMATS = 34; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_Y8: AIMAGE_FORMATS = 538982489; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_HEIC: AIMAGE_FORMATS = 1212500294; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_DEPTH_JPEG: AIMAGE_FORMATS = 1768253795; -pub type AIMAGE_FORMATS = u32; +pub type AIMAGE_FORMATS = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImageCropRect { diff --git a/ndk-sys/src/ffi_i686.rs b/ndk-sys/src/ffi_i686.rs index e6c87df2..29ebbe19 100644 --- a/ndk-sys/src/ffi_i686.rs +++ b/ndk-sys/src/ffi_i686.rs @@ -1,12 +1,13 @@ -/* automatically generated by rust-bindgen */ +/* automatically generated by rust-bindgen 0.59.1 */ pub const __BIONIC__: u32 = 1; pub const __WORDSIZE: u32 = 32; pub const __bos_level: u32 = 0; -pub const __NDK_MAJOR__: u32 = 21; -pub const __NDK_MINOR__: u32 = 1; -pub const __NDK_BETA__: u32 = 3; -pub const __NDK_BUILD__: u32 = 6363665; +pub const __ANDROID_NDK__: u32 = 1; +pub const __NDK_MAJOR__: u32 = 23; +pub const __NDK_MINOR__: u32 = 0; +pub const __NDK_BETA__: u32 = 0; +pub const __NDK_BUILD__: u32 = 7599858; pub const __NDK_CANARY__: u32 = 0; pub const __ANDROID_API_FUTURE__: u32 = 10000; pub const __ANDROID_API__: u32 = 10000; @@ -26,6 +27,7 @@ pub const __ANDROID_API_O_MR1__: u32 = 27; pub const __ANDROID_API_P__: u32 = 28; pub const __ANDROID_API_Q__: u32 = 29; pub const __ANDROID_API_R__: u32 = 30; +pub const __ANDROID_API_S__: u32 = 31; pub const INT8_MIN: i32 = -128; pub const INT8_MAX: u32 = 127; pub const INT_LEAST8_MIN: i32 = -128; @@ -204,7 +206,6 @@ pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\0"; pub const SCNxFAST64: &'static [u8; 4usize] = b"llx\0"; pub const SCNxMAX: &'static [u8; 3usize] = b"jx\0"; pub const AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT: u32 = 8; -pub const _K_SS_MAXSIZE: u32 = 128; pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; @@ -349,6 +350,8 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; pub const SOCK_IOC_TYPE: u32 = 137; pub const SIOCADDRT: u32 = 35083; pub const SIOCDELRT: u32 = 35084; @@ -643,6 +646,7 @@ pub const __WCLONE: u32 = 2147483648; pub const P_ALL: u32 = 0; pub const P_PID: u32 = 1; pub const P_PGID: u32 = 2; +pub const P_PIDFD: u32 = 3; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -660,9 +664,19 @@ pub const L_ctermid: u32 = 1024; pub const STRUCT_MALLINFO_DECLARED: u32 = 1; pub const M_DECAY_TIME: i32 = -100; pub const M_PURGE: i32 = -101; +pub const M_MEMTAG_TUNING: i32 = -102; +pub const M_MEMTAG_TUNING_BUFFER_OVERFLOW: u32 = 0; +pub const M_MEMTAG_TUNING_UAF: u32 = 1; +pub const M_THREAD_DISABLE_MEM_INIT: i32 = -103; +pub const M_CACHE_COUNT_MAX: i32 = -200; +pub const M_CACHE_SIZE_MAX: i32 = -201; +pub const M_TSDS_COUNT_MAX: i32 = -202; +pub const M_BIONIC_ZERO_INIT: i32 = -203; +pub const M_BIONIC_SET_HEAP_TAGGING_LEVEL: i32 = -204; pub const EXIT_FAILURE: u32 = 1; pub const EXIT_SUCCESS: u32 = 0; pub const RAND_MAX: u32 = 2147483647; +pub const __NNAPI_FL5_MIN_ANDROID_API__: u32 = 31; pub const NR_OPEN: u32 = 1024; pub const NGROUPS_MAX: u32 = 65536; pub const ARG_MAX: u32 = 131072; @@ -942,18 +956,20 @@ pub const SIGPWR: u32 = 30; pub const SIGSYS: u32 = 31; pub const SIGUNUSED: u32 = 31; pub const __SIGRTMIN: u32 = 32; +pub const SA_RESTORER: u32 = 67108864; +pub const MINSIGSTKSZ: u32 = 2048; +pub const SIGSTKSZ: u32 = 8192; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; pub const SA_SIGINFO: u32 = 4; +pub const SA_UNSUPPORTED: u32 = 1024; +pub const SA_EXPOSE_TAGBITS: u32 = 2048; pub const SA_ONSTACK: u32 = 134217728; pub const SA_RESTART: u32 = 268435456; pub const SA_NODEFER: u32 = 1073741824; pub const SA_RESETHAND: u32 = 2147483648; pub const SA_NOMASK: u32 = 1073741824; pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_RESTORER: u32 = 67108864; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; pub const SIG_BLOCK: u32 = 0; pub const SIG_UNBLOCK: u32 = 1; pub const SIG_SETMASK: u32 = 2; @@ -1003,7 +1019,9 @@ pub const SEGV_PKUERR: u32 = 4; pub const SEGV_ACCADI: u32 = 5; pub const SEGV_ADIDERR: u32 = 6; pub const SEGV_ADIPERR: u32 = 7; -pub const NSIGSEGV: u32 = 7; +pub const SEGV_MTEAERR: u32 = 8; +pub const SEGV_MTESERR: u32 = 9; +pub const NSIGSEGV: u32 = 9; pub const BUS_ADRALN: u32 = 1; pub const BUS_ADRERR: u32 = 2; pub const BUS_OBJERR: u32 = 3; @@ -1015,7 +1033,8 @@ pub const TRAP_TRACE: u32 = 2; pub const TRAP_BRANCH: u32 = 3; pub const TRAP_HWBKPT: u32 = 4; pub const TRAP_UNK: u32 = 5; -pub const NSIGTRAP: u32 = 5; +pub const TRAP_PERF: u32 = 6; +pub const NSIGTRAP: u32 = 6; pub const CLD_EXITED: u32 = 1; pub const CLD_KILLED: u32 = 2; pub const CLD_DUMPED: u32 = 3; @@ -1031,7 +1050,8 @@ pub const POLL_PRI: u32 = 5; pub const POLL_HUP: u32 = 6; pub const NSIGPOLL: u32 = 6; pub const SYS_SECCOMP: u32 = 1; -pub const NSIGSYS: u32 = 1; +pub const SYS_USER_DISPATCH: u32 = 2; +pub const NSIGSYS: u32 = 2; pub const EMT_TAGOVF: u32 = 1; pub const NSIGEMT: u32 = 1; pub const SIGEV_SIGNAL: u32 = 0; @@ -1222,6 +1242,7 @@ fn bindgen_test_layout___kernel_fsid_t() { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -1536,11 +1557,11 @@ pub struct AAssetDir { pub struct AAsset { _unused: [u8; 0], } -pub const AASSET_MODE_UNKNOWN: _bindgen_ty_1 = 0; -pub const AASSET_MODE_RANDOM: _bindgen_ty_1 = 1; -pub const AASSET_MODE_STREAMING: _bindgen_ty_1 = 2; -pub const AASSET_MODE_BUFFER: _bindgen_ty_1 = 3; -pub type _bindgen_ty_1 = u32; +pub const AASSET_MODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AASSET_MODE_RANDOM: ::std::os::raw::c_uint = 1; +pub const AASSET_MODE_STREAMING: ::std::os::raw::c_uint = 2; +pub const AASSET_MODE_BUFFER: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_1 = ::std::os::raw::c_uint; extern "C" { pub fn AAssetManager_openDir( mgr: *mut AAssetManager, @@ -1665,7 +1686,6 @@ pub union jvalue { pub f: jfloat, pub d: jdouble, pub l: jobject, - _bindgen_union_align: [u32; 2usize], } #[test] fn bindgen_test_layout_jvalue() { @@ -1729,7 +1749,7 @@ pub const jobjectRefType_JNIInvalidRefType: jobjectRefType = 0; pub const jobjectRefType_JNILocalRefType: jobjectRefType = 1; pub const jobjectRefType_JNIGlobalRefType: jobjectRefType = 2; pub const jobjectRefType_JNIWeakGlobalRefType: jobjectRefType = 3; -pub type jobjectRefType = u32; +pub type jobjectRefType = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JNINativeMethod { @@ -6191,26 +6211,26 @@ extern "C" { extern "C" { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } -pub const ANDROID_BITMAP_RESULT_SUCCESS: _bindgen_ty_2 = 0; -pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: _bindgen_ty_2 = -1; -pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: _bindgen_ty_2 = -2; -pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: _bindgen_ty_2 = -3; -pub type _bindgen_ty_2 = i32; +pub const ANDROID_BITMAP_RESULT_SUCCESS: ::std::os::raw::c_int = 0; +pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: ::std::os::raw::c_int = -1; +pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: ::std::os::raw::c_int = -2; +pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: ::std::os::raw::c_int = -3; +pub type _bindgen_ty_2 = ::std::os::raw::c_int; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_NONE: AndroidBitmapFormat = 0; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_8888: AndroidBitmapFormat = 1; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGB_565: AndroidBitmapFormat = 4; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_4444: AndroidBitmapFormat = 7; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_A_8: AndroidBitmapFormat = 8; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_F16: AndroidBitmapFormat = 9; -pub type AndroidBitmapFormat = u32; -pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: _bindgen_ty_3 = 0; -pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: _bindgen_ty_3 = 1; -pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: _bindgen_ty_3 = 2; -pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: _bindgen_ty_3 = 3; -pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: _bindgen_ty_3 = 0; -pub type _bindgen_ty_3 = u32; -pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: _bindgen_ty_4 = -2147483648; -pub type _bindgen_ty_4 = i32; +pub type AndroidBitmapFormat = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: ::std::os::raw::c_uint = 0; +pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: ::std::os::raw::c_uint = 1; +pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: ::std::os::raw::c_uint = 2; +pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: ::std::os::raw::c_uint = 3; +pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: ::std::os::raw::c_uint = 0; +pub type _bindgen_ty_3 = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: ::std::os::raw::c_int = -2147483648; +pub type _bindgen_ty_4 = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AndroidBitmapInfo { @@ -6311,7 +6331,7 @@ pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSY: AndroidBitmapCompressFormat = 3; pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSLESS: AndroidBitmapCompressFormat = 4; -pub type AndroidBitmapCompressFormat = u32; +pub type AndroidBitmapCompressFormat = ::std::os::raw::c_uint; pub type AndroidBitmap_CompressWriteFunc = ::std::option::Option< unsafe extern "C" fn( userContext: *mut ::std::os::raw::c_void, @@ -6408,93 +6428,93 @@ extern "C" { pub struct AConfiguration { _unused: [u8; 0], } -pub const ACONFIGURATION_ORIENTATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_ORIENTATION_PORT: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_ORIENTATION_LAND: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_ORIENTATION_SQUARE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_TOUCHSCREEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_TOUCHSCREEN_FINGER: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_DENSITY_DEFAULT: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_DENSITY_LOW: _bindgen_ty_5 = 120; -pub const ACONFIGURATION_DENSITY_MEDIUM: _bindgen_ty_5 = 160; -pub const ACONFIGURATION_DENSITY_TV: _bindgen_ty_5 = 213; -pub const ACONFIGURATION_DENSITY_HIGH: _bindgen_ty_5 = 240; -pub const ACONFIGURATION_DENSITY_XHIGH: _bindgen_ty_5 = 320; -pub const ACONFIGURATION_DENSITY_XXHIGH: _bindgen_ty_5 = 480; -pub const ACONFIGURATION_DENSITY_XXXHIGH: _bindgen_ty_5 = 640; -pub const ACONFIGURATION_DENSITY_ANY: _bindgen_ty_5 = 65534; -pub const ACONFIGURATION_DENSITY_NONE: _bindgen_ty_5 = 65535; -pub const ACONFIGURATION_KEYBOARD_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYBOARD_NOKEYS: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYBOARD_QWERTY: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYBOARD_12KEY: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVIGATION_NONAV: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVIGATION_DPAD: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_NAVIGATION_TRACKBALL: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_WHEEL: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_KEYSHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYSHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYSHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYSHIDDEN_SOFT: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENSIZE_SMALL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENSIZE_NORMAL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_LARGE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_SCREENSIZE_XLARGE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_SCREENLONG_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENLONG_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENLONG_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENROUND_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENROUND_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENROUND_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_HDR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_HDR_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_HDR_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_TYPE_DESK: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_CAR: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: _bindgen_ty_5 = 5; -pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: _bindgen_ty_5 = 6; -pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: _bindgen_ty_5 = 7; -pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_NIGHT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_NIGHT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_LTR: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_LAYOUTDIR_RTL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_MCC: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_MNC: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_LOCALE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_TOUCHSCREEN: _bindgen_ty_5 = 8; -pub const ACONFIGURATION_KEYBOARD: _bindgen_ty_5 = 16; -pub const ACONFIGURATION_KEYBOARD_HIDDEN: _bindgen_ty_5 = 32; -pub const ACONFIGURATION_NAVIGATION: _bindgen_ty_5 = 64; -pub const ACONFIGURATION_ORIENTATION: _bindgen_ty_5 = 128; -pub const ACONFIGURATION_DENSITY: _bindgen_ty_5 = 256; -pub const ACONFIGURATION_SCREEN_SIZE: _bindgen_ty_5 = 512; -pub const ACONFIGURATION_VERSION: _bindgen_ty_5 = 1024; -pub const ACONFIGURATION_SCREEN_LAYOUT: _bindgen_ty_5 = 2048; -pub const ACONFIGURATION_UI_MODE: _bindgen_ty_5 = 4096; -pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: _bindgen_ty_5 = 8192; -pub const ACONFIGURATION_LAYOUTDIR: _bindgen_ty_5 = 16384; -pub const ACONFIGURATION_SCREEN_ROUND: _bindgen_ty_5 = 32768; -pub const ACONFIGURATION_COLOR_MODE: _bindgen_ty_5 = 65536; -pub const ACONFIGURATION_MNC_ZERO: _bindgen_ty_5 = 65535; -pub type _bindgen_ty_5 = u32; +pub const ACONFIGURATION_ORIENTATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_ORIENTATION_PORT: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_ORIENTATION_LAND: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_ORIENTATION_SQUARE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_TOUCHSCREEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_TOUCHSCREEN_FINGER: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_DENSITY_DEFAULT: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_DENSITY_LOW: ::std::os::raw::c_uint = 120; +pub const ACONFIGURATION_DENSITY_MEDIUM: ::std::os::raw::c_uint = 160; +pub const ACONFIGURATION_DENSITY_TV: ::std::os::raw::c_uint = 213; +pub const ACONFIGURATION_DENSITY_HIGH: ::std::os::raw::c_uint = 240; +pub const ACONFIGURATION_DENSITY_XHIGH: ::std::os::raw::c_uint = 320; +pub const ACONFIGURATION_DENSITY_XXHIGH: ::std::os::raw::c_uint = 480; +pub const ACONFIGURATION_DENSITY_XXXHIGH: ::std::os::raw::c_uint = 640; +pub const ACONFIGURATION_DENSITY_ANY: ::std::os::raw::c_uint = 65534; +pub const ACONFIGURATION_DENSITY_NONE: ::std::os::raw::c_uint = 65535; +pub const ACONFIGURATION_KEYBOARD_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYBOARD_NOKEYS: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYBOARD_QWERTY: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYBOARD_12KEY: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVIGATION_NONAV: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVIGATION_DPAD: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_NAVIGATION_TRACKBALL: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_WHEEL: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_KEYSHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYSHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYSHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYSHIDDEN_SOFT: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENSIZE_SMALL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENSIZE_NORMAL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_LARGE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_SCREENSIZE_XLARGE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_SCREENLONG_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENLONG_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENLONG_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENROUND_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENROUND_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENROUND_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_HDR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_HDR_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_HDR_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_TYPE_DESK: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_CAR: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: ::std::os::raw::c_uint = 5; +pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: ::std::os::raw::c_uint = 6; +pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: ::std::os::raw::c_uint = 7; +pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_NIGHT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_NIGHT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_LTR: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_LAYOUTDIR_RTL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_MCC: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_MNC: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_LOCALE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_TOUCHSCREEN: ::std::os::raw::c_uint = 8; +pub const ACONFIGURATION_KEYBOARD: ::std::os::raw::c_uint = 16; +pub const ACONFIGURATION_KEYBOARD_HIDDEN: ::std::os::raw::c_uint = 32; +pub const ACONFIGURATION_NAVIGATION: ::std::os::raw::c_uint = 64; +pub const ACONFIGURATION_ORIENTATION: ::std::os::raw::c_uint = 128; +pub const ACONFIGURATION_DENSITY: ::std::os::raw::c_uint = 256; +pub const ACONFIGURATION_SCREEN_SIZE: ::std::os::raw::c_uint = 512; +pub const ACONFIGURATION_VERSION: ::std::os::raw::c_uint = 1024; +pub const ACONFIGURATION_SCREEN_LAYOUT: ::std::os::raw::c_uint = 2048; +pub const ACONFIGURATION_UI_MODE: ::std::os::raw::c_uint = 4096; +pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: ::std::os::raw::c_uint = 8192; +pub const ACONFIGURATION_LAYOUTDIR: ::std::os::raw::c_uint = 16384; +pub const ACONFIGURATION_SCREEN_ROUND: ::std::os::raw::c_uint = 32768; +pub const ACONFIGURATION_COLOR_MODE: ::std::os::raw::c_uint = 65536; +pub const ACONFIGURATION_MNC_ZERO: ::std::os::raw::c_uint = 65535; +pub type _bindgen_ty_5 = ::std::os::raw::c_uint; extern "C" { pub fn AConfiguration_new() -> *mut AConfiguration; } @@ -6742,18 +6762,18 @@ pub const ADataSpace_ADATASPACE_BT2020: ADataSpace = 147193856; pub const ADataSpace_ADATASPACE_BT709: ADataSpace = 281083904; pub const ADataSpace_ADATASPACE_DCI_P3: ADataSpace = 155844608; pub const ADataSpace_ADATASPACE_SRGB_LINEAR: ADataSpace = 138477568; -pub type ADataSpace = u32; -pub const ANDROID_DLEXT_RESERVED_ADDRESS: _bindgen_ty_6 = 1; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: _bindgen_ty_6 = 2; -pub const ANDROID_DLEXT_WRITE_RELRO: _bindgen_ty_6 = 4; -pub const ANDROID_DLEXT_USE_RELRO: _bindgen_ty_6 = 8; -pub const ANDROID_DLEXT_USE_LIBRARY_FD: _bindgen_ty_6 = 16; -pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: _bindgen_ty_6 = 32; -pub const ANDROID_DLEXT_FORCE_LOAD: _bindgen_ty_6 = 64; -pub const ANDROID_DLEXT_USE_NAMESPACE: _bindgen_ty_6 = 512; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: _bindgen_ty_6 = 1024; -pub const ANDROID_DLEXT_VALID_FLAG_BITS: _bindgen_ty_6 = 1663; -pub type _bindgen_ty_6 = u32; +pub type ADataSpace = ::std::os::raw::c_uint; +pub const ANDROID_DLEXT_RESERVED_ADDRESS: ::std::os::raw::c_uint = 1; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: ::std::os::raw::c_uint = 2; +pub const ANDROID_DLEXT_WRITE_RELRO: ::std::os::raw::c_uint = 4; +pub const ANDROID_DLEXT_USE_RELRO: ::std::os::raw::c_uint = 8; +pub const ANDROID_DLEXT_USE_LIBRARY_FD: ::std::os::raw::c_uint = 16; +pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: ::std::os::raw::c_uint = 32; +pub const ANDROID_DLEXT_FORCE_LOAD: ::std::os::raw::c_uint = 64; +pub const ANDROID_DLEXT_USE_NAMESPACE: ::std::os::raw::c_uint = 512; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: ::std::os::raw::c_uint = 1024; +pub const ANDROID_DLEXT_VALID_FLAG_BITS: ::std::os::raw::c_uint = 1663; +pub type _bindgen_ty_6 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct android_namespace_t { @@ -6943,7 +6963,7 @@ pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: AHard 52; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_S8_UINT: AHardwareBuffer_Format = 53; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: AHardwareBuffer_Format = 35; -pub type AHardwareBuffer_Format = u32; +pub type AHardwareBuffer_Format = ::std::os::raw::c_uint; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_NEVER: AHardwareBuffer_UsageFlags = 0; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_RARELY: @@ -7020,7 +7040,7 @@ pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_18: AHardwareB 4611686018427387904; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_19: AHardwareBuffer_UsageFlags = 9223372036854775808; -pub type AHardwareBuffer_UsageFlags = u64; +pub type AHardwareBuffer_UsageFlags = ::std::os::raw::c_ulonglong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AHardwareBuffer_Desc { @@ -7246,15 +7266,6 @@ extern "C" { outVirtualAddress: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } -extern "C" { - pub fn AHardwareBuffer_lockPlanes( - buffer: *mut AHardwareBuffer, - usage: u64, - fence: i32, - rect: *const ARect, - outPlanes: *mut AHardwareBuffer_Planes, - ) -> ::std::os::raw::c_int; -} extern "C" { pub fn AHardwareBuffer_unlock( buffer: *mut AHardwareBuffer, @@ -7273,6 +7284,15 @@ extern "C" { outBuffer: *mut *mut AHardwareBuffer, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_lockPlanes( + buffer: *mut AHardwareBuffer, + usage: u64, + fence: i32, + rect: *const ARect, + outPlanes: *mut AHardwareBuffer_Planes, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_isSupported(desc: *const AHardwareBuffer_Desc) -> ::std::os::raw::c_int; } @@ -7287,6 +7307,12 @@ extern "C" { outBytesPerStride: *mut i32, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_getId( + buffer: *const AHardwareBuffer, + outId: *mut u64, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_fromHardwareBuffer( env: *mut JNIEnv, @@ -7299,296 +7325,296 @@ extern "C" { hardwareBuffer: *mut AHardwareBuffer, ) -> jobject; } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_7 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_7 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_7 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_7 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_7 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_7 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_7 = 6; -pub const AKEYCODE_0: _bindgen_ty_7 = 7; -pub const AKEYCODE_1: _bindgen_ty_7 = 8; -pub const AKEYCODE_2: _bindgen_ty_7 = 9; -pub const AKEYCODE_3: _bindgen_ty_7 = 10; -pub const AKEYCODE_4: _bindgen_ty_7 = 11; -pub const AKEYCODE_5: _bindgen_ty_7 = 12; -pub const AKEYCODE_6: _bindgen_ty_7 = 13; -pub const AKEYCODE_7: _bindgen_ty_7 = 14; -pub const AKEYCODE_8: _bindgen_ty_7 = 15; -pub const AKEYCODE_9: _bindgen_ty_7 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_7 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_7 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_7 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_7 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_7 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_7 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_7 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_7 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_7 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_7 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_7 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_7 = 28; -pub const AKEYCODE_A: _bindgen_ty_7 = 29; -pub const AKEYCODE_B: _bindgen_ty_7 = 30; -pub const AKEYCODE_C: _bindgen_ty_7 = 31; -pub const AKEYCODE_D: _bindgen_ty_7 = 32; -pub const AKEYCODE_E: _bindgen_ty_7 = 33; -pub const AKEYCODE_F: _bindgen_ty_7 = 34; -pub const AKEYCODE_G: _bindgen_ty_7 = 35; -pub const AKEYCODE_H: _bindgen_ty_7 = 36; -pub const AKEYCODE_I: _bindgen_ty_7 = 37; -pub const AKEYCODE_J: _bindgen_ty_7 = 38; -pub const AKEYCODE_K: _bindgen_ty_7 = 39; -pub const AKEYCODE_L: _bindgen_ty_7 = 40; -pub const AKEYCODE_M: _bindgen_ty_7 = 41; -pub const AKEYCODE_N: _bindgen_ty_7 = 42; -pub const AKEYCODE_O: _bindgen_ty_7 = 43; -pub const AKEYCODE_P: _bindgen_ty_7 = 44; -pub const AKEYCODE_Q: _bindgen_ty_7 = 45; -pub const AKEYCODE_R: _bindgen_ty_7 = 46; -pub const AKEYCODE_S: _bindgen_ty_7 = 47; -pub const AKEYCODE_T: _bindgen_ty_7 = 48; -pub const AKEYCODE_U: _bindgen_ty_7 = 49; -pub const AKEYCODE_V: _bindgen_ty_7 = 50; -pub const AKEYCODE_W: _bindgen_ty_7 = 51; -pub const AKEYCODE_X: _bindgen_ty_7 = 52; -pub const AKEYCODE_Y: _bindgen_ty_7 = 53; -pub const AKEYCODE_Z: _bindgen_ty_7 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_7 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_7 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_7 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_7 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_7 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_7 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_7 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_7 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_7 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_7 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_7 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_7 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_7 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_7 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_7 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_7 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_7 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_7 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_7 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_7 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_7 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_7 = 76; -pub const AKEYCODE_AT: _bindgen_ty_7 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_7 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_7 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_7 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_7 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_7 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_7 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_7 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_7 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_7 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_7 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_7 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_7 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_7 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_7 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_7 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_7 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_7 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_7 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_7 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_7 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_7 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_7 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_7 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_7 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_7 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_7 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_7 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_7 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_7 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_7 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_7 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_7 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_7 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_7 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_7 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_7 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_7 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_7 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_7 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_7 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_7 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_7 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_7 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_7 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_7 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_7 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_7 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_7 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_7 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_7 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_7 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_7 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_7 = 130; -pub const AKEYCODE_F1: _bindgen_ty_7 = 131; -pub const AKEYCODE_F2: _bindgen_ty_7 = 132; -pub const AKEYCODE_F3: _bindgen_ty_7 = 133; -pub const AKEYCODE_F4: _bindgen_ty_7 = 134; -pub const AKEYCODE_F5: _bindgen_ty_7 = 135; -pub const AKEYCODE_F6: _bindgen_ty_7 = 136; -pub const AKEYCODE_F7: _bindgen_ty_7 = 137; -pub const AKEYCODE_F8: _bindgen_ty_7 = 138; -pub const AKEYCODE_F9: _bindgen_ty_7 = 139; -pub const AKEYCODE_F10: _bindgen_ty_7 = 140; -pub const AKEYCODE_F11: _bindgen_ty_7 = 141; -pub const AKEYCODE_F12: _bindgen_ty_7 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_7 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_7 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_7 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_7 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_7 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_7 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_7 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_7 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_7 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_7 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_7 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_7 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_7 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_7 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_7 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_7 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_7 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_7 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_7 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_7 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_7 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_7 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_7 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_7 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_7 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_7 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_7 = 169; -pub const AKEYCODE_TV: _bindgen_ty_7 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_7 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_7 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_7 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_7 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_7 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_7 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_7 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_7 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_7 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_7 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_7 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_7 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_7 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_7 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_7 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_7 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_7 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_7 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_7 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_7 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_7 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_7 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_7 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_7 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_7 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_7 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_7 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_7 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_7 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_7 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_7 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_7 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_7 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_7 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_7 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_7 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_7 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_7 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_7 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_7 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_7 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_7 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_7 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_7 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_7 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_7 = 216; -pub const AKEYCODE_RO: _bindgen_ty_7 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_7 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_7 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_7 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_7 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_7 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_7 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_7 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_7 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_7 = 226; -pub const AKEYCODE_11: _bindgen_ty_7 = 227; -pub const AKEYCODE_12: _bindgen_ty_7 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_7 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_7 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_7 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_7 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_7 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_7 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_7 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_7 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_7 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_7 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_7 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_7 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_7 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_7 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_7 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_7 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_7 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_7 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_7 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_7 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_7 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_7 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_7 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_7 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_7 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_7 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_7 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_7 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_7 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_7 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_7 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_7 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_7 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_7 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_7 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_7 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_7 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_7 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_7 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_7 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_7 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_7 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_7 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_7 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_7 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_7 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_7 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_7 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_7 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_7 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_7 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_7 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_7 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_7 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_7 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_7 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_7 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_7 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_7 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_7 = 288; -pub type _bindgen_ty_7 = u32; +pub const AKEYCODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AKEYCODE_SOFT_LEFT: ::std::os::raw::c_uint = 1; +pub const AKEYCODE_SOFT_RIGHT: ::std::os::raw::c_uint = 2; +pub const AKEYCODE_HOME: ::std::os::raw::c_uint = 3; +pub const AKEYCODE_BACK: ::std::os::raw::c_uint = 4; +pub const AKEYCODE_CALL: ::std::os::raw::c_uint = 5; +pub const AKEYCODE_ENDCALL: ::std::os::raw::c_uint = 6; +pub const AKEYCODE_0: ::std::os::raw::c_uint = 7; +pub const AKEYCODE_1: ::std::os::raw::c_uint = 8; +pub const AKEYCODE_2: ::std::os::raw::c_uint = 9; +pub const AKEYCODE_3: ::std::os::raw::c_uint = 10; +pub const AKEYCODE_4: ::std::os::raw::c_uint = 11; +pub const AKEYCODE_5: ::std::os::raw::c_uint = 12; +pub const AKEYCODE_6: ::std::os::raw::c_uint = 13; +pub const AKEYCODE_7: ::std::os::raw::c_uint = 14; +pub const AKEYCODE_8: ::std::os::raw::c_uint = 15; +pub const AKEYCODE_9: ::std::os::raw::c_uint = 16; +pub const AKEYCODE_STAR: ::std::os::raw::c_uint = 17; +pub const AKEYCODE_POUND: ::std::os::raw::c_uint = 18; +pub const AKEYCODE_DPAD_UP: ::std::os::raw::c_uint = 19; +pub const AKEYCODE_DPAD_DOWN: ::std::os::raw::c_uint = 20; +pub const AKEYCODE_DPAD_LEFT: ::std::os::raw::c_uint = 21; +pub const AKEYCODE_DPAD_RIGHT: ::std::os::raw::c_uint = 22; +pub const AKEYCODE_DPAD_CENTER: ::std::os::raw::c_uint = 23; +pub const AKEYCODE_VOLUME_UP: ::std::os::raw::c_uint = 24; +pub const AKEYCODE_VOLUME_DOWN: ::std::os::raw::c_uint = 25; +pub const AKEYCODE_POWER: ::std::os::raw::c_uint = 26; +pub const AKEYCODE_CAMERA: ::std::os::raw::c_uint = 27; +pub const AKEYCODE_CLEAR: ::std::os::raw::c_uint = 28; +pub const AKEYCODE_A: ::std::os::raw::c_uint = 29; +pub const AKEYCODE_B: ::std::os::raw::c_uint = 30; +pub const AKEYCODE_C: ::std::os::raw::c_uint = 31; +pub const AKEYCODE_D: ::std::os::raw::c_uint = 32; +pub const AKEYCODE_E: ::std::os::raw::c_uint = 33; +pub const AKEYCODE_F: ::std::os::raw::c_uint = 34; +pub const AKEYCODE_G: ::std::os::raw::c_uint = 35; +pub const AKEYCODE_H: ::std::os::raw::c_uint = 36; +pub const AKEYCODE_I: ::std::os::raw::c_uint = 37; +pub const AKEYCODE_J: ::std::os::raw::c_uint = 38; +pub const AKEYCODE_K: ::std::os::raw::c_uint = 39; +pub const AKEYCODE_L: ::std::os::raw::c_uint = 40; +pub const AKEYCODE_M: ::std::os::raw::c_uint = 41; +pub const AKEYCODE_N: ::std::os::raw::c_uint = 42; +pub const AKEYCODE_O: ::std::os::raw::c_uint = 43; +pub const AKEYCODE_P: ::std::os::raw::c_uint = 44; +pub const AKEYCODE_Q: ::std::os::raw::c_uint = 45; +pub const AKEYCODE_R: ::std::os::raw::c_uint = 46; +pub const AKEYCODE_S: ::std::os::raw::c_uint = 47; +pub const AKEYCODE_T: ::std::os::raw::c_uint = 48; +pub const AKEYCODE_U: ::std::os::raw::c_uint = 49; +pub const AKEYCODE_V: ::std::os::raw::c_uint = 50; +pub const AKEYCODE_W: ::std::os::raw::c_uint = 51; +pub const AKEYCODE_X: ::std::os::raw::c_uint = 52; +pub const AKEYCODE_Y: ::std::os::raw::c_uint = 53; +pub const AKEYCODE_Z: ::std::os::raw::c_uint = 54; +pub const AKEYCODE_COMMA: ::std::os::raw::c_uint = 55; +pub const AKEYCODE_PERIOD: ::std::os::raw::c_uint = 56; +pub const AKEYCODE_ALT_LEFT: ::std::os::raw::c_uint = 57; +pub const AKEYCODE_ALT_RIGHT: ::std::os::raw::c_uint = 58; +pub const AKEYCODE_SHIFT_LEFT: ::std::os::raw::c_uint = 59; +pub const AKEYCODE_SHIFT_RIGHT: ::std::os::raw::c_uint = 60; +pub const AKEYCODE_TAB: ::std::os::raw::c_uint = 61; +pub const AKEYCODE_SPACE: ::std::os::raw::c_uint = 62; +pub const AKEYCODE_SYM: ::std::os::raw::c_uint = 63; +pub const AKEYCODE_EXPLORER: ::std::os::raw::c_uint = 64; +pub const AKEYCODE_ENVELOPE: ::std::os::raw::c_uint = 65; +pub const AKEYCODE_ENTER: ::std::os::raw::c_uint = 66; +pub const AKEYCODE_DEL: ::std::os::raw::c_uint = 67; +pub const AKEYCODE_GRAVE: ::std::os::raw::c_uint = 68; +pub const AKEYCODE_MINUS: ::std::os::raw::c_uint = 69; +pub const AKEYCODE_EQUALS: ::std::os::raw::c_uint = 70; +pub const AKEYCODE_LEFT_BRACKET: ::std::os::raw::c_uint = 71; +pub const AKEYCODE_RIGHT_BRACKET: ::std::os::raw::c_uint = 72; +pub const AKEYCODE_BACKSLASH: ::std::os::raw::c_uint = 73; +pub const AKEYCODE_SEMICOLON: ::std::os::raw::c_uint = 74; +pub const AKEYCODE_APOSTROPHE: ::std::os::raw::c_uint = 75; +pub const AKEYCODE_SLASH: ::std::os::raw::c_uint = 76; +pub const AKEYCODE_AT: ::std::os::raw::c_uint = 77; +pub const AKEYCODE_NUM: ::std::os::raw::c_uint = 78; +pub const AKEYCODE_HEADSETHOOK: ::std::os::raw::c_uint = 79; +pub const AKEYCODE_FOCUS: ::std::os::raw::c_uint = 80; +pub const AKEYCODE_PLUS: ::std::os::raw::c_uint = 81; +pub const AKEYCODE_MENU: ::std::os::raw::c_uint = 82; +pub const AKEYCODE_NOTIFICATION: ::std::os::raw::c_uint = 83; +pub const AKEYCODE_SEARCH: ::std::os::raw::c_uint = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: ::std::os::raw::c_uint = 85; +pub const AKEYCODE_MEDIA_STOP: ::std::os::raw::c_uint = 86; +pub const AKEYCODE_MEDIA_NEXT: ::std::os::raw::c_uint = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: ::std::os::raw::c_uint = 88; +pub const AKEYCODE_MEDIA_REWIND: ::std::os::raw::c_uint = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: ::std::os::raw::c_uint = 90; +pub const AKEYCODE_MUTE: ::std::os::raw::c_uint = 91; +pub const AKEYCODE_PAGE_UP: ::std::os::raw::c_uint = 92; +pub const AKEYCODE_PAGE_DOWN: ::std::os::raw::c_uint = 93; +pub const AKEYCODE_PICTSYMBOLS: ::std::os::raw::c_uint = 94; +pub const AKEYCODE_SWITCH_CHARSET: ::std::os::raw::c_uint = 95; +pub const AKEYCODE_BUTTON_A: ::std::os::raw::c_uint = 96; +pub const AKEYCODE_BUTTON_B: ::std::os::raw::c_uint = 97; +pub const AKEYCODE_BUTTON_C: ::std::os::raw::c_uint = 98; +pub const AKEYCODE_BUTTON_X: ::std::os::raw::c_uint = 99; +pub const AKEYCODE_BUTTON_Y: ::std::os::raw::c_uint = 100; +pub const AKEYCODE_BUTTON_Z: ::std::os::raw::c_uint = 101; +pub const AKEYCODE_BUTTON_L1: ::std::os::raw::c_uint = 102; +pub const AKEYCODE_BUTTON_R1: ::std::os::raw::c_uint = 103; +pub const AKEYCODE_BUTTON_L2: ::std::os::raw::c_uint = 104; +pub const AKEYCODE_BUTTON_R2: ::std::os::raw::c_uint = 105; +pub const AKEYCODE_BUTTON_THUMBL: ::std::os::raw::c_uint = 106; +pub const AKEYCODE_BUTTON_THUMBR: ::std::os::raw::c_uint = 107; +pub const AKEYCODE_BUTTON_START: ::std::os::raw::c_uint = 108; +pub const AKEYCODE_BUTTON_SELECT: ::std::os::raw::c_uint = 109; +pub const AKEYCODE_BUTTON_MODE: ::std::os::raw::c_uint = 110; +pub const AKEYCODE_ESCAPE: ::std::os::raw::c_uint = 111; +pub const AKEYCODE_FORWARD_DEL: ::std::os::raw::c_uint = 112; +pub const AKEYCODE_CTRL_LEFT: ::std::os::raw::c_uint = 113; +pub const AKEYCODE_CTRL_RIGHT: ::std::os::raw::c_uint = 114; +pub const AKEYCODE_CAPS_LOCK: ::std::os::raw::c_uint = 115; +pub const AKEYCODE_SCROLL_LOCK: ::std::os::raw::c_uint = 116; +pub const AKEYCODE_META_LEFT: ::std::os::raw::c_uint = 117; +pub const AKEYCODE_META_RIGHT: ::std::os::raw::c_uint = 118; +pub const AKEYCODE_FUNCTION: ::std::os::raw::c_uint = 119; +pub const AKEYCODE_SYSRQ: ::std::os::raw::c_uint = 120; +pub const AKEYCODE_BREAK: ::std::os::raw::c_uint = 121; +pub const AKEYCODE_MOVE_HOME: ::std::os::raw::c_uint = 122; +pub const AKEYCODE_MOVE_END: ::std::os::raw::c_uint = 123; +pub const AKEYCODE_INSERT: ::std::os::raw::c_uint = 124; +pub const AKEYCODE_FORWARD: ::std::os::raw::c_uint = 125; +pub const AKEYCODE_MEDIA_PLAY: ::std::os::raw::c_uint = 126; +pub const AKEYCODE_MEDIA_PAUSE: ::std::os::raw::c_uint = 127; +pub const AKEYCODE_MEDIA_CLOSE: ::std::os::raw::c_uint = 128; +pub const AKEYCODE_MEDIA_EJECT: ::std::os::raw::c_uint = 129; +pub const AKEYCODE_MEDIA_RECORD: ::std::os::raw::c_uint = 130; +pub const AKEYCODE_F1: ::std::os::raw::c_uint = 131; +pub const AKEYCODE_F2: ::std::os::raw::c_uint = 132; +pub const AKEYCODE_F3: ::std::os::raw::c_uint = 133; +pub const AKEYCODE_F4: ::std::os::raw::c_uint = 134; +pub const AKEYCODE_F5: ::std::os::raw::c_uint = 135; +pub const AKEYCODE_F6: ::std::os::raw::c_uint = 136; +pub const AKEYCODE_F7: ::std::os::raw::c_uint = 137; +pub const AKEYCODE_F8: ::std::os::raw::c_uint = 138; +pub const AKEYCODE_F9: ::std::os::raw::c_uint = 139; +pub const AKEYCODE_F10: ::std::os::raw::c_uint = 140; +pub const AKEYCODE_F11: ::std::os::raw::c_uint = 141; +pub const AKEYCODE_F12: ::std::os::raw::c_uint = 142; +pub const AKEYCODE_NUM_LOCK: ::std::os::raw::c_uint = 143; +pub const AKEYCODE_NUMPAD_0: ::std::os::raw::c_uint = 144; +pub const AKEYCODE_NUMPAD_1: ::std::os::raw::c_uint = 145; +pub const AKEYCODE_NUMPAD_2: ::std::os::raw::c_uint = 146; +pub const AKEYCODE_NUMPAD_3: ::std::os::raw::c_uint = 147; +pub const AKEYCODE_NUMPAD_4: ::std::os::raw::c_uint = 148; +pub const AKEYCODE_NUMPAD_5: ::std::os::raw::c_uint = 149; +pub const AKEYCODE_NUMPAD_6: ::std::os::raw::c_uint = 150; +pub const AKEYCODE_NUMPAD_7: ::std::os::raw::c_uint = 151; +pub const AKEYCODE_NUMPAD_8: ::std::os::raw::c_uint = 152; +pub const AKEYCODE_NUMPAD_9: ::std::os::raw::c_uint = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: ::std::os::raw::c_uint = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: ::std::os::raw::c_uint = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: ::std::os::raw::c_uint = 156; +pub const AKEYCODE_NUMPAD_ADD: ::std::os::raw::c_uint = 157; +pub const AKEYCODE_NUMPAD_DOT: ::std::os::raw::c_uint = 158; +pub const AKEYCODE_NUMPAD_COMMA: ::std::os::raw::c_uint = 159; +pub const AKEYCODE_NUMPAD_ENTER: ::std::os::raw::c_uint = 160; +pub const AKEYCODE_NUMPAD_EQUALS: ::std::os::raw::c_uint = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: ::std::os::raw::c_uint = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: ::std::os::raw::c_uint = 163; +pub const AKEYCODE_VOLUME_MUTE: ::std::os::raw::c_uint = 164; +pub const AKEYCODE_INFO: ::std::os::raw::c_uint = 165; +pub const AKEYCODE_CHANNEL_UP: ::std::os::raw::c_uint = 166; +pub const AKEYCODE_CHANNEL_DOWN: ::std::os::raw::c_uint = 167; +pub const AKEYCODE_ZOOM_IN: ::std::os::raw::c_uint = 168; +pub const AKEYCODE_ZOOM_OUT: ::std::os::raw::c_uint = 169; +pub const AKEYCODE_TV: ::std::os::raw::c_uint = 170; +pub const AKEYCODE_WINDOW: ::std::os::raw::c_uint = 171; +pub const AKEYCODE_GUIDE: ::std::os::raw::c_uint = 172; +pub const AKEYCODE_DVR: ::std::os::raw::c_uint = 173; +pub const AKEYCODE_BOOKMARK: ::std::os::raw::c_uint = 174; +pub const AKEYCODE_CAPTIONS: ::std::os::raw::c_uint = 175; +pub const AKEYCODE_SETTINGS: ::std::os::raw::c_uint = 176; +pub const AKEYCODE_TV_POWER: ::std::os::raw::c_uint = 177; +pub const AKEYCODE_TV_INPUT: ::std::os::raw::c_uint = 178; +pub const AKEYCODE_STB_POWER: ::std::os::raw::c_uint = 179; +pub const AKEYCODE_STB_INPUT: ::std::os::raw::c_uint = 180; +pub const AKEYCODE_AVR_POWER: ::std::os::raw::c_uint = 181; +pub const AKEYCODE_AVR_INPUT: ::std::os::raw::c_uint = 182; +pub const AKEYCODE_PROG_RED: ::std::os::raw::c_uint = 183; +pub const AKEYCODE_PROG_GREEN: ::std::os::raw::c_uint = 184; +pub const AKEYCODE_PROG_YELLOW: ::std::os::raw::c_uint = 185; +pub const AKEYCODE_PROG_BLUE: ::std::os::raw::c_uint = 186; +pub const AKEYCODE_APP_SWITCH: ::std::os::raw::c_uint = 187; +pub const AKEYCODE_BUTTON_1: ::std::os::raw::c_uint = 188; +pub const AKEYCODE_BUTTON_2: ::std::os::raw::c_uint = 189; +pub const AKEYCODE_BUTTON_3: ::std::os::raw::c_uint = 190; +pub const AKEYCODE_BUTTON_4: ::std::os::raw::c_uint = 191; +pub const AKEYCODE_BUTTON_5: ::std::os::raw::c_uint = 192; +pub const AKEYCODE_BUTTON_6: ::std::os::raw::c_uint = 193; +pub const AKEYCODE_BUTTON_7: ::std::os::raw::c_uint = 194; +pub const AKEYCODE_BUTTON_8: ::std::os::raw::c_uint = 195; +pub const AKEYCODE_BUTTON_9: ::std::os::raw::c_uint = 196; +pub const AKEYCODE_BUTTON_10: ::std::os::raw::c_uint = 197; +pub const AKEYCODE_BUTTON_11: ::std::os::raw::c_uint = 198; +pub const AKEYCODE_BUTTON_12: ::std::os::raw::c_uint = 199; +pub const AKEYCODE_BUTTON_13: ::std::os::raw::c_uint = 200; +pub const AKEYCODE_BUTTON_14: ::std::os::raw::c_uint = 201; +pub const AKEYCODE_BUTTON_15: ::std::os::raw::c_uint = 202; +pub const AKEYCODE_BUTTON_16: ::std::os::raw::c_uint = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: ::std::os::raw::c_uint = 204; +pub const AKEYCODE_MANNER_MODE: ::std::os::raw::c_uint = 205; +pub const AKEYCODE_3D_MODE: ::std::os::raw::c_uint = 206; +pub const AKEYCODE_CONTACTS: ::std::os::raw::c_uint = 207; +pub const AKEYCODE_CALENDAR: ::std::os::raw::c_uint = 208; +pub const AKEYCODE_MUSIC: ::std::os::raw::c_uint = 209; +pub const AKEYCODE_CALCULATOR: ::std::os::raw::c_uint = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: ::std::os::raw::c_uint = 211; +pub const AKEYCODE_EISU: ::std::os::raw::c_uint = 212; +pub const AKEYCODE_MUHENKAN: ::std::os::raw::c_uint = 213; +pub const AKEYCODE_HENKAN: ::std::os::raw::c_uint = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: ::std::os::raw::c_uint = 215; +pub const AKEYCODE_YEN: ::std::os::raw::c_uint = 216; +pub const AKEYCODE_RO: ::std::os::raw::c_uint = 217; +pub const AKEYCODE_KANA: ::std::os::raw::c_uint = 218; +pub const AKEYCODE_ASSIST: ::std::os::raw::c_uint = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: ::std::os::raw::c_uint = 220; +pub const AKEYCODE_BRIGHTNESS_UP: ::std::os::raw::c_uint = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: ::std::os::raw::c_uint = 222; +pub const AKEYCODE_SLEEP: ::std::os::raw::c_uint = 223; +pub const AKEYCODE_WAKEUP: ::std::os::raw::c_uint = 224; +pub const AKEYCODE_PAIRING: ::std::os::raw::c_uint = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: ::std::os::raw::c_uint = 226; +pub const AKEYCODE_11: ::std::os::raw::c_uint = 227; +pub const AKEYCODE_12: ::std::os::raw::c_uint = 228; +pub const AKEYCODE_LAST_CHANNEL: ::std::os::raw::c_uint = 229; +pub const AKEYCODE_TV_DATA_SERVICE: ::std::os::raw::c_uint = 230; +pub const AKEYCODE_VOICE_ASSIST: ::std::os::raw::c_uint = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: ::std::os::raw::c_uint = 232; +pub const AKEYCODE_TV_TELETEXT: ::std::os::raw::c_uint = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: ::std::os::raw::c_uint = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: ::std::os::raw::c_uint = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: ::std::os::raw::c_uint = 236; +pub const AKEYCODE_TV_SATELLITE: ::std::os::raw::c_uint = 237; +pub const AKEYCODE_TV_SATELLITE_BS: ::std::os::raw::c_uint = 238; +pub const AKEYCODE_TV_SATELLITE_CS: ::std::os::raw::c_uint = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: ::std::os::raw::c_uint = 240; +pub const AKEYCODE_TV_NETWORK: ::std::os::raw::c_uint = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: ::std::os::raw::c_uint = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: ::std::os::raw::c_uint = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: ::std::os::raw::c_uint = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: ::std::os::raw::c_uint = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: ::std::os::raw::c_uint = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: ::std::os::raw::c_uint = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: ::std::os::raw::c_uint = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: ::std::os::raw::c_uint = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: ::std::os::raw::c_uint = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: ::std::os::raw::c_uint = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: ::std::os::raw::c_uint = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: ::std::os::raw::c_uint = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: ::std::os::raw::c_uint = 254; +pub const AKEYCODE_TV_ZOOM_MODE: ::std::os::raw::c_uint = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: ::std::os::raw::c_uint = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: ::std::os::raw::c_uint = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: ::std::os::raw::c_uint = 258; +pub const AKEYCODE_HELP: ::std::os::raw::c_uint = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: ::std::os::raw::c_uint = 260; +pub const AKEYCODE_NAVIGATE_NEXT: ::std::os::raw::c_uint = 261; +pub const AKEYCODE_NAVIGATE_IN: ::std::os::raw::c_uint = 262; +pub const AKEYCODE_NAVIGATE_OUT: ::std::os::raw::c_uint = 263; +pub const AKEYCODE_STEM_PRIMARY: ::std::os::raw::c_uint = 264; +pub const AKEYCODE_STEM_1: ::std::os::raw::c_uint = 265; +pub const AKEYCODE_STEM_2: ::std::os::raw::c_uint = 266; +pub const AKEYCODE_STEM_3: ::std::os::raw::c_uint = 267; +pub const AKEYCODE_DPAD_UP_LEFT: ::std::os::raw::c_uint = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: ::std::os::raw::c_uint = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: ::std::os::raw::c_uint = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: ::std::os::raw::c_uint = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: ::std::os::raw::c_uint = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: ::std::os::raw::c_uint = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: ::std::os::raw::c_uint = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: ::std::os::raw::c_uint = 275; +pub const AKEYCODE_SOFT_SLEEP: ::std::os::raw::c_uint = 276; +pub const AKEYCODE_CUT: ::std::os::raw::c_uint = 277; +pub const AKEYCODE_COPY: ::std::os::raw::c_uint = 278; +pub const AKEYCODE_PASTE: ::std::os::raw::c_uint = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: ::std::os::raw::c_uint = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: ::std::os::raw::c_uint = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: ::std::os::raw::c_uint = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: ::std::os::raw::c_uint = 283; +pub const AKEYCODE_ALL_APPS: ::std::os::raw::c_uint = 284; +pub const AKEYCODE_REFRESH: ::std::os::raw::c_uint = 285; +pub const AKEYCODE_THUMBS_UP: ::std::os::raw::c_uint = 286; +pub const AKEYCODE_THUMBS_DOWN: ::std::os::raw::c_uint = 287; +pub const AKEYCODE_PROFILE_SWITCH: ::std::os::raw::c_uint = 288; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -7597,28 +7623,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_8 = 1; -pub type _bindgen_ty_8 = u32; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; extern "C" { pub fn ALooper_prepare(opts: ::std::os::raw::c_int) -> *mut ALooper; } -pub const ALOOPER_POLL_WAKE: _bindgen_ty_9 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_9 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_9 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_9 = -4; -pub type _bindgen_ty_9 = i32; +pub const ALOOPER_POLL_WAKE: ::std::os::raw::c_int = -1; +pub const ALOOPER_POLL_CALLBACK: ::std::os::raw::c_int = -2; +pub const ALOOPER_POLL_TIMEOUT: ::std::os::raw::c_int = -3; +pub const ALOOPER_POLL_ERROR: ::std::os::raw::c_int = -4; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn ALooper_acquire(looper: *mut ALooper); } extern "C" { pub fn ALooper_release(looper: *mut ALooper); } -pub const ALOOPER_EVENT_INPUT: _bindgen_ty_10 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_10 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_10 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_10 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_10 = 16; -pub type _bindgen_ty_10 = u32; +pub const ALOOPER_EVENT_INPUT: ::std::os::raw::c_uint = 1; +pub const ALOOPER_EVENT_OUTPUT: ::std::os::raw::c_uint = 2; +pub const ALOOPER_EVENT_ERROR: ::std::os::raw::c_uint = 4; +pub const ALOOPER_EVENT_HANGUP: ::std::os::raw::c_uint = 8; +pub const ALOOPER_EVENT_INVALID: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -7661,178 +7687,182 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_11 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_11 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_11 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_11 = 2; -pub type _bindgen_ty_11 = i32; -pub const AMETA_NONE: _bindgen_ty_12 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_12 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_12 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_12 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_12 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_12 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_12 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_12 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_12 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_12 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_12 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_12 = 16384; -pub const AMETA_META_ON: _bindgen_ty_12 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_12 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_12 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_12 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_12 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_12 = 4194304; -pub type _bindgen_ty_12 = u32; +pub const AKEY_STATE_UNKNOWN: ::std::os::raw::c_int = -1; +pub const AKEY_STATE_UP: ::std::os::raw::c_int = 0; +pub const AKEY_STATE_DOWN: ::std::os::raw::c_int = 1; +pub const AKEY_STATE_VIRTUAL: ::std::os::raw::c_int = 2; +pub type _bindgen_ty_11 = ::std::os::raw::c_int; +pub const AMETA_NONE: ::std::os::raw::c_uint = 0; +pub const AMETA_ALT_ON: ::std::os::raw::c_uint = 2; +pub const AMETA_ALT_LEFT_ON: ::std::os::raw::c_uint = 16; +pub const AMETA_ALT_RIGHT_ON: ::std::os::raw::c_uint = 32; +pub const AMETA_SHIFT_ON: ::std::os::raw::c_uint = 1; +pub const AMETA_SHIFT_LEFT_ON: ::std::os::raw::c_uint = 64; +pub const AMETA_SHIFT_RIGHT_ON: ::std::os::raw::c_uint = 128; +pub const AMETA_SYM_ON: ::std::os::raw::c_uint = 4; +pub const AMETA_FUNCTION_ON: ::std::os::raw::c_uint = 8; +pub const AMETA_CTRL_ON: ::std::os::raw::c_uint = 4096; +pub const AMETA_CTRL_LEFT_ON: ::std::os::raw::c_uint = 8192; +pub const AMETA_CTRL_RIGHT_ON: ::std::os::raw::c_uint = 16384; +pub const AMETA_META_ON: ::std::os::raw::c_uint = 65536; +pub const AMETA_META_LEFT_ON: ::std::os::raw::c_uint = 131072; +pub const AMETA_META_RIGHT_ON: ::std::os::raw::c_uint = 262144; +pub const AMETA_CAPS_LOCK_ON: ::std::os::raw::c_uint = 1048576; +pub const AMETA_NUM_LOCK_ON: ::std::os::raw::c_uint = 2097152; +pub const AMETA_SCROLL_LOCK_ON: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputEvent { _unused: [u8; 0], } -pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_13 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_13 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_13 = 3; -pub type _bindgen_ty_13 = u32; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_14 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_14 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_14 = 2; -pub type _bindgen_ty_14 = u32; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_15 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_15 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_15 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_15 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_15 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_15 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_15 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_15 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_15 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_15 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_15 = 1024; -pub type _bindgen_ty_15 = u32; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_16 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_16 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_16 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_16 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_16 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_16 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_16 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_16 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_16 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_16 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_16 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_16 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_16 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_16 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_16 = 12; -pub type _bindgen_ty_16 = u32; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_17 = 1; -pub type _bindgen_ty_17 = u32; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_18 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_18 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_18 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_18 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_18 = 8; -pub type _bindgen_ty_18 = u32; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_19 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_19 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_19 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_19 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_19 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_19 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_19 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_19 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_19 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_19 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_19 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_19 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_19 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_19 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_19 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_19 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_19 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_19 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_19 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_19 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_19 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_19 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_19 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_19 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_19 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_19 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_19 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_19 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_19 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_19 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_19 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_19 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_19 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_19 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_19 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_19 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_19 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_19 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_19 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_19 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_19 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_19 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_19 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_19 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_19 = 47; -pub type _bindgen_ty_19 = u32; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_20 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_20 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_20 = 64; -pub type _bindgen_ty_20 = u32; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_21 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_21 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_21 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_21 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_21 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_21 = 5; -pub type _bindgen_ty_21 = u32; -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_22 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_22 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_22 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_22 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_22 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_22 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_22 = 16; -pub type _bindgen_ty_22 = u32; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_23 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_23 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_23 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_23 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_23 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_23 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_23 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_23 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_23 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_23 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_23 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_23 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_23 = 16777232; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_23 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_23 = 4294967040; -pub type _bindgen_ty_23 = u32; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_24 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_24 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_24 = 2; -pub type _bindgen_ty_24 = u32; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_25 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_25 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_25 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_25 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_25 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_25 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_25 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_25 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_25 = 8; -pub type _bindgen_ty_25 = u32; +pub const AINPUT_EVENT_TYPE_KEY: ::std::os::raw::c_uint = 1; +pub const AINPUT_EVENT_TYPE_MOTION: ::std::os::raw::c_uint = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: ::std::os::raw::c_uint = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: ::std::os::raw::c_uint = 4; +pub const AINPUT_EVENT_TYPE_DRAG: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AKEY_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_FLAG_WOKE_HERE: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: ::std::os::raw::c_uint = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: ::std::os::raw::c_uint = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: ::std::os::raw::c_uint = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: ::std::os::raw::c_uint = 16; +pub const AKEY_EVENT_FLAG_CANCELED: ::std::os::raw::c_uint = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: ::std::os::raw::c_uint = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: ::std::os::raw::c_uint = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: ::std::os::raw::c_uint = 256; +pub const AKEY_EVENT_FLAG_TRACKING: ::std::os::raw::c_uint = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: ::std::os::raw::c_uint = 1024; +pub type _bindgen_ty_15 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_ACTION_MASK: ::std::os::raw::c_uint = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: ::std::os::raw::c_uint = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_ACTION_MOVE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_17 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_18 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_AXIS_X: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_AXIS_Y: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_AXIS_SIZE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_AXIS_Z: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_AXIS_RX: ::std::os::raw::c_uint = 12; +pub const AMOTION_EVENT_AXIS_RY: ::std::os::raw::c_uint = 13; +pub const AMOTION_EVENT_AXIS_RZ: ::std::os::raw::c_uint = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: ::std::os::raw::c_uint = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: ::std::os::raw::c_uint = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: ::std::os::raw::c_uint = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: ::std::os::raw::c_uint = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: ::std::os::raw::c_uint = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: ::std::os::raw::c_uint = 21; +pub const AMOTION_EVENT_AXIS_GAS: ::std::os::raw::c_uint = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: ::std::os::raw::c_uint = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: ::std::os::raw::c_uint = 24; +pub const AMOTION_EVENT_AXIS_TILT: ::std::os::raw::c_uint = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: ::std::os::raw::c_uint = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: ::std::os::raw::c_uint = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: ::std::os::raw::c_uint = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: ::std::os::raw::c_uint = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: ::std::os::raw::c_uint = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: ::std::os::raw::c_uint = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: ::std::os::raw::c_uint = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: ::std::os::raw::c_uint = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: ::std::os::raw::c_uint = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: ::std::os::raw::c_uint = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: ::std::os::raw::c_uint = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: ::std::os::raw::c_uint = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: ::std::os::raw::c_uint = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: ::std::os::raw::c_uint = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: ::std::os::raw::c_uint = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: ::std::os::raw::c_uint = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: ::std::os::raw::c_uint = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: ::std::os::raw::c_uint = 47; +pub type _bindgen_ty_19 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_BUTTON_BACK: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: ::std::os::raw::c_uint = 64; +pub type _bindgen_ty_20 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_21 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_CLASS_MASK: ::std::os::raw::c_uint = 255; +pub const AINPUT_SOURCE_CLASS_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: ::std::os::raw::c_uint = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: ::std::os::raw::c_uint = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: ::std::os::raw::c_uint = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: ::std::os::raw::c_uint = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_22 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_KEYBOARD: ::std::os::raw::c_uint = 257; +pub const AINPUT_SOURCE_DPAD: ::std::os::raw::c_uint = 513; +pub const AINPUT_SOURCE_GAMEPAD: ::std::os::raw::c_uint = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: ::std::os::raw::c_uint = 4098; +pub const AINPUT_SOURCE_MOUSE: ::std::os::raw::c_uint = 8194; +pub const AINPUT_SOURCE_STYLUS: ::std::os::raw::c_uint = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: ::std::os::raw::c_uint = 49154; +pub const AINPUT_SOURCE_TRACKBALL: ::std::os::raw::c_uint = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: ::std::os::raw::c_uint = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: ::std::os::raw::c_uint = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: ::std::os::raw::c_uint = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: ::std::os::raw::c_uint = 16777232; +pub const AINPUT_SOURCE_HDMI: ::std::os::raw::c_uint = 33554433; +pub const AINPUT_SOURCE_SENSOR: ::std::os::raw::c_uint = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: ::std::os::raw::c_uint = 4194304; +pub const AINPUT_SOURCE_ANY: ::std::os::raw::c_uint = 4294967040; +pub type _bindgen_ty_23 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: ::std::os::raw::c_uint = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_24 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: ::std::os::raw::c_uint = 0; +pub const AINPUT_MOTION_RANGE_Y: ::std::os::raw::c_uint = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AINPUT_MOTION_RANGE_SIZE: ::std::os::raw::c_uint = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_25 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -7842,6 +7872,9 @@ extern "C" { extern "C" { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } +extern "C" { + pub fn AInputEvent_release(event: *const AInputEvent); +} extern "C" { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } @@ -7866,6 +7899,9 @@ extern "C" { extern "C" { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } +extern "C" { + pub fn AKeyEvent_fromJava(env: *mut JNIEnv, keyEvent: jobject) -> *const AInputEvent; +} extern "C" { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } @@ -8062,6 +8098,9 @@ extern "C" { history_index: size_t, ) -> f32; } +extern "C" { + pub fn AMotionEvent_fromJava(env: *mut JNIEnv, motionEvent: jobject) -> *const AInputEvent; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputQueue { @@ -8104,7 +8143,7 @@ pub const android_LogPriority_ANDROID_LOG_WARN: android_LogPriority = 5; pub const android_LogPriority_ANDROID_LOG_ERROR: android_LogPriority = 6; pub const android_LogPriority_ANDROID_LOG_FATAL: android_LogPriority = 7; pub const android_LogPriority_ANDROID_LOG_SILENT: android_LogPriority = 8; -pub type android_LogPriority = u32; +pub type android_LogPriority = ::std::os::raw::c_uint; extern "C" { pub fn __android_log_write( prio: ::std::os::raw::c_int, @@ -8147,7 +8186,7 @@ pub const log_id_LOG_ID_SECURITY: log_id = 6; pub const log_id_LOG_ID_KERNEL: log_id = 7; pub const log_id_LOG_ID_MAX: log_id = 8; pub const log_id_LOG_ID_DEFAULT: log_id = 2147483647; -pub type log_id = u32; +pub type log_id = ::std::os::raw::c_uint; pub use self::log_id as log_id_t; extern "C" { pub fn __android_log_buf_write( @@ -8311,155 +8350,14 @@ extern "C" { extern "C" { pub fn __android_log_set_default_tag(tag: *const ::std::os::raw::c_char); } -pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sockaddr_storage__bindgen_ty_1 { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, - pub __align: *mut ::std::os::raw::c_void, - _bindgen_union_align: [u32; 32usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { - pub ss_family: __kernel_sa_family_t, - pub __data: [::std::os::raw::c_char; 126usize], -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!( - "Size of: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!( - "Alignment of ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).ss_family - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(ss_family) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__data - as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(__data) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__align as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1), - "::", - stringify!(__align) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(sockaddr_storage)) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct f_owner_ex { - pub type_: ::std::os::raw::c_int, - pub pid: __kernel_pid_t, -} -#[test] -fn bindgen_test_layout_f_owner_ex() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(f_owner_ex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(f_owner_ex)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(type_) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(pid) - ) - ); -} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct flock { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_off_t, - pub l_len: __kernel_off_t, - pub l_pid: __kernel_pid_t, + pub l_start: off_t, + pub l_len: off_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock() { @@ -8529,9 +8427,9 @@ fn bindgen_test_layout_flock() { pub struct flock64 { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_loff_t, - pub l_len: __kernel_loff_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock64() { @@ -8598,6 +8496,45 @@ fn bindgen_test_layout_flock64() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct f_owner_ex { + pub type_: ::std::os::raw::c_int, + pub pid: __kernel_pid_t, +} +#[test] +fn bindgen_test_layout_f_owner_ex() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(f_owner_ex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(f_owner_ex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(pid) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct iovec { pub iov_base: *mut ::std::os::raw::c_void, pub iov_len: __kernel_size_t, @@ -8636,10 +8573,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_26 = 0; -pub const SHUT_WR: _bindgen_ty_26 = 1; -pub const SHUT_RDWR: _bindgen_ty_26 = 2; -pub type _bindgen_ty_26 = u32; +pub const SHUT_RD: ::std::os::raw::c_uint = 0; +pub const SHUT_WR: ::std::os::raw::c_uint = 1; +pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8654,29 +8591,129 @@ fn bindgen_test_layout_sockaddr() { concat!("Size of: ", stringify!(sockaddr)) ); assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(sockaddr)) + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(sockaddr)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_family) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_data) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_storage { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union sockaddr_storage__bindgen_ty_1 { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, + pub __align: *mut ::std::os::raw::c_void, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { + pub ss_family: sa_family_t, + pub __data: [::std::os::raw::c_char; 126usize], +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!( + "Size of: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!( + "Alignment of ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ss_family + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(ss_family) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__data + as *const _ as usize + }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(__data) + ) + ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + unsafe { + &(*(::std::ptr::null::())).__align as *const _ as usize + }, 0usize, concat!( "Offset of field: ", - stringify!(sockaddr), + stringify!(sockaddr_storage__bindgen_ty_1), "::", - stringify!(sa_family) + stringify!(__align) ) ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage() { assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr), - "::", - stringify!(sa_data) - ) + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(sockaddr_storage)) ); } #[repr(C)] @@ -10180,6 +10217,11 @@ extern "C" { __fp: *mut FILE, ) -> ::std::os::raw::c_int; } +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_NONE: HeapTaggingLevel = 0; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_TBI: HeapTaggingLevel = 1; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_ASYNC: HeapTaggingLevel = 2; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_SYNC: HeapTaggingLevel = 3; +pub type HeapTaggingLevel = ::std::os::raw::c_uint; extern "C" { pub fn mallopt( __option: ::std::os::raw::c_int, @@ -10746,6 +10788,15 @@ extern "C" { extern "C" { pub fn android_setprocnetwork(network: net_handle_t) -> ::std::os::raw::c_int; } +extern "C" { + pub fn android_getprocnetwork(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_setprocdns(network: net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_getprocdns(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} extern "C" { pub fn android_getaddrinfofornetwork( network: net_handle_t, @@ -10803,7 +10854,7 @@ pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT16_ASYMM: OperandCode = 12; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_SYMM: OperandCode = 13; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED: OperandCode = 14; pub const OperandCode_ANEURALNETWORKS_MODEL: OperandCode = 15; -pub type OperandCode = u32; +pub type OperandCode = ::std::os::raw::c_uint; pub const OperationCode_ANEURALNETWORKS_ADD: OperationCode = 0; pub const OperationCode_ANEURALNETWORKS_AVERAGE_POOL_2D: OperationCode = 1; pub const OperationCode_ANEURALNETWORKS_CONCATENATION: OperationCode = 2; @@ -10906,25 +10957,31 @@ pub const OperationCode_ANEURALNETWORKS_ELU: OperationCode = 98; pub const OperationCode_ANEURALNETWORKS_HARD_SWISH: OperationCode = 99; pub const OperationCode_ANEURALNETWORKS_FILL: OperationCode = 100; pub const OperationCode_ANEURALNETWORKS_RANK: OperationCode = 101; -pub type OperationCode = u32; +pub type OperationCode = ::std::os::raw::c_uint; pub const FuseCode_ANEURALNETWORKS_FUSED_NONE: FuseCode = 0; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU: FuseCode = 1; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU1: FuseCode = 2; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU6: FuseCode = 3; -pub type FuseCode = u32; +pub type FuseCode = ::std::os::raw::c_uint; pub const PaddingCode_ANEURALNETWORKS_PADDING_SAME: PaddingCode = 1; pub const PaddingCode_ANEURALNETWORKS_PADDING_VALID: PaddingCode = 2; -pub type PaddingCode = u32; +pub type PaddingCode = ::std::os::raw::c_uint; pub const PreferenceCode_ANEURALNETWORKS_PREFER_LOW_POWER: PreferenceCode = 0; pub const PreferenceCode_ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER: PreferenceCode = 1; pub const PreferenceCode_ANEURALNETWORKS_PREFER_SUSTAINED_SPEED: PreferenceCode = 2; -pub type PreferenceCode = u32; +pub type PreferenceCode = ::std::os::raw::c_uint; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = 0; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = 1; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = 2; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = 3; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = 4; -pub type DeviceTypeCode = u32; +pub type DeviceTypeCode = ::std::os::raw::c_uint; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_1: FeatureLevelCode = 27; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_2: FeatureLevelCode = 28; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_3: FeatureLevelCode = 29; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_4: FeatureLevelCode = 30; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_5: FeatureLevelCode = 31; +pub type FeatureLevelCode = ::std::os::raw::c_uint; pub const ResultCode_ANEURALNETWORKS_NO_ERROR: ResultCode = 0; pub const ResultCode_ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = 1; pub const ResultCode_ANEURALNETWORKS_INCOMPLETE: ResultCode = 2; @@ -10940,21 +10997,21 @@ pub const ResultCode_ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = 11 pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = 12; pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = 13; pub const ResultCode_ANEURALNETWORKS_DEAD_OBJECT: ResultCode = 14; -pub type ResultCode = u32; -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_27 = 128; -pub type _bindgen_ty_27 = u32; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_28 = 32; -pub type _bindgen_ty_28 = u32; +pub type ResultCode = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: ::std::os::raw::c_uint = 128; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: ::std::os::raw::c_uint = 32; +pub type _bindgen_ty_28 = ::std::os::raw::c_uint; pub const DurationCode_ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = 0; pub const DurationCode_ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = 1; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = 2; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = 3; -pub type DurationCode = u32; +pub type DurationCode = ::std::os::raw::c_uint; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = 90; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = 100; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = 110; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = 100; -pub type PriorityCode = u32; +pub type PriorityCode = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANeuralNetworksMemory { @@ -11521,10 +11578,53 @@ extern "C" { event: *mut *mut ANeuralNetworksEvent, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn ANeuralNetworks_getRuntimeFeatureLevel() -> i64; +} +extern "C" { + pub fn ANeuralNetworksExecution_enableInputAndOutputPadding( + execution: *mut ANeuralNetworksExecution, + enable: bool, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksExecution_setReusable( + execution: *mut ANeuralNetworksExecution, + reusable: bool, + ) -> ::std::os::raw::c_int; +} pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBA_8888: ANativeWindow_LegacyFormat = 1; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBX_8888: ANativeWindow_LegacyFormat = 2; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGB_565: ANativeWindow_LegacyFormat = 4; -pub type ANativeWindow_LegacyFormat = u32; +pub type ANativeWindow_LegacyFormat = ::std::os::raw::c_uint; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_IDENTITY: ANativeWindowTransform = 0; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL: ANativeWindowTransform = 1; @@ -11533,7 +11633,7 @@ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL: ANativ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_90: ANativeWindowTransform = 4; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_180: ANativeWindowTransform = 3; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_270: ANativeWindowTransform = 7; -pub type ANativeWindowTransform = u32; +pub type ANativeWindowTransform = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeWindow { @@ -11664,9 +11764,10 @@ extern "C" { extern "C" { pub fn ANativeWindow_getBuffersDataSpace(window: *mut ANativeWindow) -> i32; } -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: _bindgen_ty_29 = 0; -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE: _bindgen_ty_29 = 1; -pub type _bindgen_ty_29 = u32; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: + ANativeWindow_FrameRateCompatibility = 0; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE : ANativeWindow_FrameRateCompatibility = 1 ; +pub type ANativeWindow_FrameRateCompatibility = ::std::os::raw::c_uint; extern "C" { pub fn ANativeWindow_setFrameRate( window: *mut ANativeWindow, @@ -11677,6 +11778,19 @@ extern "C" { extern "C" { pub fn ANativeWindow_tryAllocateBuffers(window: *mut ANativeWindow); } +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS: + ANativeWindow_ChangeFrameRateStrategy = 0; +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ALWAYS: + ANativeWindow_ChangeFrameRateStrategy = 1; +pub type ANativeWindow_ChangeFrameRateStrategy = ::std::os::raw::c_uint; +extern "C" { + pub fn ANativeWindow_setFrameRateWithChangeStrategy( + window: *mut ANativeWindow, + frameRate: f32, + compatibility: i8, + changeFrameRateStrategy: i8, + ) -> i32; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeActivity { @@ -12090,15 +12204,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_30 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = u32; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_29 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = u32; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -12113,8 +12227,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_32 = 1; -pub type _bindgen_ty_32 = u32; +pub const AOBBINFO_OVERLAY: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -12509,63 +12623,63 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_33 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_33 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_33 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_33 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_33 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_33 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_33 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_33 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_33 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_33 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_33 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_33 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_33 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_33 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_33 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_33 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_33 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_33 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_33 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_33 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_33 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_33 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_33 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_33 = 31; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_33 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_33 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_33 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_33 = 36; -pub type _bindgen_ty_33 = i32; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_34 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_34 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_34 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_34 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_34 = 3; -pub type _bindgen_ty_34 = i32; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_35 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_35 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_35 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_35 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_35 = 3; -pub type _bindgen_ty_35 = i32; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_36 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_36 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_36 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_36 = 3; -pub type _bindgen_ty_36 = u32; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_37 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_37 = 2; -pub type _bindgen_ty_37 = u32; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_38 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_38 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_38 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_38 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_38 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_38 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_38 = 65540; -pub type _bindgen_ty_38 = u32; +pub const ASENSOR_TYPE_INVALID: ::std::os::raw::c_int = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: ::std::os::raw::c_int = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: ::std::os::raw::c_int = 2; +pub const ASENSOR_TYPE_GYROSCOPE: ::std::os::raw::c_int = 4; +pub const ASENSOR_TYPE_LIGHT: ::std::os::raw::c_int = 5; +pub const ASENSOR_TYPE_PRESSURE: ::std::os::raw::c_int = 6; +pub const ASENSOR_TYPE_PROXIMITY: ::std::os::raw::c_int = 8; +pub const ASENSOR_TYPE_GRAVITY: ::std::os::raw::c_int = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: ::std::os::raw::c_int = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: ::std::os::raw::c_int = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: ::std::os::raw::c_int = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: ::std::os::raw::c_int = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: ::std::os::raw::c_int = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: ::std::os::raw::c_int = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: ::std::os::raw::c_int = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: ::std::os::raw::c_int = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: ::std::os::raw::c_int = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: ::std::os::raw::c_int = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: ::std::os::raw::c_int = 20; +pub const ASENSOR_TYPE_HEART_RATE: ::std::os::raw::c_int = 21; +pub const ASENSOR_TYPE_POSE_6DOF: ::std::os::raw::c_int = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: ::std::os::raw::c_int = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: ::std::os::raw::c_int = 30; +pub const ASENSOR_TYPE_HEART_BEAT: ::std::os::raw::c_int = 31; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: ::std::os::raw::c_int = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: ::std::os::raw::c_int = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: ::std::os::raw::c_int = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: ::std::os::raw::c_int = 36; +pub type _bindgen_ty_32 = ::std::os::raw::c_int; +pub const ASENSOR_STATUS_NO_CONTACT: ::std::os::raw::c_int = -1; +pub const ASENSOR_STATUS_UNRELIABLE: ::std::os::raw::c_int = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: ::std::os::raw::c_int = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: ::std::os::raw::c_int = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_33 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: ::std::os::raw::c_int = -1; +pub const AREPORTING_MODE_CONTINUOUS: ::std::os::raw::c_int = 0; +pub const AREPORTING_MODE_ON_CHANGE: ::std::os::raw::c_int = 1; +pub const AREPORTING_MODE_ONE_SHOT: ::std::os::raw::c_int = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_34 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: ::std::os::raw::c_uint = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_RATE_FAST: ::std::os::raw::c_uint = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: ::std::os::raw::c_uint = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: ::std::os::raw::c_uint = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: ::std::os::raw::c_uint = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: ::std::os::raw::c_uint = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: ::std::os::raw::c_uint = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: ::std::os::raw::c_uint = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: ::std::os::raw::c_uint = 65540; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -12579,7 +12693,6 @@ pub union ASensorVector__bindgen_ty_1 { pub v: [f32; 3usize], pub __bindgen_anon_1: ASensorVector__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_2: ASensorVector__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -12817,7 +12930,6 @@ pub struct AUncalibratedEvent { pub union AUncalibratedEvent__bindgen_ty_1 { pub uncalib: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -12918,7 +13030,6 @@ fn bindgen_test_layout_AUncalibratedEvent__bindgen_ty_1() { pub union AUncalibratedEvent__bindgen_ty_2 { pub bias: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_2__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13116,7 +13227,6 @@ pub struct AAdditionalInfoEvent { pub union AAdditionalInfoEvent__bindgen_ty_1 { pub data_int32: [i32; 14usize], pub data_float: [f32; 14usize], - _bindgen_union_align: [u32; 14usize], } #[test] fn bindgen_test_layout_AAdditionalInfoEvent__bindgen_ty_1() { @@ -13209,8 +13319,7 @@ pub struct ASensorEvent { #[derive(Copy, Clone)] pub union ASensorEvent__bindgen_ty_1 { pub __bindgen_anon_1: ASensorEvent__bindgen_ty_1__bindgen_ty_1, - pub u64: ASensorEvent__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 16usize], + pub u64_: ASensorEvent__bindgen_ty_1__bindgen_ty_2, } #[repr(C)] #[derive(Copy, Clone)] @@ -13218,19 +13327,20 @@ pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 { pub data: [f32; 16usize], pub vector: ASensorVector, pub acceleration: ASensorVector, + pub gyro: ASensorVector, pub magnetic: ASensorVector, pub temperature: f32, pub distance: f32, pub light: f32, pub pressure: f32, pub relative_humidity: f32, + pub uncalibrated_acceleration: AUncalibratedEvent, pub uncalibrated_gyro: AUncalibratedEvent, pub uncalibrated_magnetic: AUncalibratedEvent, pub meta_data: AMetaDataEvent, pub heart_rate: AHeartRateEvent, pub dynamic_sensor_meta: ADynamicSensorEvent, pub additional_info: AAdditionalInfoEvent, - _bindgen_union_align: [u32; 16usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { @@ -13289,6 +13399,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(acceleration) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).gyro as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(gyro) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).magnetic @@ -13367,6 +13490,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(relative_humidity) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())) + .uncalibrated_acceleration as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(uncalibrated_acceleration) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).uncalibrated_gyro @@ -13451,7 +13587,6 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { pub union ASensorEvent__bindgen_ty_1__bindgen_ty_2 { pub data: [u64; 8usize], pub step_counter: u64, - _bindgen_union_align: [u32; 16usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_2() { @@ -13511,13 +13646,13 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1() { concat!("Alignment of ", stringify!(ASensorEvent__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).u64 as *const _ as usize }, + unsafe { &(*(::std::ptr::null::())).u64_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ASensorEvent__bindgen_ty_1), "::", - stringify!(u64) + stringify!(u64_) ) ); } @@ -13806,15 +13941,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_39 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_39 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_39 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_39 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_39 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_39 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_39 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_39 = 25; -pub type _bindgen_ty_39 = u32; +pub const AOBB_STATE_MOUNTED: ::std::os::raw::c_uint = 1; +pub const AOBB_STATE_UNMOUNTED: ::std::os::raw::c_uint = 2; +pub const AOBB_STATE_ERROR_INTERNAL: ::std::os::raw::c_uint = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: ::std::os::raw::c_uint = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: ::std::os::raw::c_uint = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: ::std::os::raw::c_uint = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: ::std::os::raw::c_uint = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: ::std::os::raw::c_uint = 25; +pub type _bindgen_ty_38 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -14147,30 +14282,30 @@ extern "C" { extern "C" { pub fn ATrace_setCounter(counterName: *const ::std::os::raw::c_char, counterValue: i64); } -pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_40 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_40 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_40 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_40 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_40 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_40 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_40 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_40 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_40 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_40 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_40 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_40 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_40 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_40 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_40 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_40 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_40 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_40 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_40 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_40 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_40 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_40 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_40 = 4194304; -pub type _bindgen_ty_40 = u32; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: ::std::os::raw::c_uint = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: ::std::os::raw::c_uint = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: ::std::os::raw::c_uint = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: ::std::os::raw::c_uint = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: ::std::os::raw::c_uint = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: ::std::os::raw::c_uint = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: ::std::os::raw::c_uint = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: ::std::os::raw::c_uint = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: ::std::os::raw::c_uint = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: ::std::os::raw::c_uint = 512; +pub const AWINDOW_FLAG_FULLSCREEN: ::std::os::raw::c_uint = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: ::std::os::raw::c_uint = 2048; +pub const AWINDOW_FLAG_DITHER: ::std::os::raw::c_uint = 4096; +pub const AWINDOW_FLAG_SECURE: ::std::os::raw::c_uint = 8192; +pub const AWINDOW_FLAG_SCALED: ::std::os::raw::c_uint = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: ::std::os::raw::c_uint = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: ::std::os::raw::c_uint = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: ::std::os::raw::c_uint = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: ::std::os::raw::c_uint = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: ::std::os::raw::c_uint = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: ::std::os::raw::c_uint = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: ::std::os::raw::c_uint = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_39 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -14251,40 +14386,40 @@ fn bindgen_test_layout___kernel_itimerspec() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __kernel_old_timeval { - pub tv_sec: __kernel_long_t, - pub tv_usec: __kernel_long_t, +pub struct __kernel_old_timespec { + pub tv_sec: __kernel_old_time_t, + pub tv_nsec: ::std::os::raw::c_long, } #[test] -fn bindgen_test_layout___kernel_old_timeval() { +fn bindgen_test_layout___kernel_old_timespec() { assert_eq!( - ::std::mem::size_of::<__kernel_old_timeval>(), + ::std::mem::size_of::<__kernel_old_timespec>(), 8usize, - concat!("Size of: ", stringify!(__kernel_old_timeval)) + concat!("Size of: ", stringify!(__kernel_old_timespec)) ); assert_eq!( - ::std::mem::align_of::<__kernel_old_timeval>(), + ::std::mem::align_of::<__kernel_old_timespec>(), 4usize, - concat!("Alignment of ", stringify!(__kernel_old_timeval)) + concat!("Alignment of ", stringify!(__kernel_old_timespec)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_sec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", stringify!(tv_sec) ) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_usec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_nsec as *const _ as usize }, 4usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", - stringify!(tv_usec) + stringify!(tv_nsec) ) ); } @@ -14330,7 +14465,7 @@ fn bindgen_test_layout___kernel_sock_timeval() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timespec { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_nsec: ::std::os::raw::c_long, } #[test] @@ -14369,7 +14504,7 @@ fn bindgen_test_layout_timespec() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timeval { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_usec: __kernel_suseconds_t, } #[test] @@ -14407,45 +14542,6 @@ fn bindgen_test_layout_timeval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct timezone { - pub tz_minuteswest: ::std::os::raw::c_int, - pub tz_dsttime: ::std::os::raw::c_int, -} -#[test] -fn bindgen_test_layout_timezone() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(timezone)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(timezone)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_minuteswest) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_dsttime) - ) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct itimerspec { pub it_interval: timespec, pub it_value: timespec, @@ -14524,6 +14620,45 @@ fn bindgen_test_layout_itimerval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct timezone { + pub tz_minuteswest: ::std::os::raw::c_int, + pub tz_dsttime: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_timezone() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(timezone)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(timezone)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_minuteswest) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_dsttime) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct _fpx_sw_bytes { pub magic1: __u32, pub extended_size: __u32, @@ -14737,7 +14872,6 @@ pub struct _fpstate_32 { pub union _fpstate_32__bindgen_ty_1 { pub padding1: [__u32; 44usize], pub padding: [__u32; 44usize], - _bindgen_union_align: [u32; 44usize], } #[test] fn bindgen_test_layout__fpstate_32__bindgen_ty_1() { @@ -14781,7 +14915,6 @@ fn bindgen_test_layout__fpstate_32__bindgen_ty_1() { pub union _fpstate_32__bindgen_ty_2 { pub padding2: [__u32; 12usize], pub sw_reserved: _fpx_sw_bytes, - _bindgen_union_align: [u32; 12usize], } #[test] fn bindgen_test_layout__fpstate_32__bindgen_ty_2() { @@ -15004,7 +15137,6 @@ pub struct _fpstate_64 { pub union _fpstate_64__bindgen_ty_1 { pub reserved3: [__u32; 12usize], pub sw_reserved: _fpx_sw_bytes, - _bindgen_union_align: [u32; 12usize], } #[test] fn bindgen_test_layout__fpstate_64__bindgen_ty_1() { @@ -15217,7 +15349,7 @@ fn bindgen_test_layout__header() { ); } #[repr(C)] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct _ymmh_state { pub ymmh_space: [__u32; 64usize], } @@ -16293,7 +16425,6 @@ pub union __kernel_sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout___kernel_sigaction__bindgen_ty_1() { @@ -16446,7 +16577,6 @@ pub type stack_t = sigaltstack; pub union sigval { pub sival_int: ::std::os::raw::c_int, pub sival_ptr: *mut ::std::os::raw::c_void, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigval() { @@ -16492,7 +16622,6 @@ pub union __sifields { pub _sigfault: __sifields__bindgen_ty_5, pub _sigpoll: __sifields__bindgen_ty_6, pub _sigsys: __sifields__bindgen_ty_7, - _bindgen_union_align: [u32; 5usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -16735,10 +16864,11 @@ pub struct __sifields__bindgen_ty_5 { #[repr(C)] #[derive(Copy, Clone)] pub union __sifields__bindgen_ty_5__bindgen_ty_1 { + pub _trapno: ::std::os::raw::c_int, pub _addr_lsb: ::std::os::raw::c_short, pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], + pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -16856,6 +16986,57 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() { ) ); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { + pub _data: ::std::os::raw::c_ulong, + pub _type: __u32, +} +#[test] +fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() { + assert_eq!( + ::std::mem::size_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 8usize, + concat!( + "Size of: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + ::std::mem::align_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 4usize, + concat!( + "Alignment of ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._data + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_data) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._type + as *const _ as usize + }, + 4usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_type) + ) + ); +} #[test] fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { assert_eq!( @@ -16874,6 +17055,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(__sifields__bindgen_ty_5__bindgen_ty_1) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._trapno as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_trapno) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._addr_lsb as *const _ @@ -16913,6 +17107,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(_addr_pkey) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._perf as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_perf) + ) + ); } #[test] fn bindgen_test_layout___sifields__bindgen_ty_5() { @@ -17123,7 +17330,6 @@ pub struct siginfo { pub union siginfo__bindgen_ty_1 { pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, pub _si_pad: [::std::os::raw::c_int; 32usize], - _bindgen_union_align: [u32; 32usize], } #[repr(C)] #[derive(Copy, Clone)] @@ -17252,7 +17458,6 @@ pub union sigevent__bindgen_ty_1 { pub _pad: [::std::os::raw::c_int; 13usize], pub _tid: ::std::os::raw::c_int, pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 13usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17454,7 +17659,6 @@ pub union sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigaction__bindgen_ty_1() { @@ -17555,7 +17759,6 @@ pub union sigaction64__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_sigaction64__bindgen_ty_1() { @@ -17743,7 +17946,7 @@ fn bindgen_test_layout_user_fpregs_struct() { ); } #[repr(C)] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct user_fpxregs_struct { pub cwd: ::std::os::raw::c_ushort, pub swd: ::std::os::raw::c_ushort, @@ -18288,27 +18491,27 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_GS: _bindgen_ty_41 = 0; -pub const REG_FS: _bindgen_ty_41 = 1; -pub const REG_ES: _bindgen_ty_41 = 2; -pub const REG_DS: _bindgen_ty_41 = 3; -pub const REG_EDI: _bindgen_ty_41 = 4; -pub const REG_ESI: _bindgen_ty_41 = 5; -pub const REG_EBP: _bindgen_ty_41 = 6; -pub const REG_ESP: _bindgen_ty_41 = 7; -pub const REG_EBX: _bindgen_ty_41 = 8; -pub const REG_EDX: _bindgen_ty_41 = 9; -pub const REG_ECX: _bindgen_ty_41 = 10; -pub const REG_EAX: _bindgen_ty_41 = 11; -pub const REG_TRAPNO: _bindgen_ty_41 = 12; -pub const REG_ERR: _bindgen_ty_41 = 13; -pub const REG_EIP: _bindgen_ty_41 = 14; -pub const REG_CS: _bindgen_ty_41 = 15; -pub const REG_EFL: _bindgen_ty_41 = 16; -pub const REG_UESP: _bindgen_ty_41 = 17; -pub const REG_SS: _bindgen_ty_41 = 18; -pub const NGREG: _bindgen_ty_41 = 19; -pub type _bindgen_ty_41 = u32; +pub const REG_GS: ::std::os::raw::c_uint = 0; +pub const REG_FS: ::std::os::raw::c_uint = 1; +pub const REG_ES: ::std::os::raw::c_uint = 2; +pub const REG_DS: ::std::os::raw::c_uint = 3; +pub const REG_EDI: ::std::os::raw::c_uint = 4; +pub const REG_ESI: ::std::os::raw::c_uint = 5; +pub const REG_EBP: ::std::os::raw::c_uint = 6; +pub const REG_ESP: ::std::os::raw::c_uint = 7; +pub const REG_EBX: ::std::os::raw::c_uint = 8; +pub const REG_EDX: ::std::os::raw::c_uint = 9; +pub const REG_ECX: ::std::os::raw::c_uint = 10; +pub const REG_EAX: ::std::os::raw::c_uint = 11; +pub const REG_TRAPNO: ::std::os::raw::c_uint = 12; +pub const REG_ERR: ::std::os::raw::c_uint = 13; +pub const REG_EIP: ::std::os::raw::c_uint = 14; +pub const REG_CS: ::std::os::raw::c_uint = 15; +pub const REG_EFL: ::std::os::raw::c_uint = 16; +pub const REG_UESP: ::std::os::raw::c_uint = 17; +pub const REG_SS: ::std::os::raw::c_uint = 18; +pub const NGREG: ::std::os::raw::c_uint = 19; +pub type _bindgen_ty_40 = ::std::os::raw::c_uint; pub type greg_t = ::std::os::raw::c_int; pub type gregset_t = [greg_t; 19usize]; #[repr(C)] @@ -18543,7 +18746,6 @@ pub struct ucontext { pub union ucontext__bindgen_ty_1 { pub __bindgen_anon_1: ucontext__bindgen_ty_1__bindgen_ty_1, pub uc_sigmask64: sigset64_t, - _bindgen_union_align: [u32; 2usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -18944,7 +19146,7 @@ extern "C" { } extern "C" { pub fn select( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -18953,7 +19155,7 @@ extern "C" { } extern "C" { pub fn pselect( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -18963,7 +19165,7 @@ extern "C" { } extern "C" { pub fn pselect64( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -19282,101 +19484,103 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_42 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_42 = 1; -pub type _bindgen_ty_42 = u32; +pub const AAUDIO_DIRECTION_OUTPUT: ::std::os::raw::c_uint = 0; +pub const AAUDIO_DIRECTION_INPUT: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_41 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_43 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_43 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_43 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_43 = 2; -pub type _bindgen_ty_43 = i32; +pub const AAUDIO_FORMAT_INVALID: ::std::os::raw::c_int = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: ::std::os::raw::c_int = 0; +pub const AAUDIO_FORMAT_PCM_I16: ::std::os::raw::c_int = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: ::std::os::raw::c_int = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: ::std::os::raw::c_int = 3; +pub const AAUDIO_FORMAT_PCM_I32: ::std::os::raw::c_int = 4; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_44 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_44 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_44 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_44 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_44 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_44 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_44 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_44 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_44 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_44 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_44 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_44 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_44 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_44 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_44 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_44 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_44 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_44 = -880; -pub type _bindgen_ty_44 = i32; +pub const AAUDIO_OK: ::std::os::raw::c_int = 0; +pub const AAUDIO_ERROR_BASE: ::std::os::raw::c_int = -900; +pub const AAUDIO_ERROR_DISCONNECTED: ::std::os::raw::c_int = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: ::std::os::raw::c_int = -898; +pub const AAUDIO_ERROR_INTERNAL: ::std::os::raw::c_int = -896; +pub const AAUDIO_ERROR_INVALID_STATE: ::std::os::raw::c_int = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: ::std::os::raw::c_int = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: ::std::os::raw::c_int = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: ::std::os::raw::c_int = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: ::std::os::raw::c_int = -888; +pub const AAUDIO_ERROR_NO_MEMORY: ::std::os::raw::c_int = -887; +pub const AAUDIO_ERROR_NULL: ::std::os::raw::c_int = -886; +pub const AAUDIO_ERROR_TIMEOUT: ::std::os::raw::c_int = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: ::std::os::raw::c_int = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: ::std::os::raw::c_int = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: ::std::os::raw::c_int = -882; +pub const AAUDIO_ERROR_NO_SERVICE: ::std::os::raw::c_int = -881; +pub const AAUDIO_ERROR_INVALID_RATE: ::std::os::raw::c_int = -880; +pub type _bindgen_ty_43 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_45 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_45 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_45 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_45 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_45 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_45 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_45 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_45 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_45 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_45 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_45 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_45 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_45 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_45 = 13; -pub type _bindgen_ty_45 = u32; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: ::std::os::raw::c_uint = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: ::std::os::raw::c_uint = 1; +pub const AAUDIO_STREAM_STATE_OPEN: ::std::os::raw::c_uint = 2; +pub const AAUDIO_STREAM_STATE_STARTING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_STREAM_STATE_STARTED: ::std::os::raw::c_uint = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: ::std::os::raw::c_uint = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: ::std::os::raw::c_uint = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: ::std::os::raw::c_uint = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: ::std::os::raw::c_uint = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: ::std::os::raw::c_uint = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: ::std::os::raw::c_uint = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: ::std::os::raw::c_uint = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: ::std::os::raw::c_uint = 13; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_46 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_46 = 1; -pub type _bindgen_ty_46 = u32; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_SHARING_MODE_SHARED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_47 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_47 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_47 = 12; -pub type _bindgen_ty_47 = u32; +pub const AAUDIO_PERFORMANCE_MODE_NONE: ::std::os::raw::c_uint = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_48 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_48 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_48 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_48 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_48 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_48 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_48 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_48 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_48 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_48 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_48 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_48 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_48 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_48 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_48 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_48 = 1003; -pub type _bindgen_ty_48 = u32; +pub const AAUDIO_USAGE_MEDIA: ::std::os::raw::c_uint = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_USAGE_ALARM: ::std::os::raw::c_uint = 4; +pub const AAUDIO_USAGE_NOTIFICATION: ::std::os::raw::c_uint = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: ::std::os::raw::c_uint = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: ::std::os::raw::c_uint = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: ::std::os::raw::c_uint = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: ::std::os::raw::c_uint = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: ::std::os::raw::c_uint = 13; +pub const AAUDIO_USAGE_GAME: ::std::os::raw::c_uint = 14; +pub const AAUDIO_USAGE_ASSISTANT: ::std::os::raw::c_uint = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: ::std::os::raw::c_uint = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: ::std::os::raw::c_uint = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: ::std::os::raw::c_uint = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: ::std::os::raw::c_uint = 1003; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_49 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_49 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_49 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_49 = 4; -pub type _bindgen_ty_49 = u32; +pub const AAUDIO_CONTENT_TYPE_SPEECH: ::std::os::raw::c_uint = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: ::std::os::raw::c_uint = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: ::std::os::raw::c_uint = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: ::std::os::raw::c_uint = 4; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_50 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_50 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_50 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_50 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_50 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_50 = 10; -pub type _bindgen_ty_50 = u32; +pub const AAUDIO_INPUT_PRESET_GENERIC: ::std::os::raw::c_uint = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: ::std::os::raw::c_uint = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: ::std::os::raw::c_uint = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: ::std::os::raw::c_uint = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: ::std::os::raw::c_uint = 10; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_51 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_51 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_51 = 3; -pub type _bindgen_ty_51 = u32; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: ::std::os::raw::c_uint = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: ::std::os::raw::c_uint = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_50 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_52 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_52 = 0; -pub type _bindgen_ty_52 = i32; +pub const AAUDIO_SESSION_ID_NONE: ::std::os::raw::c_int = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: ::std::os::raw::c_int = 0; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -19405,6 +19609,18 @@ extern "C" { extern "C" { pub fn AAudioStreamBuilder_setDeviceId(builder: *mut AAudioStreamBuilder, deviceId: i32); } +extern "C" { + pub fn AAudioStreamBuilder_setPackageName( + builder: *mut AAudioStreamBuilder, + packageName: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AAudioStreamBuilder_setAttributionTag( + builder: *mut AAudioStreamBuilder, + attributionTag: *const ::std::os::raw::c_char, + ); +} extern "C" { pub fn AAudioStreamBuilder_setSampleRate(builder: *mut AAudioStreamBuilder, sampleRate: i32); } @@ -19483,9 +19699,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_53 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_53 = 1; -pub type _bindgen_ty_53 = u32; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -19672,7 +19888,7 @@ pub const camera_status_t_ACAMERA_ERROR_MAX_CAMERA_IN_USE: camera_status_t = -10 pub const camera_status_t_ACAMERA_ERROR_CAMERA_DISABLED: camera_status_t = -10012; pub const camera_status_t_ACAMERA_ERROR_PERMISSION_DENIED: camera_status_t = -10013; pub const camera_status_t_ACAMERA_ERROR_UNSUPPORTED_OPERATION: camera_status_t = -10014; -pub type camera_status_t = i32; +pub type camera_status_t = ::std::os::raw::c_int; pub const acamera_metadata_section_ACAMERA_COLOR_CORRECTION: acamera_metadata_section = 0; pub const acamera_metadata_section_ACAMERA_CONTROL: acamera_metadata_section = 1; pub const acamera_metadata_section_ACAMERA_DEMOSAIC: acamera_metadata_section = 2; @@ -19705,7 +19921,7 @@ pub const acamera_metadata_section_ACAMERA_HEIC: acamera_metadata_section = 28; pub const acamera_metadata_section_ACAMERA_HEIC_INFO: acamera_metadata_section = 29; pub const acamera_metadata_section_ACAMERA_SECTION_COUNT: acamera_metadata_section = 30; pub const acamera_metadata_section_ACAMERA_VENDOR: acamera_metadata_section = 32768; -pub type acamera_metadata_section = u32; +pub type acamera_metadata_section = ::std::os::raw::c_uint; pub use self::acamera_metadata_section as acamera_metadata_section_t; pub const acamera_metadata_section_start_ACAMERA_COLOR_CORRECTION_START: acamera_metadata_section_start = 0; @@ -19769,7 +19985,7 @@ pub const acamera_metadata_section_start_ACAMERA_HEIC_INFO_START: acamera_metada 1900544; pub const acamera_metadata_section_start_ACAMERA_VENDOR_START: acamera_metadata_section_start = -2147483648; -pub type acamera_metadata_section_start = i32; +pub type acamera_metadata_section_start = ::std::os::raw::c_int; pub use self::acamera_metadata_section_start as acamera_metadata_section_start_t; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_MODE: acamera_metadata_tag = 0; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_TRANSFORM: acamera_metadata_tag = 1; @@ -19824,11 +20040,11 @@ pub const acamera_metadata_tag_ACAMERA_CONTROL_POST_RAW_SENSITIVITY_BOOST: acame 65576; pub const acamera_metadata_tag_ACAMERA_CONTROL_ENABLE_ZSL: acamera_metadata_tag = 65577; pub const acamera_metadata_tag_ACAMERA_CONTROL_AF_SCENE_CHANGE: acamera_metadata_tag = 65578; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_MAX_SIZES: acamera_metadata_tag = - 65579; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_ZOOM_RATIO_RANGES: +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_MAX_SIZES: + acamera_metadata_tag = 65579; +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_ZOOM_RATIO_RANGES: acamera_metadata_tag = 65580; -pub const acamera_metadata_tag_ACAMERA_CONTROL_BOKEH_MODE: acamera_metadata_tag = 65581; +pub const acamera_metadata_tag_ACAMERA_CONTROL_EXTENDED_SCENE_MODE: acamera_metadata_tag = 65581; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO_RANGE: acamera_metadata_tag = 65582; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO: acamera_metadata_tag = 65583; pub const acamera_metadata_tag_ACAMERA_CONTROL_END: acamera_metadata_tag = 65584; @@ -19869,7 +20085,11 @@ pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION: acamera_metad pub const acamera_metadata_tag_ACAMERA_LENS_RADIAL_DISTORTION: acamera_metadata_tag = 524299; pub const acamera_metadata_tag_ACAMERA_LENS_POSE_REFERENCE: acamera_metadata_tag = 524300; pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION: acamera_metadata_tag = 524301; -pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION_MAXIMUM_RESOLUTION: acamera_metadata_tag = + 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 524303; +pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524304; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_APERTURES: acamera_metadata_tag = 589824; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_FILTER_DENSITIES: acamera_metadata_tag = 589825; @@ -19919,7 +20139,21 @@ pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFI acamera_metadata_tag = 851982; pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_INPUT_OUTPUT_FORMATS_MAP: acamera_metadata_tag = 851983; -pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES: + acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_ROTATE_AND_CROP: acamera_metadata_tag = 851985; +pub const acamera_metadata_tag_ACAMERA_SCALER_DEFAULT_SECURE_IMAGE_SIZE: acamera_metadata_tag = + 851986; +pub const acamera_metadata_tag_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS : acamera_metadata_tag = 851987 ; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851988; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851989; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851990; +pub const acamera_metadata_tag_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED: + acamera_metadata_tag = 851992; +pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851993; pub const acamera_metadata_tag_ACAMERA_SENSOR_EXPOSURE_TIME: acamera_metadata_tag = 917504; pub const acamera_metadata_tag_ACAMERA_SENSOR_FRAME_DURATION: acamera_metadata_tag = 917505; pub const acamera_metadata_tag_ACAMERA_SENSOR_SENSITIVITY: acamera_metadata_tag = 917506; @@ -19946,7 +20180,10 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW: acamera_meta pub const acamera_metadata_tag_ACAMERA_SENSOR_OPTICAL_BLACK_REGIONS: acamera_metadata_tag = 917531; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_BLACK_LEVEL: acamera_metadata_tag = 917532; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_WHITE_LEVEL: acamera_metadata_tag = 917533; -pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917534; +pub const acamera_metadata_tag_ACAMERA_SENSOR_PIXEL_MODE: acamera_metadata_tag = 917536; +pub const acamera_metadata_tag_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED: acamera_metadata_tag = + 917537; +pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917538; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983040; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_SENSITIVITY_RANGE: acamera_metadata_tag = 983041; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT: acamera_metadata_tag = @@ -19963,7 +20200,13 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED: acamera 983049; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983050; -pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983052; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION : acamera_metadata_tag = 983053 ; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_BINNING_FACTOR: acamera_metadata_tag = 983054; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983055; pub const acamera_metadata_tag_ACAMERA_SHADING_MODE: acamera_metadata_tag = 1048576; pub const acamera_metadata_tag_ACAMERA_SHADING_AVAILABLE_MODES: acamera_metadata_tag = 1048578; pub const acamera_metadata_tag_ACAMERA_SHADING_END: acamera_metadata_tag = 1048579; @@ -20029,7 +20272,14 @@ pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_D acamera_metadata_tag = 1638407; pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS: acamera_metadata_tag = 1638408; -pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638409; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638409 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638410 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1638411; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638412 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638413 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638414 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638415; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS: acamera_metadata_tag = 1703936; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE: acamera_metadata_tag = @@ -20047,31 +20297,35 @@ pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS: acamera_metadata_tag = 1835009; pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS: acamera_metadata_tag = 1835010; -pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835011; -pub type acamera_metadata_tag = u32; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835011 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835012 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1835013; +pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835014; +pub type acamera_metadata_tag = ::std::os::raw::c_uint; pub use self::acamera_metadata_tag as acamera_metadata_tag_t; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_TRANSFORM_MATRIX : acamera_metadata_enum_acamera_color_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_FAST: acamera_metadata_enum_acamera_color_correction_mode = 1; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_mode as acamera_metadata_enum_android_color_correction_mode_t; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_OFF : acamera_metadata_enum_acamera_color_correction_aberration_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_FAST : acamera_metadata_enum_acamera_color_correction_aberration_mode = 1 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_aberration_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_aberration_mode as acamera_metadata_enum_android_color_correction_aberration_mode_t; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_OFF : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 0 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_50HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 1 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_60HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 2 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_AUTO : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 3 ; -pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_antibanding_mode as acamera_metadata_enum_android_control_ae_antibanding_mode_t; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_OFF: acamera_metadata_enum_acamera_control_ae_lock = 0; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_ON: acamera_metadata_enum_acamera_control_ae_lock = 1; -pub type acamera_metadata_enum_acamera_control_ae_lock = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock as acamera_metadata_enum_android_control_ae_lock_t; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_OFF: acamera_metadata_enum_acamera_control_ae_mode = 0; @@ -20083,12 +20337,12 @@ pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ acamera_metadata_enum_acamera_control_ae_mode = 3; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE : acamera_metadata_enum_acamera_control_ae_mode = 4 ; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_EXTERNAL_FLASH : acamera_metadata_enum_acamera_control_ae_mode = 5 ; -pub type acamera_metadata_enum_acamera_control_ae_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_mode as acamera_metadata_enum_android_control_ae_mode_t; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_IDLE : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 0 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_START : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 1 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 2 ; -pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = u32; +pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_precapture_trigger as acamera_metadata_enum_android_control_ae_precapture_trigger_t; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_OFF: acamera_metadata_enum_acamera_control_af_mode = 0; @@ -20101,7 +20355,7 @@ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_CONTINUOUS_PICTURE : acamera_metadata_enum_acamera_control_af_mode = 4 ; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_EDOF: acamera_metadata_enum_acamera_control_af_mode = 5; -pub type acamera_metadata_enum_acamera_control_af_mode = u32; +pub type acamera_metadata_enum_acamera_control_af_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_mode as acamera_metadata_enum_android_control_af_mode_t; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_IDLE: acamera_metadata_enum_acamera_control_af_trigger = 0; @@ -20109,13 +20363,13 @@ pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TR acamera_metadata_enum_acamera_control_af_trigger = 1; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_CANCEL: acamera_metadata_enum_acamera_control_af_trigger = 2; -pub type acamera_metadata_enum_acamera_control_af_trigger = u32; +pub type acamera_metadata_enum_acamera_control_af_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_trigger as acamera_metadata_enum_android_control_af_trigger_t; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_OFF: acamera_metadata_enum_acamera_control_awb_lock = 0; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_ON: acamera_metadata_enum_acamera_control_awb_lock = 1; -pub type acamera_metadata_enum_acamera_control_awb_lock = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock as acamera_metadata_enum_android_control_awb_lock_t; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_OFF: acamera_metadata_enum_acamera_control_awb_mode = 0; @@ -20133,7 +20387,7 @@ pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MOD acamera_metadata_enum_acamera_control_awb_mode = 7; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_SHADE: acamera_metadata_enum_acamera_control_awb_mode = 8; -pub type acamera_metadata_enum_acamera_control_awb_mode = u32; +pub type acamera_metadata_enum_acamera_control_awb_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_mode as acamera_metadata_enum_android_control_awb_mode_t; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_CUSTOM : acamera_metadata_enum_acamera_control_capture_intent = 0 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_PREVIEW : acamera_metadata_enum_acamera_control_capture_intent = 1 ; @@ -20143,7 +20397,7 @@ pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_C pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_control_capture_intent = 5 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MANUAL : acamera_metadata_enum_acamera_control_capture_intent = 6 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MOTION_TRACKING : acamera_metadata_enum_acamera_control_capture_intent = 7 ; -pub type acamera_metadata_enum_acamera_control_capture_intent = u32; +pub type acamera_metadata_enum_acamera_control_capture_intent = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_capture_intent as acamera_metadata_enum_android_control_capture_intent_t; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_OFF: acamera_metadata_enum_acamera_control_effect_mode = 0; @@ -20160,7 +20414,7 @@ pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFE pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_BLACKBOARD : acamera_metadata_enum_acamera_control_effect_mode = 7 ; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_AQUA: acamera_metadata_enum_acamera_control_effect_mode = 8; -pub type acamera_metadata_enum_acamera_control_effect_mode = u32; +pub type acamera_metadata_enum_acamera_control_effect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_effect_mode as acamera_metadata_enum_android_control_effect_mode_t; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF: acamera_metadata_enum_acamera_control_mode = 0; @@ -20170,7 +20424,8 @@ pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_SC acamera_metadata_enum_acamera_control_mode = 2; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF_KEEP_STATE: acamera_metadata_enum_acamera_control_mode = 3; -pub type acamera_metadata_enum_acamera_control_mode = u32; +pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_EXTENDED_SCENE_MODE : acamera_metadata_enum_acamera_control_mode = 4 ; +pub type acamera_metadata_enum_acamera_control_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_mode as acamera_metadata_enum_android_control_mode_t; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_DISABLED: acamera_metadata_enum_acamera_control_scene_mode = 0; @@ -20204,11 +20459,11 @@ pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE acamera_metadata_enum_acamera_control_scene_mode = 16; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_HDR: acamera_metadata_enum_acamera_control_scene_mode = 18; -pub type acamera_metadata_enum_acamera_control_scene_mode = u32; +pub type acamera_metadata_enum_acamera_control_scene_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_scene_mode as acamera_metadata_enum_android_control_scene_mode_t; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_control_video_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_control_video_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_video_stabilization_mode as acamera_metadata_enum_android_control_video_stabilization_mode_t; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_INACTIVE: acamera_metadata_enum_acamera_control_ae_state = 0; @@ -20222,7 +20477,7 @@ pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STAT acamera_metadata_enum_acamera_control_ae_state = 4; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_PRECAPTURE: acamera_metadata_enum_acamera_control_ae_state = 5; -pub type acamera_metadata_enum_acamera_control_ae_state = u32; +pub type acamera_metadata_enum_acamera_control_ae_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_state as acamera_metadata_enum_android_control_ae_state_t; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_INACTIVE: acamera_metadata_enum_acamera_control_af_state = 0; @@ -20235,7 +20490,7 @@ pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STAT acamera_metadata_enum_acamera_control_af_state = 4; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED : acamera_metadata_enum_acamera_control_af_state = 5 ; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_PASSIVE_UNFOCUSED : acamera_metadata_enum_acamera_control_af_state = 6 ; -pub type acamera_metadata_enum_acamera_control_af_state = u32; +pub type acamera_metadata_enum_acamera_control_af_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_state as acamera_metadata_enum_android_control_af_state_t; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_INACTIVE: acamera_metadata_enum_acamera_control_awb_state = 0; @@ -20245,33 +20500,31 @@ pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_ST acamera_metadata_enum_acamera_control_awb_state = 2; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_LOCKED: acamera_metadata_enum_acamera_control_awb_state = 3; -pub type acamera_metadata_enum_acamera_control_awb_state = u32; +pub type acamera_metadata_enum_acamera_control_awb_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_state as acamera_metadata_enum_android_control_awb_state_t; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_ae_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_ae_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_ae_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock_available as acamera_metadata_enum_android_control_ae_lock_available_t; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_awb_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_awb_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_awb_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock_available as acamera_metadata_enum_android_control_awb_lock_available_t; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_FALSE: acamera_metadata_enum_acamera_control_enable_zsl = 0; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_TRUE: acamera_metadata_enum_acamera_control_enable_zsl = 1; -pub type acamera_metadata_enum_acamera_control_enable_zsl = u32; +pub type acamera_metadata_enum_acamera_control_enable_zsl = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_enable_zsl as acamera_metadata_enum_android_control_enable_zsl_t; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 0 ; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 1 ; -pub type acamera_metadata_enum_acamera_control_af_scene_change = u32; +pub type acamera_metadata_enum_acamera_control_af_scene_change = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_scene_change as acamera_metadata_enum_android_control_af_scene_change_t; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_OFF: - acamera_metadata_enum_acamera_control_bokeh_mode = 0; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_STILL_CAPTURE : acamera_metadata_enum_acamera_control_bokeh_mode = 1 ; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_CONTINUOUS: - acamera_metadata_enum_acamera_control_bokeh_mode = 2; -pub type acamera_metadata_enum_acamera_control_bokeh_mode = u32; -pub use self::acamera_metadata_enum_acamera_control_bokeh_mode as acamera_metadata_enum_android_control_bokeh_mode_t; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_DISABLED : acamera_metadata_enum_acamera_control_extended_scene_mode = 0 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_STILL_CAPTURE : acamera_metadata_enum_acamera_control_extended_scene_mode = 1 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_CONTINUOUS : acamera_metadata_enum_acamera_control_extended_scene_mode = 2 ; +pub type acamera_metadata_enum_acamera_control_extended_scene_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_control_extended_scene_mode as acamera_metadata_enum_android_control_extended_scene_mode_t; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_OFF: acamera_metadata_enum_acamera_edge_mode = 0; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_FAST: @@ -20280,7 +20533,7 @@ pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_HIGH_QUALITY acamera_metadata_enum_acamera_edge_mode = 2; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_ZERO_SHUTTER_LAG: acamera_metadata_enum_acamera_edge_mode = 3; -pub type acamera_metadata_enum_acamera_edge_mode = u32; +pub type acamera_metadata_enum_acamera_edge_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_edge_mode as acamera_metadata_enum_android_edge_mode_t; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_OFF: acamera_metadata_enum_acamera_flash_mode = 0; @@ -20288,7 +20541,7 @@ pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_SINGLE: acamera_metadata_enum_acamera_flash_mode = 1; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_TORCH: acamera_metadata_enum_acamera_flash_mode = 2; -pub type acamera_metadata_enum_acamera_flash_mode = u32; +pub type acamera_metadata_enum_acamera_flash_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_mode as acamera_metadata_enum_android_flash_mode_t; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_UNAVAILABLE: acamera_metadata_enum_acamera_flash_state = 0; @@ -20300,13 +20553,13 @@ pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_FIRED: acamera_metadata_enum_acamera_flash_state = 3; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_PARTIAL: acamera_metadata_enum_acamera_flash_state = 4; -pub type acamera_metadata_enum_acamera_flash_state = u32; +pub type acamera_metadata_enum_acamera_flash_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_state as acamera_metadata_enum_android_flash_state_t; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_FALSE: acamera_metadata_enum_acamera_flash_info_available = 0; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_TRUE: acamera_metadata_enum_acamera_flash_info_available = 1; -pub type acamera_metadata_enum_acamera_flash_info_available = u32; +pub type acamera_metadata_enum_acamera_flash_info_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_info_available as acamera_metadata_enum_android_flash_info_available_t; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_OFF: acamera_metadata_enum_acamera_hot_pixel_mode = 0; @@ -20314,11 +20567,11 @@ pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_FA acamera_metadata_enum_acamera_hot_pixel_mode = 1; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_hot_pixel_mode = 2; -pub type acamera_metadata_enum_acamera_hot_pixel_mode = u32; +pub type acamera_metadata_enum_acamera_hot_pixel_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_hot_pixel_mode as acamera_metadata_enum_android_hot_pixel_mode_t; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_optical_stabilization_mode as acamera_metadata_enum_android_lens_optical_stabilization_mode_t; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_FRONT: acamera_metadata_enum_acamera_lens_facing = 0; @@ -20326,23 +20579,24 @@ pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_BACK: acamera_metadata_enum_acamera_lens_facing = 1; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_EXTERNAL: acamera_metadata_enum_acamera_lens_facing = 2; -pub type acamera_metadata_enum_acamera_lens_facing = u32; +pub type acamera_metadata_enum_acamera_lens_facing = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_facing as acamera_metadata_enum_android_lens_facing_t; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_STATIONARY: acamera_metadata_enum_acamera_lens_state = 0; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_MOVING: acamera_metadata_enum_acamera_lens_state = 1; -pub type acamera_metadata_enum_acamera_lens_state = u32; +pub type acamera_metadata_enum_acamera_lens_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_state as acamera_metadata_enum_android_lens_state_t; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_PRIMARY_CAMERA : acamera_metadata_enum_acamera_lens_pose_reference = 0 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_GYROSCOPE : acamera_metadata_enum_acamera_lens_pose_reference = 1 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_UNDEFINED : acamera_metadata_enum_acamera_lens_pose_reference = 2 ; -pub type acamera_metadata_enum_acamera_lens_pose_reference = u32; +pub type acamera_metadata_enum_acamera_lens_pose_reference = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_pose_reference as acamera_metadata_enum_android_lens_pose_reference_t; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 0 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 1 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 2 ; -pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = u32; +pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_info_focus_distance_calibration as acamera_metadata_enum_android_lens_info_focus_distance_calibration_t; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_OFF: acamera_metadata_enum_acamera_noise_reduction_mode = 0; @@ -20351,7 +20605,7 @@ pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUC pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_noise_reduction_mode = 2 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_MINIMAL : acamera_metadata_enum_acamera_noise_reduction_mode = 3 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_noise_reduction_mode = 4 ; -pub type acamera_metadata_enum_acamera_noise_reduction_mode = u32; +pub type acamera_metadata_enum_acamera_noise_reduction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_noise_reduction_mode as acamera_metadata_enum_android_noise_reduction_mode_t; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE : acamera_metadata_enum_acamera_request_available_capabilities = 0 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 1 ; @@ -20365,15 +20619,17 @@ pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_R pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MONOCHROME : acamera_metadata_enum_acamera_request_available_capabilities = 12 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA : acamera_metadata_enum_acamera_request_available_capabilities = 13 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA : acamera_metadata_enum_acamera_request_available_capabilities = 14 ; -pub type acamera_metadata_enum_acamera_request_available_capabilities = u32; +pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 16 ; +pub type acamera_metadata_enum_acamera_request_available_capabilities = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_request_available_capabilities as acamera_metadata_enum_android_request_available_capabilities_t; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations as acamera_metadata_enum_android_scaler_available_stream_configurations_t; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_CENTER_ONLY : acamera_metadata_enum_acamera_scaler_cropping_type = 0 ; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_FREEFORM : acamera_metadata_enum_acamera_scaler_cropping_type = 1 ; -pub type acamera_metadata_enum_acamera_scaler_cropping_type = u32; +pub type acamera_metadata_enum_acamera_scaler_cropping_type = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_cropping_type as acamera_metadata_enum_android_scaler_cropping_type_t; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PREVIEW : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RECORD : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 1 ; @@ -20384,8 +20640,32 @@ pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_conf pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_LOW_LATENCY_SNAPSHOT : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 6 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PUBLIC_END : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 7 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VENDOR_START : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 24 ; -pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations as acamera_metadata_enum_android_scaler_available_recommended_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_NONE : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 0 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_90: + acamera_metadata_enum_acamera_scaler_rotate_and_crop = 1; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_180 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 2 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_270 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 3 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_AUTO : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 4 ; +pub type acamera_metadata_enum_acamera_scaler_rotate_and_crop = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_rotate_and_crop as acamera_metadata_enum_android_scaler_rotate_and_crop_t; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 0 ; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 1 ; +pub type acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations as acamera_metadata_enum_android_scaler_physical_camera_multi_resolution_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution as acamera_metadata_enum_android_scaler_available_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_FALSE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 0 ; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_TRUE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 1 ; +pub type acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported as acamera_metadata_enum_android_scaler_multi_resolution_stream_supported_t; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 1 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 2 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 3 ; @@ -20405,7 +20685,7 @@ pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SEN pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D75 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 22 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D50 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 23 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 24 ; -pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = u32; +pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_reference_illuminant1 as acamera_metadata_enum_android_sensor_reference_illuminant1_t; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_OFF : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 0 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_SOLID_COLOR : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 1 ; @@ -20413,8 +20693,17 @@ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 3 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_PN9 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 4 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_CUSTOM1 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 256 ; -pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = u32; +pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_test_pattern_mode as acamera_metadata_enum_android_sensor_test_pattern_mode_t; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_DEFAULT: + acamera_metadata_enum_acamera_sensor_pixel_mode = 0; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION : acamera_metadata_enum_acamera_sensor_pixel_mode = 1 ; +pub type acamera_metadata_enum_acamera_sensor_pixel_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_pixel_mode as acamera_metadata_enum_android_sensor_pixel_mode_t; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_TRUE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 0 ; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_FALSE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 1 ; +pub type acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_raw_binning_factor_used as acamera_metadata_enum_android_sensor_raw_binning_factor_used_t; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 1 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 2 ; @@ -20422,15 +20711,16 @@ pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACA pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 4 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 5 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 6 ; -pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = u32; +pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement as acamera_metadata_enum_android_sensor_info_color_filter_arrangement_t; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = u32; +pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_timestamp_source as acamera_metadata_enum_android_sensor_info_timestamp_source_t; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_FALSE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_TRUE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = u32; +pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_lens_shading_applied as acamera_metadata_enum_android_sensor_info_lens_shading_applied_t; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_OFF: acamera_metadata_enum_acamera_shading_mode = 0; @@ -20438,29 +20728,29 @@ pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_FAST: acamera_metadata_enum_acamera_shading_mode = 1; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_shading_mode = 2; -pub type acamera_metadata_enum_acamera_shading_mode = u32; +pub type acamera_metadata_enum_acamera_shading_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_shading_mode as acamera_metadata_enum_android_shading_mode_t; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_OFF : acamera_metadata_enum_acamera_statistics_face_detect_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_SIMPLE : acamera_metadata_enum_acamera_statistics_face_detect_mode = 1 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_FULL : acamera_metadata_enum_acamera_statistics_face_detect_mode = 2 ; -pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_face_detect_mode as acamera_metadata_enum_android_statistics_face_detect_mode_t; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode as acamera_metadata_enum_android_statistics_hot_pixel_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_NONE : acamera_metadata_enum_acamera_statistics_scene_flicker = 0 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_50HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 1 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_60HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 2 ; -pub type acamera_metadata_enum_acamera_statistics_scene_flicker = u32; +pub type acamera_metadata_enum_acamera_statistics_scene_flicker = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_scene_flicker as acamera_metadata_enum_android_statistics_scene_flicker_t; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_lens_shading_map_mode as acamera_metadata_enum_android_statistics_lens_shading_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_OFF : acamera_metadata_enum_acamera_statistics_ois_data_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_ON : acamera_metadata_enum_acamera_statistics_ois_data_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_ois_data_mode as acamera_metadata_enum_android_statistics_ois_data_mode_t; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_CONTRAST_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 0; @@ -20472,76 +20762,95 @@ pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_GAMMA_ acamera_metadata_enum_acamera_tonemap_mode = 3; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_PRESET_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 4; -pub type acamera_metadata_enum_acamera_tonemap_mode = u32; +pub type acamera_metadata_enum_acamera_tonemap_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_mode as acamera_metadata_enum_android_tonemap_mode_t; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_SRGB: acamera_metadata_enum_acamera_tonemap_preset_curve = 0; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_REC709: acamera_metadata_enum_acamera_tonemap_preset_curve = 1; -pub type acamera_metadata_enum_acamera_tonemap_preset_curve = u32; +pub type acamera_metadata_enum_acamera_tonemap_preset_curve = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_preset_curve as acamera_metadata_enum_android_tonemap_preset_curve_t; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED : acamera_metadata_enum_acamera_info_supported_hardware_level = 0 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_FULL : acamera_metadata_enum_acamera_info_supported_hardware_level = 1 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY : acamera_metadata_enum_acamera_info_supported_hardware_level = 2 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_3 : acamera_metadata_enum_acamera_info_supported_hardware_level = 3 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL : acamera_metadata_enum_acamera_info_supported_hardware_level = 4 ; -pub type acamera_metadata_enum_acamera_info_supported_hardware_level = u32; +pub type acamera_metadata_enum_acamera_info_supported_hardware_level = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_info_supported_hardware_level as acamera_metadata_enum_android_info_supported_hardware_level_t; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_OFF: acamera_metadata_enum_acamera_black_level_lock = 0; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_ON: acamera_metadata_enum_acamera_black_level_lock = 1; -pub type acamera_metadata_enum_acamera_black_level_lock = u32; +pub type acamera_metadata_enum_acamera_black_level_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_black_level_lock as acamera_metadata_enum_android_black_level_lock_t; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_CONVERGING: acamera_metadata_enum_acamera_sync_frame_number = -1; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_UNKNOWN: acamera_metadata_enum_acamera_sync_frame_number = -2; -pub type acamera_metadata_enum_acamera_sync_frame_number = i32; +pub type acamera_metadata_enum_acamera_sync_frame_number = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_frame_number as acamera_metadata_enum_android_sync_frame_number_t; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_PER_FRAME_CONTROL : acamera_metadata_enum_acamera_sync_max_latency = 0 ; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_UNKNOWN: acamera_metadata_enum_acamera_sync_max_latency = -1; -pub type acamera_metadata_enum_acamera_sync_max_latency = i32; +pub type acamera_metadata_enum_acamera_sync_max_latency = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_max_latency as acamera_metadata_enum_android_sync_max_latency_t; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations as acamera_metadata_enum_android_depth_available_depth_stream_configurations_t; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_FALSE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 0 ; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_TRUE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 1 ; -pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = u32; +pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_depth_is_exclusive as acamera_metadata_enum_android_depth_depth_is_exclusive_t; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_t; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_depth_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_maximum_resolution_t; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 0 ; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 1 ; -pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = u32; +pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type as acamera_metadata_enum_android_logical_multi_camera_sensor_sync_type_t; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_OFF : acamera_metadata_enum_acamera_distortion_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_FAST : acamera_metadata_enum_acamera_distortion_correction_mode = 1 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_distortion_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_distortion_correction_mode = u32; +pub type acamera_metadata_enum_acamera_distortion_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_distortion_correction_mode as acamera_metadata_enum_android_distortion_correction_mode_t; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations as acamera_metadata_enum_android_heic_available_heic_stream_configurations_t; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution as acamera_metadata_enum_android_heic_available_heic_stream_configurations_maximum_resolution_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_54 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_54 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_54 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_54 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_54 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_54 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_54 = 6; -pub type _bindgen_ty_54 = u32; +pub const ACAMERA_TYPE_BYTE: ::std::os::raw::c_uint = 0; +pub const ACAMERA_TYPE_INT32: ::std::os::raw::c_uint = 1; +pub const ACAMERA_TYPE_FLOAT: ::std::os::raw::c_uint = 2; +pub const ACAMERA_TYPE_INT64: ::std::os::raw::c_uint = 3; +pub const ACAMERA_TYPE_DOUBLE: ::std::os::raw::c_uint = 4; +pub const ACAMERA_TYPE_RATIONAL: ::std::os::raw::c_uint = 5; +pub const ACAMERA_NUM_TYPES: ::std::os::raw::c_uint = 6; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -20596,13 +20905,12 @@ pub struct ACameraMetadata_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_entry__bindgen_ty_1 { - pub u8: *mut u8, - pub i32: *mut i32, + pub u8_: *mut u8, + pub i32_: *mut i32, pub f: *mut f32, - pub i64: *mut i64, + pub i64_: *mut i64, pub d: *mut f64, pub r: *mut ACameraMetadata_rational, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { @@ -20621,26 +20929,27 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ as usize + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ as usize + &(*(::std::ptr::null::())).i32_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -20657,14 +20966,15 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ as usize + &(*(::std::ptr::null::())).i64_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -20756,13 +21066,12 @@ pub struct ACameraMetadata_const_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_const_entry__bindgen_ty_1 { - pub u8: *const u8, - pub i32: *const i32, + pub u8_: *const u8, + pub i32_: *const i32, pub f: *const f32, - pub i64: *const i64, + pub i64_: *const i64, pub d: *const f64, pub r: *const ACameraMetadata_rational, - _bindgen_union_align: u32, } #[test] fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { @@ -20784,7 +21093,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, @@ -20792,12 +21101,12 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ + &(*(::std::ptr::null::())).i32_ as *const _ as usize }, 0usize, @@ -20805,7 +21114,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -20823,7 +21132,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ + &(*(::std::ptr::null::())).i64_ as *const _ as usize }, 0usize, @@ -20831,7 +21140,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -21219,9 +21528,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_55 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_55 = 1; -pub type _bindgen_ty_55 = u32; +pub const CAPTURE_FAILURE_REASON_FLUSHED: ::std::os::raw::c_uint = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -21472,8 +21781,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_56 = -1; -pub type _bindgen_ty_56 = i32; +pub const CAPTURE_SEQUENCE_ID_NONE: ::std::os::raw::c_int = -1; +pub type _bindgen_ty_55 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -21783,12 +22092,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_57 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_57 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_57 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_57 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_57 = 5; -pub type _bindgen_ty_57 = u32; +pub const ERROR_CAMERA_IN_USE: ::std::os::raw::c_uint = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: ::std::os::raw::c_uint = 2; +pub const ERROR_CAMERA_DISABLED: ::std::os::raw::c_uint = 3; +pub const ERROR_CAMERA_DEVICE: ::std::os::raw::c_uint = 4; +pub const ERROR_CAMERA_SERVICE: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type ACameraDevice_StateCallback = ::std::option::Option< unsafe extern "C" fn(context: *mut ::std::os::raw::c_void, device: *mut ACameraDevice), >; @@ -21871,7 +22180,7 @@ pub const ACameraDevice_request_template_TEMPLATE_VIDEO_SNAPSHOT: ACameraDevice_ pub const ACameraDevice_request_template_TEMPLATE_ZERO_SHUTTER_LAG: ACameraDevice_request_template = 5; pub const ACameraDevice_request_template_TEMPLATE_MANUAL: ACameraDevice_request_template = 6; -pub type ACameraDevice_request_template = u32; +pub type ACameraDevice_request_template = ::std::os::raw::c_uint; extern "C" { pub fn ACameraDevice_createCaptureRequest( device: *const ACameraDevice, @@ -22229,7 +22538,7 @@ pub const media_status_t_AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED: media_status_t = pub const media_status_t_AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE: media_status_t = -30003; pub const media_status_t_AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE: media_status_t = -30004; pub const media_status_t_AMEDIA_IMGREADER_IMAGE_NOT_LOCKED: media_status_t = -30005; -pub type media_status_t = i32; +pub type media_status_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImage { @@ -22252,7 +22561,7 @@ pub const AIMAGE_FORMATS_AIMAGE_FORMAT_PRIVATE: AIMAGE_FORMATS = 34; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_Y8: AIMAGE_FORMATS = 538982489; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_HEIC: AIMAGE_FORMATS = 1212500294; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_DEPTH_JPEG: AIMAGE_FORMATS = 1768253795; -pub type AIMAGE_FORMATS = u32; +pub type AIMAGE_FORMATS = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImageCropRect { diff --git a/ndk-sys/src/ffi_x86_64.rs b/ndk-sys/src/ffi_x86_64.rs index cf8b15f6..2a683b58 100644 --- a/ndk-sys/src/ffi_x86_64.rs +++ b/ndk-sys/src/ffi_x86_64.rs @@ -1,12 +1,13 @@ -/* automatically generated by rust-bindgen */ +/* automatically generated by rust-bindgen 0.59.1 */ pub const __BIONIC__: u32 = 1; pub const __WORDSIZE: u32 = 64; pub const __bos_level: u32 = 0; -pub const __NDK_MAJOR__: u32 = 21; -pub const __NDK_MINOR__: u32 = 1; -pub const __NDK_BETA__: u32 = 3; -pub const __NDK_BUILD__: u32 = 6363665; +pub const __ANDROID_NDK__: u32 = 1; +pub const __NDK_MAJOR__: u32 = 23; +pub const __NDK_MINOR__: u32 = 0; +pub const __NDK_BETA__: u32 = 0; +pub const __NDK_BUILD__: u32 = 7599858; pub const __NDK_CANARY__: u32 = 0; pub const __ANDROID_API_FUTURE__: u32 = 10000; pub const __ANDROID_API__: u32 = 10000; @@ -26,6 +27,7 @@ pub const __ANDROID_API_O_MR1__: u32 = 27; pub const __ANDROID_API_P__: u32 = 28; pub const __ANDROID_API_Q__: u32 = 29; pub const __ANDROID_API_R__: u32 = 30; +pub const __ANDROID_API_S__: u32 = 31; pub const INT8_MIN: i32 = -128; pub const INT8_MAX: u32 = 127; pub const INT_LEAST8_MIN: i32 = -128; @@ -233,7 +235,6 @@ pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\0"; pub const SCNxMAX: &'static [u8; 3usize] = b"jx\0"; pub const SCNxPTR: &'static [u8; 3usize] = b"lx\0"; pub const AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT: u32 = 8; -pub const _K_SS_MAXSIZE: u32 = 128; pub const O_ACCMODE: u32 = 3; pub const O_RDONLY: u32 = 0; pub const O_WRONLY: u32 = 1; @@ -375,6 +376,8 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -679,6 +682,7 @@ pub const __WCLONE: u32 = 2147483648; pub const P_ALL: u32 = 0; pub const P_PID: u32 = 1; pub const P_PGID: u32 = 2; +pub const P_PIDFD: u32 = 3; pub const SEEK_SET: u32 = 0; pub const SEEK_CUR: u32 = 1; pub const SEEK_END: u32 = 2; @@ -696,9 +700,19 @@ pub const L_ctermid: u32 = 1024; pub const STRUCT_MALLINFO_DECLARED: u32 = 1; pub const M_DECAY_TIME: i32 = -100; pub const M_PURGE: i32 = -101; +pub const M_MEMTAG_TUNING: i32 = -102; +pub const M_MEMTAG_TUNING_BUFFER_OVERFLOW: u32 = 0; +pub const M_MEMTAG_TUNING_UAF: u32 = 1; +pub const M_THREAD_DISABLE_MEM_INIT: i32 = -103; +pub const M_CACHE_COUNT_MAX: i32 = -200; +pub const M_CACHE_SIZE_MAX: i32 = -201; +pub const M_TSDS_COUNT_MAX: i32 = -202; +pub const M_BIONIC_ZERO_INIT: i32 = -203; +pub const M_BIONIC_SET_HEAP_TAGGING_LEVEL: i32 = -204; pub const EXIT_FAILURE: u32 = 1; pub const EXIT_SUCCESS: u32 = 0; pub const RAND_MAX: u32 = 2147483647; +pub const __NNAPI_FL5_MIN_ANDROID_API__: u32 = 31; pub const NR_OPEN: u32 = 1024; pub const NGROUPS_MAX: u32 = 65536; pub const ARG_MAX: u32 = 131072; @@ -978,18 +992,20 @@ pub const SIGPWR: u32 = 30; pub const SIGSYS: u32 = 31; pub const SIGUNUSED: u32 = 31; pub const __SIGRTMIN: u32 = 32; +pub const SA_RESTORER: u32 = 67108864; +pub const MINSIGSTKSZ: u32 = 2048; +pub const SIGSTKSZ: u32 = 8192; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; pub const SA_SIGINFO: u32 = 4; +pub const SA_UNSUPPORTED: u32 = 1024; +pub const SA_EXPOSE_TAGBITS: u32 = 2048; pub const SA_ONSTACK: u32 = 134217728; pub const SA_RESTART: u32 = 268435456; pub const SA_NODEFER: u32 = 1073741824; pub const SA_RESETHAND: u32 = 2147483648; pub const SA_NOMASK: u32 = 1073741824; pub const SA_ONESHOT: u32 = 2147483648; -pub const SA_RESTORER: u32 = 67108864; -pub const MINSIGSTKSZ: u32 = 2048; -pub const SIGSTKSZ: u32 = 8192; pub const SIG_BLOCK: u32 = 0; pub const SIG_UNBLOCK: u32 = 1; pub const SIG_SETMASK: u32 = 2; @@ -1039,7 +1055,9 @@ pub const SEGV_PKUERR: u32 = 4; pub const SEGV_ACCADI: u32 = 5; pub const SEGV_ADIDERR: u32 = 6; pub const SEGV_ADIPERR: u32 = 7; -pub const NSIGSEGV: u32 = 7; +pub const SEGV_MTEAERR: u32 = 8; +pub const SEGV_MTESERR: u32 = 9; +pub const NSIGSEGV: u32 = 9; pub const BUS_ADRALN: u32 = 1; pub const BUS_ADRERR: u32 = 2; pub const BUS_OBJERR: u32 = 3; @@ -1051,7 +1069,8 @@ pub const TRAP_TRACE: u32 = 2; pub const TRAP_BRANCH: u32 = 3; pub const TRAP_HWBKPT: u32 = 4; pub const TRAP_UNK: u32 = 5; -pub const NSIGTRAP: u32 = 5; +pub const TRAP_PERF: u32 = 6; +pub const NSIGTRAP: u32 = 6; pub const CLD_EXITED: u32 = 1; pub const CLD_KILLED: u32 = 2; pub const CLD_DUMPED: u32 = 3; @@ -1067,7 +1086,8 @@ pub const POLL_PRI: u32 = 5; pub const POLL_HUP: u32 = 6; pub const NSIGPOLL: u32 = 6; pub const SYS_SECCOMP: u32 = 1; -pub const NSIGSYS: u32 = 1; +pub const SYS_USER_DISPATCH: u32 = 2; +pub const NSIGSYS: u32 = 2; pub const EMT_TAGOVF: u32 = 1; pub const NSIGEMT: u32 = 1; pub const SIGEV_SIGNAL: u32 = 0; @@ -1258,6 +1278,7 @@ fn bindgen_test_layout___kernel_fsid_t() { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -1583,11 +1604,11 @@ pub struct AAssetDir { pub struct AAsset { _unused: [u8; 0], } -pub const AASSET_MODE_UNKNOWN: _bindgen_ty_1 = 0; -pub const AASSET_MODE_RANDOM: _bindgen_ty_1 = 1; -pub const AASSET_MODE_STREAMING: _bindgen_ty_1 = 2; -pub const AASSET_MODE_BUFFER: _bindgen_ty_1 = 3; -pub type _bindgen_ty_1 = u32; +pub const AASSET_MODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AASSET_MODE_RANDOM: ::std::os::raw::c_uint = 1; +pub const AASSET_MODE_STREAMING: ::std::os::raw::c_uint = 2; +pub const AASSET_MODE_BUFFER: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_1 = ::std::os::raw::c_uint; extern "C" { pub fn AAssetManager_openDir( mgr: *mut AAssetManager, @@ -1712,7 +1733,6 @@ pub union jvalue { pub f: jfloat, pub d: jdouble, pub l: jobject, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_jvalue() { @@ -1776,7 +1796,7 @@ pub const jobjectRefType_JNIInvalidRefType: jobjectRefType = 0; pub const jobjectRefType_JNILocalRefType: jobjectRefType = 1; pub const jobjectRefType_JNIGlobalRefType: jobjectRefType = 2; pub const jobjectRefType_JNIWeakGlobalRefType: jobjectRefType = 3; -pub type jobjectRefType = u32; +pub type jobjectRefType = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct JNINativeMethod { @@ -6248,26 +6268,26 @@ extern "C" { extern "C" { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } -pub const ANDROID_BITMAP_RESULT_SUCCESS: _bindgen_ty_2 = 0; -pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: _bindgen_ty_2 = -1; -pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: _bindgen_ty_2 = -2; -pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: _bindgen_ty_2 = -3; -pub type _bindgen_ty_2 = i32; +pub const ANDROID_BITMAP_RESULT_SUCCESS: ::std::os::raw::c_int = 0; +pub const ANDROID_BITMAP_RESULT_BAD_PARAMETER: ::std::os::raw::c_int = -1; +pub const ANDROID_BITMAP_RESULT_JNI_EXCEPTION: ::std::os::raw::c_int = -2; +pub const ANDROID_BITMAP_RESULT_ALLOCATION_FAILED: ::std::os::raw::c_int = -3; +pub type _bindgen_ty_2 = ::std::os::raw::c_int; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_NONE: AndroidBitmapFormat = 0; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_8888: AndroidBitmapFormat = 1; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGB_565: AndroidBitmapFormat = 4; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_4444: AndroidBitmapFormat = 7; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_A_8: AndroidBitmapFormat = 8; pub const AndroidBitmapFormat_ANDROID_BITMAP_FORMAT_RGBA_F16: AndroidBitmapFormat = 9; -pub type AndroidBitmapFormat = u32; -pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: _bindgen_ty_3 = 0; -pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: _bindgen_ty_3 = 1; -pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: _bindgen_ty_3 = 2; -pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: _bindgen_ty_3 = 3; -pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: _bindgen_ty_3 = 0; -pub type _bindgen_ty_3 = u32; -pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: _bindgen_ty_4 = -2147483648; -pub type _bindgen_ty_4 = i32; +pub type AndroidBitmapFormat = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_ALPHA_PREMUL: ::std::os::raw::c_uint = 0; +pub const ANDROID_BITMAP_FLAGS_ALPHA_OPAQUE: ::std::os::raw::c_uint = 1; +pub const ANDROID_BITMAP_FLAGS_ALPHA_UNPREMUL: ::std::os::raw::c_uint = 2; +pub const ANDROID_BITMAP_FLAGS_ALPHA_MASK: ::std::os::raw::c_uint = 3; +pub const ANDROID_BITMAP_FLAGS_ALPHA_SHIFT: ::std::os::raw::c_uint = 0; +pub type _bindgen_ty_3 = ::std::os::raw::c_uint; +pub const ANDROID_BITMAP_FLAGS_IS_HARDWARE: ::std::os::raw::c_int = -2147483648; +pub type _bindgen_ty_4 = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AndroidBitmapInfo { @@ -6368,7 +6388,7 @@ pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSY: AndroidBitmapCompressFormat = 3; pub const AndroidBitmapCompressFormat_ANDROID_BITMAP_COMPRESS_FORMAT_WEBP_LOSSLESS: AndroidBitmapCompressFormat = 4; -pub type AndroidBitmapCompressFormat = u32; +pub type AndroidBitmapCompressFormat = ::std::os::raw::c_uint; pub type AndroidBitmap_CompressWriteFunc = ::std::option::Option< unsafe extern "C" fn( userContext: *mut ::std::os::raw::c_void, @@ -6465,93 +6485,93 @@ extern "C" { pub struct AConfiguration { _unused: [u8; 0], } -pub const ACONFIGURATION_ORIENTATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_ORIENTATION_PORT: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_ORIENTATION_LAND: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_ORIENTATION_SQUARE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_TOUCHSCREEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_TOUCHSCREEN_FINGER: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_DENSITY_DEFAULT: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_DENSITY_LOW: _bindgen_ty_5 = 120; -pub const ACONFIGURATION_DENSITY_MEDIUM: _bindgen_ty_5 = 160; -pub const ACONFIGURATION_DENSITY_TV: _bindgen_ty_5 = 213; -pub const ACONFIGURATION_DENSITY_HIGH: _bindgen_ty_5 = 240; -pub const ACONFIGURATION_DENSITY_XHIGH: _bindgen_ty_5 = 320; -pub const ACONFIGURATION_DENSITY_XXHIGH: _bindgen_ty_5 = 480; -pub const ACONFIGURATION_DENSITY_XXXHIGH: _bindgen_ty_5 = 640; -pub const ACONFIGURATION_DENSITY_ANY: _bindgen_ty_5 = 65534; -pub const ACONFIGURATION_DENSITY_NONE: _bindgen_ty_5 = 65535; -pub const ACONFIGURATION_KEYBOARD_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYBOARD_NOKEYS: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYBOARD_QWERTY: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYBOARD_12KEY: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVIGATION_NONAV: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVIGATION_DPAD: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_NAVIGATION_TRACKBALL: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVIGATION_WHEEL: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_KEYSHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_KEYSHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_KEYSHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_KEYSHIDDEN_SOFT: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_NAVHIDDEN_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_NAVHIDDEN_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_NAVHIDDEN_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENSIZE_SMALL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENSIZE_NORMAL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENSIZE_LARGE: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_SCREENSIZE_XLARGE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_SCREENLONG_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENLONG_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENLONG_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREENROUND_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREENROUND_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_SCREENROUND_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_HDR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_HDR_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_HDR_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_TYPE_DESK: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_UI_MODE_TYPE_CAR: _bindgen_ty_5 = 3; -pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: _bindgen_ty_5 = 5; -pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: _bindgen_ty_5 = 6; -pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: _bindgen_ty_5 = 7; -pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_UI_MODE_NIGHT_NO: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_UI_MODE_NIGHT_YES: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_ANY: _bindgen_ty_5 = 0; -pub const ACONFIGURATION_LAYOUTDIR_LTR: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_LAYOUTDIR_RTL: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_MCC: _bindgen_ty_5 = 1; -pub const ACONFIGURATION_MNC: _bindgen_ty_5 = 2; -pub const ACONFIGURATION_LOCALE: _bindgen_ty_5 = 4; -pub const ACONFIGURATION_TOUCHSCREEN: _bindgen_ty_5 = 8; -pub const ACONFIGURATION_KEYBOARD: _bindgen_ty_5 = 16; -pub const ACONFIGURATION_KEYBOARD_HIDDEN: _bindgen_ty_5 = 32; -pub const ACONFIGURATION_NAVIGATION: _bindgen_ty_5 = 64; -pub const ACONFIGURATION_ORIENTATION: _bindgen_ty_5 = 128; -pub const ACONFIGURATION_DENSITY: _bindgen_ty_5 = 256; -pub const ACONFIGURATION_SCREEN_SIZE: _bindgen_ty_5 = 512; -pub const ACONFIGURATION_VERSION: _bindgen_ty_5 = 1024; -pub const ACONFIGURATION_SCREEN_LAYOUT: _bindgen_ty_5 = 2048; -pub const ACONFIGURATION_UI_MODE: _bindgen_ty_5 = 4096; -pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: _bindgen_ty_5 = 8192; -pub const ACONFIGURATION_LAYOUTDIR: _bindgen_ty_5 = 16384; -pub const ACONFIGURATION_SCREEN_ROUND: _bindgen_ty_5 = 32768; -pub const ACONFIGURATION_COLOR_MODE: _bindgen_ty_5 = 65536; -pub const ACONFIGURATION_MNC_ZERO: _bindgen_ty_5 = 65535; -pub type _bindgen_ty_5 = u32; +pub const ACONFIGURATION_ORIENTATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_ORIENTATION_PORT: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_ORIENTATION_LAND: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_ORIENTATION_SQUARE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_TOUCHSCREEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_TOUCHSCREEN_NOTOUCH: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_TOUCHSCREEN_STYLUS: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_TOUCHSCREEN_FINGER: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_DENSITY_DEFAULT: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_DENSITY_LOW: ::std::os::raw::c_uint = 120; +pub const ACONFIGURATION_DENSITY_MEDIUM: ::std::os::raw::c_uint = 160; +pub const ACONFIGURATION_DENSITY_TV: ::std::os::raw::c_uint = 213; +pub const ACONFIGURATION_DENSITY_HIGH: ::std::os::raw::c_uint = 240; +pub const ACONFIGURATION_DENSITY_XHIGH: ::std::os::raw::c_uint = 320; +pub const ACONFIGURATION_DENSITY_XXHIGH: ::std::os::raw::c_uint = 480; +pub const ACONFIGURATION_DENSITY_XXXHIGH: ::std::os::raw::c_uint = 640; +pub const ACONFIGURATION_DENSITY_ANY: ::std::os::raw::c_uint = 65534; +pub const ACONFIGURATION_DENSITY_NONE: ::std::os::raw::c_uint = 65535; +pub const ACONFIGURATION_KEYBOARD_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYBOARD_NOKEYS: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYBOARD_QWERTY: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYBOARD_12KEY: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVIGATION_NONAV: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVIGATION_DPAD: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_NAVIGATION_TRACKBALL: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVIGATION_WHEEL: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_KEYSHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_KEYSHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_KEYSHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_KEYSHIDDEN_SOFT: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_NAVHIDDEN_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_NAVHIDDEN_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_NAVHIDDEN_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENSIZE_SMALL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENSIZE_NORMAL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENSIZE_LARGE: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_SCREENSIZE_XLARGE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_SCREENLONG_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENLONG_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENLONG_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREENROUND_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREENROUND_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_SCREENROUND_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_WIDE_COLOR_GAMUT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_HDR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_HDR_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_HDR_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_TYPE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_TYPE_DESK: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_UI_MODE_TYPE_CAR: ::std::os::raw::c_uint = 3; +pub const ACONFIGURATION_UI_MODE_TYPE_TELEVISION: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_UI_MODE_TYPE_APPLIANCE: ::std::os::raw::c_uint = 5; +pub const ACONFIGURATION_UI_MODE_TYPE_WATCH: ::std::os::raw::c_uint = 6; +pub const ACONFIGURATION_UI_MODE_TYPE_VR_HEADSET: ::std::os::raw::c_uint = 7; +pub const ACONFIGURATION_UI_MODE_NIGHT_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_UI_MODE_NIGHT_NO: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_UI_MODE_NIGHT_YES: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SCREEN_HEIGHT_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_SMALLEST_SCREEN_WIDTH_DP_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_ANY: ::std::os::raw::c_uint = 0; +pub const ACONFIGURATION_LAYOUTDIR_LTR: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_LAYOUTDIR_RTL: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_MCC: ::std::os::raw::c_uint = 1; +pub const ACONFIGURATION_MNC: ::std::os::raw::c_uint = 2; +pub const ACONFIGURATION_LOCALE: ::std::os::raw::c_uint = 4; +pub const ACONFIGURATION_TOUCHSCREEN: ::std::os::raw::c_uint = 8; +pub const ACONFIGURATION_KEYBOARD: ::std::os::raw::c_uint = 16; +pub const ACONFIGURATION_KEYBOARD_HIDDEN: ::std::os::raw::c_uint = 32; +pub const ACONFIGURATION_NAVIGATION: ::std::os::raw::c_uint = 64; +pub const ACONFIGURATION_ORIENTATION: ::std::os::raw::c_uint = 128; +pub const ACONFIGURATION_DENSITY: ::std::os::raw::c_uint = 256; +pub const ACONFIGURATION_SCREEN_SIZE: ::std::os::raw::c_uint = 512; +pub const ACONFIGURATION_VERSION: ::std::os::raw::c_uint = 1024; +pub const ACONFIGURATION_SCREEN_LAYOUT: ::std::os::raw::c_uint = 2048; +pub const ACONFIGURATION_UI_MODE: ::std::os::raw::c_uint = 4096; +pub const ACONFIGURATION_SMALLEST_SCREEN_SIZE: ::std::os::raw::c_uint = 8192; +pub const ACONFIGURATION_LAYOUTDIR: ::std::os::raw::c_uint = 16384; +pub const ACONFIGURATION_SCREEN_ROUND: ::std::os::raw::c_uint = 32768; +pub const ACONFIGURATION_COLOR_MODE: ::std::os::raw::c_uint = 65536; +pub const ACONFIGURATION_MNC_ZERO: ::std::os::raw::c_uint = 65535; +pub type _bindgen_ty_5 = ::std::os::raw::c_uint; extern "C" { pub fn AConfiguration_new() -> *mut AConfiguration; } @@ -6799,18 +6819,18 @@ pub const ADataSpace_ADATASPACE_BT2020: ADataSpace = 147193856; pub const ADataSpace_ADATASPACE_BT709: ADataSpace = 281083904; pub const ADataSpace_ADATASPACE_DCI_P3: ADataSpace = 155844608; pub const ADataSpace_ADATASPACE_SRGB_LINEAR: ADataSpace = 138477568; -pub type ADataSpace = u32; -pub const ANDROID_DLEXT_RESERVED_ADDRESS: _bindgen_ty_6 = 1; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: _bindgen_ty_6 = 2; -pub const ANDROID_DLEXT_WRITE_RELRO: _bindgen_ty_6 = 4; -pub const ANDROID_DLEXT_USE_RELRO: _bindgen_ty_6 = 8; -pub const ANDROID_DLEXT_USE_LIBRARY_FD: _bindgen_ty_6 = 16; -pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: _bindgen_ty_6 = 32; -pub const ANDROID_DLEXT_FORCE_LOAD: _bindgen_ty_6 = 64; -pub const ANDROID_DLEXT_USE_NAMESPACE: _bindgen_ty_6 = 512; -pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: _bindgen_ty_6 = 1024; -pub const ANDROID_DLEXT_VALID_FLAG_BITS: _bindgen_ty_6 = 1663; -pub type _bindgen_ty_6 = u32; +pub type ADataSpace = ::std::os::raw::c_uint; +pub const ANDROID_DLEXT_RESERVED_ADDRESS: ::std::os::raw::c_uint = 1; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_HINT: ::std::os::raw::c_uint = 2; +pub const ANDROID_DLEXT_WRITE_RELRO: ::std::os::raw::c_uint = 4; +pub const ANDROID_DLEXT_USE_RELRO: ::std::os::raw::c_uint = 8; +pub const ANDROID_DLEXT_USE_LIBRARY_FD: ::std::os::raw::c_uint = 16; +pub const ANDROID_DLEXT_USE_LIBRARY_FD_OFFSET: ::std::os::raw::c_uint = 32; +pub const ANDROID_DLEXT_FORCE_LOAD: ::std::os::raw::c_uint = 64; +pub const ANDROID_DLEXT_USE_NAMESPACE: ::std::os::raw::c_uint = 512; +pub const ANDROID_DLEXT_RESERVED_ADDRESS_RECURSIVE: ::std::os::raw::c_uint = 1024; +pub const ANDROID_DLEXT_VALID_FLAG_BITS: ::std::os::raw::c_uint = 1663; +pub type _bindgen_ty_6 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct android_namespace_t { @@ -7000,7 +7020,7 @@ pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_D32_FLOAT_S8_UINT: AHard 52; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_S8_UINT: AHardwareBuffer_Format = 53; pub const AHardwareBuffer_Format_AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420: AHardwareBuffer_Format = 35; -pub type AHardwareBuffer_Format = u32; +pub type AHardwareBuffer_Format = ::std::os::raw::c_uint; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_NEVER: AHardwareBuffer_UsageFlags = 0; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_CPU_READ_RARELY: @@ -7077,7 +7097,7 @@ pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_18: AHardwareB 4611686018427387904; pub const AHardwareBuffer_UsageFlags_AHARDWAREBUFFER_USAGE_VENDOR_19: AHardwareBuffer_UsageFlags = 9223372036854775808; -pub type AHardwareBuffer_UsageFlags = u64; +pub type AHardwareBuffer_UsageFlags = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AHardwareBuffer_Desc { @@ -7303,15 +7323,6 @@ extern "C" { outVirtualAddress: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int; } -extern "C" { - pub fn AHardwareBuffer_lockPlanes( - buffer: *mut AHardwareBuffer, - usage: u64, - fence: i32, - rect: *const ARect, - outPlanes: *mut AHardwareBuffer_Planes, - ) -> ::std::os::raw::c_int; -} extern "C" { pub fn AHardwareBuffer_unlock( buffer: *mut AHardwareBuffer, @@ -7330,6 +7341,15 @@ extern "C" { outBuffer: *mut *mut AHardwareBuffer, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_lockPlanes( + buffer: *mut AHardwareBuffer, + usage: u64, + fence: i32, + rect: *const ARect, + outPlanes: *mut AHardwareBuffer_Planes, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_isSupported(desc: *const AHardwareBuffer_Desc) -> ::std::os::raw::c_int; } @@ -7344,6 +7364,12 @@ extern "C" { outBytesPerStride: *mut i32, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn AHardwareBuffer_getId( + buffer: *const AHardwareBuffer, + outId: *mut u64, + ) -> ::std::os::raw::c_int; +} extern "C" { pub fn AHardwareBuffer_fromHardwareBuffer( env: *mut JNIEnv, @@ -7356,296 +7382,296 @@ extern "C" { hardwareBuffer: *mut AHardwareBuffer, ) -> jobject; } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_7 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_7 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_7 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_7 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_7 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_7 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_7 = 6; -pub const AKEYCODE_0: _bindgen_ty_7 = 7; -pub const AKEYCODE_1: _bindgen_ty_7 = 8; -pub const AKEYCODE_2: _bindgen_ty_7 = 9; -pub const AKEYCODE_3: _bindgen_ty_7 = 10; -pub const AKEYCODE_4: _bindgen_ty_7 = 11; -pub const AKEYCODE_5: _bindgen_ty_7 = 12; -pub const AKEYCODE_6: _bindgen_ty_7 = 13; -pub const AKEYCODE_7: _bindgen_ty_7 = 14; -pub const AKEYCODE_8: _bindgen_ty_7 = 15; -pub const AKEYCODE_9: _bindgen_ty_7 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_7 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_7 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_7 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_7 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_7 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_7 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_7 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_7 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_7 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_7 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_7 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_7 = 28; -pub const AKEYCODE_A: _bindgen_ty_7 = 29; -pub const AKEYCODE_B: _bindgen_ty_7 = 30; -pub const AKEYCODE_C: _bindgen_ty_7 = 31; -pub const AKEYCODE_D: _bindgen_ty_7 = 32; -pub const AKEYCODE_E: _bindgen_ty_7 = 33; -pub const AKEYCODE_F: _bindgen_ty_7 = 34; -pub const AKEYCODE_G: _bindgen_ty_7 = 35; -pub const AKEYCODE_H: _bindgen_ty_7 = 36; -pub const AKEYCODE_I: _bindgen_ty_7 = 37; -pub const AKEYCODE_J: _bindgen_ty_7 = 38; -pub const AKEYCODE_K: _bindgen_ty_7 = 39; -pub const AKEYCODE_L: _bindgen_ty_7 = 40; -pub const AKEYCODE_M: _bindgen_ty_7 = 41; -pub const AKEYCODE_N: _bindgen_ty_7 = 42; -pub const AKEYCODE_O: _bindgen_ty_7 = 43; -pub const AKEYCODE_P: _bindgen_ty_7 = 44; -pub const AKEYCODE_Q: _bindgen_ty_7 = 45; -pub const AKEYCODE_R: _bindgen_ty_7 = 46; -pub const AKEYCODE_S: _bindgen_ty_7 = 47; -pub const AKEYCODE_T: _bindgen_ty_7 = 48; -pub const AKEYCODE_U: _bindgen_ty_7 = 49; -pub const AKEYCODE_V: _bindgen_ty_7 = 50; -pub const AKEYCODE_W: _bindgen_ty_7 = 51; -pub const AKEYCODE_X: _bindgen_ty_7 = 52; -pub const AKEYCODE_Y: _bindgen_ty_7 = 53; -pub const AKEYCODE_Z: _bindgen_ty_7 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_7 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_7 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_7 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_7 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_7 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_7 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_7 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_7 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_7 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_7 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_7 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_7 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_7 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_7 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_7 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_7 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_7 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_7 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_7 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_7 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_7 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_7 = 76; -pub const AKEYCODE_AT: _bindgen_ty_7 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_7 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_7 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_7 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_7 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_7 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_7 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_7 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_7 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_7 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_7 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_7 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_7 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_7 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_7 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_7 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_7 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_7 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_7 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_7 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_7 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_7 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_7 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_7 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_7 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_7 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_7 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_7 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_7 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_7 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_7 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_7 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_7 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_7 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_7 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_7 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_7 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_7 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_7 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_7 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_7 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_7 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_7 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_7 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_7 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_7 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_7 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_7 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_7 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_7 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_7 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_7 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_7 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_7 = 130; -pub const AKEYCODE_F1: _bindgen_ty_7 = 131; -pub const AKEYCODE_F2: _bindgen_ty_7 = 132; -pub const AKEYCODE_F3: _bindgen_ty_7 = 133; -pub const AKEYCODE_F4: _bindgen_ty_7 = 134; -pub const AKEYCODE_F5: _bindgen_ty_7 = 135; -pub const AKEYCODE_F6: _bindgen_ty_7 = 136; -pub const AKEYCODE_F7: _bindgen_ty_7 = 137; -pub const AKEYCODE_F8: _bindgen_ty_7 = 138; -pub const AKEYCODE_F9: _bindgen_ty_7 = 139; -pub const AKEYCODE_F10: _bindgen_ty_7 = 140; -pub const AKEYCODE_F11: _bindgen_ty_7 = 141; -pub const AKEYCODE_F12: _bindgen_ty_7 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_7 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_7 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_7 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_7 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_7 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_7 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_7 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_7 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_7 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_7 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_7 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_7 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_7 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_7 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_7 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_7 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_7 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_7 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_7 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_7 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_7 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_7 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_7 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_7 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_7 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_7 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_7 = 169; -pub const AKEYCODE_TV: _bindgen_ty_7 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_7 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_7 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_7 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_7 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_7 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_7 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_7 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_7 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_7 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_7 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_7 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_7 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_7 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_7 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_7 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_7 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_7 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_7 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_7 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_7 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_7 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_7 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_7 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_7 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_7 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_7 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_7 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_7 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_7 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_7 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_7 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_7 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_7 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_7 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_7 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_7 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_7 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_7 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_7 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_7 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_7 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_7 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_7 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_7 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_7 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_7 = 216; -pub const AKEYCODE_RO: _bindgen_ty_7 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_7 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_7 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_7 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_7 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_7 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_7 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_7 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_7 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_7 = 226; -pub const AKEYCODE_11: _bindgen_ty_7 = 227; -pub const AKEYCODE_12: _bindgen_ty_7 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_7 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_7 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_7 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_7 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_7 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_7 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_7 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_7 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_7 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_7 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_7 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_7 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_7 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_7 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_7 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_7 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_7 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_7 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_7 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_7 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_7 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_7 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_7 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_7 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_7 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_7 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_7 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_7 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_7 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_7 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_7 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_7 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_7 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_7 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_7 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_7 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_7 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_7 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_7 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_7 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_7 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_7 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_7 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_7 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_7 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_7 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_7 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_7 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_7 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_7 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_7 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_7 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_7 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_7 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_7 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_7 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_7 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_7 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_7 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_7 = 288; -pub type _bindgen_ty_7 = u32; +pub const AKEYCODE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AKEYCODE_SOFT_LEFT: ::std::os::raw::c_uint = 1; +pub const AKEYCODE_SOFT_RIGHT: ::std::os::raw::c_uint = 2; +pub const AKEYCODE_HOME: ::std::os::raw::c_uint = 3; +pub const AKEYCODE_BACK: ::std::os::raw::c_uint = 4; +pub const AKEYCODE_CALL: ::std::os::raw::c_uint = 5; +pub const AKEYCODE_ENDCALL: ::std::os::raw::c_uint = 6; +pub const AKEYCODE_0: ::std::os::raw::c_uint = 7; +pub const AKEYCODE_1: ::std::os::raw::c_uint = 8; +pub const AKEYCODE_2: ::std::os::raw::c_uint = 9; +pub const AKEYCODE_3: ::std::os::raw::c_uint = 10; +pub const AKEYCODE_4: ::std::os::raw::c_uint = 11; +pub const AKEYCODE_5: ::std::os::raw::c_uint = 12; +pub const AKEYCODE_6: ::std::os::raw::c_uint = 13; +pub const AKEYCODE_7: ::std::os::raw::c_uint = 14; +pub const AKEYCODE_8: ::std::os::raw::c_uint = 15; +pub const AKEYCODE_9: ::std::os::raw::c_uint = 16; +pub const AKEYCODE_STAR: ::std::os::raw::c_uint = 17; +pub const AKEYCODE_POUND: ::std::os::raw::c_uint = 18; +pub const AKEYCODE_DPAD_UP: ::std::os::raw::c_uint = 19; +pub const AKEYCODE_DPAD_DOWN: ::std::os::raw::c_uint = 20; +pub const AKEYCODE_DPAD_LEFT: ::std::os::raw::c_uint = 21; +pub const AKEYCODE_DPAD_RIGHT: ::std::os::raw::c_uint = 22; +pub const AKEYCODE_DPAD_CENTER: ::std::os::raw::c_uint = 23; +pub const AKEYCODE_VOLUME_UP: ::std::os::raw::c_uint = 24; +pub const AKEYCODE_VOLUME_DOWN: ::std::os::raw::c_uint = 25; +pub const AKEYCODE_POWER: ::std::os::raw::c_uint = 26; +pub const AKEYCODE_CAMERA: ::std::os::raw::c_uint = 27; +pub const AKEYCODE_CLEAR: ::std::os::raw::c_uint = 28; +pub const AKEYCODE_A: ::std::os::raw::c_uint = 29; +pub const AKEYCODE_B: ::std::os::raw::c_uint = 30; +pub const AKEYCODE_C: ::std::os::raw::c_uint = 31; +pub const AKEYCODE_D: ::std::os::raw::c_uint = 32; +pub const AKEYCODE_E: ::std::os::raw::c_uint = 33; +pub const AKEYCODE_F: ::std::os::raw::c_uint = 34; +pub const AKEYCODE_G: ::std::os::raw::c_uint = 35; +pub const AKEYCODE_H: ::std::os::raw::c_uint = 36; +pub const AKEYCODE_I: ::std::os::raw::c_uint = 37; +pub const AKEYCODE_J: ::std::os::raw::c_uint = 38; +pub const AKEYCODE_K: ::std::os::raw::c_uint = 39; +pub const AKEYCODE_L: ::std::os::raw::c_uint = 40; +pub const AKEYCODE_M: ::std::os::raw::c_uint = 41; +pub const AKEYCODE_N: ::std::os::raw::c_uint = 42; +pub const AKEYCODE_O: ::std::os::raw::c_uint = 43; +pub const AKEYCODE_P: ::std::os::raw::c_uint = 44; +pub const AKEYCODE_Q: ::std::os::raw::c_uint = 45; +pub const AKEYCODE_R: ::std::os::raw::c_uint = 46; +pub const AKEYCODE_S: ::std::os::raw::c_uint = 47; +pub const AKEYCODE_T: ::std::os::raw::c_uint = 48; +pub const AKEYCODE_U: ::std::os::raw::c_uint = 49; +pub const AKEYCODE_V: ::std::os::raw::c_uint = 50; +pub const AKEYCODE_W: ::std::os::raw::c_uint = 51; +pub const AKEYCODE_X: ::std::os::raw::c_uint = 52; +pub const AKEYCODE_Y: ::std::os::raw::c_uint = 53; +pub const AKEYCODE_Z: ::std::os::raw::c_uint = 54; +pub const AKEYCODE_COMMA: ::std::os::raw::c_uint = 55; +pub const AKEYCODE_PERIOD: ::std::os::raw::c_uint = 56; +pub const AKEYCODE_ALT_LEFT: ::std::os::raw::c_uint = 57; +pub const AKEYCODE_ALT_RIGHT: ::std::os::raw::c_uint = 58; +pub const AKEYCODE_SHIFT_LEFT: ::std::os::raw::c_uint = 59; +pub const AKEYCODE_SHIFT_RIGHT: ::std::os::raw::c_uint = 60; +pub const AKEYCODE_TAB: ::std::os::raw::c_uint = 61; +pub const AKEYCODE_SPACE: ::std::os::raw::c_uint = 62; +pub const AKEYCODE_SYM: ::std::os::raw::c_uint = 63; +pub const AKEYCODE_EXPLORER: ::std::os::raw::c_uint = 64; +pub const AKEYCODE_ENVELOPE: ::std::os::raw::c_uint = 65; +pub const AKEYCODE_ENTER: ::std::os::raw::c_uint = 66; +pub const AKEYCODE_DEL: ::std::os::raw::c_uint = 67; +pub const AKEYCODE_GRAVE: ::std::os::raw::c_uint = 68; +pub const AKEYCODE_MINUS: ::std::os::raw::c_uint = 69; +pub const AKEYCODE_EQUALS: ::std::os::raw::c_uint = 70; +pub const AKEYCODE_LEFT_BRACKET: ::std::os::raw::c_uint = 71; +pub const AKEYCODE_RIGHT_BRACKET: ::std::os::raw::c_uint = 72; +pub const AKEYCODE_BACKSLASH: ::std::os::raw::c_uint = 73; +pub const AKEYCODE_SEMICOLON: ::std::os::raw::c_uint = 74; +pub const AKEYCODE_APOSTROPHE: ::std::os::raw::c_uint = 75; +pub const AKEYCODE_SLASH: ::std::os::raw::c_uint = 76; +pub const AKEYCODE_AT: ::std::os::raw::c_uint = 77; +pub const AKEYCODE_NUM: ::std::os::raw::c_uint = 78; +pub const AKEYCODE_HEADSETHOOK: ::std::os::raw::c_uint = 79; +pub const AKEYCODE_FOCUS: ::std::os::raw::c_uint = 80; +pub const AKEYCODE_PLUS: ::std::os::raw::c_uint = 81; +pub const AKEYCODE_MENU: ::std::os::raw::c_uint = 82; +pub const AKEYCODE_NOTIFICATION: ::std::os::raw::c_uint = 83; +pub const AKEYCODE_SEARCH: ::std::os::raw::c_uint = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: ::std::os::raw::c_uint = 85; +pub const AKEYCODE_MEDIA_STOP: ::std::os::raw::c_uint = 86; +pub const AKEYCODE_MEDIA_NEXT: ::std::os::raw::c_uint = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: ::std::os::raw::c_uint = 88; +pub const AKEYCODE_MEDIA_REWIND: ::std::os::raw::c_uint = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: ::std::os::raw::c_uint = 90; +pub const AKEYCODE_MUTE: ::std::os::raw::c_uint = 91; +pub const AKEYCODE_PAGE_UP: ::std::os::raw::c_uint = 92; +pub const AKEYCODE_PAGE_DOWN: ::std::os::raw::c_uint = 93; +pub const AKEYCODE_PICTSYMBOLS: ::std::os::raw::c_uint = 94; +pub const AKEYCODE_SWITCH_CHARSET: ::std::os::raw::c_uint = 95; +pub const AKEYCODE_BUTTON_A: ::std::os::raw::c_uint = 96; +pub const AKEYCODE_BUTTON_B: ::std::os::raw::c_uint = 97; +pub const AKEYCODE_BUTTON_C: ::std::os::raw::c_uint = 98; +pub const AKEYCODE_BUTTON_X: ::std::os::raw::c_uint = 99; +pub const AKEYCODE_BUTTON_Y: ::std::os::raw::c_uint = 100; +pub const AKEYCODE_BUTTON_Z: ::std::os::raw::c_uint = 101; +pub const AKEYCODE_BUTTON_L1: ::std::os::raw::c_uint = 102; +pub const AKEYCODE_BUTTON_R1: ::std::os::raw::c_uint = 103; +pub const AKEYCODE_BUTTON_L2: ::std::os::raw::c_uint = 104; +pub const AKEYCODE_BUTTON_R2: ::std::os::raw::c_uint = 105; +pub const AKEYCODE_BUTTON_THUMBL: ::std::os::raw::c_uint = 106; +pub const AKEYCODE_BUTTON_THUMBR: ::std::os::raw::c_uint = 107; +pub const AKEYCODE_BUTTON_START: ::std::os::raw::c_uint = 108; +pub const AKEYCODE_BUTTON_SELECT: ::std::os::raw::c_uint = 109; +pub const AKEYCODE_BUTTON_MODE: ::std::os::raw::c_uint = 110; +pub const AKEYCODE_ESCAPE: ::std::os::raw::c_uint = 111; +pub const AKEYCODE_FORWARD_DEL: ::std::os::raw::c_uint = 112; +pub const AKEYCODE_CTRL_LEFT: ::std::os::raw::c_uint = 113; +pub const AKEYCODE_CTRL_RIGHT: ::std::os::raw::c_uint = 114; +pub const AKEYCODE_CAPS_LOCK: ::std::os::raw::c_uint = 115; +pub const AKEYCODE_SCROLL_LOCK: ::std::os::raw::c_uint = 116; +pub const AKEYCODE_META_LEFT: ::std::os::raw::c_uint = 117; +pub const AKEYCODE_META_RIGHT: ::std::os::raw::c_uint = 118; +pub const AKEYCODE_FUNCTION: ::std::os::raw::c_uint = 119; +pub const AKEYCODE_SYSRQ: ::std::os::raw::c_uint = 120; +pub const AKEYCODE_BREAK: ::std::os::raw::c_uint = 121; +pub const AKEYCODE_MOVE_HOME: ::std::os::raw::c_uint = 122; +pub const AKEYCODE_MOVE_END: ::std::os::raw::c_uint = 123; +pub const AKEYCODE_INSERT: ::std::os::raw::c_uint = 124; +pub const AKEYCODE_FORWARD: ::std::os::raw::c_uint = 125; +pub const AKEYCODE_MEDIA_PLAY: ::std::os::raw::c_uint = 126; +pub const AKEYCODE_MEDIA_PAUSE: ::std::os::raw::c_uint = 127; +pub const AKEYCODE_MEDIA_CLOSE: ::std::os::raw::c_uint = 128; +pub const AKEYCODE_MEDIA_EJECT: ::std::os::raw::c_uint = 129; +pub const AKEYCODE_MEDIA_RECORD: ::std::os::raw::c_uint = 130; +pub const AKEYCODE_F1: ::std::os::raw::c_uint = 131; +pub const AKEYCODE_F2: ::std::os::raw::c_uint = 132; +pub const AKEYCODE_F3: ::std::os::raw::c_uint = 133; +pub const AKEYCODE_F4: ::std::os::raw::c_uint = 134; +pub const AKEYCODE_F5: ::std::os::raw::c_uint = 135; +pub const AKEYCODE_F6: ::std::os::raw::c_uint = 136; +pub const AKEYCODE_F7: ::std::os::raw::c_uint = 137; +pub const AKEYCODE_F8: ::std::os::raw::c_uint = 138; +pub const AKEYCODE_F9: ::std::os::raw::c_uint = 139; +pub const AKEYCODE_F10: ::std::os::raw::c_uint = 140; +pub const AKEYCODE_F11: ::std::os::raw::c_uint = 141; +pub const AKEYCODE_F12: ::std::os::raw::c_uint = 142; +pub const AKEYCODE_NUM_LOCK: ::std::os::raw::c_uint = 143; +pub const AKEYCODE_NUMPAD_0: ::std::os::raw::c_uint = 144; +pub const AKEYCODE_NUMPAD_1: ::std::os::raw::c_uint = 145; +pub const AKEYCODE_NUMPAD_2: ::std::os::raw::c_uint = 146; +pub const AKEYCODE_NUMPAD_3: ::std::os::raw::c_uint = 147; +pub const AKEYCODE_NUMPAD_4: ::std::os::raw::c_uint = 148; +pub const AKEYCODE_NUMPAD_5: ::std::os::raw::c_uint = 149; +pub const AKEYCODE_NUMPAD_6: ::std::os::raw::c_uint = 150; +pub const AKEYCODE_NUMPAD_7: ::std::os::raw::c_uint = 151; +pub const AKEYCODE_NUMPAD_8: ::std::os::raw::c_uint = 152; +pub const AKEYCODE_NUMPAD_9: ::std::os::raw::c_uint = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: ::std::os::raw::c_uint = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: ::std::os::raw::c_uint = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: ::std::os::raw::c_uint = 156; +pub const AKEYCODE_NUMPAD_ADD: ::std::os::raw::c_uint = 157; +pub const AKEYCODE_NUMPAD_DOT: ::std::os::raw::c_uint = 158; +pub const AKEYCODE_NUMPAD_COMMA: ::std::os::raw::c_uint = 159; +pub const AKEYCODE_NUMPAD_ENTER: ::std::os::raw::c_uint = 160; +pub const AKEYCODE_NUMPAD_EQUALS: ::std::os::raw::c_uint = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: ::std::os::raw::c_uint = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: ::std::os::raw::c_uint = 163; +pub const AKEYCODE_VOLUME_MUTE: ::std::os::raw::c_uint = 164; +pub const AKEYCODE_INFO: ::std::os::raw::c_uint = 165; +pub const AKEYCODE_CHANNEL_UP: ::std::os::raw::c_uint = 166; +pub const AKEYCODE_CHANNEL_DOWN: ::std::os::raw::c_uint = 167; +pub const AKEYCODE_ZOOM_IN: ::std::os::raw::c_uint = 168; +pub const AKEYCODE_ZOOM_OUT: ::std::os::raw::c_uint = 169; +pub const AKEYCODE_TV: ::std::os::raw::c_uint = 170; +pub const AKEYCODE_WINDOW: ::std::os::raw::c_uint = 171; +pub const AKEYCODE_GUIDE: ::std::os::raw::c_uint = 172; +pub const AKEYCODE_DVR: ::std::os::raw::c_uint = 173; +pub const AKEYCODE_BOOKMARK: ::std::os::raw::c_uint = 174; +pub const AKEYCODE_CAPTIONS: ::std::os::raw::c_uint = 175; +pub const AKEYCODE_SETTINGS: ::std::os::raw::c_uint = 176; +pub const AKEYCODE_TV_POWER: ::std::os::raw::c_uint = 177; +pub const AKEYCODE_TV_INPUT: ::std::os::raw::c_uint = 178; +pub const AKEYCODE_STB_POWER: ::std::os::raw::c_uint = 179; +pub const AKEYCODE_STB_INPUT: ::std::os::raw::c_uint = 180; +pub const AKEYCODE_AVR_POWER: ::std::os::raw::c_uint = 181; +pub const AKEYCODE_AVR_INPUT: ::std::os::raw::c_uint = 182; +pub const AKEYCODE_PROG_RED: ::std::os::raw::c_uint = 183; +pub const AKEYCODE_PROG_GREEN: ::std::os::raw::c_uint = 184; +pub const AKEYCODE_PROG_YELLOW: ::std::os::raw::c_uint = 185; +pub const AKEYCODE_PROG_BLUE: ::std::os::raw::c_uint = 186; +pub const AKEYCODE_APP_SWITCH: ::std::os::raw::c_uint = 187; +pub const AKEYCODE_BUTTON_1: ::std::os::raw::c_uint = 188; +pub const AKEYCODE_BUTTON_2: ::std::os::raw::c_uint = 189; +pub const AKEYCODE_BUTTON_3: ::std::os::raw::c_uint = 190; +pub const AKEYCODE_BUTTON_4: ::std::os::raw::c_uint = 191; +pub const AKEYCODE_BUTTON_5: ::std::os::raw::c_uint = 192; +pub const AKEYCODE_BUTTON_6: ::std::os::raw::c_uint = 193; +pub const AKEYCODE_BUTTON_7: ::std::os::raw::c_uint = 194; +pub const AKEYCODE_BUTTON_8: ::std::os::raw::c_uint = 195; +pub const AKEYCODE_BUTTON_9: ::std::os::raw::c_uint = 196; +pub const AKEYCODE_BUTTON_10: ::std::os::raw::c_uint = 197; +pub const AKEYCODE_BUTTON_11: ::std::os::raw::c_uint = 198; +pub const AKEYCODE_BUTTON_12: ::std::os::raw::c_uint = 199; +pub const AKEYCODE_BUTTON_13: ::std::os::raw::c_uint = 200; +pub const AKEYCODE_BUTTON_14: ::std::os::raw::c_uint = 201; +pub const AKEYCODE_BUTTON_15: ::std::os::raw::c_uint = 202; +pub const AKEYCODE_BUTTON_16: ::std::os::raw::c_uint = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: ::std::os::raw::c_uint = 204; +pub const AKEYCODE_MANNER_MODE: ::std::os::raw::c_uint = 205; +pub const AKEYCODE_3D_MODE: ::std::os::raw::c_uint = 206; +pub const AKEYCODE_CONTACTS: ::std::os::raw::c_uint = 207; +pub const AKEYCODE_CALENDAR: ::std::os::raw::c_uint = 208; +pub const AKEYCODE_MUSIC: ::std::os::raw::c_uint = 209; +pub const AKEYCODE_CALCULATOR: ::std::os::raw::c_uint = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: ::std::os::raw::c_uint = 211; +pub const AKEYCODE_EISU: ::std::os::raw::c_uint = 212; +pub const AKEYCODE_MUHENKAN: ::std::os::raw::c_uint = 213; +pub const AKEYCODE_HENKAN: ::std::os::raw::c_uint = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: ::std::os::raw::c_uint = 215; +pub const AKEYCODE_YEN: ::std::os::raw::c_uint = 216; +pub const AKEYCODE_RO: ::std::os::raw::c_uint = 217; +pub const AKEYCODE_KANA: ::std::os::raw::c_uint = 218; +pub const AKEYCODE_ASSIST: ::std::os::raw::c_uint = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: ::std::os::raw::c_uint = 220; +pub const AKEYCODE_BRIGHTNESS_UP: ::std::os::raw::c_uint = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: ::std::os::raw::c_uint = 222; +pub const AKEYCODE_SLEEP: ::std::os::raw::c_uint = 223; +pub const AKEYCODE_WAKEUP: ::std::os::raw::c_uint = 224; +pub const AKEYCODE_PAIRING: ::std::os::raw::c_uint = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: ::std::os::raw::c_uint = 226; +pub const AKEYCODE_11: ::std::os::raw::c_uint = 227; +pub const AKEYCODE_12: ::std::os::raw::c_uint = 228; +pub const AKEYCODE_LAST_CHANNEL: ::std::os::raw::c_uint = 229; +pub const AKEYCODE_TV_DATA_SERVICE: ::std::os::raw::c_uint = 230; +pub const AKEYCODE_VOICE_ASSIST: ::std::os::raw::c_uint = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: ::std::os::raw::c_uint = 232; +pub const AKEYCODE_TV_TELETEXT: ::std::os::raw::c_uint = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: ::std::os::raw::c_uint = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: ::std::os::raw::c_uint = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: ::std::os::raw::c_uint = 236; +pub const AKEYCODE_TV_SATELLITE: ::std::os::raw::c_uint = 237; +pub const AKEYCODE_TV_SATELLITE_BS: ::std::os::raw::c_uint = 238; +pub const AKEYCODE_TV_SATELLITE_CS: ::std::os::raw::c_uint = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: ::std::os::raw::c_uint = 240; +pub const AKEYCODE_TV_NETWORK: ::std::os::raw::c_uint = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: ::std::os::raw::c_uint = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: ::std::os::raw::c_uint = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: ::std::os::raw::c_uint = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: ::std::os::raw::c_uint = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: ::std::os::raw::c_uint = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: ::std::os::raw::c_uint = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: ::std::os::raw::c_uint = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: ::std::os::raw::c_uint = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: ::std::os::raw::c_uint = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: ::std::os::raw::c_uint = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: ::std::os::raw::c_uint = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: ::std::os::raw::c_uint = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: ::std::os::raw::c_uint = 254; +pub const AKEYCODE_TV_ZOOM_MODE: ::std::os::raw::c_uint = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: ::std::os::raw::c_uint = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: ::std::os::raw::c_uint = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: ::std::os::raw::c_uint = 258; +pub const AKEYCODE_HELP: ::std::os::raw::c_uint = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: ::std::os::raw::c_uint = 260; +pub const AKEYCODE_NAVIGATE_NEXT: ::std::os::raw::c_uint = 261; +pub const AKEYCODE_NAVIGATE_IN: ::std::os::raw::c_uint = 262; +pub const AKEYCODE_NAVIGATE_OUT: ::std::os::raw::c_uint = 263; +pub const AKEYCODE_STEM_PRIMARY: ::std::os::raw::c_uint = 264; +pub const AKEYCODE_STEM_1: ::std::os::raw::c_uint = 265; +pub const AKEYCODE_STEM_2: ::std::os::raw::c_uint = 266; +pub const AKEYCODE_STEM_3: ::std::os::raw::c_uint = 267; +pub const AKEYCODE_DPAD_UP_LEFT: ::std::os::raw::c_uint = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: ::std::os::raw::c_uint = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: ::std::os::raw::c_uint = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: ::std::os::raw::c_uint = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: ::std::os::raw::c_uint = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: ::std::os::raw::c_uint = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: ::std::os::raw::c_uint = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: ::std::os::raw::c_uint = 275; +pub const AKEYCODE_SOFT_SLEEP: ::std::os::raw::c_uint = 276; +pub const AKEYCODE_CUT: ::std::os::raw::c_uint = 277; +pub const AKEYCODE_COPY: ::std::os::raw::c_uint = 278; +pub const AKEYCODE_PASTE: ::std::os::raw::c_uint = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: ::std::os::raw::c_uint = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: ::std::os::raw::c_uint = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: ::std::os::raw::c_uint = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: ::std::os::raw::c_uint = 283; +pub const AKEYCODE_ALL_APPS: ::std::os::raw::c_uint = 284; +pub const AKEYCODE_REFRESH: ::std::os::raw::c_uint = 285; +pub const AKEYCODE_THUMBS_UP: ::std::os::raw::c_uint = 286; +pub const AKEYCODE_THUMBS_DOWN: ::std::os::raw::c_uint = 287; +pub const AKEYCODE_PROFILE_SWITCH: ::std::os::raw::c_uint = 288; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -7654,28 +7680,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_8 = 1; -pub type _bindgen_ty_8 = u32; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; extern "C" { pub fn ALooper_prepare(opts: ::std::os::raw::c_int) -> *mut ALooper; } -pub const ALOOPER_POLL_WAKE: _bindgen_ty_9 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_9 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_9 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_9 = -4; -pub type _bindgen_ty_9 = i32; +pub const ALOOPER_POLL_WAKE: ::std::os::raw::c_int = -1; +pub const ALOOPER_POLL_CALLBACK: ::std::os::raw::c_int = -2; +pub const ALOOPER_POLL_TIMEOUT: ::std::os::raw::c_int = -3; +pub const ALOOPER_POLL_ERROR: ::std::os::raw::c_int = -4; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn ALooper_acquire(looper: *mut ALooper); } extern "C" { pub fn ALooper_release(looper: *mut ALooper); } -pub const ALOOPER_EVENT_INPUT: _bindgen_ty_10 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_10 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_10 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_10 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_10 = 16; -pub type _bindgen_ty_10 = u32; +pub const ALOOPER_EVENT_INPUT: ::std::os::raw::c_uint = 1; +pub const ALOOPER_EVENT_OUTPUT: ::std::os::raw::c_uint = 2; +pub const ALOOPER_EVENT_ERROR: ::std::os::raw::c_uint = 4; +pub const ALOOPER_EVENT_HANGUP: ::std::os::raw::c_uint = 8; +pub const ALOOPER_EVENT_INVALID: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -7718,178 +7744,182 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_11 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_11 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_11 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_11 = 2; -pub type _bindgen_ty_11 = i32; -pub const AMETA_NONE: _bindgen_ty_12 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_12 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_12 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_12 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_12 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_12 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_12 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_12 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_12 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_12 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_12 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_12 = 16384; -pub const AMETA_META_ON: _bindgen_ty_12 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_12 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_12 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_12 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_12 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_12 = 4194304; -pub type _bindgen_ty_12 = u32; +pub const AKEY_STATE_UNKNOWN: ::std::os::raw::c_int = -1; +pub const AKEY_STATE_UP: ::std::os::raw::c_int = 0; +pub const AKEY_STATE_DOWN: ::std::os::raw::c_int = 1; +pub const AKEY_STATE_VIRTUAL: ::std::os::raw::c_int = 2; +pub type _bindgen_ty_11 = ::std::os::raw::c_int; +pub const AMETA_NONE: ::std::os::raw::c_uint = 0; +pub const AMETA_ALT_ON: ::std::os::raw::c_uint = 2; +pub const AMETA_ALT_LEFT_ON: ::std::os::raw::c_uint = 16; +pub const AMETA_ALT_RIGHT_ON: ::std::os::raw::c_uint = 32; +pub const AMETA_SHIFT_ON: ::std::os::raw::c_uint = 1; +pub const AMETA_SHIFT_LEFT_ON: ::std::os::raw::c_uint = 64; +pub const AMETA_SHIFT_RIGHT_ON: ::std::os::raw::c_uint = 128; +pub const AMETA_SYM_ON: ::std::os::raw::c_uint = 4; +pub const AMETA_FUNCTION_ON: ::std::os::raw::c_uint = 8; +pub const AMETA_CTRL_ON: ::std::os::raw::c_uint = 4096; +pub const AMETA_CTRL_LEFT_ON: ::std::os::raw::c_uint = 8192; +pub const AMETA_CTRL_RIGHT_ON: ::std::os::raw::c_uint = 16384; +pub const AMETA_META_ON: ::std::os::raw::c_uint = 65536; +pub const AMETA_META_LEFT_ON: ::std::os::raw::c_uint = 131072; +pub const AMETA_META_RIGHT_ON: ::std::os::raw::c_uint = 262144; +pub const AMETA_CAPS_LOCK_ON: ::std::os::raw::c_uint = 1048576; +pub const AMETA_NUM_LOCK_ON: ::std::os::raw::c_uint = 2097152; +pub const AMETA_SCROLL_LOCK_ON: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputEvent { _unused: [u8; 0], } -pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_13 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_13 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_13 = 3; -pub type _bindgen_ty_13 = u32; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_14 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_14 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_14 = 2; -pub type _bindgen_ty_14 = u32; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_15 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_15 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_15 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_15 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_15 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_15 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_15 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_15 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_15 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_15 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_15 = 1024; -pub type _bindgen_ty_15 = u32; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_16 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_16 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_16 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_16 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_16 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_16 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_16 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_16 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_16 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_16 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_16 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_16 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_16 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_16 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_16 = 12; -pub type _bindgen_ty_16 = u32; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_17 = 1; -pub type _bindgen_ty_17 = u32; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_18 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_18 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_18 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_18 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_18 = 8; -pub type _bindgen_ty_18 = u32; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_19 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_19 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_19 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_19 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_19 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_19 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_19 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_19 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_19 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_19 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_19 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_19 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_19 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_19 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_19 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_19 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_19 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_19 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_19 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_19 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_19 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_19 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_19 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_19 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_19 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_19 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_19 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_19 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_19 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_19 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_19 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_19 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_19 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_19 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_19 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_19 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_19 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_19 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_19 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_19 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_19 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_19 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_19 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_19 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_19 = 47; -pub type _bindgen_ty_19 = u32; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_20 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_20 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_20 = 64; -pub type _bindgen_ty_20 = u32; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_21 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_21 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_21 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_21 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_21 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_21 = 5; -pub type _bindgen_ty_21 = u32; -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_22 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_22 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_22 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_22 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_22 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_22 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_22 = 16; -pub type _bindgen_ty_22 = u32; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_23 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_23 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_23 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_23 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_23 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_23 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_23 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_23 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_23 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_23 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_23 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_23 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_23 = 16777232; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_23 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_23 = 4294967040; -pub type _bindgen_ty_23 = u32; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_24 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_24 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_24 = 2; -pub type _bindgen_ty_24 = u32; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_25 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_25 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_25 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_25 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_25 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_25 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_25 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_25 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_25 = 8; -pub type _bindgen_ty_25 = u32; +pub const AINPUT_EVENT_TYPE_KEY: ::std::os::raw::c_uint = 1; +pub const AINPUT_EVENT_TYPE_MOTION: ::std::os::raw::c_uint = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: ::std::os::raw::c_uint = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: ::std::os::raw::c_uint = 4; +pub const AINPUT_EVENT_TYPE_DRAG: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AKEY_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const AKEY_EVENT_FLAG_WOKE_HERE: ::std::os::raw::c_uint = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: ::std::os::raw::c_uint = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: ::std::os::raw::c_uint = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: ::std::os::raw::c_uint = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: ::std::os::raw::c_uint = 16; +pub const AKEY_EVENT_FLAG_CANCELED: ::std::os::raw::c_uint = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: ::std::os::raw::c_uint = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: ::std::os::raw::c_uint = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: ::std::os::raw::c_uint = 256; +pub const AKEY_EVENT_FLAG_TRACKING: ::std::os::raw::c_uint = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: ::std::os::raw::c_uint = 1024; +pub type _bindgen_ty_15 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_ACTION_MASK: ::std::os::raw::c_uint = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: ::std::os::raw::c_uint = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_ACTION_UP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_ACTION_MOVE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_17 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_18 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_AXIS_X: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_AXIS_Y: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_AXIS_SIZE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: ::std::os::raw::c_uint = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: ::std::os::raw::c_uint = 10; +pub const AMOTION_EVENT_AXIS_Z: ::std::os::raw::c_uint = 11; +pub const AMOTION_EVENT_AXIS_RX: ::std::os::raw::c_uint = 12; +pub const AMOTION_EVENT_AXIS_RY: ::std::os::raw::c_uint = 13; +pub const AMOTION_EVENT_AXIS_RZ: ::std::os::raw::c_uint = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: ::std::os::raw::c_uint = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: ::std::os::raw::c_uint = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: ::std::os::raw::c_uint = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: ::std::os::raw::c_uint = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: ::std::os::raw::c_uint = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: ::std::os::raw::c_uint = 21; +pub const AMOTION_EVENT_AXIS_GAS: ::std::os::raw::c_uint = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: ::std::os::raw::c_uint = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: ::std::os::raw::c_uint = 24; +pub const AMOTION_EVENT_AXIS_TILT: ::std::os::raw::c_uint = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: ::std::os::raw::c_uint = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: ::std::os::raw::c_uint = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: ::std::os::raw::c_uint = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: ::std::os::raw::c_uint = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: ::std::os::raw::c_uint = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: ::std::os::raw::c_uint = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: ::std::os::raw::c_uint = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: ::std::os::raw::c_uint = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: ::std::os::raw::c_uint = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: ::std::os::raw::c_uint = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: ::std::os::raw::c_uint = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: ::std::os::raw::c_uint = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: ::std::os::raw::c_uint = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: ::std::os::raw::c_uint = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: ::std::os::raw::c_uint = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: ::std::os::raw::c_uint = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: ::std::os::raw::c_uint = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: ::std::os::raw::c_uint = 47; +pub type _bindgen_ty_19 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_BUTTON_BACK: ::std::os::raw::c_uint = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: ::std::os::raw::c_uint = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: ::std::os::raw::c_uint = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: ::std::os::raw::c_uint = 64; +pub type _bindgen_ty_20 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: ::std::os::raw::c_uint = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: ::std::os::raw::c_uint = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: ::std::os::raw::c_uint = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: ::std::os::raw::c_uint = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_21 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_CLASS_MASK: ::std::os::raw::c_uint = 255; +pub const AINPUT_SOURCE_CLASS_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: ::std::os::raw::c_uint = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: ::std::os::raw::c_uint = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: ::std::os::raw::c_uint = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: ::std::os::raw::c_uint = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: ::std::os::raw::c_uint = 16; +pub type _bindgen_ty_22 = ::std::os::raw::c_uint; +pub const AINPUT_SOURCE_UNKNOWN: ::std::os::raw::c_uint = 0; +pub const AINPUT_SOURCE_KEYBOARD: ::std::os::raw::c_uint = 257; +pub const AINPUT_SOURCE_DPAD: ::std::os::raw::c_uint = 513; +pub const AINPUT_SOURCE_GAMEPAD: ::std::os::raw::c_uint = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: ::std::os::raw::c_uint = 4098; +pub const AINPUT_SOURCE_MOUSE: ::std::os::raw::c_uint = 8194; +pub const AINPUT_SOURCE_STYLUS: ::std::os::raw::c_uint = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: ::std::os::raw::c_uint = 49154; +pub const AINPUT_SOURCE_TRACKBALL: ::std::os::raw::c_uint = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: ::std::os::raw::c_uint = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: ::std::os::raw::c_uint = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: ::std::os::raw::c_uint = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: ::std::os::raw::c_uint = 16777232; +pub const AINPUT_SOURCE_HDMI: ::std::os::raw::c_uint = 33554433; +pub const AINPUT_SOURCE_SENSOR: ::std::os::raw::c_uint = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: ::std::os::raw::c_uint = 4194304; +pub const AINPUT_SOURCE_ANY: ::std::os::raw::c_uint = 4294967040; +pub type _bindgen_ty_23 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: ::std::os::raw::c_uint = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: ::std::os::raw::c_uint = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_24 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: ::std::os::raw::c_uint = 0; +pub const AINPUT_MOTION_RANGE_Y: ::std::os::raw::c_uint = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: ::std::os::raw::c_uint = 2; +pub const AINPUT_MOTION_RANGE_SIZE: ::std::os::raw::c_uint = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: ::std::os::raw::c_uint = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: ::std::os::raw::c_uint = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: ::std::os::raw::c_uint = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: ::std::os::raw::c_uint = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: ::std::os::raw::c_uint = 8; +pub type _bindgen_ty_25 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -7899,6 +7929,9 @@ extern "C" { extern "C" { pub fn AInputEvent_getSource(event: *const AInputEvent) -> i32; } +extern "C" { + pub fn AInputEvent_release(event: *const AInputEvent); +} extern "C" { pub fn AKeyEvent_getAction(key_event: *const AInputEvent) -> i32; } @@ -7923,6 +7956,9 @@ extern "C" { extern "C" { pub fn AKeyEvent_getEventTime(key_event: *const AInputEvent) -> i64; } +extern "C" { + pub fn AKeyEvent_fromJava(env: *mut JNIEnv, keyEvent: jobject) -> *const AInputEvent; +} extern "C" { pub fn AMotionEvent_getAction(motion_event: *const AInputEvent) -> i32; } @@ -8119,6 +8155,9 @@ extern "C" { history_index: size_t, ) -> f32; } +extern "C" { + pub fn AMotionEvent_fromJava(env: *mut JNIEnv, motionEvent: jobject) -> *const AInputEvent; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AInputQueue { @@ -8161,7 +8200,7 @@ pub const android_LogPriority_ANDROID_LOG_WARN: android_LogPriority = 5; pub const android_LogPriority_ANDROID_LOG_ERROR: android_LogPriority = 6; pub const android_LogPriority_ANDROID_LOG_FATAL: android_LogPriority = 7; pub const android_LogPriority_ANDROID_LOG_SILENT: android_LogPriority = 8; -pub type android_LogPriority = u32; +pub type android_LogPriority = ::std::os::raw::c_uint; extern "C" { pub fn __android_log_write( prio: ::std::os::raw::c_int, @@ -8204,7 +8243,7 @@ pub const log_id_LOG_ID_SECURITY: log_id = 6; pub const log_id_LOG_ID_KERNEL: log_id = 7; pub const log_id_LOG_ID_MAX: log_id = 8; pub const log_id_LOG_ID_DEFAULT: log_id = 2147483647; -pub type log_id = u32; +pub type log_id = ::std::os::raw::c_uint; pub use self::log_id as log_id_t; extern "C" { pub fn __android_log_buf_write( @@ -8368,155 +8407,14 @@ extern "C" { extern "C" { pub fn __android_log_set_default_tag(tag: *const ::std::os::raw::c_char); } -pub type __kernel_sa_family_t = ::std::os::raw::c_ushort; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sockaddr_storage__bindgen_ty_1 { - pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, - pub __align: *mut ::std::os::raw::c_void, - _bindgen_union_align: [u64; 16usize], -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { - pub ss_family: __kernel_sa_family_t, - pub __data: [::std::os::raw::c_char; 126usize], -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!( - "Size of: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!( - "Alignment of ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).ss_family - as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(ss_family) - ) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__data - as *const _ as usize - }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), - "::", - stringify!(__data) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) - ); - assert_eq!( - unsafe { - &(*(::std::ptr::null::())).__align as *const _ as usize - }, - 0usize, - concat!( - "Offset of field: ", - stringify!(sockaddr_storage__bindgen_ty_1), - "::", - stringify!(__align) - ) - ); -} -#[test] -fn bindgen_test_layout_sockaddr_storage() { - assert_eq!( - ::std::mem::size_of::(), - 128usize, - concat!("Size of: ", stringify!(sockaddr_storage)) - ); - assert_eq!( - ::std::mem::align_of::(), - 8usize, - concat!("Alignment of ", stringify!(sockaddr_storage)) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] -pub struct f_owner_ex { - pub type_: ::std::os::raw::c_int, - pub pid: __kernel_pid_t, -} -#[test] -fn bindgen_test_layout_f_owner_ex() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(f_owner_ex)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(f_owner_ex)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(type_) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(f_owner_ex), - "::", - stringify!(pid) - ) - ); -} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct flock { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_off_t, - pub l_len: __kernel_off_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock() { @@ -8586,9 +8484,9 @@ fn bindgen_test_layout_flock() { pub struct flock64 { pub l_type: ::std::os::raw::c_short, pub l_whence: ::std::os::raw::c_short, - pub l_start: __kernel_loff_t, - pub l_len: __kernel_loff_t, - pub l_pid: __kernel_pid_t, + pub l_start: off64_t, + pub l_len: off64_t, + pub l_pid: pid_t, } #[test] fn bindgen_test_layout_flock64() { @@ -8655,6 +8553,45 @@ fn bindgen_test_layout_flock64() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct f_owner_ex { + pub type_: ::std::os::raw::c_int, + pub pid: __kernel_pid_t, +} +#[test] +fn bindgen_test_layout_f_owner_ex() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(f_owner_ex)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(f_owner_ex)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(type_) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).pid as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(f_owner_ex), + "::", + stringify!(pid) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct iovec { pub iov_base: *mut ::std::os::raw::c_void, pub iov_len: __kernel_size_t, @@ -8693,10 +8630,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_26 = 0; -pub const SHUT_WR: _bindgen_ty_26 = 1; -pub const SHUT_RDWR: _bindgen_ty_26 = 2; -pub type _bindgen_ty_26 = u32; +pub const SHUT_RD: ::std::os::raw::c_uint = 0; +pub const SHUT_WR: ::std::os::raw::c_uint = 1; +pub const SHUT_RDWR: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8711,29 +8648,129 @@ fn bindgen_test_layout_sockaddr() { concat!("Size of: ", stringify!(sockaddr)) ); assert_eq!( - ::std::mem::align_of::(), - 2usize, - concat!("Alignment of ", stringify!(sockaddr)) + ::std::mem::align_of::(), + 2usize, + concat!("Alignment of ", stringify!(sockaddr)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_family) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr), + "::", + stringify!(sa_data) + ) + ); +} +#[repr(C)] +#[derive(Copy, Clone)] +pub struct sockaddr_storage { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1, +} +#[repr(C)] +#[derive(Copy, Clone)] +pub union sockaddr_storage__bindgen_ty_1 { + pub __bindgen_anon_1: sockaddr_storage__bindgen_ty_1__bindgen_ty_1, + pub __align: *mut ::std::os::raw::c_void, +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct sockaddr_storage__bindgen_ty_1__bindgen_ty_1 { + pub ss_family: sa_family_t, + pub __data: [::std::os::raw::c_char; 126usize], +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!( + "Size of: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + ::std::mem::align_of::(), + 2usize, + concat!( + "Alignment of ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).ss_family + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(ss_family) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).__data + as *const _ as usize + }, + 2usize, + concat!( + "Offset of field: ", + stringify!(sockaddr_storage__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(__data) + ) + ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage__bindgen_ty_1() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage__bindgen_ty_1)) + ); + assert_eq!( + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(sockaddr_storage__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_family as *const _ as usize }, + unsafe { + &(*(::std::ptr::null::())).__align as *const _ as usize + }, 0usize, concat!( "Offset of field: ", - stringify!(sockaddr), + stringify!(sockaddr_storage__bindgen_ty_1), "::", - stringify!(sa_family) + stringify!(__align) ) ); +} +#[test] +fn bindgen_test_layout_sockaddr_storage() { + assert_eq!( + ::std::mem::size_of::(), + 128usize, + concat!("Size of: ", stringify!(sockaddr_storage)) + ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).sa_data as *const _ as usize }, - 2usize, - concat!( - "Offset of field: ", - stringify!(sockaddr), - "::", - stringify!(sa_data) - ) + ::std::mem::align_of::(), + 8usize, + concat!("Alignment of ", stringify!(sockaddr_storage)) ); } #[repr(C)] @@ -10237,6 +10274,11 @@ extern "C" { __fp: *mut FILE, ) -> ::std::os::raw::c_int; } +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_NONE: HeapTaggingLevel = 0; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_TBI: HeapTaggingLevel = 1; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_ASYNC: HeapTaggingLevel = 2; +pub const HeapTaggingLevel_M_HEAP_TAGGING_LEVEL_SYNC: HeapTaggingLevel = 3; +pub type HeapTaggingLevel = ::std::os::raw::c_uint; extern "C" { pub fn mallopt( __option: ::std::os::raw::c_int, @@ -10809,6 +10851,15 @@ extern "C" { extern "C" { pub fn android_setprocnetwork(network: net_handle_t) -> ::std::os::raw::c_int; } +extern "C" { + pub fn android_getprocnetwork(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_setprocdns(network: net_handle_t) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn android_getprocdns(network: *mut net_handle_t) -> ::std::os::raw::c_int; +} extern "C" { pub fn android_getaddrinfofornetwork( network: net_handle_t, @@ -10866,7 +10917,7 @@ pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT16_ASYMM: OperandCode = 12; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_SYMM: OperandCode = 13; pub const OperandCode_ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED: OperandCode = 14; pub const OperandCode_ANEURALNETWORKS_MODEL: OperandCode = 15; -pub type OperandCode = u32; +pub type OperandCode = ::std::os::raw::c_uint; pub const OperationCode_ANEURALNETWORKS_ADD: OperationCode = 0; pub const OperationCode_ANEURALNETWORKS_AVERAGE_POOL_2D: OperationCode = 1; pub const OperationCode_ANEURALNETWORKS_CONCATENATION: OperationCode = 2; @@ -10969,25 +11020,31 @@ pub const OperationCode_ANEURALNETWORKS_ELU: OperationCode = 98; pub const OperationCode_ANEURALNETWORKS_HARD_SWISH: OperationCode = 99; pub const OperationCode_ANEURALNETWORKS_FILL: OperationCode = 100; pub const OperationCode_ANEURALNETWORKS_RANK: OperationCode = 101; -pub type OperationCode = u32; +pub type OperationCode = ::std::os::raw::c_uint; pub const FuseCode_ANEURALNETWORKS_FUSED_NONE: FuseCode = 0; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU: FuseCode = 1; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU1: FuseCode = 2; pub const FuseCode_ANEURALNETWORKS_FUSED_RELU6: FuseCode = 3; -pub type FuseCode = u32; +pub type FuseCode = ::std::os::raw::c_uint; pub const PaddingCode_ANEURALNETWORKS_PADDING_SAME: PaddingCode = 1; pub const PaddingCode_ANEURALNETWORKS_PADDING_VALID: PaddingCode = 2; -pub type PaddingCode = u32; +pub type PaddingCode = ::std::os::raw::c_uint; pub const PreferenceCode_ANEURALNETWORKS_PREFER_LOW_POWER: PreferenceCode = 0; pub const PreferenceCode_ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER: PreferenceCode = 1; pub const PreferenceCode_ANEURALNETWORKS_PREFER_SUSTAINED_SPEED: PreferenceCode = 2; -pub type PreferenceCode = u32; +pub type PreferenceCode = ::std::os::raw::c_uint; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = 0; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = 1; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = 2; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = 3; pub const DeviceTypeCode_ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = 4; -pub type DeviceTypeCode = u32; +pub type DeviceTypeCode = ::std::os::raw::c_uint; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_1: FeatureLevelCode = 27; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_2: FeatureLevelCode = 28; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_3: FeatureLevelCode = 29; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_4: FeatureLevelCode = 30; +pub const FeatureLevelCode_ANEURALNETWORKS_FEATURE_LEVEL_5: FeatureLevelCode = 31; +pub type FeatureLevelCode = ::std::os::raw::c_uint; pub const ResultCode_ANEURALNETWORKS_NO_ERROR: ResultCode = 0; pub const ResultCode_ANEURALNETWORKS_OUT_OF_MEMORY: ResultCode = 1; pub const ResultCode_ANEURALNETWORKS_INCOMPLETE: ResultCode = 2; @@ -11003,21 +11060,21 @@ pub const ResultCode_ANEURALNETWORKS_MISSED_DEADLINE_PERSISTENT: ResultCode = 11 pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_TRANSIENT: ResultCode = 12; pub const ResultCode_ANEURALNETWORKS_RESOURCE_EXHAUSTED_PERSISTENT: ResultCode = 13; pub const ResultCode_ANEURALNETWORKS_DEAD_OBJECT: ResultCode = 14; -pub type ResultCode = u32; -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_27 = 128; -pub type _bindgen_ty_27 = u32; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_28 = 32; -pub type _bindgen_ty_28 = u32; +pub type ResultCode = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: ::std::os::raw::c_uint = 128; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: ::std::os::raw::c_uint = 32; +pub type _bindgen_ty_28 = ::std::os::raw::c_uint; pub const DurationCode_ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = 0; pub const DurationCode_ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = 1; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = 2; pub const DurationCode_ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = 3; -pub type DurationCode = u32; +pub type DurationCode = ::std::os::raw::c_uint; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = 90; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = 100; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = 110; pub const PriorityCode_ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = 100; -pub type PriorityCode = u32; +pub type PriorityCode = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANeuralNetworksMemory { @@ -11584,10 +11641,53 @@ extern "C" { event: *mut *mut ANeuralNetworksEvent, ) -> ::std::os::raw::c_int; } +extern "C" { + pub fn ANeuralNetworks_getRuntimeFeatureLevel() -> i64; +} +extern "C" { + pub fn ANeuralNetworksExecution_enableInputAndOutputPadding( + execution: *mut ANeuralNetworksExecution, + enable: bool, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForInput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + alignment: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksCompilation_getPreferredMemoryPaddingForOutput( + compilation: *const ANeuralNetworksCompilation, + index: u32, + padding: *mut u32, + ) -> ::std::os::raw::c_int; +} +extern "C" { + pub fn ANeuralNetworksExecution_setReusable( + execution: *mut ANeuralNetworksExecution, + reusable: bool, + ) -> ::std::os::raw::c_int; +} pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBA_8888: ANativeWindow_LegacyFormat = 1; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGBX_8888: ANativeWindow_LegacyFormat = 2; pub const ANativeWindow_LegacyFormat_WINDOW_FORMAT_RGB_565: ANativeWindow_LegacyFormat = 4; -pub type ANativeWindow_LegacyFormat = u32; +pub type ANativeWindow_LegacyFormat = ::std::os::raw::c_uint; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_IDENTITY: ANativeWindowTransform = 0; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_HORIZONTAL: ANativeWindowTransform = 1; @@ -11596,7 +11696,7 @@ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_MIRROR_VERTICAL: ANativ pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_90: ANativeWindowTransform = 4; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_180: ANativeWindowTransform = 3; pub const ANativeWindowTransform_ANATIVEWINDOW_TRANSFORM_ROTATE_270: ANativeWindowTransform = 7; -pub type ANativeWindowTransform = u32; +pub type ANativeWindowTransform = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeWindow { @@ -11727,9 +11827,10 @@ extern "C" { extern "C" { pub fn ANativeWindow_getBuffersDataSpace(window: *mut ANativeWindow) -> i32; } -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: _bindgen_ty_29 = 0; -pub const ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE: _bindgen_ty_29 = 1; -pub type _bindgen_ty_29 = u32; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_DEFAULT: + ANativeWindow_FrameRateCompatibility = 0; +pub const ANativeWindow_FrameRateCompatibility_ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE : ANativeWindow_FrameRateCompatibility = 1 ; +pub type ANativeWindow_FrameRateCompatibility = ::std::os::raw::c_uint; extern "C" { pub fn ANativeWindow_setFrameRate( window: *mut ANativeWindow, @@ -11740,6 +11841,19 @@ extern "C" { extern "C" { pub fn ANativeWindow_tryAllocateBuffers(window: *mut ANativeWindow); } +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS: + ANativeWindow_ChangeFrameRateStrategy = 0; +pub const ANativeWindow_ChangeFrameRateStrategy_ANATIVEWINDOW_CHANGE_FRAME_RATE_ALWAYS: + ANativeWindow_ChangeFrameRateStrategy = 1; +pub type ANativeWindow_ChangeFrameRateStrategy = ::std::os::raw::c_uint; +extern "C" { + pub fn ANativeWindow_setFrameRateWithChangeStrategy( + window: *mut ANativeWindow, + frameRate: f32, + compatibility: i8, + changeFrameRateStrategy: i8, + ) -> i32; +} #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ANativeActivity { @@ -12153,15 +12267,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_30 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = u32; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_29 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_showSoftInput(activity: *mut ANativeActivity, flags: u32); } -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = u32; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: ::std::os::raw::c_uint = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -12176,8 +12290,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_32 = 1; -pub type _bindgen_ty_32 = u32; +pub const AOBBINFO_OVERLAY: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -12737,63 +12851,63 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_33 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_33 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_33 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_33 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_33 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_33 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_33 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_33 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_33 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_33 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_33 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_33 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_33 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_33 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_33 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_33 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_33 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_33 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_33 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_33 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_33 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_33 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_33 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_33 = 31; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_33 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_33 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_33 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_33 = 36; -pub type _bindgen_ty_33 = i32; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_34 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_34 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_34 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_34 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_34 = 3; -pub type _bindgen_ty_34 = i32; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_35 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_35 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_35 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_35 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_35 = 3; -pub type _bindgen_ty_35 = i32; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_36 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_36 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_36 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_36 = 3; -pub type _bindgen_ty_36 = u32; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_37 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_37 = 2; -pub type _bindgen_ty_37 = u32; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_38 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_38 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_38 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_38 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_38 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_38 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_38 = 65540; -pub type _bindgen_ty_38 = u32; +pub const ASENSOR_TYPE_INVALID: ::std::os::raw::c_int = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: ::std::os::raw::c_int = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: ::std::os::raw::c_int = 2; +pub const ASENSOR_TYPE_GYROSCOPE: ::std::os::raw::c_int = 4; +pub const ASENSOR_TYPE_LIGHT: ::std::os::raw::c_int = 5; +pub const ASENSOR_TYPE_PRESSURE: ::std::os::raw::c_int = 6; +pub const ASENSOR_TYPE_PROXIMITY: ::std::os::raw::c_int = 8; +pub const ASENSOR_TYPE_GRAVITY: ::std::os::raw::c_int = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: ::std::os::raw::c_int = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: ::std::os::raw::c_int = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: ::std::os::raw::c_int = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: ::std::os::raw::c_int = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: ::std::os::raw::c_int = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: ::std::os::raw::c_int = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: ::std::os::raw::c_int = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: ::std::os::raw::c_int = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: ::std::os::raw::c_int = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: ::std::os::raw::c_int = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: ::std::os::raw::c_int = 20; +pub const ASENSOR_TYPE_HEART_RATE: ::std::os::raw::c_int = 21; +pub const ASENSOR_TYPE_POSE_6DOF: ::std::os::raw::c_int = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: ::std::os::raw::c_int = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: ::std::os::raw::c_int = 30; +pub const ASENSOR_TYPE_HEART_BEAT: ::std::os::raw::c_int = 31; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: ::std::os::raw::c_int = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: ::std::os::raw::c_int = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: ::std::os::raw::c_int = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: ::std::os::raw::c_int = 36; +pub type _bindgen_ty_32 = ::std::os::raw::c_int; +pub const ASENSOR_STATUS_NO_CONTACT: ::std::os::raw::c_int = -1; +pub const ASENSOR_STATUS_UNRELIABLE: ::std::os::raw::c_int = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: ::std::os::raw::c_int = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: ::std::os::raw::c_int = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_33 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: ::std::os::raw::c_int = -1; +pub const AREPORTING_MODE_CONTINUOUS: ::std::os::raw::c_int = 0; +pub const AREPORTING_MODE_ON_CHANGE: ::std::os::raw::c_int = 1; +pub const AREPORTING_MODE_ONE_SHOT: ::std::os::raw::c_int = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: ::std::os::raw::c_int = 3; +pub type _bindgen_ty_34 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: ::std::os::raw::c_uint = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_RATE_FAST: ::std::os::raw::c_uint = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: ::std::os::raw::c_uint = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: ::std::os::raw::c_uint = 2; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: ::std::os::raw::c_uint = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: ::std::os::raw::c_uint = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: ::std::os::raw::c_uint = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: ::std::os::raw::c_uint = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: ::std::os::raw::c_uint = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: ::std::os::raw::c_uint = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: ::std::os::raw::c_uint = 65540; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -12807,7 +12921,6 @@ pub union ASensorVector__bindgen_ty_1 { pub v: [f32; 3usize], pub __bindgen_anon_1: ASensorVector__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_2: ASensorVector__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13045,7 +13158,6 @@ pub struct AUncalibratedEvent { pub union AUncalibratedEvent__bindgen_ty_1 { pub uncalib: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13146,7 +13258,6 @@ fn bindgen_test_layout_AUncalibratedEvent__bindgen_ty_1() { pub union AUncalibratedEvent__bindgen_ty_2 { pub bias: [f32; 3usize], pub __bindgen_anon_1: AUncalibratedEvent__bindgen_ty_2__bindgen_ty_1, - _bindgen_union_align: [u32; 3usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -13344,7 +13455,6 @@ pub struct AAdditionalInfoEvent { pub union AAdditionalInfoEvent__bindgen_ty_1 { pub data_int32: [i32; 14usize], pub data_float: [f32; 14usize], - _bindgen_union_align: [u32; 14usize], } #[test] fn bindgen_test_layout_AAdditionalInfoEvent__bindgen_ty_1() { @@ -13437,8 +13547,7 @@ pub struct ASensorEvent { #[derive(Copy, Clone)] pub union ASensorEvent__bindgen_ty_1 { pub __bindgen_anon_1: ASensorEvent__bindgen_ty_1__bindgen_ty_1, - pub u64: ASensorEvent__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u64; 8usize], + pub u64_: ASensorEvent__bindgen_ty_1__bindgen_ty_2, } #[repr(C)] #[derive(Copy, Clone)] @@ -13446,19 +13555,20 @@ pub union ASensorEvent__bindgen_ty_1__bindgen_ty_1 { pub data: [f32; 16usize], pub vector: ASensorVector, pub acceleration: ASensorVector, + pub gyro: ASensorVector, pub magnetic: ASensorVector, pub temperature: f32, pub distance: f32, pub light: f32, pub pressure: f32, pub relative_humidity: f32, + pub uncalibrated_acceleration: AUncalibratedEvent, pub uncalibrated_gyro: AUncalibratedEvent, pub uncalibrated_magnetic: AUncalibratedEvent, pub meta_data: AMetaDataEvent, pub heart_rate: AHeartRateEvent, pub dynamic_sensor_meta: ADynamicSensorEvent, pub additional_info: AAdditionalInfoEvent, - _bindgen_union_align: [u32; 16usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { @@ -13517,6 +13627,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(acceleration) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())).gyro as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(gyro) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).magnetic @@ -13595,6 +13718,19 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { stringify!(relative_humidity) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::())) + .uncalibrated_acceleration as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(ASensorEvent__bindgen_ty_1__bindgen_ty_1), + "::", + stringify!(uncalibrated_acceleration) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::())).uncalibrated_gyro @@ -13679,7 +13815,6 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_1() { pub union ASensorEvent__bindgen_ty_1__bindgen_ty_2 { pub data: [u64; 8usize], pub step_counter: u64, - _bindgen_union_align: [u64; 8usize], } #[test] fn bindgen_test_layout_ASensorEvent__bindgen_ty_1__bindgen_ty_2() { @@ -13739,13 +13874,13 @@ fn bindgen_test_layout_ASensorEvent__bindgen_ty_1() { concat!("Alignment of ", stringify!(ASensorEvent__bindgen_ty_1)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::())).u64 as *const _ as usize }, + unsafe { &(*(::std::ptr::null::())).u64_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ASensorEvent__bindgen_ty_1), "::", - stringify!(u64) + stringify!(u64_) ) ); } @@ -14034,15 +14169,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_39 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_39 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_39 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_39 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_39 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_39 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_39 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_39 = 25; -pub type _bindgen_ty_39 = u32; +pub const AOBB_STATE_MOUNTED: ::std::os::raw::c_uint = 1; +pub const AOBB_STATE_UNMOUNTED: ::std::os::raw::c_uint = 2; +pub const AOBB_STATE_ERROR_INTERNAL: ::std::os::raw::c_uint = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: ::std::os::raw::c_uint = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: ::std::os::raw::c_uint = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: ::std::os::raw::c_uint = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: ::std::os::raw::c_uint = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: ::std::os::raw::c_uint = 25; +pub type _bindgen_ty_38 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -14375,30 +14510,30 @@ extern "C" { extern "C" { pub fn ATrace_setCounter(counterName: *const ::std::os::raw::c_char, counterValue: i64); } -pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_40 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_40 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_40 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_40 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_40 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_40 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_40 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_40 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_40 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_40 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_40 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_40 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_40 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_40 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_40 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_40 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_40 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_40 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_40 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_40 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_40 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_40 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_40 = 4194304; -pub type _bindgen_ty_40 = u32; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: ::std::os::raw::c_uint = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: ::std::os::raw::c_uint = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: ::std::os::raw::c_uint = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: ::std::os::raw::c_uint = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: ::std::os::raw::c_uint = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: ::std::os::raw::c_uint = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: ::std::os::raw::c_uint = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: ::std::os::raw::c_uint = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: ::std::os::raw::c_uint = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: ::std::os::raw::c_uint = 512; +pub const AWINDOW_FLAG_FULLSCREEN: ::std::os::raw::c_uint = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: ::std::os::raw::c_uint = 2048; +pub const AWINDOW_FLAG_DITHER: ::std::os::raw::c_uint = 4096; +pub const AWINDOW_FLAG_SECURE: ::std::os::raw::c_uint = 8192; +pub const AWINDOW_FLAG_SCALED: ::std::os::raw::c_uint = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: ::std::os::raw::c_uint = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: ::std::os::raw::c_uint = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: ::std::os::raw::c_uint = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: ::std::os::raw::c_uint = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: ::std::os::raw::c_uint = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: ::std::os::raw::c_uint = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: ::std::os::raw::c_uint = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: ::std::os::raw::c_uint = 4194304; +pub type _bindgen_ty_39 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -14479,40 +14614,40 @@ fn bindgen_test_layout___kernel_itimerspec() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct __kernel_old_timeval { - pub tv_sec: __kernel_long_t, - pub tv_usec: __kernel_long_t, +pub struct __kernel_old_timespec { + pub tv_sec: __kernel_old_time_t, + pub tv_nsec: ::std::os::raw::c_long, } #[test] -fn bindgen_test_layout___kernel_old_timeval() { +fn bindgen_test_layout___kernel_old_timespec() { assert_eq!( - ::std::mem::size_of::<__kernel_old_timeval>(), + ::std::mem::size_of::<__kernel_old_timespec>(), 16usize, - concat!("Size of: ", stringify!(__kernel_old_timeval)) + concat!("Size of: ", stringify!(__kernel_old_timespec)) ); assert_eq!( - ::std::mem::align_of::<__kernel_old_timeval>(), + ::std::mem::align_of::<__kernel_old_timespec>(), 8usize, - concat!("Alignment of ", stringify!(__kernel_old_timeval)) + concat!("Alignment of ", stringify!(__kernel_old_timespec)) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_sec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_sec as *const _ as usize }, 0usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", stringify!(tv_sec) ) ); assert_eq!( - unsafe { &(*(::std::ptr::null::<__kernel_old_timeval>())).tv_usec as *const _ as usize }, + unsafe { &(*(::std::ptr::null::<__kernel_old_timespec>())).tv_nsec as *const _ as usize }, 8usize, concat!( "Offset of field: ", - stringify!(__kernel_old_timeval), + stringify!(__kernel_old_timespec), "::", - stringify!(tv_usec) + stringify!(tv_nsec) ) ); } @@ -14558,7 +14693,7 @@ fn bindgen_test_layout___kernel_sock_timeval() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timespec { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_nsec: ::std::os::raw::c_long, } #[test] @@ -14597,7 +14732,7 @@ fn bindgen_test_layout_timespec() { #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct timeval { - pub tv_sec: __kernel_time_t, + pub tv_sec: __kernel_old_time_t, pub tv_usec: __kernel_suseconds_t, } #[test] @@ -14635,45 +14770,6 @@ fn bindgen_test_layout_timeval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] -pub struct timezone { - pub tz_minuteswest: ::std::os::raw::c_int, - pub tz_dsttime: ::std::os::raw::c_int, -} -#[test] -fn bindgen_test_layout_timezone() { - assert_eq!( - ::std::mem::size_of::(), - 8usize, - concat!("Size of: ", stringify!(timezone)) - ); - assert_eq!( - ::std::mem::align_of::(), - 4usize, - concat!("Alignment of ", stringify!(timezone)) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, - 0usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_minuteswest) - ) - ); - assert_eq!( - unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, - 4usize, - concat!( - "Offset of field: ", - stringify!(timezone), - "::", - stringify!(tz_dsttime) - ) - ); -} -#[repr(C)] -#[derive(Debug, Copy, Clone)] pub struct itimerspec { pub it_interval: timespec, pub it_value: timespec, @@ -14752,6 +14848,45 @@ fn bindgen_test_layout_itimerval() { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct timezone { + pub tz_minuteswest: ::std::os::raw::c_int, + pub tz_dsttime: ::std::os::raw::c_int, +} +#[test] +fn bindgen_test_layout_timezone() { + assert_eq!( + ::std::mem::size_of::(), + 8usize, + concat!("Size of: ", stringify!(timezone)) + ); + assert_eq!( + ::std::mem::align_of::(), + 4usize, + concat!("Alignment of ", stringify!(timezone)) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_minuteswest as *const _ as usize }, + 0usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_minuteswest) + ) + ); + assert_eq!( + unsafe { &(*(::std::ptr::null::())).tz_dsttime as *const _ as usize }, + 4usize, + concat!( + "Offset of field: ", + stringify!(timezone), + "::", + stringify!(tz_dsttime) + ) + ); +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct _fpx_sw_bytes { pub magic1: __u32, pub extended_size: __u32, @@ -14965,7 +15100,6 @@ pub struct _fpstate_32 { pub union _fpstate_32__bindgen_ty_1 { pub padding1: [__u32; 44usize], pub padding: [__u32; 44usize], - _bindgen_union_align: [u32; 44usize], } #[test] fn bindgen_test_layout__fpstate_32__bindgen_ty_1() { @@ -15009,7 +15143,6 @@ fn bindgen_test_layout__fpstate_32__bindgen_ty_1() { pub union _fpstate_32__bindgen_ty_2 { pub padding2: [__u32; 12usize], pub sw_reserved: _fpx_sw_bytes, - _bindgen_union_align: [u64; 6usize], } #[test] fn bindgen_test_layout__fpstate_32__bindgen_ty_2() { @@ -15232,7 +15365,6 @@ pub struct _fpstate_64 { pub union _fpstate_64__bindgen_ty_1 { pub reserved3: [__u32; 12usize], pub sw_reserved: _fpx_sw_bytes, - _bindgen_union_align: [u64; 6usize], } #[test] fn bindgen_test_layout__fpstate_64__bindgen_ty_1() { @@ -15445,7 +15577,7 @@ fn bindgen_test_layout__header() { ); } #[repr(C)] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct _ymmh_state { pub ymmh_space: [__u32; 64usize], } @@ -16209,7 +16341,6 @@ pub struct sigcontext { pub union sigcontext__bindgen_ty_1 { pub ss: __u16, pub __pad0: __u16, - _bindgen_union_align: u16, } #[test] fn bindgen_test_layout_sigcontext__bindgen_ty_1() { @@ -16649,7 +16780,6 @@ pub type stack_t = sigaltstack; pub union sigval { pub sival_int: ::std::os::raw::c_int, pub sival_ptr: *mut ::std::os::raw::c_void, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigval() { @@ -16695,7 +16825,6 @@ pub union __sifields { pub _sigfault: __sifields__bindgen_ty_5, pub _sigpoll: __sifields__bindgen_ty_6, pub _sigsys: __sifields__bindgen_ty_7, - _bindgen_union_align: [u64; 4usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -16938,10 +17067,11 @@ pub struct __sifields__bindgen_ty_5 { #[repr(C)] #[derive(Copy, Clone)] pub union __sifields__bindgen_ty_5__bindgen_ty_1 { + pub _trapno: ::std::os::raw::c_int, pub _addr_lsb: ::std::os::raw::c_short, pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1, pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2, - _bindgen_union_align: [u64; 3usize], + pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3, } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17059,6 +17189,57 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2() { ) ); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 { + pub _data: ::std::os::raw::c_ulong, + pub _type: __u32, +} +#[test] +fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3() { + assert_eq!( + ::std::mem::size_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 16usize, + concat!( + "Size of: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + ::std::mem::align_of::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>(), + 8usize, + concat!( + "Alignment of ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._data + as *const _ as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_data) + ) + ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3>()))._type + as *const _ as usize + }, + 8usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3), + "::", + stringify!(_type) + ) + ); +} #[test] fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { assert_eq!( @@ -17077,6 +17258,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(__sifields__bindgen_ty_5__bindgen_ty_1) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._trapno as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_trapno) + ) + ); assert_eq!( unsafe { &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._addr_lsb as *const _ @@ -17116,6 +17310,19 @@ fn bindgen_test_layout___sifields__bindgen_ty_5__bindgen_ty_1() { stringify!(_addr_pkey) ) ); + assert_eq!( + unsafe { + &(*(::std::ptr::null::<__sifields__bindgen_ty_5__bindgen_ty_1>()))._perf as *const _ + as usize + }, + 0usize, + concat!( + "Offset of field: ", + stringify!(__sifields__bindgen_ty_5__bindgen_ty_1), + "::", + stringify!(_perf) + ) + ); } #[test] fn bindgen_test_layout___sifields__bindgen_ty_5() { @@ -17326,7 +17533,6 @@ pub struct siginfo { pub union siginfo__bindgen_ty_1 { pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1, pub _si_pad: [::std::os::raw::c_int; 32usize], - _bindgen_union_align: [u64; 16usize], } #[repr(C)] #[derive(Copy, Clone)] @@ -17455,7 +17661,6 @@ pub union sigevent__bindgen_ty_1 { pub _pad: [::std::os::raw::c_int; 12usize], pub _tid: ::std::os::raw::c_int, pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1, - _bindgen_union_align: [u64; 6usize], } #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17630,7 +17835,6 @@ pub union sigaction__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigaction__bindgen_ty_1() { @@ -17731,7 +17935,6 @@ pub union sigaction64__bindgen_ty_1 { arg3: *mut ::std::os::raw::c_void, ), >, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_sigaction64__bindgen_ty_1() { @@ -17814,7 +18017,7 @@ fn bindgen_test_layout_sigaction64() { ); } #[repr(C)] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct user_fpregs_struct { pub cwd: ::std::os::raw::c_ushort, pub swd: ::std::os::raw::c_ushort, @@ -18266,7 +18469,7 @@ fn bindgen_test_layout_user_regs_struct() { ); } #[repr(C)] -#[derive(Copy, Clone)] +#[derive(Debug, Copy, Clone)] pub struct user { pub regs: user_regs_struct, pub u_fpvalid: ::std::os::raw::c_int, @@ -18491,31 +18694,31 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_R8: _bindgen_ty_41 = 0; -pub const REG_R9: _bindgen_ty_41 = 1; -pub const REG_R10: _bindgen_ty_41 = 2; -pub const REG_R11: _bindgen_ty_41 = 3; -pub const REG_R12: _bindgen_ty_41 = 4; -pub const REG_R13: _bindgen_ty_41 = 5; -pub const REG_R14: _bindgen_ty_41 = 6; -pub const REG_R15: _bindgen_ty_41 = 7; -pub const REG_RDI: _bindgen_ty_41 = 8; -pub const REG_RSI: _bindgen_ty_41 = 9; -pub const REG_RBP: _bindgen_ty_41 = 10; -pub const REG_RBX: _bindgen_ty_41 = 11; -pub const REG_RDX: _bindgen_ty_41 = 12; -pub const REG_RAX: _bindgen_ty_41 = 13; -pub const REG_RCX: _bindgen_ty_41 = 14; -pub const REG_RSP: _bindgen_ty_41 = 15; -pub const REG_RIP: _bindgen_ty_41 = 16; -pub const REG_EFL: _bindgen_ty_41 = 17; -pub const REG_CSGSFS: _bindgen_ty_41 = 18; -pub const REG_ERR: _bindgen_ty_41 = 19; -pub const REG_TRAPNO: _bindgen_ty_41 = 20; -pub const REG_OLDMASK: _bindgen_ty_41 = 21; -pub const REG_CR2: _bindgen_ty_41 = 22; -pub const NGREG: _bindgen_ty_41 = 23; -pub type _bindgen_ty_41 = u32; +pub const REG_R8: ::std::os::raw::c_uint = 0; +pub const REG_R9: ::std::os::raw::c_uint = 1; +pub const REG_R10: ::std::os::raw::c_uint = 2; +pub const REG_R11: ::std::os::raw::c_uint = 3; +pub const REG_R12: ::std::os::raw::c_uint = 4; +pub const REG_R13: ::std::os::raw::c_uint = 5; +pub const REG_R14: ::std::os::raw::c_uint = 6; +pub const REG_R15: ::std::os::raw::c_uint = 7; +pub const REG_RDI: ::std::os::raw::c_uint = 8; +pub const REG_RSI: ::std::os::raw::c_uint = 9; +pub const REG_RBP: ::std::os::raw::c_uint = 10; +pub const REG_RBX: ::std::os::raw::c_uint = 11; +pub const REG_RDX: ::std::os::raw::c_uint = 12; +pub const REG_RAX: ::std::os::raw::c_uint = 13; +pub const REG_RCX: ::std::os::raw::c_uint = 14; +pub const REG_RSP: ::std::os::raw::c_uint = 15; +pub const REG_RIP: ::std::os::raw::c_uint = 16; +pub const REG_EFL: ::std::os::raw::c_uint = 17; +pub const REG_CSGSFS: ::std::os::raw::c_uint = 18; +pub const REG_ERR: ::std::os::raw::c_uint = 19; +pub const REG_TRAPNO: ::std::os::raw::c_uint = 20; +pub const REG_OLDMASK: ::std::os::raw::c_uint = 21; +pub const REG_CR2: ::std::os::raw::c_uint = 22; +pub const NGREG: ::std::os::raw::c_uint = 23; +pub type _bindgen_ty_40 = ::std::os::raw::c_uint; pub type greg_t = ::std::os::raw::c_long; pub type gregset_t = [greg_t; 23usize]; #[repr(C)] @@ -18800,7 +19003,6 @@ pub struct ucontext { pub union ucontext__bindgen_ty_1 { pub uc_sigmask: sigset_t, pub uc_sigmask64: sigset64_t, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ucontext__bindgen_ty_1() { @@ -19162,7 +19364,7 @@ extern "C" { } extern "C" { pub fn select( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -19171,7 +19373,7 @@ extern "C" { } extern "C" { pub fn pselect( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -19181,7 +19383,7 @@ extern "C" { } extern "C" { pub fn pselect64( - __fd_count: ::std::os::raw::c_int, + __max_fd_plus_one: ::std::os::raw::c_int, __read_fds: *mut fd_set, __write_fds: *mut fd_set, __exception_fds: *mut fd_set, @@ -19500,101 +19702,103 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_42 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_42 = 1; -pub type _bindgen_ty_42 = u32; +pub const AAUDIO_DIRECTION_OUTPUT: ::std::os::raw::c_uint = 0; +pub const AAUDIO_DIRECTION_INPUT: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_41 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_43 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_43 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_43 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_43 = 2; -pub type _bindgen_ty_43 = i32; +pub const AAUDIO_FORMAT_INVALID: ::std::os::raw::c_int = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: ::std::os::raw::c_int = 0; +pub const AAUDIO_FORMAT_PCM_I16: ::std::os::raw::c_int = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: ::std::os::raw::c_int = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: ::std::os::raw::c_int = 3; +pub const AAUDIO_FORMAT_PCM_I32: ::std::os::raw::c_int = 4; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_44 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_44 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_44 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_44 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_44 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_44 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_44 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_44 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_44 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_44 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_44 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_44 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_44 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_44 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_44 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_44 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_44 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_44 = -880; -pub type _bindgen_ty_44 = i32; +pub const AAUDIO_OK: ::std::os::raw::c_int = 0; +pub const AAUDIO_ERROR_BASE: ::std::os::raw::c_int = -900; +pub const AAUDIO_ERROR_DISCONNECTED: ::std::os::raw::c_int = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: ::std::os::raw::c_int = -898; +pub const AAUDIO_ERROR_INTERNAL: ::std::os::raw::c_int = -896; +pub const AAUDIO_ERROR_INVALID_STATE: ::std::os::raw::c_int = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: ::std::os::raw::c_int = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: ::std::os::raw::c_int = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: ::std::os::raw::c_int = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: ::std::os::raw::c_int = -888; +pub const AAUDIO_ERROR_NO_MEMORY: ::std::os::raw::c_int = -887; +pub const AAUDIO_ERROR_NULL: ::std::os::raw::c_int = -886; +pub const AAUDIO_ERROR_TIMEOUT: ::std::os::raw::c_int = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: ::std::os::raw::c_int = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: ::std::os::raw::c_int = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: ::std::os::raw::c_int = -882; +pub const AAUDIO_ERROR_NO_SERVICE: ::std::os::raw::c_int = -881; +pub const AAUDIO_ERROR_INVALID_RATE: ::std::os::raw::c_int = -880; +pub type _bindgen_ty_43 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_45 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_45 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_45 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_45 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_45 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_45 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_45 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_45 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_45 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_45 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_45 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_45 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_45 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_45 = 13; -pub type _bindgen_ty_45 = u32; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: ::std::os::raw::c_uint = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: ::std::os::raw::c_uint = 1; +pub const AAUDIO_STREAM_STATE_OPEN: ::std::os::raw::c_uint = 2; +pub const AAUDIO_STREAM_STATE_STARTING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_STREAM_STATE_STARTED: ::std::os::raw::c_uint = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: ::std::os::raw::c_uint = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: ::std::os::raw::c_uint = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: ::std::os::raw::c_uint = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: ::std::os::raw::c_uint = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: ::std::os::raw::c_uint = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: ::std::os::raw::c_uint = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: ::std::os::raw::c_uint = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: ::std::os::raw::c_uint = 13; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_46 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_46 = 1; -pub type _bindgen_ty_46 = u32; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_SHARING_MODE_SHARED: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_47 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_47 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_47 = 12; -pub type _bindgen_ty_47 = u32; +pub const AAUDIO_PERFORMANCE_MODE_NONE: ::std::os::raw::c_uint = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: ::std::os::raw::c_uint = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: ::std::os::raw::c_uint = 12; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_48 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_48 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_48 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_48 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_48 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_48 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_48 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_48 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_48 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_48 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_48 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_48 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_48 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_48 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_48 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_48 = 1003; -pub type _bindgen_ty_48 = u32; +pub const AAUDIO_USAGE_MEDIA: ::std::os::raw::c_uint = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: ::std::os::raw::c_uint = 3; +pub const AAUDIO_USAGE_ALARM: ::std::os::raw::c_uint = 4; +pub const AAUDIO_USAGE_NOTIFICATION: ::std::os::raw::c_uint = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: ::std::os::raw::c_uint = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: ::std::os::raw::c_uint = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: ::std::os::raw::c_uint = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: ::std::os::raw::c_uint = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: ::std::os::raw::c_uint = 13; +pub const AAUDIO_USAGE_GAME: ::std::os::raw::c_uint = 14; +pub const AAUDIO_USAGE_ASSISTANT: ::std::os::raw::c_uint = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: ::std::os::raw::c_uint = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: ::std::os::raw::c_uint = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: ::std::os::raw::c_uint = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: ::std::os::raw::c_uint = 1003; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_49 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_49 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_49 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_49 = 4; -pub type _bindgen_ty_49 = u32; +pub const AAUDIO_CONTENT_TYPE_SPEECH: ::std::os::raw::c_uint = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: ::std::os::raw::c_uint = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: ::std::os::raw::c_uint = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: ::std::os::raw::c_uint = 4; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_50 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_50 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_50 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_50 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_50 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_50 = 10; -pub type _bindgen_ty_50 = u32; +pub const AAUDIO_INPUT_PRESET_GENERIC: ::std::os::raw::c_uint = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: ::std::os::raw::c_uint = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: ::std::os::raw::c_uint = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: ::std::os::raw::c_uint = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: ::std::os::raw::c_uint = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: ::std::os::raw::c_uint = 10; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_51 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_51 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_51 = 3; -pub type _bindgen_ty_51 = u32; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: ::std::os::raw::c_uint = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: ::std::os::raw::c_uint = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: ::std::os::raw::c_uint = 3; +pub type _bindgen_ty_50 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_52 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_52 = 0; -pub type _bindgen_ty_52 = i32; +pub const AAUDIO_SESSION_ID_NONE: ::std::os::raw::c_int = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: ::std::os::raw::c_int = 0; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -19623,6 +19827,18 @@ extern "C" { extern "C" { pub fn AAudioStreamBuilder_setDeviceId(builder: *mut AAudioStreamBuilder, deviceId: i32); } +extern "C" { + pub fn AAudioStreamBuilder_setPackageName( + builder: *mut AAudioStreamBuilder, + packageName: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AAudioStreamBuilder_setAttributionTag( + builder: *mut AAudioStreamBuilder, + attributionTag: *const ::std::os::raw::c_char, + ); +} extern "C" { pub fn AAudioStreamBuilder_setSampleRate(builder: *mut AAudioStreamBuilder, sampleRate: i32); } @@ -19701,9 +19917,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_53 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_53 = 1; -pub type _bindgen_ty_53 = u32; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: ::std::os::raw::c_uint = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -19890,7 +20106,7 @@ pub const camera_status_t_ACAMERA_ERROR_MAX_CAMERA_IN_USE: camera_status_t = -10 pub const camera_status_t_ACAMERA_ERROR_CAMERA_DISABLED: camera_status_t = -10012; pub const camera_status_t_ACAMERA_ERROR_PERMISSION_DENIED: camera_status_t = -10013; pub const camera_status_t_ACAMERA_ERROR_UNSUPPORTED_OPERATION: camera_status_t = -10014; -pub type camera_status_t = i32; +pub type camera_status_t = ::std::os::raw::c_int; pub const acamera_metadata_section_ACAMERA_COLOR_CORRECTION: acamera_metadata_section = 0; pub const acamera_metadata_section_ACAMERA_CONTROL: acamera_metadata_section = 1; pub const acamera_metadata_section_ACAMERA_DEMOSAIC: acamera_metadata_section = 2; @@ -19923,7 +20139,7 @@ pub const acamera_metadata_section_ACAMERA_HEIC: acamera_metadata_section = 28; pub const acamera_metadata_section_ACAMERA_HEIC_INFO: acamera_metadata_section = 29; pub const acamera_metadata_section_ACAMERA_SECTION_COUNT: acamera_metadata_section = 30; pub const acamera_metadata_section_ACAMERA_VENDOR: acamera_metadata_section = 32768; -pub type acamera_metadata_section = u32; +pub type acamera_metadata_section = ::std::os::raw::c_uint; pub use self::acamera_metadata_section as acamera_metadata_section_t; pub const acamera_metadata_section_start_ACAMERA_COLOR_CORRECTION_START: acamera_metadata_section_start = 0; @@ -19987,7 +20203,7 @@ pub const acamera_metadata_section_start_ACAMERA_HEIC_INFO_START: acamera_metada 1900544; pub const acamera_metadata_section_start_ACAMERA_VENDOR_START: acamera_metadata_section_start = -2147483648; -pub type acamera_metadata_section_start = i32; +pub type acamera_metadata_section_start = ::std::os::raw::c_int; pub use self::acamera_metadata_section_start as acamera_metadata_section_start_t; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_MODE: acamera_metadata_tag = 0; pub const acamera_metadata_tag_ACAMERA_COLOR_CORRECTION_TRANSFORM: acamera_metadata_tag = 1; @@ -20042,11 +20258,11 @@ pub const acamera_metadata_tag_ACAMERA_CONTROL_POST_RAW_SENSITIVITY_BOOST: acame 65576; pub const acamera_metadata_tag_ACAMERA_CONTROL_ENABLE_ZSL: acamera_metadata_tag = 65577; pub const acamera_metadata_tag_ACAMERA_CONTROL_AF_SCENE_CHANGE: acamera_metadata_tag = 65578; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_MAX_SIZES: acamera_metadata_tag = - 65579; -pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_BOKEH_ZOOM_RATIO_RANGES: +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_MAX_SIZES: + acamera_metadata_tag = 65579; +pub const acamera_metadata_tag_ACAMERA_CONTROL_AVAILABLE_EXTENDED_SCENE_MODE_ZOOM_RATIO_RANGES: acamera_metadata_tag = 65580; -pub const acamera_metadata_tag_ACAMERA_CONTROL_BOKEH_MODE: acamera_metadata_tag = 65581; +pub const acamera_metadata_tag_ACAMERA_CONTROL_EXTENDED_SCENE_MODE: acamera_metadata_tag = 65581; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO_RANGE: acamera_metadata_tag = 65582; pub const acamera_metadata_tag_ACAMERA_CONTROL_ZOOM_RATIO: acamera_metadata_tag = 65583; pub const acamera_metadata_tag_ACAMERA_CONTROL_END: acamera_metadata_tag = 65584; @@ -20087,7 +20303,11 @@ pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION: acamera_metad pub const acamera_metadata_tag_ACAMERA_LENS_RADIAL_DISTORTION: acamera_metadata_tag = 524299; pub const acamera_metadata_tag_ACAMERA_LENS_POSE_REFERENCE: acamera_metadata_tag = 524300; pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION: acamera_metadata_tag = 524301; -pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_DISTORTION_MAXIMUM_RESOLUTION: acamera_metadata_tag = + 524302; +pub const acamera_metadata_tag_ACAMERA_LENS_INTRINSIC_CALIBRATION_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 524303; +pub const acamera_metadata_tag_ACAMERA_LENS_END: acamera_metadata_tag = 524304; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_APERTURES: acamera_metadata_tag = 589824; pub const acamera_metadata_tag_ACAMERA_LENS_INFO_AVAILABLE_FILTER_DENSITIES: acamera_metadata_tag = 589825; @@ -20137,7 +20357,21 @@ pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFI acamera_metadata_tag = 851982; pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_INPUT_OUTPUT_FORMATS_MAP: acamera_metadata_tag = 851983; -pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_ROTATE_AND_CROP_MODES: + acamera_metadata_tag = 851984; +pub const acamera_metadata_tag_ACAMERA_SCALER_ROTATE_AND_CROP: acamera_metadata_tag = 851985; +pub const acamera_metadata_tag_ACAMERA_SCALER_DEFAULT_SECURE_IMAGE_SIZE: acamera_metadata_tag = + 851986; +pub const acamera_metadata_tag_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS : acamera_metadata_tag = 851987 ; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851988; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851989; +pub const acamera_metadata_tag_ACAMERA_SCALER_AVAILABLE_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 851990; +pub const acamera_metadata_tag_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED: + acamera_metadata_tag = 851992; +pub const acamera_metadata_tag_ACAMERA_SCALER_END: acamera_metadata_tag = 851993; pub const acamera_metadata_tag_ACAMERA_SENSOR_EXPOSURE_TIME: acamera_metadata_tag = 917504; pub const acamera_metadata_tag_ACAMERA_SENSOR_FRAME_DURATION: acamera_metadata_tag = 917505; pub const acamera_metadata_tag_ACAMERA_SENSOR_SENSITIVITY: acamera_metadata_tag = 917506; @@ -20164,7 +20398,10 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_ROLLING_SHUTTER_SKEW: acamera_meta pub const acamera_metadata_tag_ACAMERA_SENSOR_OPTICAL_BLACK_REGIONS: acamera_metadata_tag = 917531; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_BLACK_LEVEL: acamera_metadata_tag = 917532; pub const acamera_metadata_tag_ACAMERA_SENSOR_DYNAMIC_WHITE_LEVEL: acamera_metadata_tag = 917533; -pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917534; +pub const acamera_metadata_tag_ACAMERA_SENSOR_PIXEL_MODE: acamera_metadata_tag = 917536; +pub const acamera_metadata_tag_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED: acamera_metadata_tag = + 917537; +pub const acamera_metadata_tag_ACAMERA_SENSOR_END: acamera_metadata_tag = 917538; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983040; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_SENSITIVITY_RANGE: acamera_metadata_tag = 983041; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT: acamera_metadata_tag = @@ -20181,7 +20418,13 @@ pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED: acamera 983049; pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE: acamera_metadata_tag = 983050; -pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983051; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 983052; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE_MAXIMUM_RESOLUTION : acamera_metadata_tag = 983053 ; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_BINNING_FACTOR: acamera_metadata_tag = 983054; +pub const acamera_metadata_tag_ACAMERA_SENSOR_INFO_END: acamera_metadata_tag = 983055; pub const acamera_metadata_tag_ACAMERA_SHADING_MODE: acamera_metadata_tag = 1048576; pub const acamera_metadata_tag_ACAMERA_SHADING_AVAILABLE_MODES: acamera_metadata_tag = 1048578; pub const acamera_metadata_tag_ACAMERA_SHADING_END: acamera_metadata_tag = 1048579; @@ -20247,7 +20490,14 @@ pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_D acamera_metadata_tag = 1638407; pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS: acamera_metadata_tag = 1638408; -pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638409; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638409 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638410 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1638411; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638412 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638413 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STALL_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1638414 ; +pub const acamera_metadata_tag_ACAMERA_DEPTH_END: acamera_metadata_tag = 1638415; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_PHYSICAL_IDS: acamera_metadata_tag = 1703936; pub const acamera_metadata_tag_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE: acamera_metadata_tag = @@ -20265,31 +20515,35 @@ pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS: acamera_metadata_tag = 1835009; pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS: acamera_metadata_tag = 1835010; -pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835011; -pub type acamera_metadata_tag = u32; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835011 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_MIN_FRAME_DURATIONS_MAXIMUM_RESOLUTION : acamera_metadata_tag = 1835012 ; +pub const acamera_metadata_tag_ACAMERA_HEIC_AVAILABLE_HEIC_STALL_DURATIONS_MAXIMUM_RESOLUTION: + acamera_metadata_tag = 1835013; +pub const acamera_metadata_tag_ACAMERA_HEIC_END: acamera_metadata_tag = 1835014; +pub type acamera_metadata_tag = ::std::os::raw::c_uint; pub use self::acamera_metadata_tag as acamera_metadata_tag_t; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_TRANSFORM_MATRIX : acamera_metadata_enum_acamera_color_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_FAST: acamera_metadata_enum_acamera_color_correction_mode = 1; pub const acamera_metadata_enum_acamera_color_correction_mode_ACAMERA_COLOR_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_mode as acamera_metadata_enum_android_color_correction_mode_t; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_OFF : acamera_metadata_enum_acamera_color_correction_aberration_mode = 0 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_FAST : acamera_metadata_enum_acamera_color_correction_aberration_mode = 1 ; pub const acamera_metadata_enum_acamera_color_correction_aberration_mode_ACAMERA_COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_color_correction_aberration_mode = 2 ; -pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = u32; +pub type acamera_metadata_enum_acamera_color_correction_aberration_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_color_correction_aberration_mode as acamera_metadata_enum_android_color_correction_aberration_mode_t; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_OFF : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 0 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_50HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 1 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_60HZ : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 2 ; pub const acamera_metadata_enum_acamera_control_ae_antibanding_mode_ACAMERA_CONTROL_AE_ANTIBANDING_MODE_AUTO : acamera_metadata_enum_acamera_control_ae_antibanding_mode = 3 ; -pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_antibanding_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_antibanding_mode as acamera_metadata_enum_android_control_ae_antibanding_mode_t; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_OFF: acamera_metadata_enum_acamera_control_ae_lock = 0; pub const acamera_metadata_enum_acamera_control_ae_lock_ACAMERA_CONTROL_AE_LOCK_ON: acamera_metadata_enum_acamera_control_ae_lock = 1; -pub type acamera_metadata_enum_acamera_control_ae_lock = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock as acamera_metadata_enum_android_control_ae_lock_t; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_OFF: acamera_metadata_enum_acamera_control_ae_mode = 0; @@ -20301,12 +20555,12 @@ pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ acamera_metadata_enum_acamera_control_ae_mode = 3; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_AUTO_FLASH_REDEYE : acamera_metadata_enum_acamera_control_ae_mode = 4 ; pub const acamera_metadata_enum_acamera_control_ae_mode_ACAMERA_CONTROL_AE_MODE_ON_EXTERNAL_FLASH : acamera_metadata_enum_acamera_control_ae_mode = 5 ; -pub type acamera_metadata_enum_acamera_control_ae_mode = u32; +pub type acamera_metadata_enum_acamera_control_ae_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_mode as acamera_metadata_enum_android_control_ae_mode_t; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_IDLE : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 0 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_START : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 1 ; pub const acamera_metadata_enum_acamera_control_ae_precapture_trigger_ACAMERA_CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL : acamera_metadata_enum_acamera_control_ae_precapture_trigger = 2 ; -pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = u32; +pub type acamera_metadata_enum_acamera_control_ae_precapture_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_precapture_trigger as acamera_metadata_enum_android_control_ae_precapture_trigger_t; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_OFF: acamera_metadata_enum_acamera_control_af_mode = 0; @@ -20319,7 +20573,7 @@ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_ pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_CONTINUOUS_PICTURE : acamera_metadata_enum_acamera_control_af_mode = 4 ; pub const acamera_metadata_enum_acamera_control_af_mode_ACAMERA_CONTROL_AF_MODE_EDOF: acamera_metadata_enum_acamera_control_af_mode = 5; -pub type acamera_metadata_enum_acamera_control_af_mode = u32; +pub type acamera_metadata_enum_acamera_control_af_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_mode as acamera_metadata_enum_android_control_af_mode_t; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_IDLE: acamera_metadata_enum_acamera_control_af_trigger = 0; @@ -20327,13 +20581,13 @@ pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TR acamera_metadata_enum_acamera_control_af_trigger = 1; pub const acamera_metadata_enum_acamera_control_af_trigger_ACAMERA_CONTROL_AF_TRIGGER_CANCEL: acamera_metadata_enum_acamera_control_af_trigger = 2; -pub type acamera_metadata_enum_acamera_control_af_trigger = u32; +pub type acamera_metadata_enum_acamera_control_af_trigger = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_trigger as acamera_metadata_enum_android_control_af_trigger_t; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_OFF: acamera_metadata_enum_acamera_control_awb_lock = 0; pub const acamera_metadata_enum_acamera_control_awb_lock_ACAMERA_CONTROL_AWB_LOCK_ON: acamera_metadata_enum_acamera_control_awb_lock = 1; -pub type acamera_metadata_enum_acamera_control_awb_lock = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock as acamera_metadata_enum_android_control_awb_lock_t; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_OFF: acamera_metadata_enum_acamera_control_awb_mode = 0; @@ -20351,7 +20605,7 @@ pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MOD acamera_metadata_enum_acamera_control_awb_mode = 7; pub const acamera_metadata_enum_acamera_control_awb_mode_ACAMERA_CONTROL_AWB_MODE_SHADE: acamera_metadata_enum_acamera_control_awb_mode = 8; -pub type acamera_metadata_enum_acamera_control_awb_mode = u32; +pub type acamera_metadata_enum_acamera_control_awb_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_mode as acamera_metadata_enum_android_control_awb_mode_t; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_CUSTOM : acamera_metadata_enum_acamera_control_capture_intent = 0 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_PREVIEW : acamera_metadata_enum_acamera_control_capture_intent = 1 ; @@ -20361,7 +20615,7 @@ pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_C pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_control_capture_intent = 5 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MANUAL : acamera_metadata_enum_acamera_control_capture_intent = 6 ; pub const acamera_metadata_enum_acamera_control_capture_intent_ACAMERA_CONTROL_CAPTURE_INTENT_MOTION_TRACKING : acamera_metadata_enum_acamera_control_capture_intent = 7 ; -pub type acamera_metadata_enum_acamera_control_capture_intent = u32; +pub type acamera_metadata_enum_acamera_control_capture_intent = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_capture_intent as acamera_metadata_enum_android_control_capture_intent_t; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_OFF: acamera_metadata_enum_acamera_control_effect_mode = 0; @@ -20378,7 +20632,7 @@ pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFE pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_BLACKBOARD : acamera_metadata_enum_acamera_control_effect_mode = 7 ; pub const acamera_metadata_enum_acamera_control_effect_mode_ACAMERA_CONTROL_EFFECT_MODE_AQUA: acamera_metadata_enum_acamera_control_effect_mode = 8; -pub type acamera_metadata_enum_acamera_control_effect_mode = u32; +pub type acamera_metadata_enum_acamera_control_effect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_effect_mode as acamera_metadata_enum_android_control_effect_mode_t; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF: acamera_metadata_enum_acamera_control_mode = 0; @@ -20388,7 +20642,8 @@ pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_SC acamera_metadata_enum_acamera_control_mode = 2; pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_OFF_KEEP_STATE: acamera_metadata_enum_acamera_control_mode = 3; -pub type acamera_metadata_enum_acamera_control_mode = u32; +pub const acamera_metadata_enum_acamera_control_mode_ACAMERA_CONTROL_MODE_USE_EXTENDED_SCENE_MODE : acamera_metadata_enum_acamera_control_mode = 4 ; +pub type acamera_metadata_enum_acamera_control_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_mode as acamera_metadata_enum_android_control_mode_t; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_DISABLED: acamera_metadata_enum_acamera_control_scene_mode = 0; @@ -20422,11 +20677,11 @@ pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE acamera_metadata_enum_acamera_control_scene_mode = 16; pub const acamera_metadata_enum_acamera_control_scene_mode_ACAMERA_CONTROL_SCENE_MODE_HDR: acamera_metadata_enum_acamera_control_scene_mode = 18; -pub type acamera_metadata_enum_acamera_control_scene_mode = u32; +pub type acamera_metadata_enum_acamera_control_scene_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_scene_mode as acamera_metadata_enum_android_control_scene_mode_t; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_control_video_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_control_video_stabilization_mode_ACAMERA_CONTROL_VIDEO_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_control_video_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_control_video_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_video_stabilization_mode as acamera_metadata_enum_android_control_video_stabilization_mode_t; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_INACTIVE: acamera_metadata_enum_acamera_control_ae_state = 0; @@ -20440,7 +20695,7 @@ pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STAT acamera_metadata_enum_acamera_control_ae_state = 4; pub const acamera_metadata_enum_acamera_control_ae_state_ACAMERA_CONTROL_AE_STATE_PRECAPTURE: acamera_metadata_enum_acamera_control_ae_state = 5; -pub type acamera_metadata_enum_acamera_control_ae_state = u32; +pub type acamera_metadata_enum_acamera_control_ae_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_state as acamera_metadata_enum_android_control_ae_state_t; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_INACTIVE: acamera_metadata_enum_acamera_control_af_state = 0; @@ -20453,7 +20708,7 @@ pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STAT acamera_metadata_enum_acamera_control_af_state = 4; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_NOT_FOCUSED_LOCKED : acamera_metadata_enum_acamera_control_af_state = 5 ; pub const acamera_metadata_enum_acamera_control_af_state_ACAMERA_CONTROL_AF_STATE_PASSIVE_UNFOCUSED : acamera_metadata_enum_acamera_control_af_state = 6 ; -pub type acamera_metadata_enum_acamera_control_af_state = u32; +pub type acamera_metadata_enum_acamera_control_af_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_state as acamera_metadata_enum_android_control_af_state_t; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_INACTIVE: acamera_metadata_enum_acamera_control_awb_state = 0; @@ -20463,33 +20718,31 @@ pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_ST acamera_metadata_enum_acamera_control_awb_state = 2; pub const acamera_metadata_enum_acamera_control_awb_state_ACAMERA_CONTROL_AWB_STATE_LOCKED: acamera_metadata_enum_acamera_control_awb_state = 3; -pub type acamera_metadata_enum_acamera_control_awb_state = u32; +pub type acamera_metadata_enum_acamera_control_awb_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_state as acamera_metadata_enum_android_control_awb_state_t; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_ae_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_ae_lock_available_ACAMERA_CONTROL_AE_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_ae_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_ae_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_ae_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_ae_lock_available as acamera_metadata_enum_android_control_ae_lock_available_t; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_FALSE : acamera_metadata_enum_acamera_control_awb_lock_available = 0 ; pub const acamera_metadata_enum_acamera_control_awb_lock_available_ACAMERA_CONTROL_AWB_LOCK_AVAILABLE_TRUE : acamera_metadata_enum_acamera_control_awb_lock_available = 1 ; -pub type acamera_metadata_enum_acamera_control_awb_lock_available = u32; +pub type acamera_metadata_enum_acamera_control_awb_lock_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_awb_lock_available as acamera_metadata_enum_android_control_awb_lock_available_t; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_FALSE: acamera_metadata_enum_acamera_control_enable_zsl = 0; pub const acamera_metadata_enum_acamera_control_enable_zsl_ACAMERA_CONTROL_ENABLE_ZSL_TRUE: acamera_metadata_enum_acamera_control_enable_zsl = 1; -pub type acamera_metadata_enum_acamera_control_enable_zsl = u32; +pub type acamera_metadata_enum_acamera_control_enable_zsl = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_enable_zsl as acamera_metadata_enum_android_control_enable_zsl_t; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 0 ; pub const acamera_metadata_enum_acamera_control_af_scene_change_ACAMERA_CONTROL_AF_SCENE_CHANGE_DETECTED : acamera_metadata_enum_acamera_control_af_scene_change = 1 ; -pub type acamera_metadata_enum_acamera_control_af_scene_change = u32; +pub type acamera_metadata_enum_acamera_control_af_scene_change = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_control_af_scene_change as acamera_metadata_enum_android_control_af_scene_change_t; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_OFF: - acamera_metadata_enum_acamera_control_bokeh_mode = 0; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_STILL_CAPTURE : acamera_metadata_enum_acamera_control_bokeh_mode = 1 ; -pub const acamera_metadata_enum_acamera_control_bokeh_mode_ACAMERA_CONTROL_BOKEH_MODE_CONTINUOUS: - acamera_metadata_enum_acamera_control_bokeh_mode = 2; -pub type acamera_metadata_enum_acamera_control_bokeh_mode = u32; -pub use self::acamera_metadata_enum_acamera_control_bokeh_mode as acamera_metadata_enum_android_control_bokeh_mode_t; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_DISABLED : acamera_metadata_enum_acamera_control_extended_scene_mode = 0 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_STILL_CAPTURE : acamera_metadata_enum_acamera_control_extended_scene_mode = 1 ; +pub const acamera_metadata_enum_acamera_control_extended_scene_mode_ACAMERA_CONTROL_EXTENDED_SCENE_MODE_BOKEH_CONTINUOUS : acamera_metadata_enum_acamera_control_extended_scene_mode = 2 ; +pub type acamera_metadata_enum_acamera_control_extended_scene_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_control_extended_scene_mode as acamera_metadata_enum_android_control_extended_scene_mode_t; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_OFF: acamera_metadata_enum_acamera_edge_mode = 0; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_FAST: @@ -20498,7 +20751,7 @@ pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_HIGH_QUALITY acamera_metadata_enum_acamera_edge_mode = 2; pub const acamera_metadata_enum_acamera_edge_mode_ACAMERA_EDGE_MODE_ZERO_SHUTTER_LAG: acamera_metadata_enum_acamera_edge_mode = 3; -pub type acamera_metadata_enum_acamera_edge_mode = u32; +pub type acamera_metadata_enum_acamera_edge_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_edge_mode as acamera_metadata_enum_android_edge_mode_t; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_OFF: acamera_metadata_enum_acamera_flash_mode = 0; @@ -20506,7 +20759,7 @@ pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_SINGLE: acamera_metadata_enum_acamera_flash_mode = 1; pub const acamera_metadata_enum_acamera_flash_mode_ACAMERA_FLASH_MODE_TORCH: acamera_metadata_enum_acamera_flash_mode = 2; -pub type acamera_metadata_enum_acamera_flash_mode = u32; +pub type acamera_metadata_enum_acamera_flash_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_mode as acamera_metadata_enum_android_flash_mode_t; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_UNAVAILABLE: acamera_metadata_enum_acamera_flash_state = 0; @@ -20518,13 +20771,13 @@ pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_FIRED: acamera_metadata_enum_acamera_flash_state = 3; pub const acamera_metadata_enum_acamera_flash_state_ACAMERA_FLASH_STATE_PARTIAL: acamera_metadata_enum_acamera_flash_state = 4; -pub type acamera_metadata_enum_acamera_flash_state = u32; +pub type acamera_metadata_enum_acamera_flash_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_state as acamera_metadata_enum_android_flash_state_t; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_FALSE: acamera_metadata_enum_acamera_flash_info_available = 0; pub const acamera_metadata_enum_acamera_flash_info_available_ACAMERA_FLASH_INFO_AVAILABLE_TRUE: acamera_metadata_enum_acamera_flash_info_available = 1; -pub type acamera_metadata_enum_acamera_flash_info_available = u32; +pub type acamera_metadata_enum_acamera_flash_info_available = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_flash_info_available as acamera_metadata_enum_android_flash_info_available_t; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_OFF: acamera_metadata_enum_acamera_hot_pixel_mode = 0; @@ -20532,11 +20785,11 @@ pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_FA acamera_metadata_enum_acamera_hot_pixel_mode = 1; pub const acamera_metadata_enum_acamera_hot_pixel_mode_ACAMERA_HOT_PIXEL_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_hot_pixel_mode = 2; -pub type acamera_metadata_enum_acamera_hot_pixel_mode = u32; +pub type acamera_metadata_enum_acamera_hot_pixel_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_hot_pixel_mode as acamera_metadata_enum_android_hot_pixel_mode_t; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_OFF : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 0 ; pub const acamera_metadata_enum_acamera_lens_optical_stabilization_mode_ACAMERA_LENS_OPTICAL_STABILIZATION_MODE_ON : acamera_metadata_enum_acamera_lens_optical_stabilization_mode = 1 ; -pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = u32; +pub type acamera_metadata_enum_acamera_lens_optical_stabilization_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_optical_stabilization_mode as acamera_metadata_enum_android_lens_optical_stabilization_mode_t; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_FRONT: acamera_metadata_enum_acamera_lens_facing = 0; @@ -20544,23 +20797,24 @@ pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_BACK: acamera_metadata_enum_acamera_lens_facing = 1; pub const acamera_metadata_enum_acamera_lens_facing_ACAMERA_LENS_FACING_EXTERNAL: acamera_metadata_enum_acamera_lens_facing = 2; -pub type acamera_metadata_enum_acamera_lens_facing = u32; +pub type acamera_metadata_enum_acamera_lens_facing = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_facing as acamera_metadata_enum_android_lens_facing_t; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_STATIONARY: acamera_metadata_enum_acamera_lens_state = 0; pub const acamera_metadata_enum_acamera_lens_state_ACAMERA_LENS_STATE_MOVING: acamera_metadata_enum_acamera_lens_state = 1; -pub type acamera_metadata_enum_acamera_lens_state = u32; +pub type acamera_metadata_enum_acamera_lens_state = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_state as acamera_metadata_enum_android_lens_state_t; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_PRIMARY_CAMERA : acamera_metadata_enum_acamera_lens_pose_reference = 0 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_GYROSCOPE : acamera_metadata_enum_acamera_lens_pose_reference = 1 ; pub const acamera_metadata_enum_acamera_lens_pose_reference_ACAMERA_LENS_POSE_REFERENCE_UNDEFINED : acamera_metadata_enum_acamera_lens_pose_reference = 2 ; -pub type acamera_metadata_enum_acamera_lens_pose_reference = u32; +pub type acamera_metadata_enum_acamera_lens_pose_reference = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_pose_reference as acamera_metadata_enum_android_lens_pose_reference_t; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 0 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_APPROXIMATE : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 1 ; pub const acamera_metadata_enum_acamera_lens_info_focus_distance_calibration_ACAMERA_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_CALIBRATED : acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = 2 ; -pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = u32; +pub type acamera_metadata_enum_acamera_lens_info_focus_distance_calibration = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_lens_info_focus_distance_calibration as acamera_metadata_enum_android_lens_info_focus_distance_calibration_t; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_OFF: acamera_metadata_enum_acamera_noise_reduction_mode = 0; @@ -20569,7 +20823,7 @@ pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUC pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_noise_reduction_mode = 2 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_MINIMAL : acamera_metadata_enum_acamera_noise_reduction_mode = 3 ; pub const acamera_metadata_enum_acamera_noise_reduction_mode_ACAMERA_NOISE_REDUCTION_MODE_ZERO_SHUTTER_LAG : acamera_metadata_enum_acamera_noise_reduction_mode = 4 ; -pub type acamera_metadata_enum_acamera_noise_reduction_mode = u32; +pub type acamera_metadata_enum_acamera_noise_reduction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_noise_reduction_mode as acamera_metadata_enum_android_noise_reduction_mode_t; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE : acamera_metadata_enum_acamera_request_available_capabilities = 0 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 1 ; @@ -20583,15 +20837,17 @@ pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_R pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_MONOCHROME : acamera_metadata_enum_acamera_request_available_capabilities = 12 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SECURE_IMAGE_DATA : acamera_metadata_enum_acamera_request_available_capabilities = 13 ; pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA : acamera_metadata_enum_acamera_request_available_capabilities = 14 ; -pub type acamera_metadata_enum_acamera_request_available_capabilities = u32; +pub const acamera_metadata_enum_acamera_request_available_capabilities_ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_ULTRA_HIGH_RESOLUTION_SENSOR : acamera_metadata_enum_acamera_request_available_capabilities = 16 ; +pub type acamera_metadata_enum_acamera_request_available_capabilities = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_request_available_capabilities as acamera_metadata_enum_android_request_available_capabilities_t; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations as acamera_metadata_enum_android_scaler_available_stream_configurations_t; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_CENTER_ONLY : acamera_metadata_enum_acamera_scaler_cropping_type = 0 ; pub const acamera_metadata_enum_acamera_scaler_cropping_type_ACAMERA_SCALER_CROPPING_TYPE_FREEFORM : acamera_metadata_enum_acamera_scaler_cropping_type = 1 ; -pub type acamera_metadata_enum_acamera_scaler_cropping_type = u32; +pub type acamera_metadata_enum_acamera_scaler_cropping_type = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_cropping_type as acamera_metadata_enum_android_scaler_cropping_type_t; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PREVIEW : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_RECORD : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 1 ; @@ -20602,8 +20858,32 @@ pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_conf pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_LOW_LATENCY_SNAPSHOT : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 6 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_PUBLIC_END : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 7 ; pub const acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations_ACAMERA_SCALER_AVAILABLE_RECOMMENDED_STREAM_CONFIGURATIONS_VENDOR_START : acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = 24 ; -pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_scaler_available_recommended_stream_configurations as acamera_metadata_enum_android_scaler_available_recommended_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_NONE : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 0 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_90: + acamera_metadata_enum_acamera_scaler_rotate_and_crop = 1; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_180 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 2 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_270 : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 3 ; +pub const acamera_metadata_enum_acamera_scaler_rotate_and_crop_ACAMERA_SCALER_ROTATE_AND_CROP_AUTO : acamera_metadata_enum_acamera_scaler_rotate_and_crop = 4 ; +pub type acamera_metadata_enum_acamera_scaler_rotate_and_crop = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_rotate_and_crop as acamera_metadata_enum_android_scaler_rotate_and_crop_t; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 0 ; +pub const acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations_ACAMERA_SCALER_PHYSICAL_CAMERA_MULTI_RESOLUTION_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = 1 ; +pub type acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_physical_camera_multi_resolution_stream_configurations as acamera_metadata_enum_android_scaler_physical_camera_multi_resolution_stream_configurations_t; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution_ACAMERA_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_available_stream_configurations_maximum_resolution as acamera_metadata_enum_android_scaler_available_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_FALSE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 0 ; +pub const acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported_ACAMERA_SCALER_MULTI_RESOLUTION_STREAM_SUPPORTED_TRUE : acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = 1 ; +pub type acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_scaler_multi_resolution_stream_supported as acamera_metadata_enum_android_scaler_multi_resolution_stream_supported_t; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_DAYLIGHT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 1 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_FLUORESCENT : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 2 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 3 ; @@ -20623,7 +20903,7 @@ pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SEN pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D75 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 22 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_D50 : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 23 ; pub const acamera_metadata_enum_acamera_sensor_reference_illuminant1_ACAMERA_SENSOR_REFERENCE_ILLUMINANT1_ISO_STUDIO_TUNGSTEN : acamera_metadata_enum_acamera_sensor_reference_illuminant1 = 24 ; -pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = u32; +pub type acamera_metadata_enum_acamera_sensor_reference_illuminant1 = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_reference_illuminant1 as acamera_metadata_enum_android_sensor_reference_illuminant1_t; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_OFF : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 0 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_SOLID_COLOR : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 1 ; @@ -20631,8 +20911,17 @@ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_ pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_COLOR_BARS_FADE_TO_GRAY : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 3 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_PN9 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 4 ; pub const acamera_metadata_enum_acamera_sensor_test_pattern_mode_ACAMERA_SENSOR_TEST_PATTERN_MODE_CUSTOM1 : acamera_metadata_enum_acamera_sensor_test_pattern_mode = 256 ; -pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = u32; +pub type acamera_metadata_enum_acamera_sensor_test_pattern_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_test_pattern_mode as acamera_metadata_enum_android_sensor_test_pattern_mode_t; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_DEFAULT: + acamera_metadata_enum_acamera_sensor_pixel_mode = 0; +pub const acamera_metadata_enum_acamera_sensor_pixel_mode_ACAMERA_SENSOR_PIXEL_MODE_MAXIMUM_RESOLUTION : acamera_metadata_enum_acamera_sensor_pixel_mode = 1 ; +pub type acamera_metadata_enum_acamera_sensor_pixel_mode = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_pixel_mode as acamera_metadata_enum_android_sensor_pixel_mode_t; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_TRUE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 0 ; +pub const acamera_metadata_enum_acamera_sensor_raw_binning_factor_used_ACAMERA_SENSOR_RAW_BINNING_FACTOR_USED_FALSE : acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = 1 ; +pub type acamera_metadata_enum_acamera_sensor_raw_binning_factor_used = ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_sensor_raw_binning_factor_used as acamera_metadata_enum_android_sensor_raw_binning_factor_used_t; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GRBG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 1 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_GBRG : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 2 ; @@ -20640,15 +20929,16 @@ pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACA pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_RGB : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 4 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_MONO : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 5 ; pub const acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement_ACAMERA_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT_NIR : acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = 6 ; -pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = u32; +pub type acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_color_filter_arrangement as acamera_metadata_enum_android_sensor_info_color_filter_arrangement_t; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_timestamp_source_ACAMERA_SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME : acamera_metadata_enum_acamera_sensor_info_timestamp_source = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = u32; +pub type acamera_metadata_enum_acamera_sensor_info_timestamp_source = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_timestamp_source as acamera_metadata_enum_android_sensor_info_timestamp_source_t; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_FALSE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 0 ; pub const acamera_metadata_enum_acamera_sensor_info_lens_shading_applied_ACAMERA_SENSOR_INFO_LENS_SHADING_APPLIED_TRUE : acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = 1 ; -pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = u32; +pub type acamera_metadata_enum_acamera_sensor_info_lens_shading_applied = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_sensor_info_lens_shading_applied as acamera_metadata_enum_android_sensor_info_lens_shading_applied_t; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_OFF: acamera_metadata_enum_acamera_shading_mode = 0; @@ -20656,29 +20946,29 @@ pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_FAST: acamera_metadata_enum_acamera_shading_mode = 1; pub const acamera_metadata_enum_acamera_shading_mode_ACAMERA_SHADING_MODE_HIGH_QUALITY: acamera_metadata_enum_acamera_shading_mode = 2; -pub type acamera_metadata_enum_acamera_shading_mode = u32; +pub type acamera_metadata_enum_acamera_shading_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_shading_mode as acamera_metadata_enum_android_shading_mode_t; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_OFF : acamera_metadata_enum_acamera_statistics_face_detect_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_SIMPLE : acamera_metadata_enum_acamera_statistics_face_detect_mode = 1 ; pub const acamera_metadata_enum_acamera_statistics_face_detect_mode_ACAMERA_STATISTICS_FACE_DETECT_MODE_FULL : acamera_metadata_enum_acamera_statistics_face_detect_mode = 2 ; -pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_face_detect_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_face_detect_mode as acamera_metadata_enum_android_statistics_face_detect_mode_t; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode_ACAMERA_STATISTICS_HOT_PIXEL_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_hot_pixel_map_mode as acamera_metadata_enum_android_statistics_hot_pixel_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_NONE : acamera_metadata_enum_acamera_statistics_scene_flicker = 0 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_50HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 1 ; pub const acamera_metadata_enum_acamera_statistics_scene_flicker_ACAMERA_STATISTICS_SCENE_FLICKER_60HZ : acamera_metadata_enum_acamera_statistics_scene_flicker = 2 ; -pub type acamera_metadata_enum_acamera_statistics_scene_flicker = u32; +pub type acamera_metadata_enum_acamera_statistics_scene_flicker = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_scene_flicker as acamera_metadata_enum_android_statistics_scene_flicker_t; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_OFF : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_lens_shading_map_mode_ACAMERA_STATISTICS_LENS_SHADING_MAP_MODE_ON : acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_lens_shading_map_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_lens_shading_map_mode as acamera_metadata_enum_android_statistics_lens_shading_map_mode_t; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_OFF : acamera_metadata_enum_acamera_statistics_ois_data_mode = 0 ; pub const acamera_metadata_enum_acamera_statistics_ois_data_mode_ACAMERA_STATISTICS_OIS_DATA_MODE_ON : acamera_metadata_enum_acamera_statistics_ois_data_mode = 1 ; -pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = u32; +pub type acamera_metadata_enum_acamera_statistics_ois_data_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_statistics_ois_data_mode as acamera_metadata_enum_android_statistics_ois_data_mode_t; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_CONTRAST_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 0; @@ -20690,76 +20980,95 @@ pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_GAMMA_ acamera_metadata_enum_acamera_tonemap_mode = 3; pub const acamera_metadata_enum_acamera_tonemap_mode_ACAMERA_TONEMAP_MODE_PRESET_CURVE: acamera_metadata_enum_acamera_tonemap_mode = 4; -pub type acamera_metadata_enum_acamera_tonemap_mode = u32; +pub type acamera_metadata_enum_acamera_tonemap_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_mode as acamera_metadata_enum_android_tonemap_mode_t; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_SRGB: acamera_metadata_enum_acamera_tonemap_preset_curve = 0; pub const acamera_metadata_enum_acamera_tonemap_preset_curve_ACAMERA_TONEMAP_PRESET_CURVE_REC709: acamera_metadata_enum_acamera_tonemap_preset_curve = 1; -pub type acamera_metadata_enum_acamera_tonemap_preset_curve = u32; +pub type acamera_metadata_enum_acamera_tonemap_preset_curve = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_tonemap_preset_curve as acamera_metadata_enum_android_tonemap_preset_curve_t; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED : acamera_metadata_enum_acamera_info_supported_hardware_level = 0 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_FULL : acamera_metadata_enum_acamera_info_supported_hardware_level = 1 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY : acamera_metadata_enum_acamera_info_supported_hardware_level = 2 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_3 : acamera_metadata_enum_acamera_info_supported_hardware_level = 3 ; pub const acamera_metadata_enum_acamera_info_supported_hardware_level_ACAMERA_INFO_SUPPORTED_HARDWARE_LEVEL_EXTERNAL : acamera_metadata_enum_acamera_info_supported_hardware_level = 4 ; -pub type acamera_metadata_enum_acamera_info_supported_hardware_level = u32; +pub type acamera_metadata_enum_acamera_info_supported_hardware_level = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_info_supported_hardware_level as acamera_metadata_enum_android_info_supported_hardware_level_t; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_OFF: acamera_metadata_enum_acamera_black_level_lock = 0; pub const acamera_metadata_enum_acamera_black_level_lock_ACAMERA_BLACK_LEVEL_LOCK_ON: acamera_metadata_enum_acamera_black_level_lock = 1; -pub type acamera_metadata_enum_acamera_black_level_lock = u32; +pub type acamera_metadata_enum_acamera_black_level_lock = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_black_level_lock as acamera_metadata_enum_android_black_level_lock_t; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_CONVERGING: acamera_metadata_enum_acamera_sync_frame_number = -1; pub const acamera_metadata_enum_acamera_sync_frame_number_ACAMERA_SYNC_FRAME_NUMBER_UNKNOWN: acamera_metadata_enum_acamera_sync_frame_number = -2; -pub type acamera_metadata_enum_acamera_sync_frame_number = i32; +pub type acamera_metadata_enum_acamera_sync_frame_number = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_frame_number as acamera_metadata_enum_android_sync_frame_number_t; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_PER_FRAME_CONTROL : acamera_metadata_enum_acamera_sync_max_latency = 0 ; pub const acamera_metadata_enum_acamera_sync_max_latency_ACAMERA_SYNC_MAX_LATENCY_UNKNOWN: acamera_metadata_enum_acamera_sync_max_latency = -1; -pub type acamera_metadata_enum_acamera_sync_max_latency = i32; +pub type acamera_metadata_enum_acamera_sync_max_latency = ::std::os::raw::c_int; pub use self::acamera_metadata_enum_acamera_sync_max_latency as acamera_metadata_enum_android_sync_max_latency_t; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations as acamera_metadata_enum_android_depth_available_depth_stream_configurations_t; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_FALSE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 0 ; pub const acamera_metadata_enum_acamera_depth_depth_is_exclusive_ACAMERA_DEPTH_DEPTH_IS_EXCLUSIVE_TRUE : acamera_metadata_enum_acamera_depth_depth_is_exclusive = 1 ; -pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = u32; +pub type acamera_metadata_enum_acamera_depth_depth_is_exclusive = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_depth_is_exclusive as acamera_metadata_enum_android_depth_depth_is_exclusive_t; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_t; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_depth_stream_configurations_maximum_resolution_t; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution_ACAMERA_DEPTH_AVAILABLE_DYNAMIC_DEPTH_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_depth_available_dynamic_depth_stream_configurations_maximum_resolution as acamera_metadata_enum_android_depth_available_dynamic_depth_stream_configurations_maximum_resolution_t; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_APPROXIMATE : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 0 ; pub const acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type_ACAMERA_LOGICAL_MULTI_CAMERA_SENSOR_SYNC_TYPE_CALIBRATED : acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = 1 ; -pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = u32; +pub type acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_logical_multi_camera_sensor_sync_type as acamera_metadata_enum_android_logical_multi_camera_sensor_sync_type_t; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_OFF : acamera_metadata_enum_acamera_distortion_correction_mode = 0 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_FAST : acamera_metadata_enum_acamera_distortion_correction_mode = 1 ; pub const acamera_metadata_enum_acamera_distortion_correction_mode_ACAMERA_DISTORTION_CORRECTION_MODE_HIGH_QUALITY : acamera_metadata_enum_acamera_distortion_correction_mode = 2 ; -pub type acamera_metadata_enum_acamera_distortion_correction_mode = u32; +pub type acamera_metadata_enum_acamera_distortion_correction_mode = ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_distortion_correction_mode as acamera_metadata_enum_android_distortion_correction_mode_t; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 0 ; pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = 1 ; -pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = u32; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations = + ::std::os::raw::c_uint; pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations as acamera_metadata_enum_android_heic_available_heic_stream_configurations_t; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_OUTPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 0 ; +pub const acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution_ACAMERA_HEIC_AVAILABLE_HEIC_STREAM_CONFIGURATIONS_MAXIMUM_RESOLUTION_INPUT : acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = 1 ; +pub type acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution = + ::std::os::raw::c_uint; +pub use self::acamera_metadata_enum_acamera_heic_available_heic_stream_configurations_maximum_resolution as acamera_metadata_enum_android_heic_available_heic_stream_configurations_maximum_resolution_t; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_54 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_54 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_54 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_54 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_54 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_54 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_54 = 6; -pub type _bindgen_ty_54 = u32; +pub const ACAMERA_TYPE_BYTE: ::std::os::raw::c_uint = 0; +pub const ACAMERA_TYPE_INT32: ::std::os::raw::c_uint = 1; +pub const ACAMERA_TYPE_FLOAT: ::std::os::raw::c_uint = 2; +pub const ACAMERA_TYPE_INT64: ::std::os::raw::c_uint = 3; +pub const ACAMERA_TYPE_DOUBLE: ::std::os::raw::c_uint = 4; +pub const ACAMERA_TYPE_RATIONAL: ::std::os::raw::c_uint = 5; +pub const ACAMERA_NUM_TYPES: ::std::os::raw::c_uint = 6; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -20814,13 +21123,12 @@ pub struct ACameraMetadata_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_entry__bindgen_ty_1 { - pub u8: *mut u8, - pub i32: *mut i32, + pub u8_: *mut u8, + pub i32_: *mut i32, pub f: *mut f32, - pub i64: *mut i64, + pub i64_: *mut i64, pub d: *mut f64, pub r: *mut ACameraMetadata_rational, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { @@ -20839,26 +21147,27 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ as usize + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ as usize + &(*(::std::ptr::null::())).i32_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -20875,14 +21184,15 @@ fn bindgen_test_layout_ACameraMetadata_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ as usize + &(*(::std::ptr::null::())).i64_ as *const _ + as usize }, 0usize, concat!( "Offset of field: ", stringify!(ACameraMetadata_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -20974,13 +21284,12 @@ pub struct ACameraMetadata_const_entry { #[repr(C)] #[derive(Copy, Clone)] pub union ACameraMetadata_const_entry__bindgen_ty_1 { - pub u8: *const u8, - pub i32: *const i32, + pub u8_: *const u8, + pub i32_: *const i32, pub f: *const f32, - pub i64: *const i64, + pub i64_: *const i64, pub d: *const f64, pub r: *const ACameraMetadata_rational, - _bindgen_union_align: u64, } #[test] fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { @@ -21002,7 +21311,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).u8 as *const _ + &(*(::std::ptr::null::())).u8_ as *const _ as usize }, 0usize, @@ -21010,12 +21319,12 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(u8) + stringify!(u8_) ) ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i32 as *const _ + &(*(::std::ptr::null::())).i32_ as *const _ as usize }, 0usize, @@ -21023,7 +21332,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i32) + stringify!(i32_) ) ); assert_eq!( @@ -21041,7 +21350,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { ); assert_eq!( unsafe { - &(*(::std::ptr::null::())).i64 as *const _ + &(*(::std::ptr::null::())).i64_ as *const _ as usize }, 0usize, @@ -21049,7 +21358,7 @@ fn bindgen_test_layout_ACameraMetadata_const_entry__bindgen_ty_1() { "Offset of field: ", stringify!(ACameraMetadata_const_entry__bindgen_ty_1), "::", - stringify!(i64) + stringify!(i64_) ) ); assert_eq!( @@ -21437,9 +21746,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_55 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_55 = 1; -pub type _bindgen_ty_55 = u32; +pub const CAPTURE_FAILURE_REASON_FLUSHED: ::std::os::raw::c_uint = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: ::std::os::raw::c_uint = 1; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -21690,8 +21999,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_56 = -1; -pub type _bindgen_ty_56 = i32; +pub const CAPTURE_SEQUENCE_ID_NONE: ::std::os::raw::c_int = -1; +pub type _bindgen_ty_55 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -22001,12 +22310,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_57 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_57 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_57 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_57 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_57 = 5; -pub type _bindgen_ty_57 = u32; +pub const ERROR_CAMERA_IN_USE: ::std::os::raw::c_uint = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: ::std::os::raw::c_uint = 2; +pub const ERROR_CAMERA_DISABLED: ::std::os::raw::c_uint = 3; +pub const ERROR_CAMERA_DEVICE: ::std::os::raw::c_uint = 4; +pub const ERROR_CAMERA_SERVICE: ::std::os::raw::c_uint = 5; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type ACameraDevice_StateCallback = ::std::option::Option< unsafe extern "C" fn(context: *mut ::std::os::raw::c_void, device: *mut ACameraDevice), >; @@ -22089,7 +22398,7 @@ pub const ACameraDevice_request_template_TEMPLATE_VIDEO_SNAPSHOT: ACameraDevice_ pub const ACameraDevice_request_template_TEMPLATE_ZERO_SHUTTER_LAG: ACameraDevice_request_template = 5; pub const ACameraDevice_request_template_TEMPLATE_MANUAL: ACameraDevice_request_template = 6; -pub type ACameraDevice_request_template = u32; +pub type ACameraDevice_request_template = ::std::os::raw::c_uint; extern "C" { pub fn ACameraDevice_createCaptureRequest( device: *const ACameraDevice, @@ -22447,7 +22756,7 @@ pub const media_status_t_AMEDIA_IMGREADER_MAX_IMAGES_ACQUIRED: media_status_t = pub const media_status_t_AMEDIA_IMGREADER_CANNOT_LOCK_IMAGE: media_status_t = -30003; pub const media_status_t_AMEDIA_IMGREADER_CANNOT_UNLOCK_IMAGE: media_status_t = -30004; pub const media_status_t_AMEDIA_IMGREADER_IMAGE_NOT_LOCKED: media_status_t = -30005; -pub type media_status_t = i32; +pub type media_status_t = ::std::os::raw::c_int; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImage { @@ -22470,7 +22779,7 @@ pub const AIMAGE_FORMATS_AIMAGE_FORMAT_PRIVATE: AIMAGE_FORMATS = 34; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_Y8: AIMAGE_FORMATS = 538982489; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_HEIC: AIMAGE_FORMATS = 1212500294; pub const AIMAGE_FORMATS_AIMAGE_FORMAT_DEPTH_JPEG: AIMAGE_FORMATS = 1768253795; -pub type AIMAGE_FORMATS = u32; +pub type AIMAGE_FORMATS = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct AImageCropRect {