diff --git a/ndk-sys/CHANGELOG.md b/ndk-sys/CHANGELOG.md index 799b65ac..a67f7646 100644 --- a/ndk-sys/CHANGELOG.md +++ b/ndk-sys/CHANGELOG.md @@ -3,6 +3,7 @@ # 0.5.0-beta.0 (2023-08-15) - **Breaking:** Regenerate against NDK `25.2.9519653` with `rust-bindgen 0.66.0`. (#324, #370) +- Add `font`, `font_matcher`, `system_fonts` bindings. (#397) # 0.4.1 (2022-11-23) diff --git a/ndk-sys/generate_bindings.sh b/ndk-sys/generate_bindings.sh index 9f81e760..880bc45b 100755 --- a/ndk-sys/generate_bindings.sh +++ b/ndk-sys/generate_bindings.sh @@ -1,6 +1,16 @@ #!/bin/sh -sysroot="${ANDROID_NDK_ROOT}"/toolchains/llvm/prebuilt/linux-x86_64/sysroot/ +os=$(uname -s) + +if [[ "$os" == "Darwin" ]]; then + host_tag="darwin-x86_64" +elif [[ "$os" == "CYGWIN"* ]]; then + host_tag="windows-x86_64" +else + host_tag="linux-x86_64" +fi + +sysroot="${ANDROID_NDK_ROOT}"/toolchains/llvm/prebuilt/${host_tag}/sysroot/ [ ! -d "$sysroot" ] && echo "Android sysroot $sysroot does not exist!" && exit 1 while read ARCH && read TARGET ; do diff --git a/ndk-sys/src/ffi_aarch64.rs b/ndk-sys/src/ffi_aarch64.rs index 1b2dc65b..e527c0ee 100644 --- a/ndk-sys/src/ffi_aarch64.rs +++ b/ndk-sys/src/ffi_aarch64.rs @@ -2920,6 +2920,86 @@ extern "C" { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct AFont { + _unused: [u8; 0], +} +pub const AFONT_WEIGHT_MIN: _bindgen_ty_7 = 0; +pub const AFONT_WEIGHT_THIN: _bindgen_ty_7 = 100; +pub const AFONT_WEIGHT_EXTRA_LIGHT: _bindgen_ty_7 = 200; +pub const AFONT_WEIGHT_LIGHT: _bindgen_ty_7 = 300; +pub const AFONT_WEIGHT_NORMAL: _bindgen_ty_7 = 400; +pub const AFONT_WEIGHT_MEDIUM: _bindgen_ty_7 = 500; +pub const AFONT_WEIGHT_SEMI_BOLD: _bindgen_ty_7 = 600; +pub const AFONT_WEIGHT_BOLD: _bindgen_ty_7 = 700; +pub const AFONT_WEIGHT_EXTRA_BOLD: _bindgen_ty_7 = 800; +pub const AFONT_WEIGHT_BLACK: _bindgen_ty_7 = 900; +pub const AFONT_WEIGHT_MAX: _bindgen_ty_7 = 1000; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFont_close(font: *mut AFont); +} +extern "C" { + pub fn AFont_getFontFilePath(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getWeight(font: *const AFont) -> u16; +} +extern "C" { + pub fn AFont_isItalic(font: *const AFont) -> bool; +} +extern "C" { + pub fn AFont_getLocale(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getCollectionIndex(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisCount(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisTag(font: *const AFont, axisIndex: u32) -> u32; +} +extern "C" { + pub fn AFont_getAxisValue(font: *const AFont, axisIndex: u32) -> f32; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct AFontMatcher { + _unused: [u8; 0], +} +pub const AFAMILY_VARIANT_DEFAULT: _bindgen_ty_8 = 0; +pub const AFAMILY_VARIANT_COMPACT: _bindgen_ty_8 = 1; +pub const AFAMILY_VARIANT_ELEGANT: _bindgen_ty_8 = 2; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFontMatcher_create() -> *mut AFontMatcher; +} +extern "C" { + pub fn AFontMatcher_destroy(matcher: *mut AFontMatcher); +} +extern "C" { + pub fn AFontMatcher_setStyle(matcher: *mut AFontMatcher, weight: u16, italic: bool); +} +extern "C" { + pub fn AFontMatcher_setLocales( + matcher: *mut AFontMatcher, + languageTags: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AFontMatcher_setFamilyVariant(matcher: *mut AFontMatcher, familyVariant: u32); +} +extern "C" { + pub fn AFontMatcher_match( + matcher: *const AFontMatcher, + familyName: *const ::std::os::raw::c_char, + text: *const u16, + textLength: u32, + runLengthOut: *mut u32, + ) -> *mut AFont; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct ARect { pub left: i32, pub top: i32, @@ -3666,19 +3746,19 @@ fn bindgen_test_layout_AHdrMetadata_cta861_3() { ) ); } -pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_7 = 0; -pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_7 = -1; -pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_7 = -2; -pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_7 = -3; -pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_7 = -4; -pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_7 = -5; -pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_7 = -6; -pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_7 = -7; -pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_7 = -8; -pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_7 = -9; -pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_7 = -10; -pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_7 = -11; -pub type _bindgen_ty_7 = ::std::os::raw::c_int; +pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_9 = 0; +pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_9 = -1; +pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_9 = -2; +pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_9 = -3; +pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_9 = -4; +pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_9 = -5; +pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_9 = -6; +pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_9 = -7; +pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_9 = -8; +pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_9 = -9; +pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_9 = -10; +pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_9 = -11; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn AImageDecoder_resultToString( arg1: ::std::os::raw::c_int, @@ -3796,8 +3876,8 @@ extern "C" { extern "C" { pub fn AImageDecoder_isAnimated(decoder: *mut AImageDecoder) -> bool; } -pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_8 = 2147483647; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_10 = 2147483647; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoder_getRepeatCount(decoder: *mut AImageDecoder) -> i32; } @@ -3834,16 +3914,16 @@ extern "C" { pub fn AImageDecoderFrameInfo_hasAlphaWithinBounds(info: *const AImageDecoderFrameInfo) -> bool; } -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_9 = 1; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_9 = 2; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_9 = 3; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_11 = 1; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_11 = 2; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_11 = 3; +pub type _bindgen_ty_11 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getDisposeOp(info: *const AImageDecoderFrameInfo) -> i32; } -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_10 = 1; -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_10 = 2; -pub type _bindgen_ty_10 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_12 = 1; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_12 = 2; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getBlendOp(info: *const AImageDecoderFrameInfo) -> i32; } @@ -3853,296 +3933,296 @@ extern "C" { handleInternally: bool, ); } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_11 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_11 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_11 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_11 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_11 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_11 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_11 = 6; -pub const AKEYCODE_0: _bindgen_ty_11 = 7; -pub const AKEYCODE_1: _bindgen_ty_11 = 8; -pub const AKEYCODE_2: _bindgen_ty_11 = 9; -pub const AKEYCODE_3: _bindgen_ty_11 = 10; -pub const AKEYCODE_4: _bindgen_ty_11 = 11; -pub const AKEYCODE_5: _bindgen_ty_11 = 12; -pub const AKEYCODE_6: _bindgen_ty_11 = 13; -pub const AKEYCODE_7: _bindgen_ty_11 = 14; -pub const AKEYCODE_8: _bindgen_ty_11 = 15; -pub const AKEYCODE_9: _bindgen_ty_11 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_11 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_11 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_11 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_11 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_11 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_11 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_11 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_11 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_11 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_11 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_11 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_11 = 28; -pub const AKEYCODE_A: _bindgen_ty_11 = 29; -pub const AKEYCODE_B: _bindgen_ty_11 = 30; -pub const AKEYCODE_C: _bindgen_ty_11 = 31; -pub const AKEYCODE_D: _bindgen_ty_11 = 32; -pub const AKEYCODE_E: _bindgen_ty_11 = 33; -pub const AKEYCODE_F: _bindgen_ty_11 = 34; -pub const AKEYCODE_G: _bindgen_ty_11 = 35; -pub const AKEYCODE_H: _bindgen_ty_11 = 36; -pub const AKEYCODE_I: _bindgen_ty_11 = 37; -pub const AKEYCODE_J: _bindgen_ty_11 = 38; -pub const AKEYCODE_K: _bindgen_ty_11 = 39; -pub const AKEYCODE_L: _bindgen_ty_11 = 40; -pub const AKEYCODE_M: _bindgen_ty_11 = 41; -pub const AKEYCODE_N: _bindgen_ty_11 = 42; -pub const AKEYCODE_O: _bindgen_ty_11 = 43; -pub const AKEYCODE_P: _bindgen_ty_11 = 44; -pub const AKEYCODE_Q: _bindgen_ty_11 = 45; -pub const AKEYCODE_R: _bindgen_ty_11 = 46; -pub const AKEYCODE_S: _bindgen_ty_11 = 47; -pub const AKEYCODE_T: _bindgen_ty_11 = 48; -pub const AKEYCODE_U: _bindgen_ty_11 = 49; -pub const AKEYCODE_V: _bindgen_ty_11 = 50; -pub const AKEYCODE_W: _bindgen_ty_11 = 51; -pub const AKEYCODE_X: _bindgen_ty_11 = 52; -pub const AKEYCODE_Y: _bindgen_ty_11 = 53; -pub const AKEYCODE_Z: _bindgen_ty_11 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_11 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_11 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_11 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_11 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_11 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_11 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_11 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_11 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_11 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_11 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_11 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_11 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_11 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_11 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_11 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_11 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_11 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_11 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_11 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_11 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_11 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_11 = 76; -pub const AKEYCODE_AT: _bindgen_ty_11 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_11 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_11 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_11 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_11 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_11 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_11 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_11 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_11 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_11 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_11 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_11 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_11 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_11 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_11 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_11 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_11 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_11 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_11 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_11 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_11 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_11 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_11 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_11 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_11 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_11 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_11 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_11 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_11 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_11 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_11 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_11 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_11 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_11 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_11 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_11 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_11 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_11 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_11 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_11 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_11 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_11 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_11 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_11 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_11 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_11 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_11 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_11 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_11 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_11 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_11 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_11 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_11 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_11 = 130; -pub const AKEYCODE_F1: _bindgen_ty_11 = 131; -pub const AKEYCODE_F2: _bindgen_ty_11 = 132; -pub const AKEYCODE_F3: _bindgen_ty_11 = 133; -pub const AKEYCODE_F4: _bindgen_ty_11 = 134; -pub const AKEYCODE_F5: _bindgen_ty_11 = 135; -pub const AKEYCODE_F6: _bindgen_ty_11 = 136; -pub const AKEYCODE_F7: _bindgen_ty_11 = 137; -pub const AKEYCODE_F8: _bindgen_ty_11 = 138; -pub const AKEYCODE_F9: _bindgen_ty_11 = 139; -pub const AKEYCODE_F10: _bindgen_ty_11 = 140; -pub const AKEYCODE_F11: _bindgen_ty_11 = 141; -pub const AKEYCODE_F12: _bindgen_ty_11 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_11 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_11 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_11 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_11 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_11 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_11 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_11 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_11 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_11 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_11 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_11 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_11 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_11 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_11 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_11 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_11 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_11 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_11 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_11 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_11 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_11 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_11 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_11 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_11 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_11 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_11 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_11 = 169; -pub const AKEYCODE_TV: _bindgen_ty_11 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_11 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_11 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_11 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_11 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_11 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_11 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_11 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_11 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_11 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_11 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_11 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_11 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_11 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_11 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_11 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_11 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_11 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_11 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_11 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_11 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_11 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_11 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_11 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_11 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_11 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_11 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_11 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_11 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_11 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_11 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_11 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_11 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_11 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_11 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_11 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_11 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_11 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_11 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_11 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_11 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_11 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_11 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_11 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_11 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_11 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_11 = 216; -pub const AKEYCODE_RO: _bindgen_ty_11 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_11 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_11 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_11 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_11 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_11 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_11 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_11 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_11 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_11 = 226; -pub const AKEYCODE_11: _bindgen_ty_11 = 227; -pub const AKEYCODE_12: _bindgen_ty_11 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_11 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_11 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_11 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_11 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_11 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_11 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_11 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_11 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_11 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_11 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_11 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_11 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_11 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_11 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_11 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_11 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_11 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_11 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_11 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_11 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_11 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_11 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_11 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_11 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_11 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_11 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_11 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_11 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_11 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_11 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_11 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_11 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_11 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_11 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_11 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_11 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_11 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_11 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_11 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_11 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_11 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_11 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_11 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_11 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_11 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_11 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_11 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_11 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_11 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_11 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_11 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_11 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_11 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_11 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_11 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_11 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_11 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_11 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_11 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_11 = 288; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; +pub const AKEYCODE_UNKNOWN: _bindgen_ty_13 = 0; +pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_13 = 1; +pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_13 = 2; +pub const AKEYCODE_HOME: _bindgen_ty_13 = 3; +pub const AKEYCODE_BACK: _bindgen_ty_13 = 4; +pub const AKEYCODE_CALL: _bindgen_ty_13 = 5; +pub const AKEYCODE_ENDCALL: _bindgen_ty_13 = 6; +pub const AKEYCODE_0: _bindgen_ty_13 = 7; +pub const AKEYCODE_1: _bindgen_ty_13 = 8; +pub const AKEYCODE_2: _bindgen_ty_13 = 9; +pub const AKEYCODE_3: _bindgen_ty_13 = 10; +pub const AKEYCODE_4: _bindgen_ty_13 = 11; +pub const AKEYCODE_5: _bindgen_ty_13 = 12; +pub const AKEYCODE_6: _bindgen_ty_13 = 13; +pub const AKEYCODE_7: _bindgen_ty_13 = 14; +pub const AKEYCODE_8: _bindgen_ty_13 = 15; +pub const AKEYCODE_9: _bindgen_ty_13 = 16; +pub const AKEYCODE_STAR: _bindgen_ty_13 = 17; +pub const AKEYCODE_POUND: _bindgen_ty_13 = 18; +pub const AKEYCODE_DPAD_UP: _bindgen_ty_13 = 19; +pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_13 = 20; +pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_13 = 21; +pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_13 = 22; +pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_13 = 23; +pub const AKEYCODE_VOLUME_UP: _bindgen_ty_13 = 24; +pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_13 = 25; +pub const AKEYCODE_POWER: _bindgen_ty_13 = 26; +pub const AKEYCODE_CAMERA: _bindgen_ty_13 = 27; +pub const AKEYCODE_CLEAR: _bindgen_ty_13 = 28; +pub const AKEYCODE_A: _bindgen_ty_13 = 29; +pub const AKEYCODE_B: _bindgen_ty_13 = 30; +pub const AKEYCODE_C: _bindgen_ty_13 = 31; +pub const AKEYCODE_D: _bindgen_ty_13 = 32; +pub const AKEYCODE_E: _bindgen_ty_13 = 33; +pub const AKEYCODE_F: _bindgen_ty_13 = 34; +pub const AKEYCODE_G: _bindgen_ty_13 = 35; +pub const AKEYCODE_H: _bindgen_ty_13 = 36; +pub const AKEYCODE_I: _bindgen_ty_13 = 37; +pub const AKEYCODE_J: _bindgen_ty_13 = 38; +pub const AKEYCODE_K: _bindgen_ty_13 = 39; +pub const AKEYCODE_L: _bindgen_ty_13 = 40; +pub const AKEYCODE_M: _bindgen_ty_13 = 41; +pub const AKEYCODE_N: _bindgen_ty_13 = 42; +pub const AKEYCODE_O: _bindgen_ty_13 = 43; +pub const AKEYCODE_P: _bindgen_ty_13 = 44; +pub const AKEYCODE_Q: _bindgen_ty_13 = 45; +pub const AKEYCODE_R: _bindgen_ty_13 = 46; +pub const AKEYCODE_S: _bindgen_ty_13 = 47; +pub const AKEYCODE_T: _bindgen_ty_13 = 48; +pub const AKEYCODE_U: _bindgen_ty_13 = 49; +pub const AKEYCODE_V: _bindgen_ty_13 = 50; +pub const AKEYCODE_W: _bindgen_ty_13 = 51; +pub const AKEYCODE_X: _bindgen_ty_13 = 52; +pub const AKEYCODE_Y: _bindgen_ty_13 = 53; +pub const AKEYCODE_Z: _bindgen_ty_13 = 54; +pub const AKEYCODE_COMMA: _bindgen_ty_13 = 55; +pub const AKEYCODE_PERIOD: _bindgen_ty_13 = 56; +pub const AKEYCODE_ALT_LEFT: _bindgen_ty_13 = 57; +pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_13 = 58; +pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_13 = 59; +pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_13 = 60; +pub const AKEYCODE_TAB: _bindgen_ty_13 = 61; +pub const AKEYCODE_SPACE: _bindgen_ty_13 = 62; +pub const AKEYCODE_SYM: _bindgen_ty_13 = 63; +pub const AKEYCODE_EXPLORER: _bindgen_ty_13 = 64; +pub const AKEYCODE_ENVELOPE: _bindgen_ty_13 = 65; +pub const AKEYCODE_ENTER: _bindgen_ty_13 = 66; +pub const AKEYCODE_DEL: _bindgen_ty_13 = 67; +pub const AKEYCODE_GRAVE: _bindgen_ty_13 = 68; +pub const AKEYCODE_MINUS: _bindgen_ty_13 = 69; +pub const AKEYCODE_EQUALS: _bindgen_ty_13 = 70; +pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_13 = 71; +pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_13 = 72; +pub const AKEYCODE_BACKSLASH: _bindgen_ty_13 = 73; +pub const AKEYCODE_SEMICOLON: _bindgen_ty_13 = 74; +pub const AKEYCODE_APOSTROPHE: _bindgen_ty_13 = 75; +pub const AKEYCODE_SLASH: _bindgen_ty_13 = 76; +pub const AKEYCODE_AT: _bindgen_ty_13 = 77; +pub const AKEYCODE_NUM: _bindgen_ty_13 = 78; +pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_13 = 79; +pub const AKEYCODE_FOCUS: _bindgen_ty_13 = 80; +pub const AKEYCODE_PLUS: _bindgen_ty_13 = 81; +pub const AKEYCODE_MENU: _bindgen_ty_13 = 82; +pub const AKEYCODE_NOTIFICATION: _bindgen_ty_13 = 83; +pub const AKEYCODE_SEARCH: _bindgen_ty_13 = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_13 = 85; +pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_13 = 86; +pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_13 = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_13 = 88; +pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_13 = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_13 = 90; +pub const AKEYCODE_MUTE: _bindgen_ty_13 = 91; +pub const AKEYCODE_PAGE_UP: _bindgen_ty_13 = 92; +pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_13 = 93; +pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_13 = 94; +pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_13 = 95; +pub const AKEYCODE_BUTTON_A: _bindgen_ty_13 = 96; +pub const AKEYCODE_BUTTON_B: _bindgen_ty_13 = 97; +pub const AKEYCODE_BUTTON_C: _bindgen_ty_13 = 98; +pub const AKEYCODE_BUTTON_X: _bindgen_ty_13 = 99; +pub const AKEYCODE_BUTTON_Y: _bindgen_ty_13 = 100; +pub const AKEYCODE_BUTTON_Z: _bindgen_ty_13 = 101; +pub const AKEYCODE_BUTTON_L1: _bindgen_ty_13 = 102; +pub const AKEYCODE_BUTTON_R1: _bindgen_ty_13 = 103; +pub const AKEYCODE_BUTTON_L2: _bindgen_ty_13 = 104; +pub const AKEYCODE_BUTTON_R2: _bindgen_ty_13 = 105; +pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_13 = 106; +pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_13 = 107; +pub const AKEYCODE_BUTTON_START: _bindgen_ty_13 = 108; +pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_13 = 109; +pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_13 = 110; +pub const AKEYCODE_ESCAPE: _bindgen_ty_13 = 111; +pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_13 = 112; +pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_13 = 113; +pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_13 = 114; +pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_13 = 115; +pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_13 = 116; +pub const AKEYCODE_META_LEFT: _bindgen_ty_13 = 117; +pub const AKEYCODE_META_RIGHT: _bindgen_ty_13 = 118; +pub const AKEYCODE_FUNCTION: _bindgen_ty_13 = 119; +pub const AKEYCODE_SYSRQ: _bindgen_ty_13 = 120; +pub const AKEYCODE_BREAK: _bindgen_ty_13 = 121; +pub const AKEYCODE_MOVE_HOME: _bindgen_ty_13 = 122; +pub const AKEYCODE_MOVE_END: _bindgen_ty_13 = 123; +pub const AKEYCODE_INSERT: _bindgen_ty_13 = 124; +pub const AKEYCODE_FORWARD: _bindgen_ty_13 = 125; +pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_13 = 126; +pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_13 = 127; +pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_13 = 128; +pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_13 = 129; +pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_13 = 130; +pub const AKEYCODE_F1: _bindgen_ty_13 = 131; +pub const AKEYCODE_F2: _bindgen_ty_13 = 132; +pub const AKEYCODE_F3: _bindgen_ty_13 = 133; +pub const AKEYCODE_F4: _bindgen_ty_13 = 134; +pub const AKEYCODE_F5: _bindgen_ty_13 = 135; +pub const AKEYCODE_F6: _bindgen_ty_13 = 136; +pub const AKEYCODE_F7: _bindgen_ty_13 = 137; +pub const AKEYCODE_F8: _bindgen_ty_13 = 138; +pub const AKEYCODE_F9: _bindgen_ty_13 = 139; +pub const AKEYCODE_F10: _bindgen_ty_13 = 140; +pub const AKEYCODE_F11: _bindgen_ty_13 = 141; +pub const AKEYCODE_F12: _bindgen_ty_13 = 142; +pub const AKEYCODE_NUM_LOCK: _bindgen_ty_13 = 143; +pub const AKEYCODE_NUMPAD_0: _bindgen_ty_13 = 144; +pub const AKEYCODE_NUMPAD_1: _bindgen_ty_13 = 145; +pub const AKEYCODE_NUMPAD_2: _bindgen_ty_13 = 146; +pub const AKEYCODE_NUMPAD_3: _bindgen_ty_13 = 147; +pub const AKEYCODE_NUMPAD_4: _bindgen_ty_13 = 148; +pub const AKEYCODE_NUMPAD_5: _bindgen_ty_13 = 149; +pub const AKEYCODE_NUMPAD_6: _bindgen_ty_13 = 150; +pub const AKEYCODE_NUMPAD_7: _bindgen_ty_13 = 151; +pub const AKEYCODE_NUMPAD_8: _bindgen_ty_13 = 152; +pub const AKEYCODE_NUMPAD_9: _bindgen_ty_13 = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_13 = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_13 = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_13 = 156; +pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_13 = 157; +pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_13 = 158; +pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_13 = 159; +pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_13 = 160; +pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_13 = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_13 = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_13 = 163; +pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_13 = 164; +pub const AKEYCODE_INFO: _bindgen_ty_13 = 165; +pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_13 = 166; +pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_13 = 167; +pub const AKEYCODE_ZOOM_IN: _bindgen_ty_13 = 168; +pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_13 = 169; +pub const AKEYCODE_TV: _bindgen_ty_13 = 170; +pub const AKEYCODE_WINDOW: _bindgen_ty_13 = 171; +pub const AKEYCODE_GUIDE: _bindgen_ty_13 = 172; +pub const AKEYCODE_DVR: _bindgen_ty_13 = 173; +pub const AKEYCODE_BOOKMARK: _bindgen_ty_13 = 174; +pub const AKEYCODE_CAPTIONS: _bindgen_ty_13 = 175; +pub const AKEYCODE_SETTINGS: _bindgen_ty_13 = 176; +pub const AKEYCODE_TV_POWER: _bindgen_ty_13 = 177; +pub const AKEYCODE_TV_INPUT: _bindgen_ty_13 = 178; +pub const AKEYCODE_STB_POWER: _bindgen_ty_13 = 179; +pub const AKEYCODE_STB_INPUT: _bindgen_ty_13 = 180; +pub const AKEYCODE_AVR_POWER: _bindgen_ty_13 = 181; +pub const AKEYCODE_AVR_INPUT: _bindgen_ty_13 = 182; +pub const AKEYCODE_PROG_RED: _bindgen_ty_13 = 183; +pub const AKEYCODE_PROG_GREEN: _bindgen_ty_13 = 184; +pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_13 = 185; +pub const AKEYCODE_PROG_BLUE: _bindgen_ty_13 = 186; +pub const AKEYCODE_APP_SWITCH: _bindgen_ty_13 = 187; +pub const AKEYCODE_BUTTON_1: _bindgen_ty_13 = 188; +pub const AKEYCODE_BUTTON_2: _bindgen_ty_13 = 189; +pub const AKEYCODE_BUTTON_3: _bindgen_ty_13 = 190; +pub const AKEYCODE_BUTTON_4: _bindgen_ty_13 = 191; +pub const AKEYCODE_BUTTON_5: _bindgen_ty_13 = 192; +pub const AKEYCODE_BUTTON_6: _bindgen_ty_13 = 193; +pub const AKEYCODE_BUTTON_7: _bindgen_ty_13 = 194; +pub const AKEYCODE_BUTTON_8: _bindgen_ty_13 = 195; +pub const AKEYCODE_BUTTON_9: _bindgen_ty_13 = 196; +pub const AKEYCODE_BUTTON_10: _bindgen_ty_13 = 197; +pub const AKEYCODE_BUTTON_11: _bindgen_ty_13 = 198; +pub const AKEYCODE_BUTTON_12: _bindgen_ty_13 = 199; +pub const AKEYCODE_BUTTON_13: _bindgen_ty_13 = 200; +pub const AKEYCODE_BUTTON_14: _bindgen_ty_13 = 201; +pub const AKEYCODE_BUTTON_15: _bindgen_ty_13 = 202; +pub const AKEYCODE_BUTTON_16: _bindgen_ty_13 = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_13 = 204; +pub const AKEYCODE_MANNER_MODE: _bindgen_ty_13 = 205; +pub const AKEYCODE_3D_MODE: _bindgen_ty_13 = 206; +pub const AKEYCODE_CONTACTS: _bindgen_ty_13 = 207; +pub const AKEYCODE_CALENDAR: _bindgen_ty_13 = 208; +pub const AKEYCODE_MUSIC: _bindgen_ty_13 = 209; +pub const AKEYCODE_CALCULATOR: _bindgen_ty_13 = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_13 = 211; +pub const AKEYCODE_EISU: _bindgen_ty_13 = 212; +pub const AKEYCODE_MUHENKAN: _bindgen_ty_13 = 213; +pub const AKEYCODE_HENKAN: _bindgen_ty_13 = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_13 = 215; +pub const AKEYCODE_YEN: _bindgen_ty_13 = 216; +pub const AKEYCODE_RO: _bindgen_ty_13 = 217; +pub const AKEYCODE_KANA: _bindgen_ty_13 = 218; +pub const AKEYCODE_ASSIST: _bindgen_ty_13 = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_13 = 220; +pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_13 = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_13 = 222; +pub const AKEYCODE_SLEEP: _bindgen_ty_13 = 223; +pub const AKEYCODE_WAKEUP: _bindgen_ty_13 = 224; +pub const AKEYCODE_PAIRING: _bindgen_ty_13 = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_13 = 226; +pub const AKEYCODE_11: _bindgen_ty_13 = 227; +pub const AKEYCODE_12: _bindgen_ty_13 = 228; +pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_13 = 229; +pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_13 = 230; +pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_13 = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_13 = 232; +pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_13 = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_13 = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_13 = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_13 = 236; +pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_13 = 237; +pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_13 = 238; +pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_13 = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_13 = 240; +pub const AKEYCODE_TV_NETWORK: _bindgen_ty_13 = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_13 = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_13 = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_13 = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_13 = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_13 = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_13 = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_13 = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_13 = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_13 = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_13 = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_13 = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_13 = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_13 = 254; +pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_13 = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_13 = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_13 = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_13 = 258; +pub const AKEYCODE_HELP: _bindgen_ty_13 = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_13 = 260; +pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_13 = 261; +pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_13 = 262; +pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_13 = 263; +pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_13 = 264; +pub const AKEYCODE_STEM_1: _bindgen_ty_13 = 265; +pub const AKEYCODE_STEM_2: _bindgen_ty_13 = 266; +pub const AKEYCODE_STEM_3: _bindgen_ty_13 = 267; +pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_13 = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_13 = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_13 = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_13 = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_13 = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_13 = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_13 = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_13 = 275; +pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_13 = 276; +pub const AKEYCODE_CUT: _bindgen_ty_13 = 277; +pub const AKEYCODE_COPY: _bindgen_ty_13 = 278; +pub const AKEYCODE_PASTE: _bindgen_ty_13 = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_13 = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_13 = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_13 = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_13 = 283; +pub const AKEYCODE_ALL_APPS: _bindgen_ty_13 = 284; +pub const AKEYCODE_REFRESH: _bindgen_ty_13 = 285; +pub const AKEYCODE_THUMBS_UP: _bindgen_ty_13 = 286; +pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_13 = 287; +pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_13 = 288; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -4151,28 +4231,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_12 = 1; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_14 = 1; +pub type _bindgen_ty_14 = ::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_13 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_13 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_13 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_13 = -4; -pub type _bindgen_ty_13 = ::std::os::raw::c_int; +pub const ALOOPER_POLL_WAKE: _bindgen_ty_15 = -1; +pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_15 = -2; +pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_15 = -3; +pub const ALOOPER_POLL_ERROR: _bindgen_ty_15 = -4; +pub type _bindgen_ty_15 = ::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_14 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_14 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_14 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_14 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_14 = 16; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const ALOOPER_EVENT_INPUT: _bindgen_ty_16 = 1; +pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_16 = 2; +pub const ALOOPER_EVENT_ERROR: _bindgen_ty_16 = 4; +pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_16 = 8; +pub const ALOOPER_EVENT_INVALID: _bindgen_ty_16 = 16; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -4215,143 +4295,143 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_15 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_15 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_15 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_15 = 2; -pub type _bindgen_ty_15 = ::std::os::raw::c_int; -pub const AMETA_NONE: _bindgen_ty_16 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_16 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_16 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_16 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_16 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_16 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_16 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_16 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_16 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_16 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_16 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_16 = 16384; -pub const AMETA_META_ON: _bindgen_ty_16 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_16 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_16 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_16 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_16 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_16 = 4194304; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AKEY_STATE_UNKNOWN: _bindgen_ty_17 = -1; +pub const AKEY_STATE_UP: _bindgen_ty_17 = 0; +pub const AKEY_STATE_DOWN: _bindgen_ty_17 = 1; +pub const AKEY_STATE_VIRTUAL: _bindgen_ty_17 = 2; +pub type _bindgen_ty_17 = ::std::os::raw::c_int; +pub const AMETA_NONE: _bindgen_ty_18 = 0; +pub const AMETA_ALT_ON: _bindgen_ty_18 = 2; +pub const AMETA_ALT_LEFT_ON: _bindgen_ty_18 = 16; +pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_18 = 32; +pub const AMETA_SHIFT_ON: _bindgen_ty_18 = 1; +pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_18 = 64; +pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_18 = 128; +pub const AMETA_SYM_ON: _bindgen_ty_18 = 4; +pub const AMETA_FUNCTION_ON: _bindgen_ty_18 = 8; +pub const AMETA_CTRL_ON: _bindgen_ty_18 = 4096; +pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_18 = 8192; +pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_18 = 16384; +pub const AMETA_META_ON: _bindgen_ty_18 = 65536; +pub const AMETA_META_LEFT_ON: _bindgen_ty_18 = 131072; +pub const AMETA_META_RIGHT_ON: _bindgen_ty_18 = 262144; +pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_18 = 1048576; +pub const AMETA_NUM_LOCK_ON: _bindgen_ty_18 = 2097152; +pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_18 = 4194304; +pub type _bindgen_ty_18 = ::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_17 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_17 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_17 = 3; -pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_17 = 4; -pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_17 = 5; -pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_17 = 6; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_18 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_18 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_18 = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_19 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_19 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_19 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_19 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_19 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_19 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_19 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_19 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_19 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_19 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_19 = 1024; +pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_19 = 1; +pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_19 = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_19 = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_19 = 4; +pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_19 = 5; +pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_19 = 6; pub type _bindgen_ty_19 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_20 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_20 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_20 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_20 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_20 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_20 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_20 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_20 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_20 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_20 = 12; +pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; +pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_20 = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_20 = 2; pub type _bindgen_ty_20 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_21 = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_21 = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_21 = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_21 = 16; +pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_21 = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_21 = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_21 = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_21 = 256; +pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_21 = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_21 = 1024; pub type _bindgen_ty_21 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_22 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_22 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_22 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_22 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_22 = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_22 = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_22 = 0; +pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_22 = 1; +pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_22 = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_22 = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_22 = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_22 = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_22 = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_22 = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_22 = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_22 = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_22 = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_22 = 12; pub type _bindgen_ty_22 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_23 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_23 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_23 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_23 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_23 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_23 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_23 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_23 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_23 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_23 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_23 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_23 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_23 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_23 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_23 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_23 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_23 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_23 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_23 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_23 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_23 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_23 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_23 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_23 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_23 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_23 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_23 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_23 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_23 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_23 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_23 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_23 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_23 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_23 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_23 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_23 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_23 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_23 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_23 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_23 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_23 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_23 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_23 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_23 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_23 = 47; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_23 = 1; pub type _bindgen_ty_23 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_24 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_24 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_24 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_24 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_24 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_24 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_24 = 64; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_24 = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_24 = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_24 = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_24 = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_24 = 8; pub type _bindgen_ty_24 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_25 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_25 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_25 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_25 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_25 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_25 = 0; +pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_25 = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_25 = 2; +pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_25 = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_25 = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_25 = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_25 = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_25 = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_25 = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_25 = 10; +pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_25 = 11; +pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_25 = 12; +pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_25 = 13; +pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_25 = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_25 = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_25 = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_25 = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_25 = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_25 = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_25 = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_25 = 21; +pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_25 = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_25 = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_25 = 24; +pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_25 = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_25 = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_25 = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_25 = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_25 = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_25 = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_25 = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_25 = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_25 = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_25 = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_25 = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_25 = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_25 = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_25 = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_25 = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_25 = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_25 = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_25 = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_25 = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_25 = 47; pub type _bindgen_ty_25 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_26 = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_26 = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_26 = 4; +pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_26 = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_26 = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_26 = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_26 = 64; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_27 = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_27 = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_27 = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_27 = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_27 = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_27 = 5; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; impl AMotionClassification { pub const AMOTION_EVENT_CLASSIFICATION_NONE: AMotionClassification = AMotionClassification(0); } @@ -4366,46 +4446,46 @@ impl AMotionClassification { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct AMotionClassification(pub u32); -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_26 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_26 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_26 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_26 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_26 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_26 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_26 = 16; -pub type _bindgen_ty_26 = ::std::os::raw::c_uint; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_27 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_27 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_27 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_27 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_27 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_27 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_27 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_27 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_27 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_27 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_27 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_27 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_27 = 16777232; -pub const AINPUT_SOURCE_HDMI: _bindgen_ty_27 = 33554433; -pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_27 = 67108864; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_27 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_27 = 4294967040; -pub type _bindgen_ty_27 = ::std::os::raw::c_uint; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_28 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_28 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_28 = 255; +pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_28 = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_28 = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_28 = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_28 = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_28 = 16; pub type _bindgen_ty_28 = ::std::os::raw::c_uint; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_29 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_29 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_29 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_29 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_29 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_29 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_29 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_29 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_29 = 8; +pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_29 = 0; +pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_29 = 257; +pub const AINPUT_SOURCE_DPAD: _bindgen_ty_29 = 513; +pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_29 = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_29 = 4098; +pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_29 = 8194; +pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_29 = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_29 = 49154; +pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_29 = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_29 = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_29 = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_29 = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_29 = 16777232; +pub const AINPUT_SOURCE_HDMI: _bindgen_ty_29 = 33554433; +pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_29 = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_29 = 4194304; +pub const AINPUT_SOURCE_ANY: _bindgen_ty_29 = 4294967040; pub type _bindgen_ty_29 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_30 = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_30 = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_30 = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_31 = 0; +pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_31 = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_31 = 2; +pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_31 = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_31 = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_31 = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_31 = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_31 = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_31 = 8; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -5170,10 +5250,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_30 = 0; -pub const SHUT_WR: _bindgen_ty_30 = 1; -pub const SHUT_RDWR: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const SHUT_RD: _bindgen_ty_32 = 0; +pub const SHUT_WR: _bindgen_ty_32 = 1; +pub const SHUT_RDWR: _bindgen_ty_32 = 2; +pub type _bindgen_ty_32 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8208,15 +8288,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_33 = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_33 = 2; +pub type _bindgen_ty_33 = ::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_32 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_32 = 2; -pub type _bindgen_ty_32 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_34 = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_34 = 2; +pub type _bindgen_ty_34 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -8727,10 +8807,10 @@ impl ResultCode { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ResultCode(pub ::std::os::raw::c_uint); -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_33 = 128; -pub type _bindgen_ty_33 = ::std::os::raw::c_uint; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_34 = 32; -pub type _bindgen_ty_34 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_35 = 128; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_36 = 32; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; impl DurationCode { pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = DurationCode(0); } @@ -9361,8 +9441,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_35 = 1; -pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const AOBBINFO_OVERLAY: _bindgen_ty_37 = 1; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -9378,13 +9458,13 @@ extern "C" { extern "C" { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } -pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_36 = 0; -pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_36 = -1; -pub type _bindgen_ty_36 = ::std::os::raw::c_int; -pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_37 = 0; -pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_37 = -1; -pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_37 = -2; -pub type _bindgen_ty_37 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_38 = 0; +pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_38 = -1; +pub type _bindgen_ty_38 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_39 = 0; +pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_39 = -1; +pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_39 = -2; +pub type _bindgen_ty_39 = ::std::os::raw::c_int; extern "C" { pub fn APermissionManager_checkPermission( permission: *const ::std::os::raw::c_char, @@ -9928,70 +10008,70 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_38 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_38 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_38 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_38 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_38 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_38 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_38 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_38 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_38 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_38 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_38 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_38 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_38 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_38 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_38 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_38 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_38 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_38 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_38 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_38 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_38 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_38 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_38 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_38 = 31; -pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_38 = 32; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_38 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_38 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_38 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_38 = 36; -pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_38 = 37; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_38 = 38; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_38 = 39; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 40; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 41; -pub const ASENSOR_TYPE_HEADING: _bindgen_ty_38 = 42; -pub type _bindgen_ty_38 = ::std::os::raw::c_int; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_39 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_39 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_39 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_39 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_39 = 3; -pub type _bindgen_ty_39 = ::std::os::raw::c_int; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_40 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_40 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_40 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_40 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_40 = 3; +pub const ASENSOR_TYPE_INVALID: _bindgen_ty_40 = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_40 = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_40 = 2; +pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_40 = 4; +pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_40 = 5; +pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_40 = 6; +pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_40 = 8; +pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_40 = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_40 = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_40 = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_40 = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_40 = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_40 = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_40 = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_40 = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_40 = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_40 = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_40 = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_40 = 20; +pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_40 = 21; +pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_40 = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_40 = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_40 = 30; +pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_40 = 31; +pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_40 = 32; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_40 = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_40 = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_40 = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_40 = 36; +pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_40 = 37; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_40 = 38; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_40 = 39; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 40; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 41; +pub const ASENSOR_TYPE_HEADING: _bindgen_ty_40 = 42; pub type _bindgen_ty_40 = ::std::os::raw::c_int; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_41 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_41 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_41 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_41 = 3; -pub type _bindgen_ty_41 = ::std::os::raw::c_uint; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_42 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_42 = 2; -pub type _bindgen_ty_42 = ::std::os::raw::c_uint; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_43 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_43 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_43 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_43 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_43 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_43 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_43 = 65540; +pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_41 = -1; +pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_41 = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_41 = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_41 = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_41 = 3; +pub type _bindgen_ty_41 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: _bindgen_ty_42 = -1; +pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_42 = 0; +pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_42 = 1; +pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_42 = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_42 = 3; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_43 = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_43 = 1; +pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_43 = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_43 = 3; pub type _bindgen_ty_43 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_44 = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_44 = 2; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_45 = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_45 = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_45 = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_45 = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_45 = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_45 = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_45 = 65540; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -11907,15 +11987,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_44 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_44 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_44 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_44 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_44 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_44 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_44 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_44 = 25; -pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const AOBB_STATE_MOUNTED: _bindgen_ty_46 = 1; +pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_46 = 2; +pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_46 = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_46 = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_46 = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_46 = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_46 = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_46 = 25; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -12236,6 +12316,20 @@ extern "C" { extern "C" { pub fn sync_file_info_free(info: *mut sync_file_info); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ASystemFontIterator { + _unused: [u8; 0], +} +extern "C" { + pub fn ASystemFontIterator_open() -> *mut ASystemFontIterator; +} +extern "C" { + pub fn ASystemFontIterator_close(iterator: *mut ASystemFontIterator); +} +extern "C" { + pub fn ASystemFontIterator_next(iterator: *mut ASystemFontIterator) -> *mut AFont; +} extern "C" { pub fn ATrace_isEnabled() -> bool; } @@ -12254,30 +12348,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_45 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_45 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_45 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_45 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_45 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_45 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_45 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_45 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_45 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_45 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_45 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_45 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_45 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_45 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_45 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_45 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_45 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_45 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_45 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_45 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_45 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_45 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_45 = 4194304; -pub type _bindgen_ty_45 = ::std::os::raw::c_uint; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_47 = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_47 = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_47 = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_47 = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_47 = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_47 = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_47 = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_47 = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_47 = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_47 = 512; +pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_47 = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_47 = 2048; +pub const AWINDOW_FLAG_DITHER: _bindgen_ty_47 = 4096; +pub const AWINDOW_FLAG_SECURE: _bindgen_ty_47 = 8192; +pub const AWINDOW_FLAG_SCALED: _bindgen_ty_47 = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_47 = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_47 = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_47 = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_47 = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_47 = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_47 = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_47 = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_47 = 4194304; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -15213,161 +15307,161 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_46 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_46 = 1; -pub type _bindgen_ty_46 = ::std::os::raw::c_uint; +pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_48 = 0; +pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_48 = 1; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_47 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_47 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_47 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_47 = 2; -pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_47 = 3; -pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_47 = 4; -pub type _bindgen_ty_47 = ::std::os::raw::c_int; +pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_49 = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_49 = 0; +pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_49 = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_49 = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_49 = 3; +pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_49 = 4; +pub type _bindgen_ty_49 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_48 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_48 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_48 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_48 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_48 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_48 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_48 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_48 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_48 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_48 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_48 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_48 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_48 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_48 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_48 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_48 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_48 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_48 = -880; -pub type _bindgen_ty_48 = ::std::os::raw::c_int; +pub const AAUDIO_OK: _bindgen_ty_50 = 0; +pub const AAUDIO_ERROR_BASE: _bindgen_ty_50 = -900; +pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_50 = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_50 = -898; +pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_50 = -896; +pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_50 = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_50 = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_50 = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_50 = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_50 = -888; +pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_50 = -887; +pub const AAUDIO_ERROR_NULL: _bindgen_ty_50 = -886; +pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_50 = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_50 = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_50 = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_50 = -882; +pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_50 = -881; +pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_50 = -880; +pub type _bindgen_ty_50 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_49 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_49 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_49 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_49 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_49 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_49 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_49 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_49 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_49 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_49 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_49 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_49 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_49 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_49 = 13; -pub type _bindgen_ty_49 = ::std::os::raw::c_uint; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_51 = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_51 = 1; +pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_51 = 2; +pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_51 = 3; +pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_51 = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_51 = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_51 = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_51 = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_51 = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_51 = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_51 = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_51 = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_51 = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_51 = 13; +pub type _bindgen_ty_51 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_50 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_50 = 1; -pub type _bindgen_ty_50 = ::std::os::raw::c_uint; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_52 = 0; +pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_52 = 1; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_51 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_51 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_51 = 12; -pub type _bindgen_ty_51 = ::std::os::raw::c_uint; +pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_53 = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_53 = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_53 = 12; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_52 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_52 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_52 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_52 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_52 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_52 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_52 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_52 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_52 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_52 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_52 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_52 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_52 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_52 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_52 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_52 = 1003; -pub type _bindgen_ty_52 = ::std::os::raw::c_uint; +pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_54 = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_54 = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_54 = 3; +pub const AAUDIO_USAGE_ALARM: _bindgen_ty_54 = 4; +pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_54 = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_54 = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_54 = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_54 = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_54 = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_54 = 13; +pub const AAUDIO_USAGE_GAME: _bindgen_ty_54 = 14; +pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_54 = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_54 = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_54 = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_54 = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_54 = 1003; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_53 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_53 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_53 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_53 = 4; -pub type _bindgen_ty_53 = ::std::os::raw::c_uint; +pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_55 = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_55 = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_55 = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_55 = 4; +pub type _bindgen_ty_55 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_54 = 1; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_54 = 2; -pub type _bindgen_ty_54 = ::std::os::raw::c_uint; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_56 = 1; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_56 = 2; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type aaudio_spatialization_behavior_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_55 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_55 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_55 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_55 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_55 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_55 = 10; -pub type _bindgen_ty_55 = ::std::os::raw::c_uint; +pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_57 = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_57 = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_57 = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_57 = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_57 = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_57 = 10; +pub type _bindgen_ty_57 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_56 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_56 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_56 = 3; -pub type _bindgen_ty_56 = ::std::os::raw::c_uint; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_58 = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_58 = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_58 = 3; +pub type _bindgen_ty_58 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_57 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_57 = 0; -pub type _bindgen_ty_57 = ::std::os::raw::c_int; +pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_59 = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_59 = 0; +pub type _bindgen_ty_59 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; -pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_58 = -1; -pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_58 = 1; -pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_58 = 2; -pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_58 = 4; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_58 = 8; -pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_58 = 16; -pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_58 = 32; -pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_58 = 64; -pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_58 = 128; -pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_58 = 256; -pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_58 = 512; -pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_58 = 1024; -pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_58 = 2048; -pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_58 = 4096; -pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_58 = 8192; -pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_58 = 16384; -pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_58 = 32768; -pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_58 = 65536; -pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_58 = 131072; -pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_58 = 262144; -pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_58 = 524288; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_58 = 1048576; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_58 = 2097152; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_58 = 4194304; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_58 = 8388608; -pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_58 = 16777216; -pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_58 = 33554432; -pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_58 = 1; -pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_58 = 3; -pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_58 = 11; -pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_58 = 7; -pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_58 = 259; -pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_58 = 15; -pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_58 = 786435; -pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_58 = 786443; -pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_58 = 786439; -pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_58 = 786447; -pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_58 = 51; -pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_58 = 1539; -pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_58 = 263; -pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_58 = 55; -pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_58 = 63; -pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_58 = 1551; -pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_58 = 319; -pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_58 = 1599; -pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_58 = 786495; -pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_58 = 184383; -pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_58 = 788031; -pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_58 = 185919; -pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_58 = 50517567; -pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_58 = 51303999; -pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_58 = 260; -pub type _bindgen_ty_58 = ::std::os::raw::c_int; +pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_60 = -1; +pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_60 = 1; +pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_60 = 2; +pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_60 = 4; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_60 = 8; +pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_60 = 16; +pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_60 = 32; +pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_60 = 64; +pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_60 = 128; +pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_60 = 256; +pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_60 = 512; +pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_60 = 1024; +pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_60 = 2048; +pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_60 = 4096; +pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_60 = 8192; +pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_60 = 16384; +pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_60 = 32768; +pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_60 = 65536; +pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_60 = 131072; +pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_60 = 262144; +pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_60 = 524288; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_60 = 1048576; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_60 = 2097152; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_60 = 4194304; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_60 = 8388608; +pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_60 = 16777216; +pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_60 = 33554432; +pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_60 = 1; +pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_60 = 3; +pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_60 = 11; +pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_60 = 7; +pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_60 = 259; +pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_60 = 15; +pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_60 = 786435; +pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_60 = 786443; +pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_60 = 786439; +pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_60 = 786447; +pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_60 = 51; +pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_60 = 1539; +pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_60 = 263; +pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_60 = 55; +pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_60 = 63; +pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_60 = 1551; +pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_60 = 319; +pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_60 = 1599; +pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_60 = 786495; +pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_60 = 184383; +pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_60 = 788031; +pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_60 = 185919; +pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_60 = 50517567; +pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_60 = 51303999; +pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_60 = 260; +pub type _bindgen_ty_60 = ::std::os::raw::c_int; pub type aaudio_channel_mask_t = u32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15498,9 +15592,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_59 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_59 = 1; -pub type _bindgen_ty_59 = ::std::os::raw::c_uint; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_61 = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_61 = 1; +pub type _bindgen_ty_61 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -15792,13 +15886,13 @@ pub struct AMidiInputPort { pub struct AMidiOutputPort { _unused: [u8; 0], } -pub const AMIDI_OPCODE_DATA: _bindgen_ty_60 = 1; -pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_60 = 2; -pub type _bindgen_ty_60 = ::std::os::raw::c_uint; -pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_61 = 1; -pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_61 = 2; -pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_61 = 3; -pub type _bindgen_ty_61 = ::std::os::raw::c_uint; +pub const AMIDI_OPCODE_DATA: _bindgen_ty_62 = 1; +pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_62 = 2; +pub type _bindgen_ty_62 = ::std::os::raw::c_uint; +pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_63 = 1; +pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_63 = 2; +pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_63 = 3; +pub type _bindgen_ty_63 = ::std::os::raw::c_uint; impl AMidiDevice_Protocol { pub const AMIDI_DEVICE_PROTOCOL_UMP_USE_MIDI_CI: AMidiDevice_Protocol = AMidiDevice_Protocol(0); } @@ -18979,14 +19073,14 @@ pub use self::acamera_metadata_enum_acamera_automotive_lens_facing as acamera_me pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_62 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_62 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_62 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_62 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_62 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_62 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_62 = 6; -pub type _bindgen_ty_62 = ::std::os::raw::c_uint; +pub const ACAMERA_TYPE_BYTE: _bindgen_ty_64 = 0; +pub const ACAMERA_TYPE_INT32: _bindgen_ty_64 = 1; +pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_64 = 2; +pub const ACAMERA_TYPE_INT64: _bindgen_ty_64 = 3; +pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_64 = 4; +pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_64 = 5; +pub const ACAMERA_NUM_TYPES: _bindgen_ty_64 = 6; +pub type _bindgen_ty_64 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -19628,9 +19722,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_63 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_63 = 1; -pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_65 = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_65 = 1; +pub type _bindgen_ty_65 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -19857,8 +19951,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_64 = -1; -pub type _bindgen_ty_64 = ::std::os::raw::c_int; +pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_66 = -1; +pub type _bindgen_ty_66 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -20427,12 +20521,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_65 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_65 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_65 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_65 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_65 = 5; -pub type _bindgen_ty_65 = ::std::os::raw::c_uint; +pub const ERROR_CAMERA_IN_USE: _bindgen_ty_67 = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_67 = 2; +pub const ERROR_CAMERA_DISABLED: _bindgen_ty_67 = 3; +pub const ERROR_CAMERA_DEVICE: _bindgen_ty_67 = 4; +pub const ERROR_CAMERA_SERVICE: _bindgen_ty_67 = 5; +pub type _bindgen_ty_67 = ::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), >; @@ -21875,14 +21969,14 @@ fn bindgen_test_layout_AMediaCodecBufferInfo() { pub struct AMediaCodecCryptoInfo { _unused: [u8; 0], } -pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_66 = 2; -pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_66 = 4; -pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_66 = 8; -pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_66 = 1; -pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_66 = -3; -pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_66 = -2; -pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_66 = -1; -pub type _bindgen_ty_66 = ::std::os::raw::c_int; +pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_68 = 2; +pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_68 = 4; +pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_68 = 8; +pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_68 = 1; +pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_68 = -3; +pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_68 = -2; +pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_68 = -1; +pub type _bindgen_ty_68 = ::std::os::raw::c_int; pub type AMediaCodecOnAsyncInputAvailable = ::std::option::Option< unsafe extern "C" fn( codec: *mut AMediaCodec, @@ -22973,9 +23067,9 @@ extern "C" { arg1: *mut AMediaExtractor, ) -> *mut AMediaCodecCryptoInfo; } -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_67 = 1; -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_67 = 2; -pub type _bindgen_ty_67 = ::std::os::raw::c_uint; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_69 = 1; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_69 = 2; +pub type _bindgen_ty_69 = ::std::os::raw::c_uint; extern "C" { pub fn AMediaExtractor_getFileFormat(arg1: *mut AMediaExtractor) -> *mut AMediaFormat; } diff --git a/ndk-sys/src/ffi_arm.rs b/ndk-sys/src/ffi_arm.rs index 658b8e1c..cba531f4 100644 --- a/ndk-sys/src/ffi_arm.rs +++ b/ndk-sys/src/ffi_arm.rs @@ -2930,6 +2930,86 @@ extern "C" { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct AFont { + _unused: [u8; 0], +} +pub const AFONT_WEIGHT_MIN: _bindgen_ty_7 = 0; +pub const AFONT_WEIGHT_THIN: _bindgen_ty_7 = 100; +pub const AFONT_WEIGHT_EXTRA_LIGHT: _bindgen_ty_7 = 200; +pub const AFONT_WEIGHT_LIGHT: _bindgen_ty_7 = 300; +pub const AFONT_WEIGHT_NORMAL: _bindgen_ty_7 = 400; +pub const AFONT_WEIGHT_MEDIUM: _bindgen_ty_7 = 500; +pub const AFONT_WEIGHT_SEMI_BOLD: _bindgen_ty_7 = 600; +pub const AFONT_WEIGHT_BOLD: _bindgen_ty_7 = 700; +pub const AFONT_WEIGHT_EXTRA_BOLD: _bindgen_ty_7 = 800; +pub const AFONT_WEIGHT_BLACK: _bindgen_ty_7 = 900; +pub const AFONT_WEIGHT_MAX: _bindgen_ty_7 = 1000; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFont_close(font: *mut AFont); +} +extern "C" { + pub fn AFont_getFontFilePath(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getWeight(font: *const AFont) -> u16; +} +extern "C" { + pub fn AFont_isItalic(font: *const AFont) -> bool; +} +extern "C" { + pub fn AFont_getLocale(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getCollectionIndex(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisCount(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisTag(font: *const AFont, axisIndex: u32) -> u32; +} +extern "C" { + pub fn AFont_getAxisValue(font: *const AFont, axisIndex: u32) -> f32; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct AFontMatcher { + _unused: [u8; 0], +} +pub const AFAMILY_VARIANT_DEFAULT: _bindgen_ty_8 = 0; +pub const AFAMILY_VARIANT_COMPACT: _bindgen_ty_8 = 1; +pub const AFAMILY_VARIANT_ELEGANT: _bindgen_ty_8 = 2; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFontMatcher_create() -> *mut AFontMatcher; +} +extern "C" { + pub fn AFontMatcher_destroy(matcher: *mut AFontMatcher); +} +extern "C" { + pub fn AFontMatcher_setStyle(matcher: *mut AFontMatcher, weight: u16, italic: bool); +} +extern "C" { + pub fn AFontMatcher_setLocales( + matcher: *mut AFontMatcher, + languageTags: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AFontMatcher_setFamilyVariant(matcher: *mut AFontMatcher, familyVariant: u32); +} +extern "C" { + pub fn AFontMatcher_match( + matcher: *const AFontMatcher, + familyName: *const ::std::os::raw::c_char, + text: *const u16, + textLength: u32, + runLengthOut: *mut u32, + ) -> *mut AFont; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct ARect { pub left: i32, pub top: i32, @@ -3676,19 +3756,19 @@ fn bindgen_test_layout_AHdrMetadata_cta861_3() { ) ); } -pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_7 = 0; -pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_7 = -1; -pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_7 = -2; -pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_7 = -3; -pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_7 = -4; -pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_7 = -5; -pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_7 = -6; -pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_7 = -7; -pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_7 = -8; -pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_7 = -9; -pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_7 = -10; -pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_7 = -11; -pub type _bindgen_ty_7 = ::std::os::raw::c_int; +pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_9 = 0; +pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_9 = -1; +pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_9 = -2; +pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_9 = -3; +pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_9 = -4; +pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_9 = -5; +pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_9 = -6; +pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_9 = -7; +pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_9 = -8; +pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_9 = -9; +pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_9 = -10; +pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_9 = -11; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn AImageDecoder_resultToString( arg1: ::std::os::raw::c_int, @@ -3806,8 +3886,8 @@ extern "C" { extern "C" { pub fn AImageDecoder_isAnimated(decoder: *mut AImageDecoder) -> bool; } -pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_8 = 2147483647; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_10 = 2147483647; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoder_getRepeatCount(decoder: *mut AImageDecoder) -> i32; } @@ -3844,16 +3924,16 @@ extern "C" { pub fn AImageDecoderFrameInfo_hasAlphaWithinBounds(info: *const AImageDecoderFrameInfo) -> bool; } -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_9 = 1; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_9 = 2; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_9 = 3; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_11 = 1; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_11 = 2; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_11 = 3; +pub type _bindgen_ty_11 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getDisposeOp(info: *const AImageDecoderFrameInfo) -> i32; } -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_10 = 1; -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_10 = 2; -pub type _bindgen_ty_10 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_12 = 1; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_12 = 2; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getBlendOp(info: *const AImageDecoderFrameInfo) -> i32; } @@ -3863,296 +3943,296 @@ extern "C" { handleInternally: bool, ); } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_11 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_11 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_11 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_11 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_11 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_11 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_11 = 6; -pub const AKEYCODE_0: _bindgen_ty_11 = 7; -pub const AKEYCODE_1: _bindgen_ty_11 = 8; -pub const AKEYCODE_2: _bindgen_ty_11 = 9; -pub const AKEYCODE_3: _bindgen_ty_11 = 10; -pub const AKEYCODE_4: _bindgen_ty_11 = 11; -pub const AKEYCODE_5: _bindgen_ty_11 = 12; -pub const AKEYCODE_6: _bindgen_ty_11 = 13; -pub const AKEYCODE_7: _bindgen_ty_11 = 14; -pub const AKEYCODE_8: _bindgen_ty_11 = 15; -pub const AKEYCODE_9: _bindgen_ty_11 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_11 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_11 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_11 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_11 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_11 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_11 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_11 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_11 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_11 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_11 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_11 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_11 = 28; -pub const AKEYCODE_A: _bindgen_ty_11 = 29; -pub const AKEYCODE_B: _bindgen_ty_11 = 30; -pub const AKEYCODE_C: _bindgen_ty_11 = 31; -pub const AKEYCODE_D: _bindgen_ty_11 = 32; -pub const AKEYCODE_E: _bindgen_ty_11 = 33; -pub const AKEYCODE_F: _bindgen_ty_11 = 34; -pub const AKEYCODE_G: _bindgen_ty_11 = 35; -pub const AKEYCODE_H: _bindgen_ty_11 = 36; -pub const AKEYCODE_I: _bindgen_ty_11 = 37; -pub const AKEYCODE_J: _bindgen_ty_11 = 38; -pub const AKEYCODE_K: _bindgen_ty_11 = 39; -pub const AKEYCODE_L: _bindgen_ty_11 = 40; -pub const AKEYCODE_M: _bindgen_ty_11 = 41; -pub const AKEYCODE_N: _bindgen_ty_11 = 42; -pub const AKEYCODE_O: _bindgen_ty_11 = 43; -pub const AKEYCODE_P: _bindgen_ty_11 = 44; -pub const AKEYCODE_Q: _bindgen_ty_11 = 45; -pub const AKEYCODE_R: _bindgen_ty_11 = 46; -pub const AKEYCODE_S: _bindgen_ty_11 = 47; -pub const AKEYCODE_T: _bindgen_ty_11 = 48; -pub const AKEYCODE_U: _bindgen_ty_11 = 49; -pub const AKEYCODE_V: _bindgen_ty_11 = 50; -pub const AKEYCODE_W: _bindgen_ty_11 = 51; -pub const AKEYCODE_X: _bindgen_ty_11 = 52; -pub const AKEYCODE_Y: _bindgen_ty_11 = 53; -pub const AKEYCODE_Z: _bindgen_ty_11 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_11 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_11 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_11 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_11 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_11 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_11 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_11 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_11 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_11 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_11 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_11 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_11 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_11 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_11 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_11 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_11 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_11 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_11 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_11 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_11 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_11 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_11 = 76; -pub const AKEYCODE_AT: _bindgen_ty_11 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_11 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_11 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_11 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_11 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_11 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_11 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_11 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_11 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_11 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_11 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_11 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_11 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_11 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_11 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_11 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_11 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_11 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_11 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_11 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_11 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_11 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_11 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_11 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_11 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_11 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_11 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_11 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_11 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_11 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_11 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_11 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_11 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_11 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_11 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_11 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_11 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_11 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_11 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_11 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_11 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_11 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_11 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_11 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_11 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_11 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_11 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_11 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_11 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_11 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_11 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_11 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_11 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_11 = 130; -pub const AKEYCODE_F1: _bindgen_ty_11 = 131; -pub const AKEYCODE_F2: _bindgen_ty_11 = 132; -pub const AKEYCODE_F3: _bindgen_ty_11 = 133; -pub const AKEYCODE_F4: _bindgen_ty_11 = 134; -pub const AKEYCODE_F5: _bindgen_ty_11 = 135; -pub const AKEYCODE_F6: _bindgen_ty_11 = 136; -pub const AKEYCODE_F7: _bindgen_ty_11 = 137; -pub const AKEYCODE_F8: _bindgen_ty_11 = 138; -pub const AKEYCODE_F9: _bindgen_ty_11 = 139; -pub const AKEYCODE_F10: _bindgen_ty_11 = 140; -pub const AKEYCODE_F11: _bindgen_ty_11 = 141; -pub const AKEYCODE_F12: _bindgen_ty_11 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_11 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_11 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_11 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_11 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_11 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_11 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_11 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_11 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_11 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_11 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_11 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_11 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_11 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_11 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_11 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_11 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_11 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_11 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_11 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_11 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_11 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_11 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_11 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_11 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_11 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_11 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_11 = 169; -pub const AKEYCODE_TV: _bindgen_ty_11 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_11 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_11 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_11 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_11 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_11 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_11 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_11 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_11 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_11 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_11 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_11 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_11 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_11 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_11 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_11 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_11 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_11 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_11 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_11 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_11 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_11 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_11 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_11 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_11 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_11 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_11 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_11 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_11 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_11 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_11 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_11 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_11 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_11 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_11 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_11 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_11 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_11 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_11 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_11 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_11 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_11 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_11 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_11 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_11 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_11 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_11 = 216; -pub const AKEYCODE_RO: _bindgen_ty_11 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_11 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_11 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_11 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_11 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_11 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_11 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_11 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_11 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_11 = 226; -pub const AKEYCODE_11: _bindgen_ty_11 = 227; -pub const AKEYCODE_12: _bindgen_ty_11 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_11 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_11 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_11 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_11 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_11 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_11 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_11 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_11 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_11 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_11 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_11 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_11 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_11 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_11 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_11 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_11 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_11 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_11 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_11 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_11 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_11 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_11 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_11 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_11 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_11 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_11 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_11 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_11 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_11 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_11 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_11 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_11 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_11 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_11 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_11 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_11 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_11 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_11 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_11 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_11 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_11 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_11 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_11 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_11 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_11 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_11 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_11 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_11 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_11 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_11 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_11 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_11 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_11 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_11 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_11 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_11 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_11 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_11 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_11 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_11 = 288; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; +pub const AKEYCODE_UNKNOWN: _bindgen_ty_13 = 0; +pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_13 = 1; +pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_13 = 2; +pub const AKEYCODE_HOME: _bindgen_ty_13 = 3; +pub const AKEYCODE_BACK: _bindgen_ty_13 = 4; +pub const AKEYCODE_CALL: _bindgen_ty_13 = 5; +pub const AKEYCODE_ENDCALL: _bindgen_ty_13 = 6; +pub const AKEYCODE_0: _bindgen_ty_13 = 7; +pub const AKEYCODE_1: _bindgen_ty_13 = 8; +pub const AKEYCODE_2: _bindgen_ty_13 = 9; +pub const AKEYCODE_3: _bindgen_ty_13 = 10; +pub const AKEYCODE_4: _bindgen_ty_13 = 11; +pub const AKEYCODE_5: _bindgen_ty_13 = 12; +pub const AKEYCODE_6: _bindgen_ty_13 = 13; +pub const AKEYCODE_7: _bindgen_ty_13 = 14; +pub const AKEYCODE_8: _bindgen_ty_13 = 15; +pub const AKEYCODE_9: _bindgen_ty_13 = 16; +pub const AKEYCODE_STAR: _bindgen_ty_13 = 17; +pub const AKEYCODE_POUND: _bindgen_ty_13 = 18; +pub const AKEYCODE_DPAD_UP: _bindgen_ty_13 = 19; +pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_13 = 20; +pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_13 = 21; +pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_13 = 22; +pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_13 = 23; +pub const AKEYCODE_VOLUME_UP: _bindgen_ty_13 = 24; +pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_13 = 25; +pub const AKEYCODE_POWER: _bindgen_ty_13 = 26; +pub const AKEYCODE_CAMERA: _bindgen_ty_13 = 27; +pub const AKEYCODE_CLEAR: _bindgen_ty_13 = 28; +pub const AKEYCODE_A: _bindgen_ty_13 = 29; +pub const AKEYCODE_B: _bindgen_ty_13 = 30; +pub const AKEYCODE_C: _bindgen_ty_13 = 31; +pub const AKEYCODE_D: _bindgen_ty_13 = 32; +pub const AKEYCODE_E: _bindgen_ty_13 = 33; +pub const AKEYCODE_F: _bindgen_ty_13 = 34; +pub const AKEYCODE_G: _bindgen_ty_13 = 35; +pub const AKEYCODE_H: _bindgen_ty_13 = 36; +pub const AKEYCODE_I: _bindgen_ty_13 = 37; +pub const AKEYCODE_J: _bindgen_ty_13 = 38; +pub const AKEYCODE_K: _bindgen_ty_13 = 39; +pub const AKEYCODE_L: _bindgen_ty_13 = 40; +pub const AKEYCODE_M: _bindgen_ty_13 = 41; +pub const AKEYCODE_N: _bindgen_ty_13 = 42; +pub const AKEYCODE_O: _bindgen_ty_13 = 43; +pub const AKEYCODE_P: _bindgen_ty_13 = 44; +pub const AKEYCODE_Q: _bindgen_ty_13 = 45; +pub const AKEYCODE_R: _bindgen_ty_13 = 46; +pub const AKEYCODE_S: _bindgen_ty_13 = 47; +pub const AKEYCODE_T: _bindgen_ty_13 = 48; +pub const AKEYCODE_U: _bindgen_ty_13 = 49; +pub const AKEYCODE_V: _bindgen_ty_13 = 50; +pub const AKEYCODE_W: _bindgen_ty_13 = 51; +pub const AKEYCODE_X: _bindgen_ty_13 = 52; +pub const AKEYCODE_Y: _bindgen_ty_13 = 53; +pub const AKEYCODE_Z: _bindgen_ty_13 = 54; +pub const AKEYCODE_COMMA: _bindgen_ty_13 = 55; +pub const AKEYCODE_PERIOD: _bindgen_ty_13 = 56; +pub const AKEYCODE_ALT_LEFT: _bindgen_ty_13 = 57; +pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_13 = 58; +pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_13 = 59; +pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_13 = 60; +pub const AKEYCODE_TAB: _bindgen_ty_13 = 61; +pub const AKEYCODE_SPACE: _bindgen_ty_13 = 62; +pub const AKEYCODE_SYM: _bindgen_ty_13 = 63; +pub const AKEYCODE_EXPLORER: _bindgen_ty_13 = 64; +pub const AKEYCODE_ENVELOPE: _bindgen_ty_13 = 65; +pub const AKEYCODE_ENTER: _bindgen_ty_13 = 66; +pub const AKEYCODE_DEL: _bindgen_ty_13 = 67; +pub const AKEYCODE_GRAVE: _bindgen_ty_13 = 68; +pub const AKEYCODE_MINUS: _bindgen_ty_13 = 69; +pub const AKEYCODE_EQUALS: _bindgen_ty_13 = 70; +pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_13 = 71; +pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_13 = 72; +pub const AKEYCODE_BACKSLASH: _bindgen_ty_13 = 73; +pub const AKEYCODE_SEMICOLON: _bindgen_ty_13 = 74; +pub const AKEYCODE_APOSTROPHE: _bindgen_ty_13 = 75; +pub const AKEYCODE_SLASH: _bindgen_ty_13 = 76; +pub const AKEYCODE_AT: _bindgen_ty_13 = 77; +pub const AKEYCODE_NUM: _bindgen_ty_13 = 78; +pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_13 = 79; +pub const AKEYCODE_FOCUS: _bindgen_ty_13 = 80; +pub const AKEYCODE_PLUS: _bindgen_ty_13 = 81; +pub const AKEYCODE_MENU: _bindgen_ty_13 = 82; +pub const AKEYCODE_NOTIFICATION: _bindgen_ty_13 = 83; +pub const AKEYCODE_SEARCH: _bindgen_ty_13 = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_13 = 85; +pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_13 = 86; +pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_13 = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_13 = 88; +pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_13 = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_13 = 90; +pub const AKEYCODE_MUTE: _bindgen_ty_13 = 91; +pub const AKEYCODE_PAGE_UP: _bindgen_ty_13 = 92; +pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_13 = 93; +pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_13 = 94; +pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_13 = 95; +pub const AKEYCODE_BUTTON_A: _bindgen_ty_13 = 96; +pub const AKEYCODE_BUTTON_B: _bindgen_ty_13 = 97; +pub const AKEYCODE_BUTTON_C: _bindgen_ty_13 = 98; +pub const AKEYCODE_BUTTON_X: _bindgen_ty_13 = 99; +pub const AKEYCODE_BUTTON_Y: _bindgen_ty_13 = 100; +pub const AKEYCODE_BUTTON_Z: _bindgen_ty_13 = 101; +pub const AKEYCODE_BUTTON_L1: _bindgen_ty_13 = 102; +pub const AKEYCODE_BUTTON_R1: _bindgen_ty_13 = 103; +pub const AKEYCODE_BUTTON_L2: _bindgen_ty_13 = 104; +pub const AKEYCODE_BUTTON_R2: _bindgen_ty_13 = 105; +pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_13 = 106; +pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_13 = 107; +pub const AKEYCODE_BUTTON_START: _bindgen_ty_13 = 108; +pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_13 = 109; +pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_13 = 110; +pub const AKEYCODE_ESCAPE: _bindgen_ty_13 = 111; +pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_13 = 112; +pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_13 = 113; +pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_13 = 114; +pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_13 = 115; +pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_13 = 116; +pub const AKEYCODE_META_LEFT: _bindgen_ty_13 = 117; +pub const AKEYCODE_META_RIGHT: _bindgen_ty_13 = 118; +pub const AKEYCODE_FUNCTION: _bindgen_ty_13 = 119; +pub const AKEYCODE_SYSRQ: _bindgen_ty_13 = 120; +pub const AKEYCODE_BREAK: _bindgen_ty_13 = 121; +pub const AKEYCODE_MOVE_HOME: _bindgen_ty_13 = 122; +pub const AKEYCODE_MOVE_END: _bindgen_ty_13 = 123; +pub const AKEYCODE_INSERT: _bindgen_ty_13 = 124; +pub const AKEYCODE_FORWARD: _bindgen_ty_13 = 125; +pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_13 = 126; +pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_13 = 127; +pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_13 = 128; +pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_13 = 129; +pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_13 = 130; +pub const AKEYCODE_F1: _bindgen_ty_13 = 131; +pub const AKEYCODE_F2: _bindgen_ty_13 = 132; +pub const AKEYCODE_F3: _bindgen_ty_13 = 133; +pub const AKEYCODE_F4: _bindgen_ty_13 = 134; +pub const AKEYCODE_F5: _bindgen_ty_13 = 135; +pub const AKEYCODE_F6: _bindgen_ty_13 = 136; +pub const AKEYCODE_F7: _bindgen_ty_13 = 137; +pub const AKEYCODE_F8: _bindgen_ty_13 = 138; +pub const AKEYCODE_F9: _bindgen_ty_13 = 139; +pub const AKEYCODE_F10: _bindgen_ty_13 = 140; +pub const AKEYCODE_F11: _bindgen_ty_13 = 141; +pub const AKEYCODE_F12: _bindgen_ty_13 = 142; +pub const AKEYCODE_NUM_LOCK: _bindgen_ty_13 = 143; +pub const AKEYCODE_NUMPAD_0: _bindgen_ty_13 = 144; +pub const AKEYCODE_NUMPAD_1: _bindgen_ty_13 = 145; +pub const AKEYCODE_NUMPAD_2: _bindgen_ty_13 = 146; +pub const AKEYCODE_NUMPAD_3: _bindgen_ty_13 = 147; +pub const AKEYCODE_NUMPAD_4: _bindgen_ty_13 = 148; +pub const AKEYCODE_NUMPAD_5: _bindgen_ty_13 = 149; +pub const AKEYCODE_NUMPAD_6: _bindgen_ty_13 = 150; +pub const AKEYCODE_NUMPAD_7: _bindgen_ty_13 = 151; +pub const AKEYCODE_NUMPAD_8: _bindgen_ty_13 = 152; +pub const AKEYCODE_NUMPAD_9: _bindgen_ty_13 = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_13 = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_13 = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_13 = 156; +pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_13 = 157; +pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_13 = 158; +pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_13 = 159; +pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_13 = 160; +pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_13 = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_13 = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_13 = 163; +pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_13 = 164; +pub const AKEYCODE_INFO: _bindgen_ty_13 = 165; +pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_13 = 166; +pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_13 = 167; +pub const AKEYCODE_ZOOM_IN: _bindgen_ty_13 = 168; +pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_13 = 169; +pub const AKEYCODE_TV: _bindgen_ty_13 = 170; +pub const AKEYCODE_WINDOW: _bindgen_ty_13 = 171; +pub const AKEYCODE_GUIDE: _bindgen_ty_13 = 172; +pub const AKEYCODE_DVR: _bindgen_ty_13 = 173; +pub const AKEYCODE_BOOKMARK: _bindgen_ty_13 = 174; +pub const AKEYCODE_CAPTIONS: _bindgen_ty_13 = 175; +pub const AKEYCODE_SETTINGS: _bindgen_ty_13 = 176; +pub const AKEYCODE_TV_POWER: _bindgen_ty_13 = 177; +pub const AKEYCODE_TV_INPUT: _bindgen_ty_13 = 178; +pub const AKEYCODE_STB_POWER: _bindgen_ty_13 = 179; +pub const AKEYCODE_STB_INPUT: _bindgen_ty_13 = 180; +pub const AKEYCODE_AVR_POWER: _bindgen_ty_13 = 181; +pub const AKEYCODE_AVR_INPUT: _bindgen_ty_13 = 182; +pub const AKEYCODE_PROG_RED: _bindgen_ty_13 = 183; +pub const AKEYCODE_PROG_GREEN: _bindgen_ty_13 = 184; +pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_13 = 185; +pub const AKEYCODE_PROG_BLUE: _bindgen_ty_13 = 186; +pub const AKEYCODE_APP_SWITCH: _bindgen_ty_13 = 187; +pub const AKEYCODE_BUTTON_1: _bindgen_ty_13 = 188; +pub const AKEYCODE_BUTTON_2: _bindgen_ty_13 = 189; +pub const AKEYCODE_BUTTON_3: _bindgen_ty_13 = 190; +pub const AKEYCODE_BUTTON_4: _bindgen_ty_13 = 191; +pub const AKEYCODE_BUTTON_5: _bindgen_ty_13 = 192; +pub const AKEYCODE_BUTTON_6: _bindgen_ty_13 = 193; +pub const AKEYCODE_BUTTON_7: _bindgen_ty_13 = 194; +pub const AKEYCODE_BUTTON_8: _bindgen_ty_13 = 195; +pub const AKEYCODE_BUTTON_9: _bindgen_ty_13 = 196; +pub const AKEYCODE_BUTTON_10: _bindgen_ty_13 = 197; +pub const AKEYCODE_BUTTON_11: _bindgen_ty_13 = 198; +pub const AKEYCODE_BUTTON_12: _bindgen_ty_13 = 199; +pub const AKEYCODE_BUTTON_13: _bindgen_ty_13 = 200; +pub const AKEYCODE_BUTTON_14: _bindgen_ty_13 = 201; +pub const AKEYCODE_BUTTON_15: _bindgen_ty_13 = 202; +pub const AKEYCODE_BUTTON_16: _bindgen_ty_13 = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_13 = 204; +pub const AKEYCODE_MANNER_MODE: _bindgen_ty_13 = 205; +pub const AKEYCODE_3D_MODE: _bindgen_ty_13 = 206; +pub const AKEYCODE_CONTACTS: _bindgen_ty_13 = 207; +pub const AKEYCODE_CALENDAR: _bindgen_ty_13 = 208; +pub const AKEYCODE_MUSIC: _bindgen_ty_13 = 209; +pub const AKEYCODE_CALCULATOR: _bindgen_ty_13 = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_13 = 211; +pub const AKEYCODE_EISU: _bindgen_ty_13 = 212; +pub const AKEYCODE_MUHENKAN: _bindgen_ty_13 = 213; +pub const AKEYCODE_HENKAN: _bindgen_ty_13 = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_13 = 215; +pub const AKEYCODE_YEN: _bindgen_ty_13 = 216; +pub const AKEYCODE_RO: _bindgen_ty_13 = 217; +pub const AKEYCODE_KANA: _bindgen_ty_13 = 218; +pub const AKEYCODE_ASSIST: _bindgen_ty_13 = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_13 = 220; +pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_13 = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_13 = 222; +pub const AKEYCODE_SLEEP: _bindgen_ty_13 = 223; +pub const AKEYCODE_WAKEUP: _bindgen_ty_13 = 224; +pub const AKEYCODE_PAIRING: _bindgen_ty_13 = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_13 = 226; +pub const AKEYCODE_11: _bindgen_ty_13 = 227; +pub const AKEYCODE_12: _bindgen_ty_13 = 228; +pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_13 = 229; +pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_13 = 230; +pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_13 = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_13 = 232; +pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_13 = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_13 = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_13 = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_13 = 236; +pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_13 = 237; +pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_13 = 238; +pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_13 = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_13 = 240; +pub const AKEYCODE_TV_NETWORK: _bindgen_ty_13 = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_13 = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_13 = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_13 = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_13 = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_13 = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_13 = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_13 = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_13 = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_13 = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_13 = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_13 = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_13 = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_13 = 254; +pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_13 = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_13 = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_13 = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_13 = 258; +pub const AKEYCODE_HELP: _bindgen_ty_13 = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_13 = 260; +pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_13 = 261; +pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_13 = 262; +pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_13 = 263; +pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_13 = 264; +pub const AKEYCODE_STEM_1: _bindgen_ty_13 = 265; +pub const AKEYCODE_STEM_2: _bindgen_ty_13 = 266; +pub const AKEYCODE_STEM_3: _bindgen_ty_13 = 267; +pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_13 = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_13 = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_13 = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_13 = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_13 = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_13 = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_13 = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_13 = 275; +pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_13 = 276; +pub const AKEYCODE_CUT: _bindgen_ty_13 = 277; +pub const AKEYCODE_COPY: _bindgen_ty_13 = 278; +pub const AKEYCODE_PASTE: _bindgen_ty_13 = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_13 = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_13 = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_13 = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_13 = 283; +pub const AKEYCODE_ALL_APPS: _bindgen_ty_13 = 284; +pub const AKEYCODE_REFRESH: _bindgen_ty_13 = 285; +pub const AKEYCODE_THUMBS_UP: _bindgen_ty_13 = 286; +pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_13 = 287; +pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_13 = 288; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -4161,28 +4241,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_12 = 1; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_14 = 1; +pub type _bindgen_ty_14 = ::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_13 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_13 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_13 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_13 = -4; -pub type _bindgen_ty_13 = ::std::os::raw::c_int; +pub const ALOOPER_POLL_WAKE: _bindgen_ty_15 = -1; +pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_15 = -2; +pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_15 = -3; +pub const ALOOPER_POLL_ERROR: _bindgen_ty_15 = -4; +pub type _bindgen_ty_15 = ::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_14 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_14 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_14 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_14 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_14 = 16; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const ALOOPER_EVENT_INPUT: _bindgen_ty_16 = 1; +pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_16 = 2; +pub const ALOOPER_EVENT_ERROR: _bindgen_ty_16 = 4; +pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_16 = 8; +pub const ALOOPER_EVENT_INVALID: _bindgen_ty_16 = 16; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -4225,143 +4305,143 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_15 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_15 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_15 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_15 = 2; -pub type _bindgen_ty_15 = ::std::os::raw::c_int; -pub const AMETA_NONE: _bindgen_ty_16 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_16 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_16 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_16 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_16 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_16 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_16 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_16 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_16 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_16 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_16 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_16 = 16384; -pub const AMETA_META_ON: _bindgen_ty_16 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_16 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_16 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_16 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_16 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_16 = 4194304; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AKEY_STATE_UNKNOWN: _bindgen_ty_17 = -1; +pub const AKEY_STATE_UP: _bindgen_ty_17 = 0; +pub const AKEY_STATE_DOWN: _bindgen_ty_17 = 1; +pub const AKEY_STATE_VIRTUAL: _bindgen_ty_17 = 2; +pub type _bindgen_ty_17 = ::std::os::raw::c_int; +pub const AMETA_NONE: _bindgen_ty_18 = 0; +pub const AMETA_ALT_ON: _bindgen_ty_18 = 2; +pub const AMETA_ALT_LEFT_ON: _bindgen_ty_18 = 16; +pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_18 = 32; +pub const AMETA_SHIFT_ON: _bindgen_ty_18 = 1; +pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_18 = 64; +pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_18 = 128; +pub const AMETA_SYM_ON: _bindgen_ty_18 = 4; +pub const AMETA_FUNCTION_ON: _bindgen_ty_18 = 8; +pub const AMETA_CTRL_ON: _bindgen_ty_18 = 4096; +pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_18 = 8192; +pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_18 = 16384; +pub const AMETA_META_ON: _bindgen_ty_18 = 65536; +pub const AMETA_META_LEFT_ON: _bindgen_ty_18 = 131072; +pub const AMETA_META_RIGHT_ON: _bindgen_ty_18 = 262144; +pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_18 = 1048576; +pub const AMETA_NUM_LOCK_ON: _bindgen_ty_18 = 2097152; +pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_18 = 4194304; +pub type _bindgen_ty_18 = ::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_17 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_17 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_17 = 3; -pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_17 = 4; -pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_17 = 5; -pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_17 = 6; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_18 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_18 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_18 = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_19 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_19 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_19 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_19 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_19 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_19 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_19 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_19 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_19 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_19 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_19 = 1024; +pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_19 = 1; +pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_19 = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_19 = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_19 = 4; +pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_19 = 5; +pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_19 = 6; pub type _bindgen_ty_19 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_20 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_20 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_20 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_20 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_20 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_20 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_20 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_20 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_20 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_20 = 12; +pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; +pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_20 = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_20 = 2; pub type _bindgen_ty_20 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_21 = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_21 = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_21 = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_21 = 16; +pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_21 = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_21 = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_21 = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_21 = 256; +pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_21 = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_21 = 1024; pub type _bindgen_ty_21 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_22 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_22 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_22 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_22 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_22 = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_22 = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_22 = 0; +pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_22 = 1; +pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_22 = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_22 = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_22 = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_22 = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_22 = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_22 = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_22 = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_22 = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_22 = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_22 = 12; pub type _bindgen_ty_22 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_23 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_23 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_23 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_23 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_23 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_23 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_23 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_23 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_23 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_23 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_23 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_23 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_23 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_23 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_23 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_23 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_23 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_23 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_23 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_23 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_23 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_23 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_23 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_23 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_23 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_23 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_23 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_23 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_23 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_23 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_23 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_23 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_23 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_23 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_23 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_23 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_23 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_23 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_23 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_23 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_23 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_23 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_23 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_23 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_23 = 47; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_23 = 1; pub type _bindgen_ty_23 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_24 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_24 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_24 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_24 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_24 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_24 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_24 = 64; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_24 = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_24 = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_24 = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_24 = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_24 = 8; pub type _bindgen_ty_24 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_25 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_25 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_25 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_25 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_25 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_25 = 0; +pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_25 = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_25 = 2; +pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_25 = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_25 = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_25 = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_25 = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_25 = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_25 = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_25 = 10; +pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_25 = 11; +pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_25 = 12; +pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_25 = 13; +pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_25 = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_25 = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_25 = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_25 = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_25 = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_25 = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_25 = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_25 = 21; +pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_25 = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_25 = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_25 = 24; +pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_25 = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_25 = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_25 = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_25 = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_25 = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_25 = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_25 = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_25 = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_25 = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_25 = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_25 = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_25 = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_25 = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_25 = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_25 = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_25 = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_25 = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_25 = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_25 = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_25 = 47; pub type _bindgen_ty_25 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_26 = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_26 = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_26 = 4; +pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_26 = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_26 = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_26 = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_26 = 64; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_27 = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_27 = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_27 = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_27 = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_27 = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_27 = 5; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; impl AMotionClassification { pub const AMOTION_EVENT_CLASSIFICATION_NONE: AMotionClassification = AMotionClassification(0); } @@ -4376,46 +4456,46 @@ impl AMotionClassification { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct AMotionClassification(pub u32); -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_26 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_26 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_26 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_26 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_26 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_26 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_26 = 16; -pub type _bindgen_ty_26 = ::std::os::raw::c_uint; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_27 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_27 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_27 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_27 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_27 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_27 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_27 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_27 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_27 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_27 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_27 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_27 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_27 = 16777232; -pub const AINPUT_SOURCE_HDMI: _bindgen_ty_27 = 33554433; -pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_27 = 67108864; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_27 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_27 = 4294967040; -pub type _bindgen_ty_27 = ::std::os::raw::c_uint; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_28 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_28 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_28 = 255; +pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_28 = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_28 = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_28 = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_28 = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_28 = 16; pub type _bindgen_ty_28 = ::std::os::raw::c_uint; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_29 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_29 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_29 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_29 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_29 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_29 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_29 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_29 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_29 = 8; +pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_29 = 0; +pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_29 = 257; +pub const AINPUT_SOURCE_DPAD: _bindgen_ty_29 = 513; +pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_29 = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_29 = 4098; +pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_29 = 8194; +pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_29 = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_29 = 49154; +pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_29 = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_29 = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_29 = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_29 = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_29 = 16777232; +pub const AINPUT_SOURCE_HDMI: _bindgen_ty_29 = 33554433; +pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_29 = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_29 = 4194304; +pub const AINPUT_SOURCE_ANY: _bindgen_ty_29 = 4294967040; pub type _bindgen_ty_29 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_30 = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_30 = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_30 = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_31 = 0; +pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_31 = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_31 = 2; +pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_31 = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_31 = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_31 = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_31 = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_31 = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_31 = 8; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -5180,10 +5260,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_30 = 0; -pub const SHUT_WR: _bindgen_ty_30 = 1; -pub const SHUT_RDWR: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const SHUT_RD: _bindgen_ty_32 = 0; +pub const SHUT_WR: _bindgen_ty_32 = 1; +pub const SHUT_RDWR: _bindgen_ty_32 = 2; +pub type _bindgen_ty_32 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8206,15 +8286,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_33 = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_33 = 2; +pub type _bindgen_ty_33 = ::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_32 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_32 = 2; -pub type _bindgen_ty_32 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_34 = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_34 = 2; +pub type _bindgen_ty_34 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -8725,10 +8805,10 @@ impl ResultCode { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ResultCode(pub ::std::os::raw::c_uint); -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_33 = 128; -pub type _bindgen_ty_33 = ::std::os::raw::c_uint; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_34 = 32; -pub type _bindgen_ty_34 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_35 = 128; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_36 = 32; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; impl DurationCode { pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = DurationCode(0); } @@ -9359,8 +9439,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_35 = 1; -pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const AOBBINFO_OVERLAY: _bindgen_ty_37 = 1; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -9376,13 +9456,13 @@ extern "C" { extern "C" { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } -pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_36 = 0; -pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_36 = -1; -pub type _bindgen_ty_36 = ::std::os::raw::c_int; -pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_37 = 0; -pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_37 = -1; -pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_37 = -2; -pub type _bindgen_ty_37 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_38 = 0; +pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_38 = -1; +pub type _bindgen_ty_38 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_39 = 0; +pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_39 = -1; +pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_39 = -2; +pub type _bindgen_ty_39 = ::std::os::raw::c_int; extern "C" { pub fn APermissionManager_checkPermission( permission: *const ::std::os::raw::c_char, @@ -9761,70 +9841,70 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_38 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_38 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_38 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_38 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_38 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_38 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_38 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_38 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_38 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_38 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_38 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_38 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_38 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_38 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_38 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_38 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_38 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_38 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_38 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_38 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_38 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_38 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_38 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_38 = 31; -pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_38 = 32; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_38 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_38 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_38 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_38 = 36; -pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_38 = 37; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_38 = 38; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_38 = 39; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 40; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 41; -pub const ASENSOR_TYPE_HEADING: _bindgen_ty_38 = 42; -pub type _bindgen_ty_38 = ::std::os::raw::c_int; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_39 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_39 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_39 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_39 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_39 = 3; -pub type _bindgen_ty_39 = ::std::os::raw::c_int; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_40 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_40 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_40 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_40 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_40 = 3; +pub const ASENSOR_TYPE_INVALID: _bindgen_ty_40 = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_40 = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_40 = 2; +pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_40 = 4; +pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_40 = 5; +pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_40 = 6; +pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_40 = 8; +pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_40 = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_40 = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_40 = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_40 = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_40 = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_40 = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_40 = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_40 = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_40 = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_40 = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_40 = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_40 = 20; +pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_40 = 21; +pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_40 = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_40 = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_40 = 30; +pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_40 = 31; +pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_40 = 32; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_40 = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_40 = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_40 = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_40 = 36; +pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_40 = 37; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_40 = 38; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_40 = 39; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 40; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 41; +pub const ASENSOR_TYPE_HEADING: _bindgen_ty_40 = 42; pub type _bindgen_ty_40 = ::std::os::raw::c_int; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_41 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_41 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_41 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_41 = 3; -pub type _bindgen_ty_41 = ::std::os::raw::c_uint; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_42 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_42 = 2; -pub type _bindgen_ty_42 = ::std::os::raw::c_uint; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_43 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_43 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_43 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_43 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_43 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_43 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_43 = 65540; +pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_41 = -1; +pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_41 = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_41 = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_41 = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_41 = 3; +pub type _bindgen_ty_41 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: _bindgen_ty_42 = -1; +pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_42 = 0; +pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_42 = 1; +pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_42 = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_42 = 3; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_43 = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_43 = 1; +pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_43 = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_43 = 3; pub type _bindgen_ty_43 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_44 = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_44 = 2; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_45 = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_45 = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_45 = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_45 = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_45 = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_45 = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_45 = 65540; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -11740,15 +11820,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_44 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_44 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_44 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_44 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_44 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_44 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_44 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_44 = 25; -pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const AOBB_STATE_MOUNTED: _bindgen_ty_46 = 1; +pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_46 = 2; +pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_46 = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_46 = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_46 = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_46 = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_46 = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_46 = 25; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -12069,6 +12149,20 @@ extern "C" { extern "C" { pub fn sync_file_info_free(info: *mut sync_file_info); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ASystemFontIterator { + _unused: [u8; 0], +} +extern "C" { + pub fn ASystemFontIterator_open() -> *mut ASystemFontIterator; +} +extern "C" { + pub fn ASystemFontIterator_close(iterator: *mut ASystemFontIterator); +} +extern "C" { + pub fn ASystemFontIterator_next(iterator: *mut ASystemFontIterator) -> *mut AFont; +} extern "C" { pub fn ATrace_isEnabled() -> bool; } @@ -12087,30 +12181,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_45 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_45 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_45 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_45 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_45 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_45 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_45 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_45 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_45 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_45 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_45 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_45 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_45 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_45 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_45 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_45 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_45 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_45 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_45 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_45 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_45 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_45 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_45 = 4194304; -pub type _bindgen_ty_45 = ::std::os::raw::c_uint; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_47 = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_47 = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_47 = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_47 = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_47 = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_47 = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_47 = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_47 = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_47 = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_47 = 512; +pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_47 = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_47 = 2048; +pub const AWINDOW_FLAG_DITHER: _bindgen_ty_47 = 4096; +pub const AWINDOW_FLAG_SECURE: _bindgen_ty_47 = 8192; +pub const AWINDOW_FLAG_SCALED: _bindgen_ty_47 = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_47 = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_47 = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_47 = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_47 = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_47 = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_47 = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_47 = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_47 = 4194304; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -14698,23 +14792,23 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_R0: _bindgen_ty_46 = 0; -pub const REG_R1: _bindgen_ty_46 = 1; -pub const REG_R2: _bindgen_ty_46 = 2; -pub const REG_R3: _bindgen_ty_46 = 3; -pub const REG_R4: _bindgen_ty_46 = 4; -pub const REG_R5: _bindgen_ty_46 = 5; -pub const REG_R6: _bindgen_ty_46 = 6; -pub const REG_R7: _bindgen_ty_46 = 7; -pub const REG_R8: _bindgen_ty_46 = 8; -pub const REG_R9: _bindgen_ty_46 = 9; -pub const REG_R10: _bindgen_ty_46 = 10; -pub const REG_R11: _bindgen_ty_46 = 11; -pub const REG_R12: _bindgen_ty_46 = 12; -pub const REG_R13: _bindgen_ty_46 = 13; -pub const REG_R14: _bindgen_ty_46 = 14; -pub const REG_R15: _bindgen_ty_46 = 15; -pub type _bindgen_ty_46 = ::std::os::raw::c_uint; +pub const REG_R0: _bindgen_ty_48 = 0; +pub const REG_R1: _bindgen_ty_48 = 1; +pub const REG_R2: _bindgen_ty_48 = 2; +pub const REG_R3: _bindgen_ty_48 = 3; +pub const REG_R4: _bindgen_ty_48 = 4; +pub const REG_R5: _bindgen_ty_48 = 5; +pub const REG_R6: _bindgen_ty_48 = 6; +pub const REG_R7: _bindgen_ty_48 = 7; +pub const REG_R8: _bindgen_ty_48 = 8; +pub const REG_R9: _bindgen_ty_48 = 9; +pub const REG_R10: _bindgen_ty_48 = 10; +pub const REG_R11: _bindgen_ty_48 = 11; +pub const REG_R12: _bindgen_ty_48 = 12; +pub const REG_R13: _bindgen_ty_48 = 13; +pub const REG_R14: _bindgen_ty_48 = 14; +pub const REG_R15: _bindgen_ty_48 = 15; +pub type _bindgen_ty_48 = ::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; @@ -15488,161 +15582,161 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_47 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_47 = 1; -pub type _bindgen_ty_47 = ::std::os::raw::c_uint; +pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_49 = 0; +pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_49 = 1; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_48 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_48 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_48 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_48 = 2; -pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_48 = 3; -pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_48 = 4; -pub type _bindgen_ty_48 = ::std::os::raw::c_int; +pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_50 = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_50 = 0; +pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_50 = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_50 = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_50 = 3; +pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_50 = 4; +pub type _bindgen_ty_50 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_49 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_49 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_49 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_49 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_49 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_49 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_49 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_49 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_49 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_49 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_49 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_49 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_49 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_49 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_49 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_49 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_49 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_49 = -880; -pub type _bindgen_ty_49 = ::std::os::raw::c_int; +pub const AAUDIO_OK: _bindgen_ty_51 = 0; +pub const AAUDIO_ERROR_BASE: _bindgen_ty_51 = -900; +pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_51 = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_51 = -898; +pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_51 = -896; +pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_51 = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_51 = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_51 = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_51 = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_51 = -888; +pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_51 = -887; +pub const AAUDIO_ERROR_NULL: _bindgen_ty_51 = -886; +pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_51 = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_51 = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_51 = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_51 = -882; +pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_51 = -881; +pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_51 = -880; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_50 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_50 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_50 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_50 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_50 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_50 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_50 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_50 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_50 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_50 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_50 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_50 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_50 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_50 = 13; -pub type _bindgen_ty_50 = ::std::os::raw::c_uint; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_52 = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_52 = 1; +pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_52 = 2; +pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_52 = 3; +pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_52 = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_52 = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_52 = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_52 = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_52 = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_52 = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_52 = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_52 = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_52 = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_52 = 13; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_51 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_51 = 1; -pub type _bindgen_ty_51 = ::std::os::raw::c_uint; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_53 = 0; +pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_53 = 1; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_52 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_52 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_52 = 12; -pub type _bindgen_ty_52 = ::std::os::raw::c_uint; +pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_54 = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_54 = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_54 = 12; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_53 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_53 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_53 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_53 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_53 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_53 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_53 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_53 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_53 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_53 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_53 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_53 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_53 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_53 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_53 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_53 = 1003; -pub type _bindgen_ty_53 = ::std::os::raw::c_uint; +pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_55 = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_55 = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_55 = 3; +pub const AAUDIO_USAGE_ALARM: _bindgen_ty_55 = 4; +pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_55 = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_55 = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_55 = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_55 = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_55 = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_55 = 13; +pub const AAUDIO_USAGE_GAME: _bindgen_ty_55 = 14; +pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_55 = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_55 = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_55 = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_55 = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_55 = 1003; +pub type _bindgen_ty_55 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_54 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_54 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_54 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_54 = 4; -pub type _bindgen_ty_54 = ::std::os::raw::c_uint; +pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_56 = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_56 = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_56 = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_56 = 4; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_55 = 1; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_55 = 2; -pub type _bindgen_ty_55 = ::std::os::raw::c_uint; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_57 = 1; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_57 = 2; +pub type _bindgen_ty_57 = ::std::os::raw::c_uint; pub type aaudio_spatialization_behavior_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_56 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_56 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_56 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_56 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_56 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_56 = 10; -pub type _bindgen_ty_56 = ::std::os::raw::c_uint; +pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_58 = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_58 = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_58 = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_58 = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_58 = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_58 = 10; +pub type _bindgen_ty_58 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_57 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_57 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_57 = 3; -pub type _bindgen_ty_57 = ::std::os::raw::c_uint; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_59 = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_59 = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_59 = 3; +pub type _bindgen_ty_59 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_58 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_58 = 0; -pub type _bindgen_ty_58 = ::std::os::raw::c_int; +pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_60 = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_60 = 0; +pub type _bindgen_ty_60 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; -pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_59 = -1; -pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_59 = 2; -pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_59 = 4; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_59 = 8; -pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_59 = 16; -pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_59 = 32; -pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_59 = 64; -pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_59 = 128; -pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_59 = 256; -pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_59 = 512; -pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_59 = 1024; -pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_59 = 2048; -pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_59 = 4096; -pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_59 = 8192; -pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_59 = 16384; -pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_59 = 32768; -pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_59 = 65536; -pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_59 = 131072; -pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_59 = 262144; -pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_59 = 524288; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_59 = 1048576; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_59 = 2097152; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_59 = 4194304; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_59 = 8388608; -pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_59 = 16777216; -pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_59 = 33554432; -pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_59 = 3; -pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_59 = 11; -pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_59 = 7; -pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_59 = 259; -pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_59 = 15; -pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_59 = 786435; -pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_59 = 786443; -pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_59 = 786439; -pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_59 = 786447; -pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_59 = 51; -pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_59 = 1539; -pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_59 = 263; -pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_59 = 55; -pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_59 = 63; -pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_59 = 1551; -pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_59 = 319; -pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_59 = 1599; -pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_59 = 786495; -pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_59 = 184383; -pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_59 = 788031; -pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_59 = 185919; -pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_59 = 50517567; -pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_59 = 51303999; -pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_59 = 260; -pub type _bindgen_ty_59 = ::std::os::raw::c_int; +pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_61 = -1; +pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_61 = 2; +pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_61 = 4; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_61 = 8; +pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_61 = 16; +pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_61 = 32; +pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_61 = 64; +pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_61 = 128; +pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_61 = 256; +pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_61 = 512; +pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_61 = 1024; +pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_61 = 2048; +pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_61 = 4096; +pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_61 = 8192; +pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_61 = 16384; +pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_61 = 32768; +pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_61 = 65536; +pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_61 = 131072; +pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_61 = 262144; +pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_61 = 524288; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_61 = 1048576; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_61 = 2097152; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_61 = 4194304; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_61 = 8388608; +pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_61 = 16777216; +pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_61 = 33554432; +pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_61 = 3; +pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_61 = 11; +pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_61 = 7; +pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_61 = 259; +pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_61 = 15; +pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_61 = 786435; +pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_61 = 786443; +pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_61 = 786439; +pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_61 = 786447; +pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_61 = 51; +pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_61 = 1539; +pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_61 = 263; +pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_61 = 55; +pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_61 = 63; +pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_61 = 1551; +pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_61 = 319; +pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_61 = 1599; +pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_61 = 786495; +pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_61 = 184383; +pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_61 = 788031; +pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_61 = 185919; +pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_61 = 50517567; +pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_61 = 51303999; +pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_61 = 260; +pub type _bindgen_ty_61 = ::std::os::raw::c_int; pub type aaudio_channel_mask_t = u32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -15773,9 +15867,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_60 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_60 = 1; -pub type _bindgen_ty_60 = ::std::os::raw::c_uint; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_62 = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_62 = 1; +pub type _bindgen_ty_62 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -16067,13 +16161,13 @@ pub struct AMidiInputPort { pub struct AMidiOutputPort { _unused: [u8; 0], } -pub const AMIDI_OPCODE_DATA: _bindgen_ty_61 = 1; -pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_61 = 2; -pub type _bindgen_ty_61 = ::std::os::raw::c_uint; -pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_62 = 1; -pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_62 = 2; -pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_62 = 3; -pub type _bindgen_ty_62 = ::std::os::raw::c_uint; +pub const AMIDI_OPCODE_DATA: _bindgen_ty_63 = 1; +pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_63 = 2; +pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_64 = 1; +pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_64 = 2; +pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_64 = 3; +pub type _bindgen_ty_64 = ::std::os::raw::c_uint; impl AMidiDevice_Protocol { pub const AMIDI_DEVICE_PROTOCOL_UMP_USE_MIDI_CI: AMidiDevice_Protocol = AMidiDevice_Protocol(0); } @@ -19254,14 +19348,14 @@ pub use self::acamera_metadata_enum_acamera_automotive_lens_facing as acamera_me pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_63 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_63 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_63 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_63 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_63 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_63 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_63 = 6; -pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const ACAMERA_TYPE_BYTE: _bindgen_ty_65 = 0; +pub const ACAMERA_TYPE_INT32: _bindgen_ty_65 = 1; +pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_65 = 2; +pub const ACAMERA_TYPE_INT64: _bindgen_ty_65 = 3; +pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_65 = 4; +pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_65 = 5; +pub const ACAMERA_NUM_TYPES: _bindgen_ty_65 = 6; +pub type _bindgen_ty_65 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -19903,9 +19997,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_64 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_64 = 1; -pub type _bindgen_ty_64 = ::std::os::raw::c_uint; +pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_66 = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_66 = 1; +pub type _bindgen_ty_66 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -20132,8 +20226,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_65 = -1; -pub type _bindgen_ty_65 = ::std::os::raw::c_int; +pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_67 = -1; +pub type _bindgen_ty_67 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -20702,12 +20796,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_66 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_66 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_66 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_66 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_66 = 5; -pub type _bindgen_ty_66 = ::std::os::raw::c_uint; +pub const ERROR_CAMERA_IN_USE: _bindgen_ty_68 = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_68 = 2; +pub const ERROR_CAMERA_DISABLED: _bindgen_ty_68 = 3; +pub const ERROR_CAMERA_DEVICE: _bindgen_ty_68 = 4; +pub const ERROR_CAMERA_SERVICE: _bindgen_ty_68 = 5; +pub type _bindgen_ty_68 = ::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), >; @@ -22150,14 +22244,14 @@ fn bindgen_test_layout_AMediaCodecBufferInfo() { pub struct AMediaCodecCryptoInfo { _unused: [u8; 0], } -pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_67 = 2; -pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_67 = 4; -pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_67 = 8; -pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_67 = 1; -pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_67 = -3; -pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_67 = -2; -pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_67 = -1; -pub type _bindgen_ty_67 = ::std::os::raw::c_int; +pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_69 = 2; +pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_69 = 4; +pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_69 = 8; +pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_69 = 1; +pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_69 = -3; +pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_69 = -2; +pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_69 = -1; +pub type _bindgen_ty_69 = ::std::os::raw::c_int; pub type AMediaCodecOnAsyncInputAvailable = ::std::option::Option< unsafe extern "C" fn( codec: *mut AMediaCodec, @@ -23248,9 +23342,9 @@ extern "C" { arg1: *mut AMediaExtractor, ) -> *mut AMediaCodecCryptoInfo; } -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_68 = 1; -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_68 = 2; -pub type _bindgen_ty_68 = ::std::os::raw::c_uint; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_70 = 1; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_70 = 2; +pub type _bindgen_ty_70 = ::std::os::raw::c_uint; extern "C" { pub fn AMediaExtractor_getFileFormat(arg1: *mut AMediaExtractor) -> *mut AMediaFormat; } diff --git a/ndk-sys/src/ffi_i686.rs b/ndk-sys/src/ffi_i686.rs index 38e62494..2a19f1e7 100644 --- a/ndk-sys/src/ffi_i686.rs +++ b/ndk-sys/src/ffi_i686.rs @@ -2851,6 +2851,86 @@ extern "C" { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct AFont { + _unused: [u8; 0], +} +pub const AFONT_WEIGHT_MIN: _bindgen_ty_7 = 0; +pub const AFONT_WEIGHT_THIN: _bindgen_ty_7 = 100; +pub const AFONT_WEIGHT_EXTRA_LIGHT: _bindgen_ty_7 = 200; +pub const AFONT_WEIGHT_LIGHT: _bindgen_ty_7 = 300; +pub const AFONT_WEIGHT_NORMAL: _bindgen_ty_7 = 400; +pub const AFONT_WEIGHT_MEDIUM: _bindgen_ty_7 = 500; +pub const AFONT_WEIGHT_SEMI_BOLD: _bindgen_ty_7 = 600; +pub const AFONT_WEIGHT_BOLD: _bindgen_ty_7 = 700; +pub const AFONT_WEIGHT_EXTRA_BOLD: _bindgen_ty_7 = 800; +pub const AFONT_WEIGHT_BLACK: _bindgen_ty_7 = 900; +pub const AFONT_WEIGHT_MAX: _bindgen_ty_7 = 1000; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFont_close(font: *mut AFont); +} +extern "C" { + pub fn AFont_getFontFilePath(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getWeight(font: *const AFont) -> u16; +} +extern "C" { + pub fn AFont_isItalic(font: *const AFont) -> bool; +} +extern "C" { + pub fn AFont_getLocale(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getCollectionIndex(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisCount(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisTag(font: *const AFont, axisIndex: u32) -> u32; +} +extern "C" { + pub fn AFont_getAxisValue(font: *const AFont, axisIndex: u32) -> f32; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct AFontMatcher { + _unused: [u8; 0], +} +pub const AFAMILY_VARIANT_DEFAULT: _bindgen_ty_8 = 0; +pub const AFAMILY_VARIANT_COMPACT: _bindgen_ty_8 = 1; +pub const AFAMILY_VARIANT_ELEGANT: _bindgen_ty_8 = 2; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFontMatcher_create() -> *mut AFontMatcher; +} +extern "C" { + pub fn AFontMatcher_destroy(matcher: *mut AFontMatcher); +} +extern "C" { + pub fn AFontMatcher_setStyle(matcher: *mut AFontMatcher, weight: u16, italic: bool); +} +extern "C" { + pub fn AFontMatcher_setLocales( + matcher: *mut AFontMatcher, + languageTags: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AFontMatcher_setFamilyVariant(matcher: *mut AFontMatcher, familyVariant: u32); +} +extern "C" { + pub fn AFontMatcher_match( + matcher: *const AFontMatcher, + familyName: *const ::std::os::raw::c_char, + text: *const u16, + textLength: u32, + runLengthOut: *mut u32, + ) -> *mut AFont; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct ARect { pub left: i32, pub top: i32, @@ -3597,19 +3677,19 @@ fn bindgen_test_layout_AHdrMetadata_cta861_3() { ) ); } -pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_7 = 0; -pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_7 = -1; -pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_7 = -2; -pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_7 = -3; -pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_7 = -4; -pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_7 = -5; -pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_7 = -6; -pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_7 = -7; -pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_7 = -8; -pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_7 = -9; -pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_7 = -10; -pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_7 = -11; -pub type _bindgen_ty_7 = ::std::os::raw::c_int; +pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_9 = 0; +pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_9 = -1; +pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_9 = -2; +pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_9 = -3; +pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_9 = -4; +pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_9 = -5; +pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_9 = -6; +pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_9 = -7; +pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_9 = -8; +pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_9 = -9; +pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_9 = -10; +pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_9 = -11; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn AImageDecoder_resultToString( arg1: ::std::os::raw::c_int, @@ -3727,8 +3807,8 @@ extern "C" { extern "C" { pub fn AImageDecoder_isAnimated(decoder: *mut AImageDecoder) -> bool; } -pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_8 = 2147483647; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_10 = 2147483647; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoder_getRepeatCount(decoder: *mut AImageDecoder) -> i32; } @@ -3765,16 +3845,16 @@ extern "C" { pub fn AImageDecoderFrameInfo_hasAlphaWithinBounds(info: *const AImageDecoderFrameInfo) -> bool; } -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_9 = 1; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_9 = 2; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_9 = 3; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_11 = 1; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_11 = 2; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_11 = 3; +pub type _bindgen_ty_11 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getDisposeOp(info: *const AImageDecoderFrameInfo) -> i32; } -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_10 = 1; -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_10 = 2; -pub type _bindgen_ty_10 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_12 = 1; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_12 = 2; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getBlendOp(info: *const AImageDecoderFrameInfo) -> i32; } @@ -3784,296 +3864,296 @@ extern "C" { handleInternally: bool, ); } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_11 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_11 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_11 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_11 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_11 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_11 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_11 = 6; -pub const AKEYCODE_0: _bindgen_ty_11 = 7; -pub const AKEYCODE_1: _bindgen_ty_11 = 8; -pub const AKEYCODE_2: _bindgen_ty_11 = 9; -pub const AKEYCODE_3: _bindgen_ty_11 = 10; -pub const AKEYCODE_4: _bindgen_ty_11 = 11; -pub const AKEYCODE_5: _bindgen_ty_11 = 12; -pub const AKEYCODE_6: _bindgen_ty_11 = 13; -pub const AKEYCODE_7: _bindgen_ty_11 = 14; -pub const AKEYCODE_8: _bindgen_ty_11 = 15; -pub const AKEYCODE_9: _bindgen_ty_11 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_11 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_11 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_11 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_11 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_11 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_11 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_11 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_11 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_11 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_11 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_11 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_11 = 28; -pub const AKEYCODE_A: _bindgen_ty_11 = 29; -pub const AKEYCODE_B: _bindgen_ty_11 = 30; -pub const AKEYCODE_C: _bindgen_ty_11 = 31; -pub const AKEYCODE_D: _bindgen_ty_11 = 32; -pub const AKEYCODE_E: _bindgen_ty_11 = 33; -pub const AKEYCODE_F: _bindgen_ty_11 = 34; -pub const AKEYCODE_G: _bindgen_ty_11 = 35; -pub const AKEYCODE_H: _bindgen_ty_11 = 36; -pub const AKEYCODE_I: _bindgen_ty_11 = 37; -pub const AKEYCODE_J: _bindgen_ty_11 = 38; -pub const AKEYCODE_K: _bindgen_ty_11 = 39; -pub const AKEYCODE_L: _bindgen_ty_11 = 40; -pub const AKEYCODE_M: _bindgen_ty_11 = 41; -pub const AKEYCODE_N: _bindgen_ty_11 = 42; -pub const AKEYCODE_O: _bindgen_ty_11 = 43; -pub const AKEYCODE_P: _bindgen_ty_11 = 44; -pub const AKEYCODE_Q: _bindgen_ty_11 = 45; -pub const AKEYCODE_R: _bindgen_ty_11 = 46; -pub const AKEYCODE_S: _bindgen_ty_11 = 47; -pub const AKEYCODE_T: _bindgen_ty_11 = 48; -pub const AKEYCODE_U: _bindgen_ty_11 = 49; -pub const AKEYCODE_V: _bindgen_ty_11 = 50; -pub const AKEYCODE_W: _bindgen_ty_11 = 51; -pub const AKEYCODE_X: _bindgen_ty_11 = 52; -pub const AKEYCODE_Y: _bindgen_ty_11 = 53; -pub const AKEYCODE_Z: _bindgen_ty_11 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_11 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_11 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_11 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_11 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_11 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_11 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_11 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_11 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_11 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_11 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_11 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_11 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_11 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_11 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_11 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_11 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_11 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_11 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_11 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_11 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_11 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_11 = 76; -pub const AKEYCODE_AT: _bindgen_ty_11 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_11 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_11 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_11 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_11 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_11 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_11 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_11 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_11 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_11 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_11 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_11 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_11 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_11 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_11 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_11 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_11 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_11 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_11 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_11 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_11 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_11 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_11 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_11 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_11 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_11 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_11 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_11 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_11 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_11 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_11 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_11 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_11 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_11 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_11 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_11 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_11 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_11 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_11 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_11 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_11 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_11 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_11 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_11 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_11 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_11 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_11 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_11 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_11 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_11 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_11 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_11 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_11 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_11 = 130; -pub const AKEYCODE_F1: _bindgen_ty_11 = 131; -pub const AKEYCODE_F2: _bindgen_ty_11 = 132; -pub const AKEYCODE_F3: _bindgen_ty_11 = 133; -pub const AKEYCODE_F4: _bindgen_ty_11 = 134; -pub const AKEYCODE_F5: _bindgen_ty_11 = 135; -pub const AKEYCODE_F6: _bindgen_ty_11 = 136; -pub const AKEYCODE_F7: _bindgen_ty_11 = 137; -pub const AKEYCODE_F8: _bindgen_ty_11 = 138; -pub const AKEYCODE_F9: _bindgen_ty_11 = 139; -pub const AKEYCODE_F10: _bindgen_ty_11 = 140; -pub const AKEYCODE_F11: _bindgen_ty_11 = 141; -pub const AKEYCODE_F12: _bindgen_ty_11 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_11 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_11 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_11 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_11 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_11 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_11 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_11 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_11 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_11 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_11 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_11 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_11 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_11 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_11 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_11 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_11 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_11 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_11 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_11 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_11 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_11 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_11 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_11 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_11 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_11 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_11 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_11 = 169; -pub const AKEYCODE_TV: _bindgen_ty_11 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_11 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_11 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_11 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_11 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_11 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_11 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_11 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_11 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_11 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_11 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_11 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_11 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_11 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_11 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_11 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_11 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_11 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_11 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_11 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_11 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_11 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_11 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_11 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_11 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_11 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_11 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_11 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_11 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_11 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_11 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_11 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_11 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_11 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_11 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_11 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_11 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_11 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_11 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_11 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_11 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_11 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_11 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_11 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_11 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_11 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_11 = 216; -pub const AKEYCODE_RO: _bindgen_ty_11 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_11 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_11 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_11 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_11 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_11 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_11 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_11 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_11 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_11 = 226; -pub const AKEYCODE_11: _bindgen_ty_11 = 227; -pub const AKEYCODE_12: _bindgen_ty_11 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_11 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_11 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_11 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_11 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_11 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_11 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_11 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_11 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_11 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_11 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_11 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_11 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_11 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_11 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_11 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_11 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_11 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_11 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_11 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_11 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_11 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_11 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_11 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_11 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_11 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_11 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_11 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_11 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_11 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_11 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_11 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_11 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_11 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_11 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_11 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_11 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_11 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_11 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_11 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_11 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_11 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_11 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_11 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_11 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_11 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_11 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_11 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_11 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_11 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_11 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_11 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_11 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_11 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_11 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_11 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_11 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_11 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_11 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_11 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_11 = 288; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; +pub const AKEYCODE_UNKNOWN: _bindgen_ty_13 = 0; +pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_13 = 1; +pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_13 = 2; +pub const AKEYCODE_HOME: _bindgen_ty_13 = 3; +pub const AKEYCODE_BACK: _bindgen_ty_13 = 4; +pub const AKEYCODE_CALL: _bindgen_ty_13 = 5; +pub const AKEYCODE_ENDCALL: _bindgen_ty_13 = 6; +pub const AKEYCODE_0: _bindgen_ty_13 = 7; +pub const AKEYCODE_1: _bindgen_ty_13 = 8; +pub const AKEYCODE_2: _bindgen_ty_13 = 9; +pub const AKEYCODE_3: _bindgen_ty_13 = 10; +pub const AKEYCODE_4: _bindgen_ty_13 = 11; +pub const AKEYCODE_5: _bindgen_ty_13 = 12; +pub const AKEYCODE_6: _bindgen_ty_13 = 13; +pub const AKEYCODE_7: _bindgen_ty_13 = 14; +pub const AKEYCODE_8: _bindgen_ty_13 = 15; +pub const AKEYCODE_9: _bindgen_ty_13 = 16; +pub const AKEYCODE_STAR: _bindgen_ty_13 = 17; +pub const AKEYCODE_POUND: _bindgen_ty_13 = 18; +pub const AKEYCODE_DPAD_UP: _bindgen_ty_13 = 19; +pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_13 = 20; +pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_13 = 21; +pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_13 = 22; +pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_13 = 23; +pub const AKEYCODE_VOLUME_UP: _bindgen_ty_13 = 24; +pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_13 = 25; +pub const AKEYCODE_POWER: _bindgen_ty_13 = 26; +pub const AKEYCODE_CAMERA: _bindgen_ty_13 = 27; +pub const AKEYCODE_CLEAR: _bindgen_ty_13 = 28; +pub const AKEYCODE_A: _bindgen_ty_13 = 29; +pub const AKEYCODE_B: _bindgen_ty_13 = 30; +pub const AKEYCODE_C: _bindgen_ty_13 = 31; +pub const AKEYCODE_D: _bindgen_ty_13 = 32; +pub const AKEYCODE_E: _bindgen_ty_13 = 33; +pub const AKEYCODE_F: _bindgen_ty_13 = 34; +pub const AKEYCODE_G: _bindgen_ty_13 = 35; +pub const AKEYCODE_H: _bindgen_ty_13 = 36; +pub const AKEYCODE_I: _bindgen_ty_13 = 37; +pub const AKEYCODE_J: _bindgen_ty_13 = 38; +pub const AKEYCODE_K: _bindgen_ty_13 = 39; +pub const AKEYCODE_L: _bindgen_ty_13 = 40; +pub const AKEYCODE_M: _bindgen_ty_13 = 41; +pub const AKEYCODE_N: _bindgen_ty_13 = 42; +pub const AKEYCODE_O: _bindgen_ty_13 = 43; +pub const AKEYCODE_P: _bindgen_ty_13 = 44; +pub const AKEYCODE_Q: _bindgen_ty_13 = 45; +pub const AKEYCODE_R: _bindgen_ty_13 = 46; +pub const AKEYCODE_S: _bindgen_ty_13 = 47; +pub const AKEYCODE_T: _bindgen_ty_13 = 48; +pub const AKEYCODE_U: _bindgen_ty_13 = 49; +pub const AKEYCODE_V: _bindgen_ty_13 = 50; +pub const AKEYCODE_W: _bindgen_ty_13 = 51; +pub const AKEYCODE_X: _bindgen_ty_13 = 52; +pub const AKEYCODE_Y: _bindgen_ty_13 = 53; +pub const AKEYCODE_Z: _bindgen_ty_13 = 54; +pub const AKEYCODE_COMMA: _bindgen_ty_13 = 55; +pub const AKEYCODE_PERIOD: _bindgen_ty_13 = 56; +pub const AKEYCODE_ALT_LEFT: _bindgen_ty_13 = 57; +pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_13 = 58; +pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_13 = 59; +pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_13 = 60; +pub const AKEYCODE_TAB: _bindgen_ty_13 = 61; +pub const AKEYCODE_SPACE: _bindgen_ty_13 = 62; +pub const AKEYCODE_SYM: _bindgen_ty_13 = 63; +pub const AKEYCODE_EXPLORER: _bindgen_ty_13 = 64; +pub const AKEYCODE_ENVELOPE: _bindgen_ty_13 = 65; +pub const AKEYCODE_ENTER: _bindgen_ty_13 = 66; +pub const AKEYCODE_DEL: _bindgen_ty_13 = 67; +pub const AKEYCODE_GRAVE: _bindgen_ty_13 = 68; +pub const AKEYCODE_MINUS: _bindgen_ty_13 = 69; +pub const AKEYCODE_EQUALS: _bindgen_ty_13 = 70; +pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_13 = 71; +pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_13 = 72; +pub const AKEYCODE_BACKSLASH: _bindgen_ty_13 = 73; +pub const AKEYCODE_SEMICOLON: _bindgen_ty_13 = 74; +pub const AKEYCODE_APOSTROPHE: _bindgen_ty_13 = 75; +pub const AKEYCODE_SLASH: _bindgen_ty_13 = 76; +pub const AKEYCODE_AT: _bindgen_ty_13 = 77; +pub const AKEYCODE_NUM: _bindgen_ty_13 = 78; +pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_13 = 79; +pub const AKEYCODE_FOCUS: _bindgen_ty_13 = 80; +pub const AKEYCODE_PLUS: _bindgen_ty_13 = 81; +pub const AKEYCODE_MENU: _bindgen_ty_13 = 82; +pub const AKEYCODE_NOTIFICATION: _bindgen_ty_13 = 83; +pub const AKEYCODE_SEARCH: _bindgen_ty_13 = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_13 = 85; +pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_13 = 86; +pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_13 = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_13 = 88; +pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_13 = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_13 = 90; +pub const AKEYCODE_MUTE: _bindgen_ty_13 = 91; +pub const AKEYCODE_PAGE_UP: _bindgen_ty_13 = 92; +pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_13 = 93; +pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_13 = 94; +pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_13 = 95; +pub const AKEYCODE_BUTTON_A: _bindgen_ty_13 = 96; +pub const AKEYCODE_BUTTON_B: _bindgen_ty_13 = 97; +pub const AKEYCODE_BUTTON_C: _bindgen_ty_13 = 98; +pub const AKEYCODE_BUTTON_X: _bindgen_ty_13 = 99; +pub const AKEYCODE_BUTTON_Y: _bindgen_ty_13 = 100; +pub const AKEYCODE_BUTTON_Z: _bindgen_ty_13 = 101; +pub const AKEYCODE_BUTTON_L1: _bindgen_ty_13 = 102; +pub const AKEYCODE_BUTTON_R1: _bindgen_ty_13 = 103; +pub const AKEYCODE_BUTTON_L2: _bindgen_ty_13 = 104; +pub const AKEYCODE_BUTTON_R2: _bindgen_ty_13 = 105; +pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_13 = 106; +pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_13 = 107; +pub const AKEYCODE_BUTTON_START: _bindgen_ty_13 = 108; +pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_13 = 109; +pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_13 = 110; +pub const AKEYCODE_ESCAPE: _bindgen_ty_13 = 111; +pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_13 = 112; +pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_13 = 113; +pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_13 = 114; +pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_13 = 115; +pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_13 = 116; +pub const AKEYCODE_META_LEFT: _bindgen_ty_13 = 117; +pub const AKEYCODE_META_RIGHT: _bindgen_ty_13 = 118; +pub const AKEYCODE_FUNCTION: _bindgen_ty_13 = 119; +pub const AKEYCODE_SYSRQ: _bindgen_ty_13 = 120; +pub const AKEYCODE_BREAK: _bindgen_ty_13 = 121; +pub const AKEYCODE_MOVE_HOME: _bindgen_ty_13 = 122; +pub const AKEYCODE_MOVE_END: _bindgen_ty_13 = 123; +pub const AKEYCODE_INSERT: _bindgen_ty_13 = 124; +pub const AKEYCODE_FORWARD: _bindgen_ty_13 = 125; +pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_13 = 126; +pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_13 = 127; +pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_13 = 128; +pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_13 = 129; +pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_13 = 130; +pub const AKEYCODE_F1: _bindgen_ty_13 = 131; +pub const AKEYCODE_F2: _bindgen_ty_13 = 132; +pub const AKEYCODE_F3: _bindgen_ty_13 = 133; +pub const AKEYCODE_F4: _bindgen_ty_13 = 134; +pub const AKEYCODE_F5: _bindgen_ty_13 = 135; +pub const AKEYCODE_F6: _bindgen_ty_13 = 136; +pub const AKEYCODE_F7: _bindgen_ty_13 = 137; +pub const AKEYCODE_F8: _bindgen_ty_13 = 138; +pub const AKEYCODE_F9: _bindgen_ty_13 = 139; +pub const AKEYCODE_F10: _bindgen_ty_13 = 140; +pub const AKEYCODE_F11: _bindgen_ty_13 = 141; +pub const AKEYCODE_F12: _bindgen_ty_13 = 142; +pub const AKEYCODE_NUM_LOCK: _bindgen_ty_13 = 143; +pub const AKEYCODE_NUMPAD_0: _bindgen_ty_13 = 144; +pub const AKEYCODE_NUMPAD_1: _bindgen_ty_13 = 145; +pub const AKEYCODE_NUMPAD_2: _bindgen_ty_13 = 146; +pub const AKEYCODE_NUMPAD_3: _bindgen_ty_13 = 147; +pub const AKEYCODE_NUMPAD_4: _bindgen_ty_13 = 148; +pub const AKEYCODE_NUMPAD_5: _bindgen_ty_13 = 149; +pub const AKEYCODE_NUMPAD_6: _bindgen_ty_13 = 150; +pub const AKEYCODE_NUMPAD_7: _bindgen_ty_13 = 151; +pub const AKEYCODE_NUMPAD_8: _bindgen_ty_13 = 152; +pub const AKEYCODE_NUMPAD_9: _bindgen_ty_13 = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_13 = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_13 = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_13 = 156; +pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_13 = 157; +pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_13 = 158; +pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_13 = 159; +pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_13 = 160; +pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_13 = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_13 = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_13 = 163; +pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_13 = 164; +pub const AKEYCODE_INFO: _bindgen_ty_13 = 165; +pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_13 = 166; +pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_13 = 167; +pub const AKEYCODE_ZOOM_IN: _bindgen_ty_13 = 168; +pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_13 = 169; +pub const AKEYCODE_TV: _bindgen_ty_13 = 170; +pub const AKEYCODE_WINDOW: _bindgen_ty_13 = 171; +pub const AKEYCODE_GUIDE: _bindgen_ty_13 = 172; +pub const AKEYCODE_DVR: _bindgen_ty_13 = 173; +pub const AKEYCODE_BOOKMARK: _bindgen_ty_13 = 174; +pub const AKEYCODE_CAPTIONS: _bindgen_ty_13 = 175; +pub const AKEYCODE_SETTINGS: _bindgen_ty_13 = 176; +pub const AKEYCODE_TV_POWER: _bindgen_ty_13 = 177; +pub const AKEYCODE_TV_INPUT: _bindgen_ty_13 = 178; +pub const AKEYCODE_STB_POWER: _bindgen_ty_13 = 179; +pub const AKEYCODE_STB_INPUT: _bindgen_ty_13 = 180; +pub const AKEYCODE_AVR_POWER: _bindgen_ty_13 = 181; +pub const AKEYCODE_AVR_INPUT: _bindgen_ty_13 = 182; +pub const AKEYCODE_PROG_RED: _bindgen_ty_13 = 183; +pub const AKEYCODE_PROG_GREEN: _bindgen_ty_13 = 184; +pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_13 = 185; +pub const AKEYCODE_PROG_BLUE: _bindgen_ty_13 = 186; +pub const AKEYCODE_APP_SWITCH: _bindgen_ty_13 = 187; +pub const AKEYCODE_BUTTON_1: _bindgen_ty_13 = 188; +pub const AKEYCODE_BUTTON_2: _bindgen_ty_13 = 189; +pub const AKEYCODE_BUTTON_3: _bindgen_ty_13 = 190; +pub const AKEYCODE_BUTTON_4: _bindgen_ty_13 = 191; +pub const AKEYCODE_BUTTON_5: _bindgen_ty_13 = 192; +pub const AKEYCODE_BUTTON_6: _bindgen_ty_13 = 193; +pub const AKEYCODE_BUTTON_7: _bindgen_ty_13 = 194; +pub const AKEYCODE_BUTTON_8: _bindgen_ty_13 = 195; +pub const AKEYCODE_BUTTON_9: _bindgen_ty_13 = 196; +pub const AKEYCODE_BUTTON_10: _bindgen_ty_13 = 197; +pub const AKEYCODE_BUTTON_11: _bindgen_ty_13 = 198; +pub const AKEYCODE_BUTTON_12: _bindgen_ty_13 = 199; +pub const AKEYCODE_BUTTON_13: _bindgen_ty_13 = 200; +pub const AKEYCODE_BUTTON_14: _bindgen_ty_13 = 201; +pub const AKEYCODE_BUTTON_15: _bindgen_ty_13 = 202; +pub const AKEYCODE_BUTTON_16: _bindgen_ty_13 = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_13 = 204; +pub const AKEYCODE_MANNER_MODE: _bindgen_ty_13 = 205; +pub const AKEYCODE_3D_MODE: _bindgen_ty_13 = 206; +pub const AKEYCODE_CONTACTS: _bindgen_ty_13 = 207; +pub const AKEYCODE_CALENDAR: _bindgen_ty_13 = 208; +pub const AKEYCODE_MUSIC: _bindgen_ty_13 = 209; +pub const AKEYCODE_CALCULATOR: _bindgen_ty_13 = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_13 = 211; +pub const AKEYCODE_EISU: _bindgen_ty_13 = 212; +pub const AKEYCODE_MUHENKAN: _bindgen_ty_13 = 213; +pub const AKEYCODE_HENKAN: _bindgen_ty_13 = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_13 = 215; +pub const AKEYCODE_YEN: _bindgen_ty_13 = 216; +pub const AKEYCODE_RO: _bindgen_ty_13 = 217; +pub const AKEYCODE_KANA: _bindgen_ty_13 = 218; +pub const AKEYCODE_ASSIST: _bindgen_ty_13 = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_13 = 220; +pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_13 = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_13 = 222; +pub const AKEYCODE_SLEEP: _bindgen_ty_13 = 223; +pub const AKEYCODE_WAKEUP: _bindgen_ty_13 = 224; +pub const AKEYCODE_PAIRING: _bindgen_ty_13 = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_13 = 226; +pub const AKEYCODE_11: _bindgen_ty_13 = 227; +pub const AKEYCODE_12: _bindgen_ty_13 = 228; +pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_13 = 229; +pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_13 = 230; +pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_13 = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_13 = 232; +pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_13 = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_13 = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_13 = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_13 = 236; +pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_13 = 237; +pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_13 = 238; +pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_13 = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_13 = 240; +pub const AKEYCODE_TV_NETWORK: _bindgen_ty_13 = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_13 = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_13 = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_13 = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_13 = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_13 = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_13 = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_13 = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_13 = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_13 = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_13 = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_13 = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_13 = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_13 = 254; +pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_13 = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_13 = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_13 = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_13 = 258; +pub const AKEYCODE_HELP: _bindgen_ty_13 = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_13 = 260; +pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_13 = 261; +pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_13 = 262; +pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_13 = 263; +pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_13 = 264; +pub const AKEYCODE_STEM_1: _bindgen_ty_13 = 265; +pub const AKEYCODE_STEM_2: _bindgen_ty_13 = 266; +pub const AKEYCODE_STEM_3: _bindgen_ty_13 = 267; +pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_13 = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_13 = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_13 = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_13 = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_13 = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_13 = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_13 = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_13 = 275; +pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_13 = 276; +pub const AKEYCODE_CUT: _bindgen_ty_13 = 277; +pub const AKEYCODE_COPY: _bindgen_ty_13 = 278; +pub const AKEYCODE_PASTE: _bindgen_ty_13 = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_13 = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_13 = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_13 = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_13 = 283; +pub const AKEYCODE_ALL_APPS: _bindgen_ty_13 = 284; +pub const AKEYCODE_REFRESH: _bindgen_ty_13 = 285; +pub const AKEYCODE_THUMBS_UP: _bindgen_ty_13 = 286; +pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_13 = 287; +pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_13 = 288; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -4082,28 +4162,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_12 = 1; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_14 = 1; +pub type _bindgen_ty_14 = ::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_13 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_13 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_13 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_13 = -4; -pub type _bindgen_ty_13 = ::std::os::raw::c_int; +pub const ALOOPER_POLL_WAKE: _bindgen_ty_15 = -1; +pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_15 = -2; +pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_15 = -3; +pub const ALOOPER_POLL_ERROR: _bindgen_ty_15 = -4; +pub type _bindgen_ty_15 = ::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_14 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_14 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_14 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_14 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_14 = 16; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const ALOOPER_EVENT_INPUT: _bindgen_ty_16 = 1; +pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_16 = 2; +pub const ALOOPER_EVENT_ERROR: _bindgen_ty_16 = 4; +pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_16 = 8; +pub const ALOOPER_EVENT_INVALID: _bindgen_ty_16 = 16; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -4146,143 +4226,143 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_15 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_15 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_15 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_15 = 2; -pub type _bindgen_ty_15 = ::std::os::raw::c_int; -pub const AMETA_NONE: _bindgen_ty_16 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_16 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_16 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_16 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_16 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_16 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_16 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_16 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_16 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_16 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_16 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_16 = 16384; -pub const AMETA_META_ON: _bindgen_ty_16 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_16 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_16 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_16 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_16 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_16 = 4194304; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AKEY_STATE_UNKNOWN: _bindgen_ty_17 = -1; +pub const AKEY_STATE_UP: _bindgen_ty_17 = 0; +pub const AKEY_STATE_DOWN: _bindgen_ty_17 = 1; +pub const AKEY_STATE_VIRTUAL: _bindgen_ty_17 = 2; +pub type _bindgen_ty_17 = ::std::os::raw::c_int; +pub const AMETA_NONE: _bindgen_ty_18 = 0; +pub const AMETA_ALT_ON: _bindgen_ty_18 = 2; +pub const AMETA_ALT_LEFT_ON: _bindgen_ty_18 = 16; +pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_18 = 32; +pub const AMETA_SHIFT_ON: _bindgen_ty_18 = 1; +pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_18 = 64; +pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_18 = 128; +pub const AMETA_SYM_ON: _bindgen_ty_18 = 4; +pub const AMETA_FUNCTION_ON: _bindgen_ty_18 = 8; +pub const AMETA_CTRL_ON: _bindgen_ty_18 = 4096; +pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_18 = 8192; +pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_18 = 16384; +pub const AMETA_META_ON: _bindgen_ty_18 = 65536; +pub const AMETA_META_LEFT_ON: _bindgen_ty_18 = 131072; +pub const AMETA_META_RIGHT_ON: _bindgen_ty_18 = 262144; +pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_18 = 1048576; +pub const AMETA_NUM_LOCK_ON: _bindgen_ty_18 = 2097152; +pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_18 = 4194304; +pub type _bindgen_ty_18 = ::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_17 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_17 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_17 = 3; -pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_17 = 4; -pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_17 = 5; -pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_17 = 6; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_18 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_18 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_18 = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_19 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_19 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_19 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_19 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_19 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_19 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_19 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_19 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_19 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_19 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_19 = 1024; +pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_19 = 1; +pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_19 = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_19 = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_19 = 4; +pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_19 = 5; +pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_19 = 6; pub type _bindgen_ty_19 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_20 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_20 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_20 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_20 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_20 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_20 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_20 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_20 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_20 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_20 = 12; +pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; +pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_20 = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_20 = 2; pub type _bindgen_ty_20 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_21 = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_21 = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_21 = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_21 = 16; +pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_21 = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_21 = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_21 = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_21 = 256; +pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_21 = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_21 = 1024; pub type _bindgen_ty_21 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_22 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_22 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_22 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_22 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_22 = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_22 = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_22 = 0; +pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_22 = 1; +pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_22 = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_22 = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_22 = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_22 = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_22 = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_22 = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_22 = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_22 = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_22 = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_22 = 12; pub type _bindgen_ty_22 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_23 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_23 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_23 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_23 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_23 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_23 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_23 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_23 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_23 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_23 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_23 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_23 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_23 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_23 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_23 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_23 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_23 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_23 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_23 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_23 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_23 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_23 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_23 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_23 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_23 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_23 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_23 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_23 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_23 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_23 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_23 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_23 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_23 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_23 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_23 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_23 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_23 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_23 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_23 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_23 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_23 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_23 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_23 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_23 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_23 = 47; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_23 = 1; pub type _bindgen_ty_23 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_24 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_24 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_24 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_24 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_24 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_24 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_24 = 64; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_24 = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_24 = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_24 = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_24 = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_24 = 8; pub type _bindgen_ty_24 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_25 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_25 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_25 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_25 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_25 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_25 = 0; +pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_25 = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_25 = 2; +pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_25 = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_25 = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_25 = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_25 = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_25 = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_25 = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_25 = 10; +pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_25 = 11; +pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_25 = 12; +pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_25 = 13; +pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_25 = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_25 = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_25 = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_25 = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_25 = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_25 = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_25 = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_25 = 21; +pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_25 = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_25 = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_25 = 24; +pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_25 = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_25 = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_25 = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_25 = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_25 = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_25 = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_25 = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_25 = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_25 = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_25 = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_25 = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_25 = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_25 = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_25 = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_25 = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_25 = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_25 = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_25 = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_25 = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_25 = 47; pub type _bindgen_ty_25 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_26 = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_26 = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_26 = 4; +pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_26 = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_26 = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_26 = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_26 = 64; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_27 = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_27 = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_27 = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_27 = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_27 = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_27 = 5; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; impl AMotionClassification { pub const AMOTION_EVENT_CLASSIFICATION_NONE: AMotionClassification = AMotionClassification(0); } @@ -4297,46 +4377,46 @@ impl AMotionClassification { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct AMotionClassification(pub u32); -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_26 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_26 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_26 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_26 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_26 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_26 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_26 = 16; -pub type _bindgen_ty_26 = ::std::os::raw::c_uint; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_27 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_27 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_27 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_27 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_27 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_27 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_27 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_27 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_27 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_27 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_27 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_27 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_27 = 16777232; -pub const AINPUT_SOURCE_HDMI: _bindgen_ty_27 = 33554433; -pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_27 = 67108864; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_27 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_27 = 4294967040; -pub type _bindgen_ty_27 = ::std::os::raw::c_uint; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_28 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_28 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_28 = 255; +pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_28 = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_28 = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_28 = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_28 = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_28 = 16; pub type _bindgen_ty_28 = ::std::os::raw::c_uint; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_29 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_29 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_29 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_29 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_29 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_29 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_29 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_29 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_29 = 8; +pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_29 = 0; +pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_29 = 257; +pub const AINPUT_SOURCE_DPAD: _bindgen_ty_29 = 513; +pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_29 = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_29 = 4098; +pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_29 = 8194; +pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_29 = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_29 = 49154; +pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_29 = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_29 = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_29 = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_29 = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_29 = 16777232; +pub const AINPUT_SOURCE_HDMI: _bindgen_ty_29 = 33554433; +pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_29 = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_29 = 4194304; +pub const AINPUT_SOURCE_ANY: _bindgen_ty_29 = 4294967040; pub type _bindgen_ty_29 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_30 = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_30 = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_30 = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_31 = 0; +pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_31 = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_31 = 2; +pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_31 = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_31 = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_31 = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_31 = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_31 = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_31 = 8; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -5101,10 +5181,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_30 = 0; -pub const SHUT_WR: _bindgen_ty_30 = 1; -pub const SHUT_RDWR: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const SHUT_RD: _bindgen_ty_32 = 0; +pub const SHUT_WR: _bindgen_ty_32 = 1; +pub const SHUT_RDWR: _bindgen_ty_32 = 2; +pub type _bindgen_ty_32 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8133,15 +8213,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_33 = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_33 = 2; +pub type _bindgen_ty_33 = ::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_32 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_32 = 2; -pub type _bindgen_ty_32 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_34 = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_34 = 2; +pub type _bindgen_ty_34 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -8652,10 +8732,10 @@ impl ResultCode { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ResultCode(pub ::std::os::raw::c_uint); -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_33 = 128; -pub type _bindgen_ty_33 = ::std::os::raw::c_uint; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_34 = 32; -pub type _bindgen_ty_34 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_35 = 128; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_36 = 32; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; impl DurationCode { pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = DurationCode(0); } @@ -9286,8 +9366,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_35 = 1; -pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const AOBBINFO_OVERLAY: _bindgen_ty_37 = 1; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -9303,13 +9383,13 @@ extern "C" { extern "C" { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } -pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_36 = 0; -pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_36 = -1; -pub type _bindgen_ty_36 = ::std::os::raw::c_int; -pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_37 = 0; -pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_37 = -1; -pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_37 = -2; -pub type _bindgen_ty_37 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_38 = 0; +pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_38 = -1; +pub type _bindgen_ty_38 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_39 = 0; +pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_39 = -1; +pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_39 = -2; +pub type _bindgen_ty_39 = ::std::os::raw::c_int; extern "C" { pub fn APermissionManager_checkPermission( permission: *const ::std::os::raw::c_char, @@ -9688,70 +9768,70 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_38 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_38 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_38 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_38 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_38 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_38 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_38 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_38 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_38 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_38 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_38 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_38 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_38 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_38 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_38 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_38 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_38 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_38 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_38 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_38 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_38 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_38 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_38 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_38 = 31; -pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_38 = 32; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_38 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_38 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_38 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_38 = 36; -pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_38 = 37; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_38 = 38; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_38 = 39; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 40; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 41; -pub const ASENSOR_TYPE_HEADING: _bindgen_ty_38 = 42; -pub type _bindgen_ty_38 = ::std::os::raw::c_int; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_39 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_39 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_39 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_39 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_39 = 3; -pub type _bindgen_ty_39 = ::std::os::raw::c_int; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_40 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_40 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_40 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_40 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_40 = 3; +pub const ASENSOR_TYPE_INVALID: _bindgen_ty_40 = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_40 = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_40 = 2; +pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_40 = 4; +pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_40 = 5; +pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_40 = 6; +pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_40 = 8; +pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_40 = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_40 = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_40 = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_40 = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_40 = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_40 = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_40 = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_40 = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_40 = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_40 = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_40 = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_40 = 20; +pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_40 = 21; +pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_40 = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_40 = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_40 = 30; +pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_40 = 31; +pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_40 = 32; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_40 = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_40 = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_40 = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_40 = 36; +pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_40 = 37; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_40 = 38; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_40 = 39; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 40; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 41; +pub const ASENSOR_TYPE_HEADING: _bindgen_ty_40 = 42; pub type _bindgen_ty_40 = ::std::os::raw::c_int; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_41 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_41 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_41 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_41 = 3; -pub type _bindgen_ty_41 = ::std::os::raw::c_uint; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_42 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_42 = 2; -pub type _bindgen_ty_42 = ::std::os::raw::c_uint; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_43 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_43 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_43 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_43 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_43 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_43 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_43 = 65540; +pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_41 = -1; +pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_41 = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_41 = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_41 = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_41 = 3; +pub type _bindgen_ty_41 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: _bindgen_ty_42 = -1; +pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_42 = 0; +pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_42 = 1; +pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_42 = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_42 = 3; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_43 = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_43 = 1; +pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_43 = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_43 = 3; pub type _bindgen_ty_43 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_44 = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_44 = 2; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_45 = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_45 = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_45 = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_45 = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_45 = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_45 = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_45 = 65540; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -11667,15 +11747,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_44 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_44 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_44 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_44 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_44 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_44 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_44 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_44 = 25; -pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const AOBB_STATE_MOUNTED: _bindgen_ty_46 = 1; +pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_46 = 2; +pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_46 = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_46 = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_46 = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_46 = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_46 = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_46 = 25; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -11996,6 +12076,20 @@ extern "C" { extern "C" { pub fn sync_file_info_free(info: *mut sync_file_info); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ASystemFontIterator { + _unused: [u8; 0], +} +extern "C" { + pub fn ASystemFontIterator_open() -> *mut ASystemFontIterator; +} +extern "C" { + pub fn ASystemFontIterator_close(iterator: *mut ASystemFontIterator); +} +extern "C" { + pub fn ASystemFontIterator_next(iterator: *mut ASystemFontIterator) -> *mut AFont; +} extern "C" { pub fn ATrace_isEnabled() -> bool; } @@ -12014,30 +12108,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_45 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_45 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_45 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_45 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_45 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_45 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_45 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_45 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_45 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_45 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_45 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_45 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_45 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_45 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_45 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_45 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_45 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_45 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_45 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_45 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_45 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_45 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_45 = 4194304; -pub type _bindgen_ty_45 = ::std::os::raw::c_uint; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_47 = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_47 = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_47 = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_47 = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_47 = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_47 = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_47 = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_47 = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_47 = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_47 = 512; +pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_47 = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_47 = 2048; +pub const AWINDOW_FLAG_DITHER: _bindgen_ty_47 = 4096; +pub const AWINDOW_FLAG_SECURE: _bindgen_ty_47 = 8192; +pub const AWINDOW_FLAG_SCALED: _bindgen_ty_47 = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_47 = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_47 = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_47 = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_47 = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_47 = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_47 = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_47 = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_47 = 4194304; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -16258,27 +16352,27 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_GS: _bindgen_ty_46 = 0; -pub const REG_FS: _bindgen_ty_46 = 1; -pub const REG_ES: _bindgen_ty_46 = 2; -pub const REG_DS: _bindgen_ty_46 = 3; -pub const REG_EDI: _bindgen_ty_46 = 4; -pub const REG_ESI: _bindgen_ty_46 = 5; -pub const REG_EBP: _bindgen_ty_46 = 6; -pub const REG_ESP: _bindgen_ty_46 = 7; -pub const REG_EBX: _bindgen_ty_46 = 8; -pub const REG_EDX: _bindgen_ty_46 = 9; -pub const REG_ECX: _bindgen_ty_46 = 10; -pub const REG_EAX: _bindgen_ty_46 = 11; -pub const REG_TRAPNO: _bindgen_ty_46 = 12; -pub const REG_ERR: _bindgen_ty_46 = 13; -pub const REG_EIP: _bindgen_ty_46 = 14; -pub const REG_CS: _bindgen_ty_46 = 15; -pub const REG_EFL: _bindgen_ty_46 = 16; -pub const REG_UESP: _bindgen_ty_46 = 17; -pub const REG_SS: _bindgen_ty_46 = 18; -pub const NGREG: _bindgen_ty_46 = 19; -pub type _bindgen_ty_46 = ::std::os::raw::c_uint; +pub const REG_GS: _bindgen_ty_48 = 0; +pub const REG_FS: _bindgen_ty_48 = 1; +pub const REG_ES: _bindgen_ty_48 = 2; +pub const REG_DS: _bindgen_ty_48 = 3; +pub const REG_EDI: _bindgen_ty_48 = 4; +pub const REG_ESI: _bindgen_ty_48 = 5; +pub const REG_EBP: _bindgen_ty_48 = 6; +pub const REG_ESP: _bindgen_ty_48 = 7; +pub const REG_EBX: _bindgen_ty_48 = 8; +pub const REG_EDX: _bindgen_ty_48 = 9; +pub const REG_ECX: _bindgen_ty_48 = 10; +pub const REG_EAX: _bindgen_ty_48 = 11; +pub const REG_TRAPNO: _bindgen_ty_48 = 12; +pub const REG_ERR: _bindgen_ty_48 = 13; +pub const REG_EIP: _bindgen_ty_48 = 14; +pub const REG_CS: _bindgen_ty_48 = 15; +pub const REG_EFL: _bindgen_ty_48 = 16; +pub const REG_UESP: _bindgen_ty_48 = 17; +pub const REG_SS: _bindgen_ty_48 = 18; +pub const NGREG: _bindgen_ty_48 = 19; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type greg_t = ::std::os::raw::c_int; pub type gregset_t = [greg_t; 19usize]; #[repr(C)] @@ -17261,161 +17355,161 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_47 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_47 = 1; -pub type _bindgen_ty_47 = ::std::os::raw::c_uint; +pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_49 = 0; +pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_49 = 1; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_48 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_48 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_48 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_48 = 2; -pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_48 = 3; -pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_48 = 4; -pub type _bindgen_ty_48 = ::std::os::raw::c_int; +pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_50 = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_50 = 0; +pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_50 = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_50 = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_50 = 3; +pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_50 = 4; +pub type _bindgen_ty_50 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_49 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_49 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_49 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_49 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_49 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_49 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_49 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_49 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_49 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_49 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_49 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_49 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_49 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_49 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_49 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_49 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_49 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_49 = -880; -pub type _bindgen_ty_49 = ::std::os::raw::c_int; +pub const AAUDIO_OK: _bindgen_ty_51 = 0; +pub const AAUDIO_ERROR_BASE: _bindgen_ty_51 = -900; +pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_51 = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_51 = -898; +pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_51 = -896; +pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_51 = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_51 = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_51 = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_51 = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_51 = -888; +pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_51 = -887; +pub const AAUDIO_ERROR_NULL: _bindgen_ty_51 = -886; +pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_51 = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_51 = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_51 = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_51 = -882; +pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_51 = -881; +pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_51 = -880; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_50 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_50 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_50 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_50 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_50 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_50 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_50 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_50 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_50 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_50 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_50 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_50 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_50 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_50 = 13; -pub type _bindgen_ty_50 = ::std::os::raw::c_uint; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_52 = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_52 = 1; +pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_52 = 2; +pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_52 = 3; +pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_52 = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_52 = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_52 = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_52 = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_52 = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_52 = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_52 = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_52 = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_52 = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_52 = 13; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_51 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_51 = 1; -pub type _bindgen_ty_51 = ::std::os::raw::c_uint; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_53 = 0; +pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_53 = 1; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_52 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_52 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_52 = 12; -pub type _bindgen_ty_52 = ::std::os::raw::c_uint; +pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_54 = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_54 = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_54 = 12; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_53 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_53 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_53 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_53 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_53 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_53 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_53 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_53 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_53 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_53 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_53 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_53 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_53 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_53 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_53 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_53 = 1003; -pub type _bindgen_ty_53 = ::std::os::raw::c_uint; +pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_55 = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_55 = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_55 = 3; +pub const AAUDIO_USAGE_ALARM: _bindgen_ty_55 = 4; +pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_55 = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_55 = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_55 = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_55 = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_55 = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_55 = 13; +pub const AAUDIO_USAGE_GAME: _bindgen_ty_55 = 14; +pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_55 = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_55 = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_55 = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_55 = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_55 = 1003; +pub type _bindgen_ty_55 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_54 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_54 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_54 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_54 = 4; -pub type _bindgen_ty_54 = ::std::os::raw::c_uint; +pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_56 = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_56 = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_56 = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_56 = 4; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_55 = 1; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_55 = 2; -pub type _bindgen_ty_55 = ::std::os::raw::c_uint; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_57 = 1; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_57 = 2; +pub type _bindgen_ty_57 = ::std::os::raw::c_uint; pub type aaudio_spatialization_behavior_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_56 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_56 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_56 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_56 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_56 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_56 = 10; -pub type _bindgen_ty_56 = ::std::os::raw::c_uint; +pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_58 = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_58 = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_58 = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_58 = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_58 = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_58 = 10; +pub type _bindgen_ty_58 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_57 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_57 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_57 = 3; -pub type _bindgen_ty_57 = ::std::os::raw::c_uint; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_59 = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_59 = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_59 = 3; +pub type _bindgen_ty_59 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_58 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_58 = 0; -pub type _bindgen_ty_58 = ::std::os::raw::c_int; +pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_60 = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_60 = 0; +pub type _bindgen_ty_60 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; -pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_59 = -1; -pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_59 = 2; -pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_59 = 4; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_59 = 8; -pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_59 = 16; -pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_59 = 32; -pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_59 = 64; -pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_59 = 128; -pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_59 = 256; -pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_59 = 512; -pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_59 = 1024; -pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_59 = 2048; -pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_59 = 4096; -pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_59 = 8192; -pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_59 = 16384; -pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_59 = 32768; -pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_59 = 65536; -pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_59 = 131072; -pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_59 = 262144; -pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_59 = 524288; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_59 = 1048576; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_59 = 2097152; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_59 = 4194304; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_59 = 8388608; -pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_59 = 16777216; -pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_59 = 33554432; -pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_59 = 3; -pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_59 = 11; -pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_59 = 7; -pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_59 = 259; -pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_59 = 15; -pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_59 = 786435; -pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_59 = 786443; -pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_59 = 786439; -pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_59 = 786447; -pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_59 = 51; -pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_59 = 1539; -pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_59 = 263; -pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_59 = 55; -pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_59 = 63; -pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_59 = 1551; -pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_59 = 319; -pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_59 = 1599; -pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_59 = 786495; -pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_59 = 184383; -pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_59 = 788031; -pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_59 = 185919; -pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_59 = 50517567; -pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_59 = 51303999; -pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_59 = 260; -pub type _bindgen_ty_59 = ::std::os::raw::c_int; +pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_61 = -1; +pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_61 = 2; +pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_61 = 4; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_61 = 8; +pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_61 = 16; +pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_61 = 32; +pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_61 = 64; +pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_61 = 128; +pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_61 = 256; +pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_61 = 512; +pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_61 = 1024; +pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_61 = 2048; +pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_61 = 4096; +pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_61 = 8192; +pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_61 = 16384; +pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_61 = 32768; +pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_61 = 65536; +pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_61 = 131072; +pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_61 = 262144; +pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_61 = 524288; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_61 = 1048576; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_61 = 2097152; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_61 = 4194304; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_61 = 8388608; +pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_61 = 16777216; +pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_61 = 33554432; +pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_61 = 3; +pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_61 = 11; +pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_61 = 7; +pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_61 = 259; +pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_61 = 15; +pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_61 = 786435; +pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_61 = 786443; +pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_61 = 786439; +pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_61 = 786447; +pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_61 = 51; +pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_61 = 1539; +pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_61 = 263; +pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_61 = 55; +pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_61 = 63; +pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_61 = 1551; +pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_61 = 319; +pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_61 = 1599; +pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_61 = 786495; +pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_61 = 184383; +pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_61 = 788031; +pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_61 = 185919; +pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_61 = 50517567; +pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_61 = 51303999; +pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_61 = 260; +pub type _bindgen_ty_61 = ::std::os::raw::c_int; pub type aaudio_channel_mask_t = u32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17546,9 +17640,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_60 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_60 = 1; -pub type _bindgen_ty_60 = ::std::os::raw::c_uint; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_62 = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_62 = 1; +pub type _bindgen_ty_62 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -17840,13 +17934,13 @@ pub struct AMidiInputPort { pub struct AMidiOutputPort { _unused: [u8; 0], } -pub const AMIDI_OPCODE_DATA: _bindgen_ty_61 = 1; -pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_61 = 2; -pub type _bindgen_ty_61 = ::std::os::raw::c_uint; -pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_62 = 1; -pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_62 = 2; -pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_62 = 3; -pub type _bindgen_ty_62 = ::std::os::raw::c_uint; +pub const AMIDI_OPCODE_DATA: _bindgen_ty_63 = 1; +pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_63 = 2; +pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_64 = 1; +pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_64 = 2; +pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_64 = 3; +pub type _bindgen_ty_64 = ::std::os::raw::c_uint; impl AMidiDevice_Protocol { pub const AMIDI_DEVICE_PROTOCOL_UMP_USE_MIDI_CI: AMidiDevice_Protocol = AMidiDevice_Protocol(0); } @@ -21027,14 +21121,14 @@ pub use self::acamera_metadata_enum_acamera_automotive_lens_facing as acamera_me pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_63 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_63 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_63 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_63 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_63 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_63 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_63 = 6; -pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const ACAMERA_TYPE_BYTE: _bindgen_ty_65 = 0; +pub const ACAMERA_TYPE_INT32: _bindgen_ty_65 = 1; +pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_65 = 2; +pub const ACAMERA_TYPE_INT64: _bindgen_ty_65 = 3; +pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_65 = 4; +pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_65 = 5; +pub const ACAMERA_NUM_TYPES: _bindgen_ty_65 = 6; +pub type _bindgen_ty_65 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -21676,9 +21770,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_64 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_64 = 1; -pub type _bindgen_ty_64 = ::std::os::raw::c_uint; +pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_66 = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_66 = 1; +pub type _bindgen_ty_66 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -21905,8 +21999,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_65 = -1; -pub type _bindgen_ty_65 = ::std::os::raw::c_int; +pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_67 = -1; +pub type _bindgen_ty_67 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -22475,12 +22569,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_66 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_66 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_66 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_66 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_66 = 5; -pub type _bindgen_ty_66 = ::std::os::raw::c_uint; +pub const ERROR_CAMERA_IN_USE: _bindgen_ty_68 = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_68 = 2; +pub const ERROR_CAMERA_DISABLED: _bindgen_ty_68 = 3; +pub const ERROR_CAMERA_DEVICE: _bindgen_ty_68 = 4; +pub const ERROR_CAMERA_SERVICE: _bindgen_ty_68 = 5; +pub type _bindgen_ty_68 = ::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), >; @@ -23923,14 +24017,14 @@ fn bindgen_test_layout_AMediaCodecBufferInfo() { pub struct AMediaCodecCryptoInfo { _unused: [u8; 0], } -pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_67 = 2; -pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_67 = 4; -pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_67 = 8; -pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_67 = 1; -pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_67 = -3; -pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_67 = -2; -pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_67 = -1; -pub type _bindgen_ty_67 = ::std::os::raw::c_int; +pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_69 = 2; +pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_69 = 4; +pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_69 = 8; +pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_69 = 1; +pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_69 = -3; +pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_69 = -2; +pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_69 = -1; +pub type _bindgen_ty_69 = ::std::os::raw::c_int; pub type AMediaCodecOnAsyncInputAvailable = ::std::option::Option< unsafe extern "C" fn( codec: *mut AMediaCodec, @@ -25021,9 +25115,9 @@ extern "C" { arg1: *mut AMediaExtractor, ) -> *mut AMediaCodecCryptoInfo; } -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_68 = 1; -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_68 = 2; -pub type _bindgen_ty_68 = ::std::os::raw::c_uint; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_70 = 1; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_70 = 2; +pub type _bindgen_ty_70 = ::std::os::raw::c_uint; extern "C" { pub fn AMediaExtractor_getFileFormat(arg1: *mut AMediaExtractor) -> *mut AMediaFormat; } diff --git a/ndk-sys/src/ffi_x86_64.rs b/ndk-sys/src/ffi_x86_64.rs index c98f48e6..45e01a09 100644 --- a/ndk-sys/src/ffi_x86_64.rs +++ b/ndk-sys/src/ffi_x86_64.rs @@ -2898,6 +2898,86 @@ extern "C" { } #[repr(C)] #[derive(Debug, Copy, Clone)] +pub struct AFont { + _unused: [u8; 0], +} +pub const AFONT_WEIGHT_MIN: _bindgen_ty_7 = 0; +pub const AFONT_WEIGHT_THIN: _bindgen_ty_7 = 100; +pub const AFONT_WEIGHT_EXTRA_LIGHT: _bindgen_ty_7 = 200; +pub const AFONT_WEIGHT_LIGHT: _bindgen_ty_7 = 300; +pub const AFONT_WEIGHT_NORMAL: _bindgen_ty_7 = 400; +pub const AFONT_WEIGHT_MEDIUM: _bindgen_ty_7 = 500; +pub const AFONT_WEIGHT_SEMI_BOLD: _bindgen_ty_7 = 600; +pub const AFONT_WEIGHT_BOLD: _bindgen_ty_7 = 700; +pub const AFONT_WEIGHT_EXTRA_BOLD: _bindgen_ty_7 = 800; +pub const AFONT_WEIGHT_BLACK: _bindgen_ty_7 = 900; +pub const AFONT_WEIGHT_MAX: _bindgen_ty_7 = 1000; +pub type _bindgen_ty_7 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFont_close(font: *mut AFont); +} +extern "C" { + pub fn AFont_getFontFilePath(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getWeight(font: *const AFont) -> u16; +} +extern "C" { + pub fn AFont_isItalic(font: *const AFont) -> bool; +} +extern "C" { + pub fn AFont_getLocale(font: *const AFont) -> *const ::std::os::raw::c_char; +} +extern "C" { + pub fn AFont_getCollectionIndex(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisCount(font: *const AFont) -> usize; +} +extern "C" { + pub fn AFont_getAxisTag(font: *const AFont, axisIndex: u32) -> u32; +} +extern "C" { + pub fn AFont_getAxisValue(font: *const AFont, axisIndex: u32) -> f32; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct AFontMatcher { + _unused: [u8; 0], +} +pub const AFAMILY_VARIANT_DEFAULT: _bindgen_ty_8 = 0; +pub const AFAMILY_VARIANT_COMPACT: _bindgen_ty_8 = 1; +pub const AFAMILY_VARIANT_ELEGANT: _bindgen_ty_8 = 2; +pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +extern "C" { + pub fn AFontMatcher_create() -> *mut AFontMatcher; +} +extern "C" { + pub fn AFontMatcher_destroy(matcher: *mut AFontMatcher); +} +extern "C" { + pub fn AFontMatcher_setStyle(matcher: *mut AFontMatcher, weight: u16, italic: bool); +} +extern "C" { + pub fn AFontMatcher_setLocales( + matcher: *mut AFontMatcher, + languageTags: *const ::std::os::raw::c_char, + ); +} +extern "C" { + pub fn AFontMatcher_setFamilyVariant(matcher: *mut AFontMatcher, familyVariant: u32); +} +extern "C" { + pub fn AFontMatcher_match( + matcher: *const AFontMatcher, + familyName: *const ::std::os::raw::c_char, + text: *const u16, + textLength: u32, + runLengthOut: *mut u32, + ) -> *mut AFont; +} +#[repr(C)] +#[derive(Debug, Copy, Clone)] pub struct ARect { pub left: i32, pub top: i32, @@ -3644,19 +3724,19 @@ fn bindgen_test_layout_AHdrMetadata_cta861_3() { ) ); } -pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_7 = 0; -pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_7 = -1; -pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_7 = -2; -pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_7 = -3; -pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_7 = -4; -pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_7 = -5; -pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_7 = -6; -pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_7 = -7; -pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_7 = -8; -pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_7 = -9; -pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_7 = -10; -pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_7 = -11; -pub type _bindgen_ty_7 = ::std::os::raw::c_int; +pub const ANDROID_IMAGE_DECODER_SUCCESS: _bindgen_ty_9 = 0; +pub const ANDROID_IMAGE_DECODER_INCOMPLETE: _bindgen_ty_9 = -1; +pub const ANDROID_IMAGE_DECODER_ERROR: _bindgen_ty_9 = -2; +pub const ANDROID_IMAGE_DECODER_INVALID_CONVERSION: _bindgen_ty_9 = -3; +pub const ANDROID_IMAGE_DECODER_INVALID_SCALE: _bindgen_ty_9 = -4; +pub const ANDROID_IMAGE_DECODER_BAD_PARAMETER: _bindgen_ty_9 = -5; +pub const ANDROID_IMAGE_DECODER_INVALID_INPUT: _bindgen_ty_9 = -6; +pub const ANDROID_IMAGE_DECODER_SEEK_ERROR: _bindgen_ty_9 = -7; +pub const ANDROID_IMAGE_DECODER_INTERNAL_ERROR: _bindgen_ty_9 = -8; +pub const ANDROID_IMAGE_DECODER_UNSUPPORTED_FORMAT: _bindgen_ty_9 = -9; +pub const ANDROID_IMAGE_DECODER_FINISHED: _bindgen_ty_9 = -10; +pub const ANDROID_IMAGE_DECODER_INVALID_STATE: _bindgen_ty_9 = -11; +pub type _bindgen_ty_9 = ::std::os::raw::c_int; extern "C" { pub fn AImageDecoder_resultToString( arg1: ::std::os::raw::c_int, @@ -3774,8 +3854,8 @@ extern "C" { extern "C" { pub fn AImageDecoder_isAnimated(decoder: *mut AImageDecoder) -> bool; } -pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_8 = 2147483647; -pub type _bindgen_ty_8 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_INFINITE: _bindgen_ty_10 = 2147483647; +pub type _bindgen_ty_10 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoder_getRepeatCount(decoder: *mut AImageDecoder) -> i32; } @@ -3812,16 +3892,16 @@ extern "C" { pub fn AImageDecoderFrameInfo_hasAlphaWithinBounds(info: *const AImageDecoderFrameInfo) -> bool; } -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_9 = 1; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_9 = 2; -pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_9 = 3; -pub type _bindgen_ty_9 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE: _bindgen_ty_11 = 1; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND: _bindgen_ty_11 = 2; +pub const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS: _bindgen_ty_11 = 3; +pub type _bindgen_ty_11 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getDisposeOp(info: *const AImageDecoderFrameInfo) -> i32; } -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_10 = 1; -pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_10 = 2; -pub type _bindgen_ty_10 = ::std::os::raw::c_uint; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC: _bindgen_ty_12 = 1; +pub const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER: _bindgen_ty_12 = 2; +pub type _bindgen_ty_12 = ::std::os::raw::c_uint; extern "C" { pub fn AImageDecoderFrameInfo_getBlendOp(info: *const AImageDecoderFrameInfo) -> i32; } @@ -3831,296 +3911,296 @@ extern "C" { handleInternally: bool, ); } -pub const AKEYCODE_UNKNOWN: _bindgen_ty_11 = 0; -pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_11 = 1; -pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_11 = 2; -pub const AKEYCODE_HOME: _bindgen_ty_11 = 3; -pub const AKEYCODE_BACK: _bindgen_ty_11 = 4; -pub const AKEYCODE_CALL: _bindgen_ty_11 = 5; -pub const AKEYCODE_ENDCALL: _bindgen_ty_11 = 6; -pub const AKEYCODE_0: _bindgen_ty_11 = 7; -pub const AKEYCODE_1: _bindgen_ty_11 = 8; -pub const AKEYCODE_2: _bindgen_ty_11 = 9; -pub const AKEYCODE_3: _bindgen_ty_11 = 10; -pub const AKEYCODE_4: _bindgen_ty_11 = 11; -pub const AKEYCODE_5: _bindgen_ty_11 = 12; -pub const AKEYCODE_6: _bindgen_ty_11 = 13; -pub const AKEYCODE_7: _bindgen_ty_11 = 14; -pub const AKEYCODE_8: _bindgen_ty_11 = 15; -pub const AKEYCODE_9: _bindgen_ty_11 = 16; -pub const AKEYCODE_STAR: _bindgen_ty_11 = 17; -pub const AKEYCODE_POUND: _bindgen_ty_11 = 18; -pub const AKEYCODE_DPAD_UP: _bindgen_ty_11 = 19; -pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_11 = 20; -pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_11 = 21; -pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_11 = 22; -pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_11 = 23; -pub const AKEYCODE_VOLUME_UP: _bindgen_ty_11 = 24; -pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_11 = 25; -pub const AKEYCODE_POWER: _bindgen_ty_11 = 26; -pub const AKEYCODE_CAMERA: _bindgen_ty_11 = 27; -pub const AKEYCODE_CLEAR: _bindgen_ty_11 = 28; -pub const AKEYCODE_A: _bindgen_ty_11 = 29; -pub const AKEYCODE_B: _bindgen_ty_11 = 30; -pub const AKEYCODE_C: _bindgen_ty_11 = 31; -pub const AKEYCODE_D: _bindgen_ty_11 = 32; -pub const AKEYCODE_E: _bindgen_ty_11 = 33; -pub const AKEYCODE_F: _bindgen_ty_11 = 34; -pub const AKEYCODE_G: _bindgen_ty_11 = 35; -pub const AKEYCODE_H: _bindgen_ty_11 = 36; -pub const AKEYCODE_I: _bindgen_ty_11 = 37; -pub const AKEYCODE_J: _bindgen_ty_11 = 38; -pub const AKEYCODE_K: _bindgen_ty_11 = 39; -pub const AKEYCODE_L: _bindgen_ty_11 = 40; -pub const AKEYCODE_M: _bindgen_ty_11 = 41; -pub const AKEYCODE_N: _bindgen_ty_11 = 42; -pub const AKEYCODE_O: _bindgen_ty_11 = 43; -pub const AKEYCODE_P: _bindgen_ty_11 = 44; -pub const AKEYCODE_Q: _bindgen_ty_11 = 45; -pub const AKEYCODE_R: _bindgen_ty_11 = 46; -pub const AKEYCODE_S: _bindgen_ty_11 = 47; -pub const AKEYCODE_T: _bindgen_ty_11 = 48; -pub const AKEYCODE_U: _bindgen_ty_11 = 49; -pub const AKEYCODE_V: _bindgen_ty_11 = 50; -pub const AKEYCODE_W: _bindgen_ty_11 = 51; -pub const AKEYCODE_X: _bindgen_ty_11 = 52; -pub const AKEYCODE_Y: _bindgen_ty_11 = 53; -pub const AKEYCODE_Z: _bindgen_ty_11 = 54; -pub const AKEYCODE_COMMA: _bindgen_ty_11 = 55; -pub const AKEYCODE_PERIOD: _bindgen_ty_11 = 56; -pub const AKEYCODE_ALT_LEFT: _bindgen_ty_11 = 57; -pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_11 = 58; -pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_11 = 59; -pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_11 = 60; -pub const AKEYCODE_TAB: _bindgen_ty_11 = 61; -pub const AKEYCODE_SPACE: _bindgen_ty_11 = 62; -pub const AKEYCODE_SYM: _bindgen_ty_11 = 63; -pub const AKEYCODE_EXPLORER: _bindgen_ty_11 = 64; -pub const AKEYCODE_ENVELOPE: _bindgen_ty_11 = 65; -pub const AKEYCODE_ENTER: _bindgen_ty_11 = 66; -pub const AKEYCODE_DEL: _bindgen_ty_11 = 67; -pub const AKEYCODE_GRAVE: _bindgen_ty_11 = 68; -pub const AKEYCODE_MINUS: _bindgen_ty_11 = 69; -pub const AKEYCODE_EQUALS: _bindgen_ty_11 = 70; -pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_11 = 71; -pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_11 = 72; -pub const AKEYCODE_BACKSLASH: _bindgen_ty_11 = 73; -pub const AKEYCODE_SEMICOLON: _bindgen_ty_11 = 74; -pub const AKEYCODE_APOSTROPHE: _bindgen_ty_11 = 75; -pub const AKEYCODE_SLASH: _bindgen_ty_11 = 76; -pub const AKEYCODE_AT: _bindgen_ty_11 = 77; -pub const AKEYCODE_NUM: _bindgen_ty_11 = 78; -pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_11 = 79; -pub const AKEYCODE_FOCUS: _bindgen_ty_11 = 80; -pub const AKEYCODE_PLUS: _bindgen_ty_11 = 81; -pub const AKEYCODE_MENU: _bindgen_ty_11 = 82; -pub const AKEYCODE_NOTIFICATION: _bindgen_ty_11 = 83; -pub const AKEYCODE_SEARCH: _bindgen_ty_11 = 84; -pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_11 = 85; -pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_11 = 86; -pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_11 = 87; -pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_11 = 88; -pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_11 = 89; -pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_11 = 90; -pub const AKEYCODE_MUTE: _bindgen_ty_11 = 91; -pub const AKEYCODE_PAGE_UP: _bindgen_ty_11 = 92; -pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_11 = 93; -pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_11 = 94; -pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_11 = 95; -pub const AKEYCODE_BUTTON_A: _bindgen_ty_11 = 96; -pub const AKEYCODE_BUTTON_B: _bindgen_ty_11 = 97; -pub const AKEYCODE_BUTTON_C: _bindgen_ty_11 = 98; -pub const AKEYCODE_BUTTON_X: _bindgen_ty_11 = 99; -pub const AKEYCODE_BUTTON_Y: _bindgen_ty_11 = 100; -pub const AKEYCODE_BUTTON_Z: _bindgen_ty_11 = 101; -pub const AKEYCODE_BUTTON_L1: _bindgen_ty_11 = 102; -pub const AKEYCODE_BUTTON_R1: _bindgen_ty_11 = 103; -pub const AKEYCODE_BUTTON_L2: _bindgen_ty_11 = 104; -pub const AKEYCODE_BUTTON_R2: _bindgen_ty_11 = 105; -pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_11 = 106; -pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_11 = 107; -pub const AKEYCODE_BUTTON_START: _bindgen_ty_11 = 108; -pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_11 = 109; -pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_11 = 110; -pub const AKEYCODE_ESCAPE: _bindgen_ty_11 = 111; -pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_11 = 112; -pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_11 = 113; -pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_11 = 114; -pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_11 = 115; -pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_11 = 116; -pub const AKEYCODE_META_LEFT: _bindgen_ty_11 = 117; -pub const AKEYCODE_META_RIGHT: _bindgen_ty_11 = 118; -pub const AKEYCODE_FUNCTION: _bindgen_ty_11 = 119; -pub const AKEYCODE_SYSRQ: _bindgen_ty_11 = 120; -pub const AKEYCODE_BREAK: _bindgen_ty_11 = 121; -pub const AKEYCODE_MOVE_HOME: _bindgen_ty_11 = 122; -pub const AKEYCODE_MOVE_END: _bindgen_ty_11 = 123; -pub const AKEYCODE_INSERT: _bindgen_ty_11 = 124; -pub const AKEYCODE_FORWARD: _bindgen_ty_11 = 125; -pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_11 = 126; -pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_11 = 127; -pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_11 = 128; -pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_11 = 129; -pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_11 = 130; -pub const AKEYCODE_F1: _bindgen_ty_11 = 131; -pub const AKEYCODE_F2: _bindgen_ty_11 = 132; -pub const AKEYCODE_F3: _bindgen_ty_11 = 133; -pub const AKEYCODE_F4: _bindgen_ty_11 = 134; -pub const AKEYCODE_F5: _bindgen_ty_11 = 135; -pub const AKEYCODE_F6: _bindgen_ty_11 = 136; -pub const AKEYCODE_F7: _bindgen_ty_11 = 137; -pub const AKEYCODE_F8: _bindgen_ty_11 = 138; -pub const AKEYCODE_F9: _bindgen_ty_11 = 139; -pub const AKEYCODE_F10: _bindgen_ty_11 = 140; -pub const AKEYCODE_F11: _bindgen_ty_11 = 141; -pub const AKEYCODE_F12: _bindgen_ty_11 = 142; -pub const AKEYCODE_NUM_LOCK: _bindgen_ty_11 = 143; -pub const AKEYCODE_NUMPAD_0: _bindgen_ty_11 = 144; -pub const AKEYCODE_NUMPAD_1: _bindgen_ty_11 = 145; -pub const AKEYCODE_NUMPAD_2: _bindgen_ty_11 = 146; -pub const AKEYCODE_NUMPAD_3: _bindgen_ty_11 = 147; -pub const AKEYCODE_NUMPAD_4: _bindgen_ty_11 = 148; -pub const AKEYCODE_NUMPAD_5: _bindgen_ty_11 = 149; -pub const AKEYCODE_NUMPAD_6: _bindgen_ty_11 = 150; -pub const AKEYCODE_NUMPAD_7: _bindgen_ty_11 = 151; -pub const AKEYCODE_NUMPAD_8: _bindgen_ty_11 = 152; -pub const AKEYCODE_NUMPAD_9: _bindgen_ty_11 = 153; -pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_11 = 154; -pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_11 = 155; -pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_11 = 156; -pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_11 = 157; -pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_11 = 158; -pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_11 = 159; -pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_11 = 160; -pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_11 = 161; -pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_11 = 162; -pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_11 = 163; -pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_11 = 164; -pub const AKEYCODE_INFO: _bindgen_ty_11 = 165; -pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_11 = 166; -pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_11 = 167; -pub const AKEYCODE_ZOOM_IN: _bindgen_ty_11 = 168; -pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_11 = 169; -pub const AKEYCODE_TV: _bindgen_ty_11 = 170; -pub const AKEYCODE_WINDOW: _bindgen_ty_11 = 171; -pub const AKEYCODE_GUIDE: _bindgen_ty_11 = 172; -pub const AKEYCODE_DVR: _bindgen_ty_11 = 173; -pub const AKEYCODE_BOOKMARK: _bindgen_ty_11 = 174; -pub const AKEYCODE_CAPTIONS: _bindgen_ty_11 = 175; -pub const AKEYCODE_SETTINGS: _bindgen_ty_11 = 176; -pub const AKEYCODE_TV_POWER: _bindgen_ty_11 = 177; -pub const AKEYCODE_TV_INPUT: _bindgen_ty_11 = 178; -pub const AKEYCODE_STB_POWER: _bindgen_ty_11 = 179; -pub const AKEYCODE_STB_INPUT: _bindgen_ty_11 = 180; -pub const AKEYCODE_AVR_POWER: _bindgen_ty_11 = 181; -pub const AKEYCODE_AVR_INPUT: _bindgen_ty_11 = 182; -pub const AKEYCODE_PROG_RED: _bindgen_ty_11 = 183; -pub const AKEYCODE_PROG_GREEN: _bindgen_ty_11 = 184; -pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_11 = 185; -pub const AKEYCODE_PROG_BLUE: _bindgen_ty_11 = 186; -pub const AKEYCODE_APP_SWITCH: _bindgen_ty_11 = 187; -pub const AKEYCODE_BUTTON_1: _bindgen_ty_11 = 188; -pub const AKEYCODE_BUTTON_2: _bindgen_ty_11 = 189; -pub const AKEYCODE_BUTTON_3: _bindgen_ty_11 = 190; -pub const AKEYCODE_BUTTON_4: _bindgen_ty_11 = 191; -pub const AKEYCODE_BUTTON_5: _bindgen_ty_11 = 192; -pub const AKEYCODE_BUTTON_6: _bindgen_ty_11 = 193; -pub const AKEYCODE_BUTTON_7: _bindgen_ty_11 = 194; -pub const AKEYCODE_BUTTON_8: _bindgen_ty_11 = 195; -pub const AKEYCODE_BUTTON_9: _bindgen_ty_11 = 196; -pub const AKEYCODE_BUTTON_10: _bindgen_ty_11 = 197; -pub const AKEYCODE_BUTTON_11: _bindgen_ty_11 = 198; -pub const AKEYCODE_BUTTON_12: _bindgen_ty_11 = 199; -pub const AKEYCODE_BUTTON_13: _bindgen_ty_11 = 200; -pub const AKEYCODE_BUTTON_14: _bindgen_ty_11 = 201; -pub const AKEYCODE_BUTTON_15: _bindgen_ty_11 = 202; -pub const AKEYCODE_BUTTON_16: _bindgen_ty_11 = 203; -pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_11 = 204; -pub const AKEYCODE_MANNER_MODE: _bindgen_ty_11 = 205; -pub const AKEYCODE_3D_MODE: _bindgen_ty_11 = 206; -pub const AKEYCODE_CONTACTS: _bindgen_ty_11 = 207; -pub const AKEYCODE_CALENDAR: _bindgen_ty_11 = 208; -pub const AKEYCODE_MUSIC: _bindgen_ty_11 = 209; -pub const AKEYCODE_CALCULATOR: _bindgen_ty_11 = 210; -pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_11 = 211; -pub const AKEYCODE_EISU: _bindgen_ty_11 = 212; -pub const AKEYCODE_MUHENKAN: _bindgen_ty_11 = 213; -pub const AKEYCODE_HENKAN: _bindgen_ty_11 = 214; -pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_11 = 215; -pub const AKEYCODE_YEN: _bindgen_ty_11 = 216; -pub const AKEYCODE_RO: _bindgen_ty_11 = 217; -pub const AKEYCODE_KANA: _bindgen_ty_11 = 218; -pub const AKEYCODE_ASSIST: _bindgen_ty_11 = 219; -pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_11 = 220; -pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_11 = 221; -pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_11 = 222; -pub const AKEYCODE_SLEEP: _bindgen_ty_11 = 223; -pub const AKEYCODE_WAKEUP: _bindgen_ty_11 = 224; -pub const AKEYCODE_PAIRING: _bindgen_ty_11 = 225; -pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_11 = 226; -pub const AKEYCODE_11: _bindgen_ty_11 = 227; -pub const AKEYCODE_12: _bindgen_ty_11 = 228; -pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_11 = 229; -pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_11 = 230; -pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_11 = 231; -pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_11 = 232; -pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_11 = 233; -pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_11 = 234; -pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_11 = 235; -pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_11 = 236; -pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_11 = 237; -pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_11 = 238; -pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_11 = 239; -pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_11 = 240; -pub const AKEYCODE_TV_NETWORK: _bindgen_ty_11 = 241; -pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_11 = 242; -pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_11 = 243; -pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_11 = 244; -pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_11 = 245; -pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_11 = 246; -pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_11 = 247; -pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_11 = 248; -pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_11 = 249; -pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_11 = 250; -pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_11 = 251; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_11 = 252; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_11 = 253; -pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_11 = 254; -pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_11 = 255; -pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_11 = 256; -pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_11 = 257; -pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_11 = 258; -pub const AKEYCODE_HELP: _bindgen_ty_11 = 259; -pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_11 = 260; -pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_11 = 261; -pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_11 = 262; -pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_11 = 263; -pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_11 = 264; -pub const AKEYCODE_STEM_1: _bindgen_ty_11 = 265; -pub const AKEYCODE_STEM_2: _bindgen_ty_11 = 266; -pub const AKEYCODE_STEM_3: _bindgen_ty_11 = 267; -pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_11 = 268; -pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_11 = 269; -pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_11 = 270; -pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_11 = 271; -pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_11 = 272; -pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_11 = 273; -pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_11 = 274; -pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_11 = 275; -pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_11 = 276; -pub const AKEYCODE_CUT: _bindgen_ty_11 = 277; -pub const AKEYCODE_COPY: _bindgen_ty_11 = 278; -pub const AKEYCODE_PASTE: _bindgen_ty_11 = 279; -pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_11 = 280; -pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_11 = 281; -pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_11 = 282; -pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_11 = 283; -pub const AKEYCODE_ALL_APPS: _bindgen_ty_11 = 284; -pub const AKEYCODE_REFRESH: _bindgen_ty_11 = 285; -pub const AKEYCODE_THUMBS_UP: _bindgen_ty_11 = 286; -pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_11 = 287; -pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_11 = 288; -pub type _bindgen_ty_11 = ::std::os::raw::c_uint; +pub const AKEYCODE_UNKNOWN: _bindgen_ty_13 = 0; +pub const AKEYCODE_SOFT_LEFT: _bindgen_ty_13 = 1; +pub const AKEYCODE_SOFT_RIGHT: _bindgen_ty_13 = 2; +pub const AKEYCODE_HOME: _bindgen_ty_13 = 3; +pub const AKEYCODE_BACK: _bindgen_ty_13 = 4; +pub const AKEYCODE_CALL: _bindgen_ty_13 = 5; +pub const AKEYCODE_ENDCALL: _bindgen_ty_13 = 6; +pub const AKEYCODE_0: _bindgen_ty_13 = 7; +pub const AKEYCODE_1: _bindgen_ty_13 = 8; +pub const AKEYCODE_2: _bindgen_ty_13 = 9; +pub const AKEYCODE_3: _bindgen_ty_13 = 10; +pub const AKEYCODE_4: _bindgen_ty_13 = 11; +pub const AKEYCODE_5: _bindgen_ty_13 = 12; +pub const AKEYCODE_6: _bindgen_ty_13 = 13; +pub const AKEYCODE_7: _bindgen_ty_13 = 14; +pub const AKEYCODE_8: _bindgen_ty_13 = 15; +pub const AKEYCODE_9: _bindgen_ty_13 = 16; +pub const AKEYCODE_STAR: _bindgen_ty_13 = 17; +pub const AKEYCODE_POUND: _bindgen_ty_13 = 18; +pub const AKEYCODE_DPAD_UP: _bindgen_ty_13 = 19; +pub const AKEYCODE_DPAD_DOWN: _bindgen_ty_13 = 20; +pub const AKEYCODE_DPAD_LEFT: _bindgen_ty_13 = 21; +pub const AKEYCODE_DPAD_RIGHT: _bindgen_ty_13 = 22; +pub const AKEYCODE_DPAD_CENTER: _bindgen_ty_13 = 23; +pub const AKEYCODE_VOLUME_UP: _bindgen_ty_13 = 24; +pub const AKEYCODE_VOLUME_DOWN: _bindgen_ty_13 = 25; +pub const AKEYCODE_POWER: _bindgen_ty_13 = 26; +pub const AKEYCODE_CAMERA: _bindgen_ty_13 = 27; +pub const AKEYCODE_CLEAR: _bindgen_ty_13 = 28; +pub const AKEYCODE_A: _bindgen_ty_13 = 29; +pub const AKEYCODE_B: _bindgen_ty_13 = 30; +pub const AKEYCODE_C: _bindgen_ty_13 = 31; +pub const AKEYCODE_D: _bindgen_ty_13 = 32; +pub const AKEYCODE_E: _bindgen_ty_13 = 33; +pub const AKEYCODE_F: _bindgen_ty_13 = 34; +pub const AKEYCODE_G: _bindgen_ty_13 = 35; +pub const AKEYCODE_H: _bindgen_ty_13 = 36; +pub const AKEYCODE_I: _bindgen_ty_13 = 37; +pub const AKEYCODE_J: _bindgen_ty_13 = 38; +pub const AKEYCODE_K: _bindgen_ty_13 = 39; +pub const AKEYCODE_L: _bindgen_ty_13 = 40; +pub const AKEYCODE_M: _bindgen_ty_13 = 41; +pub const AKEYCODE_N: _bindgen_ty_13 = 42; +pub const AKEYCODE_O: _bindgen_ty_13 = 43; +pub const AKEYCODE_P: _bindgen_ty_13 = 44; +pub const AKEYCODE_Q: _bindgen_ty_13 = 45; +pub const AKEYCODE_R: _bindgen_ty_13 = 46; +pub const AKEYCODE_S: _bindgen_ty_13 = 47; +pub const AKEYCODE_T: _bindgen_ty_13 = 48; +pub const AKEYCODE_U: _bindgen_ty_13 = 49; +pub const AKEYCODE_V: _bindgen_ty_13 = 50; +pub const AKEYCODE_W: _bindgen_ty_13 = 51; +pub const AKEYCODE_X: _bindgen_ty_13 = 52; +pub const AKEYCODE_Y: _bindgen_ty_13 = 53; +pub const AKEYCODE_Z: _bindgen_ty_13 = 54; +pub const AKEYCODE_COMMA: _bindgen_ty_13 = 55; +pub const AKEYCODE_PERIOD: _bindgen_ty_13 = 56; +pub const AKEYCODE_ALT_LEFT: _bindgen_ty_13 = 57; +pub const AKEYCODE_ALT_RIGHT: _bindgen_ty_13 = 58; +pub const AKEYCODE_SHIFT_LEFT: _bindgen_ty_13 = 59; +pub const AKEYCODE_SHIFT_RIGHT: _bindgen_ty_13 = 60; +pub const AKEYCODE_TAB: _bindgen_ty_13 = 61; +pub const AKEYCODE_SPACE: _bindgen_ty_13 = 62; +pub const AKEYCODE_SYM: _bindgen_ty_13 = 63; +pub const AKEYCODE_EXPLORER: _bindgen_ty_13 = 64; +pub const AKEYCODE_ENVELOPE: _bindgen_ty_13 = 65; +pub const AKEYCODE_ENTER: _bindgen_ty_13 = 66; +pub const AKEYCODE_DEL: _bindgen_ty_13 = 67; +pub const AKEYCODE_GRAVE: _bindgen_ty_13 = 68; +pub const AKEYCODE_MINUS: _bindgen_ty_13 = 69; +pub const AKEYCODE_EQUALS: _bindgen_ty_13 = 70; +pub const AKEYCODE_LEFT_BRACKET: _bindgen_ty_13 = 71; +pub const AKEYCODE_RIGHT_BRACKET: _bindgen_ty_13 = 72; +pub const AKEYCODE_BACKSLASH: _bindgen_ty_13 = 73; +pub const AKEYCODE_SEMICOLON: _bindgen_ty_13 = 74; +pub const AKEYCODE_APOSTROPHE: _bindgen_ty_13 = 75; +pub const AKEYCODE_SLASH: _bindgen_ty_13 = 76; +pub const AKEYCODE_AT: _bindgen_ty_13 = 77; +pub const AKEYCODE_NUM: _bindgen_ty_13 = 78; +pub const AKEYCODE_HEADSETHOOK: _bindgen_ty_13 = 79; +pub const AKEYCODE_FOCUS: _bindgen_ty_13 = 80; +pub const AKEYCODE_PLUS: _bindgen_ty_13 = 81; +pub const AKEYCODE_MENU: _bindgen_ty_13 = 82; +pub const AKEYCODE_NOTIFICATION: _bindgen_ty_13 = 83; +pub const AKEYCODE_SEARCH: _bindgen_ty_13 = 84; +pub const AKEYCODE_MEDIA_PLAY_PAUSE: _bindgen_ty_13 = 85; +pub const AKEYCODE_MEDIA_STOP: _bindgen_ty_13 = 86; +pub const AKEYCODE_MEDIA_NEXT: _bindgen_ty_13 = 87; +pub const AKEYCODE_MEDIA_PREVIOUS: _bindgen_ty_13 = 88; +pub const AKEYCODE_MEDIA_REWIND: _bindgen_ty_13 = 89; +pub const AKEYCODE_MEDIA_FAST_FORWARD: _bindgen_ty_13 = 90; +pub const AKEYCODE_MUTE: _bindgen_ty_13 = 91; +pub const AKEYCODE_PAGE_UP: _bindgen_ty_13 = 92; +pub const AKEYCODE_PAGE_DOWN: _bindgen_ty_13 = 93; +pub const AKEYCODE_PICTSYMBOLS: _bindgen_ty_13 = 94; +pub const AKEYCODE_SWITCH_CHARSET: _bindgen_ty_13 = 95; +pub const AKEYCODE_BUTTON_A: _bindgen_ty_13 = 96; +pub const AKEYCODE_BUTTON_B: _bindgen_ty_13 = 97; +pub const AKEYCODE_BUTTON_C: _bindgen_ty_13 = 98; +pub const AKEYCODE_BUTTON_X: _bindgen_ty_13 = 99; +pub const AKEYCODE_BUTTON_Y: _bindgen_ty_13 = 100; +pub const AKEYCODE_BUTTON_Z: _bindgen_ty_13 = 101; +pub const AKEYCODE_BUTTON_L1: _bindgen_ty_13 = 102; +pub const AKEYCODE_BUTTON_R1: _bindgen_ty_13 = 103; +pub const AKEYCODE_BUTTON_L2: _bindgen_ty_13 = 104; +pub const AKEYCODE_BUTTON_R2: _bindgen_ty_13 = 105; +pub const AKEYCODE_BUTTON_THUMBL: _bindgen_ty_13 = 106; +pub const AKEYCODE_BUTTON_THUMBR: _bindgen_ty_13 = 107; +pub const AKEYCODE_BUTTON_START: _bindgen_ty_13 = 108; +pub const AKEYCODE_BUTTON_SELECT: _bindgen_ty_13 = 109; +pub const AKEYCODE_BUTTON_MODE: _bindgen_ty_13 = 110; +pub const AKEYCODE_ESCAPE: _bindgen_ty_13 = 111; +pub const AKEYCODE_FORWARD_DEL: _bindgen_ty_13 = 112; +pub const AKEYCODE_CTRL_LEFT: _bindgen_ty_13 = 113; +pub const AKEYCODE_CTRL_RIGHT: _bindgen_ty_13 = 114; +pub const AKEYCODE_CAPS_LOCK: _bindgen_ty_13 = 115; +pub const AKEYCODE_SCROLL_LOCK: _bindgen_ty_13 = 116; +pub const AKEYCODE_META_LEFT: _bindgen_ty_13 = 117; +pub const AKEYCODE_META_RIGHT: _bindgen_ty_13 = 118; +pub const AKEYCODE_FUNCTION: _bindgen_ty_13 = 119; +pub const AKEYCODE_SYSRQ: _bindgen_ty_13 = 120; +pub const AKEYCODE_BREAK: _bindgen_ty_13 = 121; +pub const AKEYCODE_MOVE_HOME: _bindgen_ty_13 = 122; +pub const AKEYCODE_MOVE_END: _bindgen_ty_13 = 123; +pub const AKEYCODE_INSERT: _bindgen_ty_13 = 124; +pub const AKEYCODE_FORWARD: _bindgen_ty_13 = 125; +pub const AKEYCODE_MEDIA_PLAY: _bindgen_ty_13 = 126; +pub const AKEYCODE_MEDIA_PAUSE: _bindgen_ty_13 = 127; +pub const AKEYCODE_MEDIA_CLOSE: _bindgen_ty_13 = 128; +pub const AKEYCODE_MEDIA_EJECT: _bindgen_ty_13 = 129; +pub const AKEYCODE_MEDIA_RECORD: _bindgen_ty_13 = 130; +pub const AKEYCODE_F1: _bindgen_ty_13 = 131; +pub const AKEYCODE_F2: _bindgen_ty_13 = 132; +pub const AKEYCODE_F3: _bindgen_ty_13 = 133; +pub const AKEYCODE_F4: _bindgen_ty_13 = 134; +pub const AKEYCODE_F5: _bindgen_ty_13 = 135; +pub const AKEYCODE_F6: _bindgen_ty_13 = 136; +pub const AKEYCODE_F7: _bindgen_ty_13 = 137; +pub const AKEYCODE_F8: _bindgen_ty_13 = 138; +pub const AKEYCODE_F9: _bindgen_ty_13 = 139; +pub const AKEYCODE_F10: _bindgen_ty_13 = 140; +pub const AKEYCODE_F11: _bindgen_ty_13 = 141; +pub const AKEYCODE_F12: _bindgen_ty_13 = 142; +pub const AKEYCODE_NUM_LOCK: _bindgen_ty_13 = 143; +pub const AKEYCODE_NUMPAD_0: _bindgen_ty_13 = 144; +pub const AKEYCODE_NUMPAD_1: _bindgen_ty_13 = 145; +pub const AKEYCODE_NUMPAD_2: _bindgen_ty_13 = 146; +pub const AKEYCODE_NUMPAD_3: _bindgen_ty_13 = 147; +pub const AKEYCODE_NUMPAD_4: _bindgen_ty_13 = 148; +pub const AKEYCODE_NUMPAD_5: _bindgen_ty_13 = 149; +pub const AKEYCODE_NUMPAD_6: _bindgen_ty_13 = 150; +pub const AKEYCODE_NUMPAD_7: _bindgen_ty_13 = 151; +pub const AKEYCODE_NUMPAD_8: _bindgen_ty_13 = 152; +pub const AKEYCODE_NUMPAD_9: _bindgen_ty_13 = 153; +pub const AKEYCODE_NUMPAD_DIVIDE: _bindgen_ty_13 = 154; +pub const AKEYCODE_NUMPAD_MULTIPLY: _bindgen_ty_13 = 155; +pub const AKEYCODE_NUMPAD_SUBTRACT: _bindgen_ty_13 = 156; +pub const AKEYCODE_NUMPAD_ADD: _bindgen_ty_13 = 157; +pub const AKEYCODE_NUMPAD_DOT: _bindgen_ty_13 = 158; +pub const AKEYCODE_NUMPAD_COMMA: _bindgen_ty_13 = 159; +pub const AKEYCODE_NUMPAD_ENTER: _bindgen_ty_13 = 160; +pub const AKEYCODE_NUMPAD_EQUALS: _bindgen_ty_13 = 161; +pub const AKEYCODE_NUMPAD_LEFT_PAREN: _bindgen_ty_13 = 162; +pub const AKEYCODE_NUMPAD_RIGHT_PAREN: _bindgen_ty_13 = 163; +pub const AKEYCODE_VOLUME_MUTE: _bindgen_ty_13 = 164; +pub const AKEYCODE_INFO: _bindgen_ty_13 = 165; +pub const AKEYCODE_CHANNEL_UP: _bindgen_ty_13 = 166; +pub const AKEYCODE_CHANNEL_DOWN: _bindgen_ty_13 = 167; +pub const AKEYCODE_ZOOM_IN: _bindgen_ty_13 = 168; +pub const AKEYCODE_ZOOM_OUT: _bindgen_ty_13 = 169; +pub const AKEYCODE_TV: _bindgen_ty_13 = 170; +pub const AKEYCODE_WINDOW: _bindgen_ty_13 = 171; +pub const AKEYCODE_GUIDE: _bindgen_ty_13 = 172; +pub const AKEYCODE_DVR: _bindgen_ty_13 = 173; +pub const AKEYCODE_BOOKMARK: _bindgen_ty_13 = 174; +pub const AKEYCODE_CAPTIONS: _bindgen_ty_13 = 175; +pub const AKEYCODE_SETTINGS: _bindgen_ty_13 = 176; +pub const AKEYCODE_TV_POWER: _bindgen_ty_13 = 177; +pub const AKEYCODE_TV_INPUT: _bindgen_ty_13 = 178; +pub const AKEYCODE_STB_POWER: _bindgen_ty_13 = 179; +pub const AKEYCODE_STB_INPUT: _bindgen_ty_13 = 180; +pub const AKEYCODE_AVR_POWER: _bindgen_ty_13 = 181; +pub const AKEYCODE_AVR_INPUT: _bindgen_ty_13 = 182; +pub const AKEYCODE_PROG_RED: _bindgen_ty_13 = 183; +pub const AKEYCODE_PROG_GREEN: _bindgen_ty_13 = 184; +pub const AKEYCODE_PROG_YELLOW: _bindgen_ty_13 = 185; +pub const AKEYCODE_PROG_BLUE: _bindgen_ty_13 = 186; +pub const AKEYCODE_APP_SWITCH: _bindgen_ty_13 = 187; +pub const AKEYCODE_BUTTON_1: _bindgen_ty_13 = 188; +pub const AKEYCODE_BUTTON_2: _bindgen_ty_13 = 189; +pub const AKEYCODE_BUTTON_3: _bindgen_ty_13 = 190; +pub const AKEYCODE_BUTTON_4: _bindgen_ty_13 = 191; +pub const AKEYCODE_BUTTON_5: _bindgen_ty_13 = 192; +pub const AKEYCODE_BUTTON_6: _bindgen_ty_13 = 193; +pub const AKEYCODE_BUTTON_7: _bindgen_ty_13 = 194; +pub const AKEYCODE_BUTTON_8: _bindgen_ty_13 = 195; +pub const AKEYCODE_BUTTON_9: _bindgen_ty_13 = 196; +pub const AKEYCODE_BUTTON_10: _bindgen_ty_13 = 197; +pub const AKEYCODE_BUTTON_11: _bindgen_ty_13 = 198; +pub const AKEYCODE_BUTTON_12: _bindgen_ty_13 = 199; +pub const AKEYCODE_BUTTON_13: _bindgen_ty_13 = 200; +pub const AKEYCODE_BUTTON_14: _bindgen_ty_13 = 201; +pub const AKEYCODE_BUTTON_15: _bindgen_ty_13 = 202; +pub const AKEYCODE_BUTTON_16: _bindgen_ty_13 = 203; +pub const AKEYCODE_LANGUAGE_SWITCH: _bindgen_ty_13 = 204; +pub const AKEYCODE_MANNER_MODE: _bindgen_ty_13 = 205; +pub const AKEYCODE_3D_MODE: _bindgen_ty_13 = 206; +pub const AKEYCODE_CONTACTS: _bindgen_ty_13 = 207; +pub const AKEYCODE_CALENDAR: _bindgen_ty_13 = 208; +pub const AKEYCODE_MUSIC: _bindgen_ty_13 = 209; +pub const AKEYCODE_CALCULATOR: _bindgen_ty_13 = 210; +pub const AKEYCODE_ZENKAKU_HANKAKU: _bindgen_ty_13 = 211; +pub const AKEYCODE_EISU: _bindgen_ty_13 = 212; +pub const AKEYCODE_MUHENKAN: _bindgen_ty_13 = 213; +pub const AKEYCODE_HENKAN: _bindgen_ty_13 = 214; +pub const AKEYCODE_KATAKANA_HIRAGANA: _bindgen_ty_13 = 215; +pub const AKEYCODE_YEN: _bindgen_ty_13 = 216; +pub const AKEYCODE_RO: _bindgen_ty_13 = 217; +pub const AKEYCODE_KANA: _bindgen_ty_13 = 218; +pub const AKEYCODE_ASSIST: _bindgen_ty_13 = 219; +pub const AKEYCODE_BRIGHTNESS_DOWN: _bindgen_ty_13 = 220; +pub const AKEYCODE_BRIGHTNESS_UP: _bindgen_ty_13 = 221; +pub const AKEYCODE_MEDIA_AUDIO_TRACK: _bindgen_ty_13 = 222; +pub const AKEYCODE_SLEEP: _bindgen_ty_13 = 223; +pub const AKEYCODE_WAKEUP: _bindgen_ty_13 = 224; +pub const AKEYCODE_PAIRING: _bindgen_ty_13 = 225; +pub const AKEYCODE_MEDIA_TOP_MENU: _bindgen_ty_13 = 226; +pub const AKEYCODE_11: _bindgen_ty_13 = 227; +pub const AKEYCODE_12: _bindgen_ty_13 = 228; +pub const AKEYCODE_LAST_CHANNEL: _bindgen_ty_13 = 229; +pub const AKEYCODE_TV_DATA_SERVICE: _bindgen_ty_13 = 230; +pub const AKEYCODE_VOICE_ASSIST: _bindgen_ty_13 = 231; +pub const AKEYCODE_TV_RADIO_SERVICE: _bindgen_ty_13 = 232; +pub const AKEYCODE_TV_TELETEXT: _bindgen_ty_13 = 233; +pub const AKEYCODE_TV_NUMBER_ENTRY: _bindgen_ty_13 = 234; +pub const AKEYCODE_TV_TERRESTRIAL_ANALOG: _bindgen_ty_13 = 235; +pub const AKEYCODE_TV_TERRESTRIAL_DIGITAL: _bindgen_ty_13 = 236; +pub const AKEYCODE_TV_SATELLITE: _bindgen_ty_13 = 237; +pub const AKEYCODE_TV_SATELLITE_BS: _bindgen_ty_13 = 238; +pub const AKEYCODE_TV_SATELLITE_CS: _bindgen_ty_13 = 239; +pub const AKEYCODE_TV_SATELLITE_SERVICE: _bindgen_ty_13 = 240; +pub const AKEYCODE_TV_NETWORK: _bindgen_ty_13 = 241; +pub const AKEYCODE_TV_ANTENNA_CABLE: _bindgen_ty_13 = 242; +pub const AKEYCODE_TV_INPUT_HDMI_1: _bindgen_ty_13 = 243; +pub const AKEYCODE_TV_INPUT_HDMI_2: _bindgen_ty_13 = 244; +pub const AKEYCODE_TV_INPUT_HDMI_3: _bindgen_ty_13 = 245; +pub const AKEYCODE_TV_INPUT_HDMI_4: _bindgen_ty_13 = 246; +pub const AKEYCODE_TV_INPUT_COMPOSITE_1: _bindgen_ty_13 = 247; +pub const AKEYCODE_TV_INPUT_COMPOSITE_2: _bindgen_ty_13 = 248; +pub const AKEYCODE_TV_INPUT_COMPONENT_1: _bindgen_ty_13 = 249; +pub const AKEYCODE_TV_INPUT_COMPONENT_2: _bindgen_ty_13 = 250; +pub const AKEYCODE_TV_INPUT_VGA_1: _bindgen_ty_13 = 251; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION: _bindgen_ty_13 = 252; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP: _bindgen_ty_13 = 253; +pub const AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN: _bindgen_ty_13 = 254; +pub const AKEYCODE_TV_ZOOM_MODE: _bindgen_ty_13 = 255; +pub const AKEYCODE_TV_CONTENTS_MENU: _bindgen_ty_13 = 256; +pub const AKEYCODE_TV_MEDIA_CONTEXT_MENU: _bindgen_ty_13 = 257; +pub const AKEYCODE_TV_TIMER_PROGRAMMING: _bindgen_ty_13 = 258; +pub const AKEYCODE_HELP: _bindgen_ty_13 = 259; +pub const AKEYCODE_NAVIGATE_PREVIOUS: _bindgen_ty_13 = 260; +pub const AKEYCODE_NAVIGATE_NEXT: _bindgen_ty_13 = 261; +pub const AKEYCODE_NAVIGATE_IN: _bindgen_ty_13 = 262; +pub const AKEYCODE_NAVIGATE_OUT: _bindgen_ty_13 = 263; +pub const AKEYCODE_STEM_PRIMARY: _bindgen_ty_13 = 264; +pub const AKEYCODE_STEM_1: _bindgen_ty_13 = 265; +pub const AKEYCODE_STEM_2: _bindgen_ty_13 = 266; +pub const AKEYCODE_STEM_3: _bindgen_ty_13 = 267; +pub const AKEYCODE_DPAD_UP_LEFT: _bindgen_ty_13 = 268; +pub const AKEYCODE_DPAD_DOWN_LEFT: _bindgen_ty_13 = 269; +pub const AKEYCODE_DPAD_UP_RIGHT: _bindgen_ty_13 = 270; +pub const AKEYCODE_DPAD_DOWN_RIGHT: _bindgen_ty_13 = 271; +pub const AKEYCODE_MEDIA_SKIP_FORWARD: _bindgen_ty_13 = 272; +pub const AKEYCODE_MEDIA_SKIP_BACKWARD: _bindgen_ty_13 = 273; +pub const AKEYCODE_MEDIA_STEP_FORWARD: _bindgen_ty_13 = 274; +pub const AKEYCODE_MEDIA_STEP_BACKWARD: _bindgen_ty_13 = 275; +pub const AKEYCODE_SOFT_SLEEP: _bindgen_ty_13 = 276; +pub const AKEYCODE_CUT: _bindgen_ty_13 = 277; +pub const AKEYCODE_COPY: _bindgen_ty_13 = 278; +pub const AKEYCODE_PASTE: _bindgen_ty_13 = 279; +pub const AKEYCODE_SYSTEM_NAVIGATION_UP: _bindgen_ty_13 = 280; +pub const AKEYCODE_SYSTEM_NAVIGATION_DOWN: _bindgen_ty_13 = 281; +pub const AKEYCODE_SYSTEM_NAVIGATION_LEFT: _bindgen_ty_13 = 282; +pub const AKEYCODE_SYSTEM_NAVIGATION_RIGHT: _bindgen_ty_13 = 283; +pub const AKEYCODE_ALL_APPS: _bindgen_ty_13 = 284; +pub const AKEYCODE_REFRESH: _bindgen_ty_13 = 285; +pub const AKEYCODE_THUMBS_UP: _bindgen_ty_13 = 286; +pub const AKEYCODE_THUMBS_DOWN: _bindgen_ty_13 = 287; +pub const AKEYCODE_PROFILE_SWITCH: _bindgen_ty_13 = 288; +pub type _bindgen_ty_13 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ALooper { @@ -4129,28 +4209,28 @@ pub struct ALooper { extern "C" { pub fn ALooper_forThread() -> *mut ALooper; } -pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_12 = 1; -pub type _bindgen_ty_12 = ::std::os::raw::c_uint; +pub const ALOOPER_PREPARE_ALLOW_NON_CALLBACKS: _bindgen_ty_14 = 1; +pub type _bindgen_ty_14 = ::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_13 = -1; -pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_13 = -2; -pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_13 = -3; -pub const ALOOPER_POLL_ERROR: _bindgen_ty_13 = -4; -pub type _bindgen_ty_13 = ::std::os::raw::c_int; +pub const ALOOPER_POLL_WAKE: _bindgen_ty_15 = -1; +pub const ALOOPER_POLL_CALLBACK: _bindgen_ty_15 = -2; +pub const ALOOPER_POLL_TIMEOUT: _bindgen_ty_15 = -3; +pub const ALOOPER_POLL_ERROR: _bindgen_ty_15 = -4; +pub type _bindgen_ty_15 = ::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_14 = 1; -pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_14 = 2; -pub const ALOOPER_EVENT_ERROR: _bindgen_ty_14 = 4; -pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_14 = 8; -pub const ALOOPER_EVENT_INVALID: _bindgen_ty_14 = 16; -pub type _bindgen_ty_14 = ::std::os::raw::c_uint; +pub const ALOOPER_EVENT_INPUT: _bindgen_ty_16 = 1; +pub const ALOOPER_EVENT_OUTPUT: _bindgen_ty_16 = 2; +pub const ALOOPER_EVENT_ERROR: _bindgen_ty_16 = 4; +pub const ALOOPER_EVENT_HANGUP: _bindgen_ty_16 = 8; +pub const ALOOPER_EVENT_INVALID: _bindgen_ty_16 = 16; +pub type _bindgen_ty_16 = ::std::os::raw::c_uint; pub type ALooper_callbackFunc = ::std::option::Option< unsafe extern "C" fn( fd: ::std::os::raw::c_int, @@ -4193,143 +4273,143 @@ extern "C" { fd: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AKEY_STATE_UNKNOWN: _bindgen_ty_15 = -1; -pub const AKEY_STATE_UP: _bindgen_ty_15 = 0; -pub const AKEY_STATE_DOWN: _bindgen_ty_15 = 1; -pub const AKEY_STATE_VIRTUAL: _bindgen_ty_15 = 2; -pub type _bindgen_ty_15 = ::std::os::raw::c_int; -pub const AMETA_NONE: _bindgen_ty_16 = 0; -pub const AMETA_ALT_ON: _bindgen_ty_16 = 2; -pub const AMETA_ALT_LEFT_ON: _bindgen_ty_16 = 16; -pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_16 = 32; -pub const AMETA_SHIFT_ON: _bindgen_ty_16 = 1; -pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_16 = 64; -pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_16 = 128; -pub const AMETA_SYM_ON: _bindgen_ty_16 = 4; -pub const AMETA_FUNCTION_ON: _bindgen_ty_16 = 8; -pub const AMETA_CTRL_ON: _bindgen_ty_16 = 4096; -pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_16 = 8192; -pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_16 = 16384; -pub const AMETA_META_ON: _bindgen_ty_16 = 65536; -pub const AMETA_META_LEFT_ON: _bindgen_ty_16 = 131072; -pub const AMETA_META_RIGHT_ON: _bindgen_ty_16 = 262144; -pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_16 = 1048576; -pub const AMETA_NUM_LOCK_ON: _bindgen_ty_16 = 2097152; -pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_16 = 4194304; -pub type _bindgen_ty_16 = ::std::os::raw::c_uint; +pub const AKEY_STATE_UNKNOWN: _bindgen_ty_17 = -1; +pub const AKEY_STATE_UP: _bindgen_ty_17 = 0; +pub const AKEY_STATE_DOWN: _bindgen_ty_17 = 1; +pub const AKEY_STATE_VIRTUAL: _bindgen_ty_17 = 2; +pub type _bindgen_ty_17 = ::std::os::raw::c_int; +pub const AMETA_NONE: _bindgen_ty_18 = 0; +pub const AMETA_ALT_ON: _bindgen_ty_18 = 2; +pub const AMETA_ALT_LEFT_ON: _bindgen_ty_18 = 16; +pub const AMETA_ALT_RIGHT_ON: _bindgen_ty_18 = 32; +pub const AMETA_SHIFT_ON: _bindgen_ty_18 = 1; +pub const AMETA_SHIFT_LEFT_ON: _bindgen_ty_18 = 64; +pub const AMETA_SHIFT_RIGHT_ON: _bindgen_ty_18 = 128; +pub const AMETA_SYM_ON: _bindgen_ty_18 = 4; +pub const AMETA_FUNCTION_ON: _bindgen_ty_18 = 8; +pub const AMETA_CTRL_ON: _bindgen_ty_18 = 4096; +pub const AMETA_CTRL_LEFT_ON: _bindgen_ty_18 = 8192; +pub const AMETA_CTRL_RIGHT_ON: _bindgen_ty_18 = 16384; +pub const AMETA_META_ON: _bindgen_ty_18 = 65536; +pub const AMETA_META_LEFT_ON: _bindgen_ty_18 = 131072; +pub const AMETA_META_RIGHT_ON: _bindgen_ty_18 = 262144; +pub const AMETA_CAPS_LOCK_ON: _bindgen_ty_18 = 1048576; +pub const AMETA_NUM_LOCK_ON: _bindgen_ty_18 = 2097152; +pub const AMETA_SCROLL_LOCK_ON: _bindgen_ty_18 = 4194304; +pub type _bindgen_ty_18 = ::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_17 = 1; -pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_17 = 2; -pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_17 = 3; -pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_17 = 4; -pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_17 = 5; -pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_17 = 6; -pub type _bindgen_ty_17 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_18 = 0; -pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_18 = 1; -pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_18 = 2; -pub type _bindgen_ty_18 = ::std::os::raw::c_uint; -pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_19 = 1; -pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_19 = 2; -pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_19 = 4; -pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_19 = 8; -pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_19 = 16; -pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_19 = 32; -pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_19 = 64; -pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_19 = 128; -pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_19 = 256; -pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_19 = 512; -pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_19 = 1024; +pub const AINPUT_EVENT_TYPE_KEY: _bindgen_ty_19 = 1; +pub const AINPUT_EVENT_TYPE_MOTION: _bindgen_ty_19 = 2; +pub const AINPUT_EVENT_TYPE_FOCUS: _bindgen_ty_19 = 3; +pub const AINPUT_EVENT_TYPE_CAPTURE: _bindgen_ty_19 = 4; +pub const AINPUT_EVENT_TYPE_DRAG: _bindgen_ty_19 = 5; +pub const AINPUT_EVENT_TYPE_TOUCH_MODE: _bindgen_ty_19 = 6; pub type _bindgen_ty_19 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_20 = 255; -pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_20 = 65280; -pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; -pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_20 = 1; -pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_20 = 2; -pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_20 = 3; -pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_20 = 4; -pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_20 = 5; -pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_20 = 6; -pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_20 = 7; -pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_20 = 8; -pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_20 = 9; -pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_20 = 10; -pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_20 = 11; -pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_20 = 12; +pub const AKEY_EVENT_ACTION_DOWN: _bindgen_ty_20 = 0; +pub const AKEY_EVENT_ACTION_UP: _bindgen_ty_20 = 1; +pub const AKEY_EVENT_ACTION_MULTIPLE: _bindgen_ty_20 = 2; pub type _bindgen_ty_20 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_WOKE_HERE: _bindgen_ty_21 = 1; +pub const AKEY_EVENT_FLAG_SOFT_KEYBOARD: _bindgen_ty_21 = 2; +pub const AKEY_EVENT_FLAG_KEEP_TOUCH_MODE: _bindgen_ty_21 = 4; +pub const AKEY_EVENT_FLAG_FROM_SYSTEM: _bindgen_ty_21 = 8; +pub const AKEY_EVENT_FLAG_EDITOR_ACTION: _bindgen_ty_21 = 16; +pub const AKEY_EVENT_FLAG_CANCELED: _bindgen_ty_21 = 32; +pub const AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY: _bindgen_ty_21 = 64; +pub const AKEY_EVENT_FLAG_LONG_PRESS: _bindgen_ty_21 = 128; +pub const AKEY_EVENT_FLAG_CANCELED_LONG_PRESS: _bindgen_ty_21 = 256; +pub const AKEY_EVENT_FLAG_TRACKING: _bindgen_ty_21 = 512; +pub const AKEY_EVENT_FLAG_FALLBACK: _bindgen_ty_21 = 1024; pub type _bindgen_ty_21 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_22 = 0; -pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_22 = 1; -pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_22 = 2; -pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_22 = 4; -pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_MASK: _bindgen_ty_22 = 255; +pub const AMOTION_EVENT_ACTION_POINTER_INDEX_MASK: _bindgen_ty_22 = 65280; +pub const AMOTION_EVENT_ACTION_DOWN: _bindgen_ty_22 = 0; +pub const AMOTION_EVENT_ACTION_UP: _bindgen_ty_22 = 1; +pub const AMOTION_EVENT_ACTION_MOVE: _bindgen_ty_22 = 2; +pub const AMOTION_EVENT_ACTION_CANCEL: _bindgen_ty_22 = 3; +pub const AMOTION_EVENT_ACTION_OUTSIDE: _bindgen_ty_22 = 4; +pub const AMOTION_EVENT_ACTION_POINTER_DOWN: _bindgen_ty_22 = 5; +pub const AMOTION_EVENT_ACTION_POINTER_UP: _bindgen_ty_22 = 6; +pub const AMOTION_EVENT_ACTION_HOVER_MOVE: _bindgen_ty_22 = 7; +pub const AMOTION_EVENT_ACTION_SCROLL: _bindgen_ty_22 = 8; +pub const AMOTION_EVENT_ACTION_HOVER_ENTER: _bindgen_ty_22 = 9; +pub const AMOTION_EVENT_ACTION_HOVER_EXIT: _bindgen_ty_22 = 10; +pub const AMOTION_EVENT_ACTION_BUTTON_PRESS: _bindgen_ty_22 = 11; +pub const AMOTION_EVENT_ACTION_BUTTON_RELEASE: _bindgen_ty_22 = 12; pub type _bindgen_ty_22 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_23 = 0; -pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_23 = 1; -pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_23 = 2; -pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_23 = 3; -pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_23 = 4; -pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_23 = 5; -pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_23 = 6; -pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_23 = 7; -pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_23 = 8; -pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_23 = 9; -pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_23 = 10; -pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_23 = 11; -pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_23 = 12; -pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_23 = 13; -pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_23 = 14; -pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_23 = 15; -pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_23 = 16; -pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_23 = 17; -pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_23 = 18; -pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_23 = 19; -pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_23 = 20; -pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_23 = 21; -pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_23 = 22; -pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_23 = 23; -pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_23 = 24; -pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_23 = 25; -pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_23 = 26; -pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_23 = 27; -pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_23 = 28; -pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_23 = 32; -pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_23 = 33; -pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_23 = 34; -pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_23 = 35; -pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_23 = 36; -pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_23 = 37; -pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_23 = 38; -pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_23 = 39; -pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_23 = 40; -pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_23 = 41; -pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_23 = 42; -pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_23 = 43; -pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_23 = 44; -pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_23 = 45; -pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_23 = 46; -pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_23 = 47; +pub const AMOTION_EVENT_FLAG_WINDOW_IS_OBSCURED: _bindgen_ty_23 = 1; pub type _bindgen_ty_23 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_24 = 1; -pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_24 = 2; -pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_24 = 4; -pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_24 = 8; -pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_24 = 16; -pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_24 = 32; -pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_24 = 64; +pub const AMOTION_EVENT_EDGE_FLAG_NONE: _bindgen_ty_24 = 0; +pub const AMOTION_EVENT_EDGE_FLAG_TOP: _bindgen_ty_24 = 1; +pub const AMOTION_EVENT_EDGE_FLAG_BOTTOM: _bindgen_ty_24 = 2; +pub const AMOTION_EVENT_EDGE_FLAG_LEFT: _bindgen_ty_24 = 4; +pub const AMOTION_EVENT_EDGE_FLAG_RIGHT: _bindgen_ty_24 = 8; pub type _bindgen_ty_24 = ::std::os::raw::c_uint; -pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_25 = 0; -pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_25 = 1; -pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_25 = 2; -pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_25 = 3; -pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_25 = 4; -pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_X: _bindgen_ty_25 = 0; +pub const AMOTION_EVENT_AXIS_Y: _bindgen_ty_25 = 1; +pub const AMOTION_EVENT_AXIS_PRESSURE: _bindgen_ty_25 = 2; +pub const AMOTION_EVENT_AXIS_SIZE: _bindgen_ty_25 = 3; +pub const AMOTION_EVENT_AXIS_TOUCH_MAJOR: _bindgen_ty_25 = 4; +pub const AMOTION_EVENT_AXIS_TOUCH_MINOR: _bindgen_ty_25 = 5; +pub const AMOTION_EVENT_AXIS_TOOL_MAJOR: _bindgen_ty_25 = 6; +pub const AMOTION_EVENT_AXIS_TOOL_MINOR: _bindgen_ty_25 = 7; +pub const AMOTION_EVENT_AXIS_ORIENTATION: _bindgen_ty_25 = 8; +pub const AMOTION_EVENT_AXIS_VSCROLL: _bindgen_ty_25 = 9; +pub const AMOTION_EVENT_AXIS_HSCROLL: _bindgen_ty_25 = 10; +pub const AMOTION_EVENT_AXIS_Z: _bindgen_ty_25 = 11; +pub const AMOTION_EVENT_AXIS_RX: _bindgen_ty_25 = 12; +pub const AMOTION_EVENT_AXIS_RY: _bindgen_ty_25 = 13; +pub const AMOTION_EVENT_AXIS_RZ: _bindgen_ty_25 = 14; +pub const AMOTION_EVENT_AXIS_HAT_X: _bindgen_ty_25 = 15; +pub const AMOTION_EVENT_AXIS_HAT_Y: _bindgen_ty_25 = 16; +pub const AMOTION_EVENT_AXIS_LTRIGGER: _bindgen_ty_25 = 17; +pub const AMOTION_EVENT_AXIS_RTRIGGER: _bindgen_ty_25 = 18; +pub const AMOTION_EVENT_AXIS_THROTTLE: _bindgen_ty_25 = 19; +pub const AMOTION_EVENT_AXIS_RUDDER: _bindgen_ty_25 = 20; +pub const AMOTION_EVENT_AXIS_WHEEL: _bindgen_ty_25 = 21; +pub const AMOTION_EVENT_AXIS_GAS: _bindgen_ty_25 = 22; +pub const AMOTION_EVENT_AXIS_BRAKE: _bindgen_ty_25 = 23; +pub const AMOTION_EVENT_AXIS_DISTANCE: _bindgen_ty_25 = 24; +pub const AMOTION_EVENT_AXIS_TILT: _bindgen_ty_25 = 25; +pub const AMOTION_EVENT_AXIS_SCROLL: _bindgen_ty_25 = 26; +pub const AMOTION_EVENT_AXIS_RELATIVE_X: _bindgen_ty_25 = 27; +pub const AMOTION_EVENT_AXIS_RELATIVE_Y: _bindgen_ty_25 = 28; +pub const AMOTION_EVENT_AXIS_GENERIC_1: _bindgen_ty_25 = 32; +pub const AMOTION_EVENT_AXIS_GENERIC_2: _bindgen_ty_25 = 33; +pub const AMOTION_EVENT_AXIS_GENERIC_3: _bindgen_ty_25 = 34; +pub const AMOTION_EVENT_AXIS_GENERIC_4: _bindgen_ty_25 = 35; +pub const AMOTION_EVENT_AXIS_GENERIC_5: _bindgen_ty_25 = 36; +pub const AMOTION_EVENT_AXIS_GENERIC_6: _bindgen_ty_25 = 37; +pub const AMOTION_EVENT_AXIS_GENERIC_7: _bindgen_ty_25 = 38; +pub const AMOTION_EVENT_AXIS_GENERIC_8: _bindgen_ty_25 = 39; +pub const AMOTION_EVENT_AXIS_GENERIC_9: _bindgen_ty_25 = 40; +pub const AMOTION_EVENT_AXIS_GENERIC_10: _bindgen_ty_25 = 41; +pub const AMOTION_EVENT_AXIS_GENERIC_11: _bindgen_ty_25 = 42; +pub const AMOTION_EVENT_AXIS_GENERIC_12: _bindgen_ty_25 = 43; +pub const AMOTION_EVENT_AXIS_GENERIC_13: _bindgen_ty_25 = 44; +pub const AMOTION_EVENT_AXIS_GENERIC_14: _bindgen_ty_25 = 45; +pub const AMOTION_EVENT_AXIS_GENERIC_15: _bindgen_ty_25 = 46; +pub const AMOTION_EVENT_AXIS_GENERIC_16: _bindgen_ty_25 = 47; pub type _bindgen_ty_25 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_BUTTON_PRIMARY: _bindgen_ty_26 = 1; +pub const AMOTION_EVENT_BUTTON_SECONDARY: _bindgen_ty_26 = 2; +pub const AMOTION_EVENT_BUTTON_TERTIARY: _bindgen_ty_26 = 4; +pub const AMOTION_EVENT_BUTTON_BACK: _bindgen_ty_26 = 8; +pub const AMOTION_EVENT_BUTTON_FORWARD: _bindgen_ty_26 = 16; +pub const AMOTION_EVENT_BUTTON_STYLUS_PRIMARY: _bindgen_ty_26 = 32; +pub const AMOTION_EVENT_BUTTON_STYLUS_SECONDARY: _bindgen_ty_26 = 64; +pub type _bindgen_ty_26 = ::std::os::raw::c_uint; +pub const AMOTION_EVENT_TOOL_TYPE_UNKNOWN: _bindgen_ty_27 = 0; +pub const AMOTION_EVENT_TOOL_TYPE_FINGER: _bindgen_ty_27 = 1; +pub const AMOTION_EVENT_TOOL_TYPE_STYLUS: _bindgen_ty_27 = 2; +pub const AMOTION_EVENT_TOOL_TYPE_MOUSE: _bindgen_ty_27 = 3; +pub const AMOTION_EVENT_TOOL_TYPE_ERASER: _bindgen_ty_27 = 4; +pub const AMOTION_EVENT_TOOL_TYPE_PALM: _bindgen_ty_27 = 5; +pub type _bindgen_ty_27 = ::std::os::raw::c_uint; impl AMotionClassification { pub const AMOTION_EVENT_CLASSIFICATION_NONE: AMotionClassification = AMotionClassification(0); } @@ -4344,46 +4424,46 @@ impl AMotionClassification { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct AMotionClassification(pub u32); -pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_26 = 255; -pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_26 = 0; -pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_26 = 1; -pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_26 = 2; -pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_26 = 4; -pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_26 = 8; -pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_26 = 16; -pub type _bindgen_ty_26 = ::std::os::raw::c_uint; -pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_27 = 0; -pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_27 = 257; -pub const AINPUT_SOURCE_DPAD: _bindgen_ty_27 = 513; -pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_27 = 1025; -pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_27 = 4098; -pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_27 = 8194; -pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_27 = 16386; -pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_27 = 49154; -pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_27 = 65540; -pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_27 = 131076; -pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_27 = 1048584; -pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_27 = 2097152; -pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_27 = 16777232; -pub const AINPUT_SOURCE_HDMI: _bindgen_ty_27 = 33554433; -pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_27 = 67108864; -pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_27 = 4194304; -pub const AINPUT_SOURCE_ANY: _bindgen_ty_27 = 4294967040; -pub type _bindgen_ty_27 = ::std::os::raw::c_uint; -pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_28 = 0; -pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_28 = 1; -pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_MASK: _bindgen_ty_28 = 255; +pub const AINPUT_SOURCE_CLASS_NONE: _bindgen_ty_28 = 0; +pub const AINPUT_SOURCE_CLASS_BUTTON: _bindgen_ty_28 = 1; +pub const AINPUT_SOURCE_CLASS_POINTER: _bindgen_ty_28 = 2; +pub const AINPUT_SOURCE_CLASS_NAVIGATION: _bindgen_ty_28 = 4; +pub const AINPUT_SOURCE_CLASS_POSITION: _bindgen_ty_28 = 8; +pub const AINPUT_SOURCE_CLASS_JOYSTICK: _bindgen_ty_28 = 16; pub type _bindgen_ty_28 = ::std::os::raw::c_uint; -pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_29 = 0; -pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_29 = 1; -pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_29 = 2; -pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_29 = 3; -pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_29 = 4; -pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_29 = 5; -pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_29 = 6; -pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_29 = 7; -pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_29 = 8; +pub const AINPUT_SOURCE_UNKNOWN: _bindgen_ty_29 = 0; +pub const AINPUT_SOURCE_KEYBOARD: _bindgen_ty_29 = 257; +pub const AINPUT_SOURCE_DPAD: _bindgen_ty_29 = 513; +pub const AINPUT_SOURCE_GAMEPAD: _bindgen_ty_29 = 1025; +pub const AINPUT_SOURCE_TOUCHSCREEN: _bindgen_ty_29 = 4098; +pub const AINPUT_SOURCE_MOUSE: _bindgen_ty_29 = 8194; +pub const AINPUT_SOURCE_STYLUS: _bindgen_ty_29 = 16386; +pub const AINPUT_SOURCE_BLUETOOTH_STYLUS: _bindgen_ty_29 = 49154; +pub const AINPUT_SOURCE_TRACKBALL: _bindgen_ty_29 = 65540; +pub const AINPUT_SOURCE_MOUSE_RELATIVE: _bindgen_ty_29 = 131076; +pub const AINPUT_SOURCE_TOUCHPAD: _bindgen_ty_29 = 1048584; +pub const AINPUT_SOURCE_TOUCH_NAVIGATION: _bindgen_ty_29 = 2097152; +pub const AINPUT_SOURCE_JOYSTICK: _bindgen_ty_29 = 16777232; +pub const AINPUT_SOURCE_HDMI: _bindgen_ty_29 = 33554433; +pub const AINPUT_SOURCE_SENSOR: _bindgen_ty_29 = 67108864; +pub const AINPUT_SOURCE_ROTARY_ENCODER: _bindgen_ty_29 = 4194304; +pub const AINPUT_SOURCE_ANY: _bindgen_ty_29 = 4294967040; pub type _bindgen_ty_29 = ::std::os::raw::c_uint; +pub const AINPUT_KEYBOARD_TYPE_NONE: _bindgen_ty_30 = 0; +pub const AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC: _bindgen_ty_30 = 1; +pub const AINPUT_KEYBOARD_TYPE_ALPHABETIC: _bindgen_ty_30 = 2; +pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const AINPUT_MOTION_RANGE_X: _bindgen_ty_31 = 0; +pub const AINPUT_MOTION_RANGE_Y: _bindgen_ty_31 = 1; +pub const AINPUT_MOTION_RANGE_PRESSURE: _bindgen_ty_31 = 2; +pub const AINPUT_MOTION_RANGE_SIZE: _bindgen_ty_31 = 3; +pub const AINPUT_MOTION_RANGE_TOUCH_MAJOR: _bindgen_ty_31 = 4; +pub const AINPUT_MOTION_RANGE_TOUCH_MINOR: _bindgen_ty_31 = 5; +pub const AINPUT_MOTION_RANGE_TOOL_MAJOR: _bindgen_ty_31 = 6; +pub const AINPUT_MOTION_RANGE_TOOL_MINOR: _bindgen_ty_31 = 7; +pub const AINPUT_MOTION_RANGE_ORIENTATION: _bindgen_ty_31 = 8; +pub type _bindgen_ty_31 = ::std::os::raw::c_uint; extern "C" { pub fn AInputEvent_getType(event: *const AInputEvent) -> i32; } @@ -5148,10 +5228,10 @@ fn bindgen_test_layout_iovec() { ); } pub type sa_family_t = ::std::os::raw::c_ushort; -pub const SHUT_RD: _bindgen_ty_30 = 0; -pub const SHUT_WR: _bindgen_ty_30 = 1; -pub const SHUT_RDWR: _bindgen_ty_30 = 2; -pub type _bindgen_ty_30 = ::std::os::raw::c_uint; +pub const SHUT_RD: _bindgen_ty_32 = 0; +pub const SHUT_WR: _bindgen_ty_32 = 1; +pub const SHUT_RDWR: _bindgen_ty_32 = 2; +pub type _bindgen_ty_32 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct sockaddr { @@ -8186,15 +8266,15 @@ extern "C" { removeFlags: u32, ); } -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_31 = 1; -pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_31 = 2; -pub type _bindgen_ty_31 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT: _bindgen_ty_33 = 1; +pub const ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED: _bindgen_ty_33 = 2; +pub type _bindgen_ty_33 = ::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_32 = 1; -pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_32 = 2; -pub type _bindgen_ty_32 = ::std::os::raw::c_uint; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY: _bindgen_ty_34 = 1; +pub const ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS: _bindgen_ty_34 = 2; +pub type _bindgen_ty_34 = ::std::os::raw::c_uint; extern "C" { pub fn ANativeActivity_hideSoftInput(activity: *mut ANativeActivity, flags: u32); } @@ -8705,10 +8785,10 @@ impl ResultCode { #[repr(transparent)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct ResultCode(pub ::std::os::raw::c_uint); -pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_33 = 128; -pub type _bindgen_ty_33 = ::std::os::raw::c_uint; -pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_34 = 32; -pub type _bindgen_ty_34 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES: _bindgen_ty_35 = 128; +pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const ANEURALNETWORKS_BYTE_SIZE_OF_CACHE_TOKEN: _bindgen_ty_36 = 32; +pub type _bindgen_ty_36 = ::std::os::raw::c_uint; impl DurationCode { pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = DurationCode(0); } @@ -9339,8 +9419,8 @@ extern "C" { pub struct AObbInfo { _unused: [u8; 0], } -pub const AOBBINFO_OVERLAY: _bindgen_ty_35 = 1; -pub type _bindgen_ty_35 = ::std::os::raw::c_uint; +pub const AOBBINFO_OVERLAY: _bindgen_ty_37 = 1; +pub type _bindgen_ty_37 = ::std::os::raw::c_uint; extern "C" { pub fn AObbScanner_getObbInfo(filename: *const ::std::os::raw::c_char) -> *mut AObbInfo; } @@ -9356,13 +9436,13 @@ extern "C" { extern "C" { pub fn AObbInfo_getFlags(obbInfo: *mut AObbInfo) -> i32; } -pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_36 = 0; -pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_36 = -1; -pub type _bindgen_ty_36 = ::std::os::raw::c_int; -pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_37 = 0; -pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_37 = -1; -pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_37 = -2; -pub type _bindgen_ty_37 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_PERMISSION_GRANTED: _bindgen_ty_38 = 0; +pub const PERMISSION_MANAGER_PERMISSION_DENIED: _bindgen_ty_38 = -1; +pub type _bindgen_ty_38 = ::std::os::raw::c_int; +pub const PERMISSION_MANAGER_STATUS_OK: _bindgen_ty_39 = 0; +pub const PERMISSION_MANAGER_STATUS_ERROR_UNKNOWN: _bindgen_ty_39 = -1; +pub const PERMISSION_MANAGER_STATUS_SERVICE_UNAVAILABLE: _bindgen_ty_39 = -2; +pub type _bindgen_ty_39 = ::std::os::raw::c_int; extern "C" { pub fn APermissionManager_checkPermission( permission: *const ::std::os::raw::c_char, @@ -9906,70 +9986,70 @@ extern "C" { extern "C" { pub fn yn(__n: ::std::os::raw::c_int, __x: f64) -> f64; } -pub const ASENSOR_TYPE_INVALID: _bindgen_ty_38 = -1; -pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_38 = 1; -pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_38 = 2; -pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_38 = 4; -pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_38 = 5; -pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_38 = 6; -pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_38 = 8; -pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_38 = 9; -pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_38 = 10; -pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_38 = 11; -pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_38 = 12; -pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_38 = 13; -pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_38 = 14; -pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_38 = 15; -pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_38 = 16; -pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_38 = 17; -pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_38 = 18; -pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_38 = 19; -pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_38 = 20; -pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_38 = 21; -pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_38 = 28; -pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_38 = 29; -pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_38 = 30; -pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_38 = 31; -pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_38 = 32; -pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_38 = 33; -pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_38 = 34; -pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_38 = 35; -pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_38 = 36; -pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_38 = 37; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_38 = 38; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_38 = 39; -pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 40; -pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_38 = 41; -pub const ASENSOR_TYPE_HEADING: _bindgen_ty_38 = 42; -pub type _bindgen_ty_38 = ::std::os::raw::c_int; -pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_39 = -1; -pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_39 = 0; -pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_39 = 1; -pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_39 = 2; -pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_39 = 3; -pub type _bindgen_ty_39 = ::std::os::raw::c_int; -pub const AREPORTING_MODE_INVALID: _bindgen_ty_40 = -1; -pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_40 = 0; -pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_40 = 1; -pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_40 = 2; -pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_40 = 3; +pub const ASENSOR_TYPE_INVALID: _bindgen_ty_40 = -1; +pub const ASENSOR_TYPE_ACCELEROMETER: _bindgen_ty_40 = 1; +pub const ASENSOR_TYPE_MAGNETIC_FIELD: _bindgen_ty_40 = 2; +pub const ASENSOR_TYPE_GYROSCOPE: _bindgen_ty_40 = 4; +pub const ASENSOR_TYPE_LIGHT: _bindgen_ty_40 = 5; +pub const ASENSOR_TYPE_PRESSURE: _bindgen_ty_40 = 6; +pub const ASENSOR_TYPE_PROXIMITY: _bindgen_ty_40 = 8; +pub const ASENSOR_TYPE_GRAVITY: _bindgen_ty_40 = 9; +pub const ASENSOR_TYPE_LINEAR_ACCELERATION: _bindgen_ty_40 = 10; +pub const ASENSOR_TYPE_ROTATION_VECTOR: _bindgen_ty_40 = 11; +pub const ASENSOR_TYPE_RELATIVE_HUMIDITY: _bindgen_ty_40 = 12; +pub const ASENSOR_TYPE_AMBIENT_TEMPERATURE: _bindgen_ty_40 = 13; +pub const ASENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED: _bindgen_ty_40 = 14; +pub const ASENSOR_TYPE_GAME_ROTATION_VECTOR: _bindgen_ty_40 = 15; +pub const ASENSOR_TYPE_GYROSCOPE_UNCALIBRATED: _bindgen_ty_40 = 16; +pub const ASENSOR_TYPE_SIGNIFICANT_MOTION: _bindgen_ty_40 = 17; +pub const ASENSOR_TYPE_STEP_DETECTOR: _bindgen_ty_40 = 18; +pub const ASENSOR_TYPE_STEP_COUNTER: _bindgen_ty_40 = 19; +pub const ASENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR: _bindgen_ty_40 = 20; +pub const ASENSOR_TYPE_HEART_RATE: _bindgen_ty_40 = 21; +pub const ASENSOR_TYPE_POSE_6DOF: _bindgen_ty_40 = 28; +pub const ASENSOR_TYPE_STATIONARY_DETECT: _bindgen_ty_40 = 29; +pub const ASENSOR_TYPE_MOTION_DETECT: _bindgen_ty_40 = 30; +pub const ASENSOR_TYPE_HEART_BEAT: _bindgen_ty_40 = 31; +pub const ASENSOR_TYPE_DYNAMIC_SENSOR_META: _bindgen_ty_40 = 32; +pub const ASENSOR_TYPE_ADDITIONAL_INFO: _bindgen_ty_40 = 33; +pub const ASENSOR_TYPE_LOW_LATENCY_OFFBODY_DETECT: _bindgen_ty_40 = 34; +pub const ASENSOR_TYPE_ACCELEROMETER_UNCALIBRATED: _bindgen_ty_40 = 35; +pub const ASENSOR_TYPE_HINGE_ANGLE: _bindgen_ty_40 = 36; +pub const ASENSOR_TYPE_HEAD_TRACKER: _bindgen_ty_40 = 37; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES: _bindgen_ty_40 = 38; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES: _bindgen_ty_40 = 39; +pub const ASENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 40; +pub const ASENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED: _bindgen_ty_40 = 41; +pub const ASENSOR_TYPE_HEADING: _bindgen_ty_40 = 42; pub type _bindgen_ty_40 = ::std::os::raw::c_int; -pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_41 = 0; -pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_41 = 1; -pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_41 = 2; -pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_41 = 3; -pub type _bindgen_ty_41 = ::std::os::raw::c_uint; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_42 = 1; -pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_42 = 2; -pub type _bindgen_ty_42 = ::std::os::raw::c_uint; -pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_43 = 0; -pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_43 = 1; -pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_43 = 65536; -pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_43 = 65537; -pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_43 = 65538; -pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_43 = 65539; -pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_43 = 65540; +pub const ASENSOR_STATUS_NO_CONTACT: _bindgen_ty_41 = -1; +pub const ASENSOR_STATUS_UNRELIABLE: _bindgen_ty_41 = 0; +pub const ASENSOR_STATUS_ACCURACY_LOW: _bindgen_ty_41 = 1; +pub const ASENSOR_STATUS_ACCURACY_MEDIUM: _bindgen_ty_41 = 2; +pub const ASENSOR_STATUS_ACCURACY_HIGH: _bindgen_ty_41 = 3; +pub type _bindgen_ty_41 = ::std::os::raw::c_int; +pub const AREPORTING_MODE_INVALID: _bindgen_ty_42 = -1; +pub const AREPORTING_MODE_CONTINUOUS: _bindgen_ty_42 = 0; +pub const AREPORTING_MODE_ON_CHANGE: _bindgen_ty_42 = 1; +pub const AREPORTING_MODE_ONE_SHOT: _bindgen_ty_42 = 2; +pub const AREPORTING_MODE_SPECIAL_TRIGGER: _bindgen_ty_42 = 3; +pub type _bindgen_ty_42 = ::std::os::raw::c_int; +pub const ASENSOR_DIRECT_RATE_STOP: _bindgen_ty_43 = 0; +pub const ASENSOR_DIRECT_RATE_NORMAL: _bindgen_ty_43 = 1; +pub const ASENSOR_DIRECT_RATE_FAST: _bindgen_ty_43 = 2; +pub const ASENSOR_DIRECT_RATE_VERY_FAST: _bindgen_ty_43 = 3; pub type _bindgen_ty_43 = ::std::os::raw::c_uint; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY: _bindgen_ty_44 = 1; +pub const ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER: _bindgen_ty_44 = 2; +pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const ASENSOR_ADDITIONAL_INFO_BEGIN: _bindgen_ty_45 = 0; +pub const ASENSOR_ADDITIONAL_INFO_END: _bindgen_ty_45 = 1; +pub const ASENSOR_ADDITIONAL_INFO_UNTRACKED_DELAY: _bindgen_ty_45 = 65536; +pub const ASENSOR_ADDITIONAL_INFO_INTERNAL_TEMPERATURE: _bindgen_ty_45 = 65537; +pub const ASENSOR_ADDITIONAL_INFO_VEC3_CALIBRATION: _bindgen_ty_45 = 65538; +pub const ASENSOR_ADDITIONAL_INFO_SENSOR_PLACEMENT: _bindgen_ty_45 = 65539; +pub const ASENSOR_ADDITIONAL_INFO_SAMPLING: _bindgen_ty_45 = 65540; +pub type _bindgen_ty_45 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Copy, Clone)] pub struct ASensorVector { @@ -11885,15 +11965,15 @@ extern "C" { pub struct AStorageManager { _unused: [u8; 0], } -pub const AOBB_STATE_MOUNTED: _bindgen_ty_44 = 1; -pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_44 = 2; -pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_44 = 20; -pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_44 = 21; -pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_44 = 22; -pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_44 = 23; -pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_44 = 24; -pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_44 = 25; -pub type _bindgen_ty_44 = ::std::os::raw::c_uint; +pub const AOBB_STATE_MOUNTED: _bindgen_ty_46 = 1; +pub const AOBB_STATE_UNMOUNTED: _bindgen_ty_46 = 2; +pub const AOBB_STATE_ERROR_INTERNAL: _bindgen_ty_46 = 20; +pub const AOBB_STATE_ERROR_COULD_NOT_MOUNT: _bindgen_ty_46 = 21; +pub const AOBB_STATE_ERROR_COULD_NOT_UNMOUNT: _bindgen_ty_46 = 22; +pub const AOBB_STATE_ERROR_NOT_MOUNTED: _bindgen_ty_46 = 23; +pub const AOBB_STATE_ERROR_ALREADY_MOUNTED: _bindgen_ty_46 = 24; +pub const AOBB_STATE_ERROR_PERMISSION_DENIED: _bindgen_ty_46 = 25; +pub type _bindgen_ty_46 = ::std::os::raw::c_uint; extern "C" { pub fn AStorageManager_new() -> *mut AStorageManager; } @@ -12214,6 +12294,20 @@ extern "C" { extern "C" { pub fn sync_file_info_free(info: *mut sync_file_info); } +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct ASystemFontIterator { + _unused: [u8; 0], +} +extern "C" { + pub fn ASystemFontIterator_open() -> *mut ASystemFontIterator; +} +extern "C" { + pub fn ASystemFontIterator_close(iterator: *mut ASystemFontIterator); +} +extern "C" { + pub fn ASystemFontIterator_next(iterator: *mut ASystemFontIterator) -> *mut AFont; +} extern "C" { pub fn ATrace_isEnabled() -> bool; } @@ -12232,30 +12326,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_45 = 1; -pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_45 = 2; -pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_45 = 4; -pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_45 = 8; -pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_45 = 16; -pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_45 = 32; -pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_45 = 64; -pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_45 = 128; -pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_45 = 256; -pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_45 = 512; -pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_45 = 1024; -pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_45 = 2048; -pub const AWINDOW_FLAG_DITHER: _bindgen_ty_45 = 4096; -pub const AWINDOW_FLAG_SECURE: _bindgen_ty_45 = 8192; -pub const AWINDOW_FLAG_SCALED: _bindgen_ty_45 = 16384; -pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_45 = 32768; -pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_45 = 65536; -pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_45 = 131072; -pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_45 = 262144; -pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_45 = 524288; -pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_45 = 1048576; -pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_45 = 2097152; -pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_45 = 4194304; -pub type _bindgen_ty_45 = ::std::os::raw::c_uint; +pub const AWINDOW_FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: _bindgen_ty_47 = 1; +pub const AWINDOW_FLAG_DIM_BEHIND: _bindgen_ty_47 = 2; +pub const AWINDOW_FLAG_BLUR_BEHIND: _bindgen_ty_47 = 4; +pub const AWINDOW_FLAG_NOT_FOCUSABLE: _bindgen_ty_47 = 8; +pub const AWINDOW_FLAG_NOT_TOUCHABLE: _bindgen_ty_47 = 16; +pub const AWINDOW_FLAG_NOT_TOUCH_MODAL: _bindgen_ty_47 = 32; +pub const AWINDOW_FLAG_TOUCHABLE_WHEN_WAKING: _bindgen_ty_47 = 64; +pub const AWINDOW_FLAG_KEEP_SCREEN_ON: _bindgen_ty_47 = 128; +pub const AWINDOW_FLAG_LAYOUT_IN_SCREEN: _bindgen_ty_47 = 256; +pub const AWINDOW_FLAG_LAYOUT_NO_LIMITS: _bindgen_ty_47 = 512; +pub const AWINDOW_FLAG_FULLSCREEN: _bindgen_ty_47 = 1024; +pub const AWINDOW_FLAG_FORCE_NOT_FULLSCREEN: _bindgen_ty_47 = 2048; +pub const AWINDOW_FLAG_DITHER: _bindgen_ty_47 = 4096; +pub const AWINDOW_FLAG_SECURE: _bindgen_ty_47 = 8192; +pub const AWINDOW_FLAG_SCALED: _bindgen_ty_47 = 16384; +pub const AWINDOW_FLAG_IGNORE_CHEEK_PRESSES: _bindgen_ty_47 = 32768; +pub const AWINDOW_FLAG_LAYOUT_INSET_DECOR: _bindgen_ty_47 = 65536; +pub const AWINDOW_FLAG_ALT_FOCUSABLE_IM: _bindgen_ty_47 = 131072; +pub const AWINDOW_FLAG_WATCH_OUTSIDE_TOUCH: _bindgen_ty_47 = 262144; +pub const AWINDOW_FLAG_SHOW_WHEN_LOCKED: _bindgen_ty_47 = 524288; +pub const AWINDOW_FLAG_SHOW_WALLPAPER: _bindgen_ty_47 = 1048576; +pub const AWINDOW_FLAG_TURN_SCREEN_ON: _bindgen_ty_47 = 2097152; +pub const AWINDOW_FLAG_DISMISS_KEYGUARD: _bindgen_ty_47 = 4194304; +pub type _bindgen_ty_47 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct __kernel_timespec { @@ -16453,31 +16547,31 @@ fn bindgen_test_layout_user() { ) ); } -pub const REG_R8: _bindgen_ty_46 = 0; -pub const REG_R9: _bindgen_ty_46 = 1; -pub const REG_R10: _bindgen_ty_46 = 2; -pub const REG_R11: _bindgen_ty_46 = 3; -pub const REG_R12: _bindgen_ty_46 = 4; -pub const REG_R13: _bindgen_ty_46 = 5; -pub const REG_R14: _bindgen_ty_46 = 6; -pub const REG_R15: _bindgen_ty_46 = 7; -pub const REG_RDI: _bindgen_ty_46 = 8; -pub const REG_RSI: _bindgen_ty_46 = 9; -pub const REG_RBP: _bindgen_ty_46 = 10; -pub const REG_RBX: _bindgen_ty_46 = 11; -pub const REG_RDX: _bindgen_ty_46 = 12; -pub const REG_RAX: _bindgen_ty_46 = 13; -pub const REG_RCX: _bindgen_ty_46 = 14; -pub const REG_RSP: _bindgen_ty_46 = 15; -pub const REG_RIP: _bindgen_ty_46 = 16; -pub const REG_EFL: _bindgen_ty_46 = 17; -pub const REG_CSGSFS: _bindgen_ty_46 = 18; -pub const REG_ERR: _bindgen_ty_46 = 19; -pub const REG_TRAPNO: _bindgen_ty_46 = 20; -pub const REG_OLDMASK: _bindgen_ty_46 = 21; -pub const REG_CR2: _bindgen_ty_46 = 22; -pub const NGREG: _bindgen_ty_46 = 23; -pub type _bindgen_ty_46 = ::std::os::raw::c_uint; +pub const REG_R8: _bindgen_ty_48 = 0; +pub const REG_R9: _bindgen_ty_48 = 1; +pub const REG_R10: _bindgen_ty_48 = 2; +pub const REG_R11: _bindgen_ty_48 = 3; +pub const REG_R12: _bindgen_ty_48 = 4; +pub const REG_R13: _bindgen_ty_48 = 5; +pub const REG_R14: _bindgen_ty_48 = 6; +pub const REG_R15: _bindgen_ty_48 = 7; +pub const REG_RDI: _bindgen_ty_48 = 8; +pub const REG_RSI: _bindgen_ty_48 = 9; +pub const REG_RBP: _bindgen_ty_48 = 10; +pub const REG_RBX: _bindgen_ty_48 = 11; +pub const REG_RDX: _bindgen_ty_48 = 12; +pub const REG_RAX: _bindgen_ty_48 = 13; +pub const REG_RCX: _bindgen_ty_48 = 14; +pub const REG_RSP: _bindgen_ty_48 = 15; +pub const REG_RIP: _bindgen_ty_48 = 16; +pub const REG_EFL: _bindgen_ty_48 = 17; +pub const REG_CSGSFS: _bindgen_ty_48 = 18; +pub const REG_ERR: _bindgen_ty_48 = 19; +pub const REG_TRAPNO: _bindgen_ty_48 = 20; +pub const REG_OLDMASK: _bindgen_ty_48 = 21; +pub const REG_CR2: _bindgen_ty_48 = 22; +pub const NGREG: _bindgen_ty_48 = 23; +pub type _bindgen_ty_48 = ::std::os::raw::c_uint; pub type greg_t = ::std::os::raw::c_long; pub type gregset_t = [greg_t; 23usize]; #[repr(C)] @@ -17474,161 +17568,161 @@ extern "C" { __base: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; } -pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_47 = 0; -pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_47 = 1; -pub type _bindgen_ty_47 = ::std::os::raw::c_uint; +pub const AAUDIO_DIRECTION_OUTPUT: _bindgen_ty_49 = 0; +pub const AAUDIO_DIRECTION_INPUT: _bindgen_ty_49 = 1; +pub type _bindgen_ty_49 = ::std::os::raw::c_uint; pub type aaudio_direction_t = i32; -pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_48 = -1; -pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_48 = 0; -pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_48 = 1; -pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_48 = 2; -pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_48 = 3; -pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_48 = 4; -pub type _bindgen_ty_48 = ::std::os::raw::c_int; +pub const AAUDIO_FORMAT_INVALID: _bindgen_ty_50 = -1; +pub const AAUDIO_FORMAT_UNSPECIFIED: _bindgen_ty_50 = 0; +pub const AAUDIO_FORMAT_PCM_I16: _bindgen_ty_50 = 1; +pub const AAUDIO_FORMAT_PCM_FLOAT: _bindgen_ty_50 = 2; +pub const AAUDIO_FORMAT_PCM_I24_PACKED: _bindgen_ty_50 = 3; +pub const AAUDIO_FORMAT_PCM_I32: _bindgen_ty_50 = 4; +pub type _bindgen_ty_50 = ::std::os::raw::c_int; pub type aaudio_format_t = i32; -pub const AAUDIO_OK: _bindgen_ty_49 = 0; -pub const AAUDIO_ERROR_BASE: _bindgen_ty_49 = -900; -pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_49 = -899; -pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_49 = -898; -pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_49 = -896; -pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_49 = -895; -pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_49 = -892; -pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_49 = -890; -pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_49 = -889; -pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_49 = -888; -pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_49 = -887; -pub const AAUDIO_ERROR_NULL: _bindgen_ty_49 = -886; -pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_49 = -885; -pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_49 = -884; -pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_49 = -883; -pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_49 = -882; -pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_49 = -881; -pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_49 = -880; -pub type _bindgen_ty_49 = ::std::os::raw::c_int; +pub const AAUDIO_OK: _bindgen_ty_51 = 0; +pub const AAUDIO_ERROR_BASE: _bindgen_ty_51 = -900; +pub const AAUDIO_ERROR_DISCONNECTED: _bindgen_ty_51 = -899; +pub const AAUDIO_ERROR_ILLEGAL_ARGUMENT: _bindgen_ty_51 = -898; +pub const AAUDIO_ERROR_INTERNAL: _bindgen_ty_51 = -896; +pub const AAUDIO_ERROR_INVALID_STATE: _bindgen_ty_51 = -895; +pub const AAUDIO_ERROR_INVALID_HANDLE: _bindgen_ty_51 = -892; +pub const AAUDIO_ERROR_UNIMPLEMENTED: _bindgen_ty_51 = -890; +pub const AAUDIO_ERROR_UNAVAILABLE: _bindgen_ty_51 = -889; +pub const AAUDIO_ERROR_NO_FREE_HANDLES: _bindgen_ty_51 = -888; +pub const AAUDIO_ERROR_NO_MEMORY: _bindgen_ty_51 = -887; +pub const AAUDIO_ERROR_NULL: _bindgen_ty_51 = -886; +pub const AAUDIO_ERROR_TIMEOUT: _bindgen_ty_51 = -885; +pub const AAUDIO_ERROR_WOULD_BLOCK: _bindgen_ty_51 = -884; +pub const AAUDIO_ERROR_INVALID_FORMAT: _bindgen_ty_51 = -883; +pub const AAUDIO_ERROR_OUT_OF_RANGE: _bindgen_ty_51 = -882; +pub const AAUDIO_ERROR_NO_SERVICE: _bindgen_ty_51 = -881; +pub const AAUDIO_ERROR_INVALID_RATE: _bindgen_ty_51 = -880; +pub type _bindgen_ty_51 = ::std::os::raw::c_int; pub type aaudio_result_t = i32; -pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_50 = 0; -pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_50 = 1; -pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_50 = 2; -pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_50 = 3; -pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_50 = 4; -pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_50 = 5; -pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_50 = 6; -pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_50 = 7; -pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_50 = 8; -pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_50 = 9; -pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_50 = 10; -pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_50 = 11; -pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_50 = 12; -pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_50 = 13; -pub type _bindgen_ty_50 = ::std::os::raw::c_uint; +pub const AAUDIO_STREAM_STATE_UNINITIALIZED: _bindgen_ty_52 = 0; +pub const AAUDIO_STREAM_STATE_UNKNOWN: _bindgen_ty_52 = 1; +pub const AAUDIO_STREAM_STATE_OPEN: _bindgen_ty_52 = 2; +pub const AAUDIO_STREAM_STATE_STARTING: _bindgen_ty_52 = 3; +pub const AAUDIO_STREAM_STATE_STARTED: _bindgen_ty_52 = 4; +pub const AAUDIO_STREAM_STATE_PAUSING: _bindgen_ty_52 = 5; +pub const AAUDIO_STREAM_STATE_PAUSED: _bindgen_ty_52 = 6; +pub const AAUDIO_STREAM_STATE_FLUSHING: _bindgen_ty_52 = 7; +pub const AAUDIO_STREAM_STATE_FLUSHED: _bindgen_ty_52 = 8; +pub const AAUDIO_STREAM_STATE_STOPPING: _bindgen_ty_52 = 9; +pub const AAUDIO_STREAM_STATE_STOPPED: _bindgen_ty_52 = 10; +pub const AAUDIO_STREAM_STATE_CLOSING: _bindgen_ty_52 = 11; +pub const AAUDIO_STREAM_STATE_CLOSED: _bindgen_ty_52 = 12; +pub const AAUDIO_STREAM_STATE_DISCONNECTED: _bindgen_ty_52 = 13; +pub type _bindgen_ty_52 = ::std::os::raw::c_uint; pub type aaudio_stream_state_t = i32; -pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_51 = 0; -pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_51 = 1; -pub type _bindgen_ty_51 = ::std::os::raw::c_uint; +pub const AAUDIO_SHARING_MODE_EXCLUSIVE: _bindgen_ty_53 = 0; +pub const AAUDIO_SHARING_MODE_SHARED: _bindgen_ty_53 = 1; +pub type _bindgen_ty_53 = ::std::os::raw::c_uint; pub type aaudio_sharing_mode_t = i32; -pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_52 = 10; -pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_52 = 11; -pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_52 = 12; -pub type _bindgen_ty_52 = ::std::os::raw::c_uint; +pub const AAUDIO_PERFORMANCE_MODE_NONE: _bindgen_ty_54 = 10; +pub const AAUDIO_PERFORMANCE_MODE_POWER_SAVING: _bindgen_ty_54 = 11; +pub const AAUDIO_PERFORMANCE_MODE_LOW_LATENCY: _bindgen_ty_54 = 12; +pub type _bindgen_ty_54 = ::std::os::raw::c_uint; pub type aaudio_performance_mode_t = i32; -pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_53 = 1; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_53 = 2; -pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_53 = 3; -pub const AAUDIO_USAGE_ALARM: _bindgen_ty_53 = 4; -pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_53 = 5; -pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_53 = 6; -pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_53 = 10; -pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_53 = 11; -pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_53 = 12; -pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_53 = 13; -pub const AAUDIO_USAGE_GAME: _bindgen_ty_53 = 14; -pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_53 = 16; -pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_53 = 1000; -pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_53 = 1001; -pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_53 = 1002; -pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_53 = 1003; -pub type _bindgen_ty_53 = ::std::os::raw::c_uint; +pub const AAUDIO_USAGE_MEDIA: _bindgen_ty_55 = 1; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION: _bindgen_ty_55 = 2; +pub const AAUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING: _bindgen_ty_55 = 3; +pub const AAUDIO_USAGE_ALARM: _bindgen_ty_55 = 4; +pub const AAUDIO_USAGE_NOTIFICATION: _bindgen_ty_55 = 5; +pub const AAUDIO_USAGE_NOTIFICATION_RINGTONE: _bindgen_ty_55 = 6; +pub const AAUDIO_USAGE_NOTIFICATION_EVENT: _bindgen_ty_55 = 10; +pub const AAUDIO_USAGE_ASSISTANCE_ACCESSIBILITY: _bindgen_ty_55 = 11; +pub const AAUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE: _bindgen_ty_55 = 12; +pub const AAUDIO_USAGE_ASSISTANCE_SONIFICATION: _bindgen_ty_55 = 13; +pub const AAUDIO_USAGE_GAME: _bindgen_ty_55 = 14; +pub const AAUDIO_USAGE_ASSISTANT: _bindgen_ty_55 = 16; +pub const AAUDIO_SYSTEM_USAGE_EMERGENCY: _bindgen_ty_55 = 1000; +pub const AAUDIO_SYSTEM_USAGE_SAFETY: _bindgen_ty_55 = 1001; +pub const AAUDIO_SYSTEM_USAGE_VEHICLE_STATUS: _bindgen_ty_55 = 1002; +pub const AAUDIO_SYSTEM_USAGE_ANNOUNCEMENT: _bindgen_ty_55 = 1003; +pub type _bindgen_ty_55 = ::std::os::raw::c_uint; pub type aaudio_usage_t = i32; -pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_54 = 1; -pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_54 = 2; -pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_54 = 3; -pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_54 = 4; -pub type _bindgen_ty_54 = ::std::os::raw::c_uint; +pub const AAUDIO_CONTENT_TYPE_SPEECH: _bindgen_ty_56 = 1; +pub const AAUDIO_CONTENT_TYPE_MUSIC: _bindgen_ty_56 = 2; +pub const AAUDIO_CONTENT_TYPE_MOVIE: _bindgen_ty_56 = 3; +pub const AAUDIO_CONTENT_TYPE_SONIFICATION: _bindgen_ty_56 = 4; +pub type _bindgen_ty_56 = ::std::os::raw::c_uint; pub type aaudio_content_type_t = i32; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_55 = 1; -pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_55 = 2; -pub type _bindgen_ty_55 = ::std::os::raw::c_uint; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_AUTO: _bindgen_ty_57 = 1; +pub const AAUDIO_SPATIALIZATION_BEHAVIOR_NEVER: _bindgen_ty_57 = 2; +pub type _bindgen_ty_57 = ::std::os::raw::c_uint; pub type aaudio_spatialization_behavior_t = i32; -pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_56 = 1; -pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_56 = 5; -pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_56 = 6; -pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_56 = 7; -pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_56 = 9; -pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_56 = 10; -pub type _bindgen_ty_56 = ::std::os::raw::c_uint; +pub const AAUDIO_INPUT_PRESET_GENERIC: _bindgen_ty_58 = 1; +pub const AAUDIO_INPUT_PRESET_CAMCORDER: _bindgen_ty_58 = 5; +pub const AAUDIO_INPUT_PRESET_VOICE_RECOGNITION: _bindgen_ty_58 = 6; +pub const AAUDIO_INPUT_PRESET_VOICE_COMMUNICATION: _bindgen_ty_58 = 7; +pub const AAUDIO_INPUT_PRESET_UNPROCESSED: _bindgen_ty_58 = 9; +pub const AAUDIO_INPUT_PRESET_VOICE_PERFORMANCE: _bindgen_ty_58 = 10; +pub type _bindgen_ty_58 = ::std::os::raw::c_uint; pub type aaudio_input_preset_t = i32; -pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_57 = 1; -pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_57 = 2; -pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_57 = 3; -pub type _bindgen_ty_57 = ::std::os::raw::c_uint; +pub const AAUDIO_ALLOW_CAPTURE_BY_ALL: _bindgen_ty_59 = 1; +pub const AAUDIO_ALLOW_CAPTURE_BY_SYSTEM: _bindgen_ty_59 = 2; +pub const AAUDIO_ALLOW_CAPTURE_BY_NONE: _bindgen_ty_59 = 3; +pub type _bindgen_ty_59 = ::std::os::raw::c_uint; pub type aaudio_allowed_capture_policy_t = i32; -pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_58 = -1; -pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_58 = 0; -pub type _bindgen_ty_58 = ::std::os::raw::c_int; +pub const AAUDIO_SESSION_ID_NONE: _bindgen_ty_60 = -1; +pub const AAUDIO_SESSION_ID_ALLOCATE: _bindgen_ty_60 = 0; +pub type _bindgen_ty_60 = ::std::os::raw::c_int; pub type aaudio_session_id_t = i32; -pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_59 = -1; -pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_59 = 2; -pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_59 = 4; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_59 = 8; -pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_59 = 16; -pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_59 = 32; -pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_59 = 64; -pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_59 = 128; -pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_59 = 256; -pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_59 = 512; -pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_59 = 1024; -pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_59 = 2048; -pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_59 = 4096; -pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_59 = 8192; -pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_59 = 16384; -pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_59 = 32768; -pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_59 = 65536; -pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_59 = 131072; -pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_59 = 262144; -pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_59 = 524288; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_59 = 1048576; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_59 = 2097152; -pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_59 = 4194304; -pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_59 = 8388608; -pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_59 = 16777216; -pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_59 = 33554432; -pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_59 = 1; -pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_59 = 3; -pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_59 = 11; -pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_59 = 7; -pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_59 = 259; -pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_59 = 15; -pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_59 = 786435; -pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_59 = 786443; -pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_59 = 786439; -pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_59 = 786447; -pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_59 = 51; -pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_59 = 1539; -pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_59 = 263; -pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_59 = 55; -pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_59 = 63; -pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_59 = 1551; -pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_59 = 319; -pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_59 = 1599; -pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_59 = 786495; -pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_59 = 184383; -pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_59 = 788031; -pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_59 = 185919; -pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_59 = 50517567; -pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_59 = 51303999; -pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_59 = 260; -pub type _bindgen_ty_59 = ::std::os::raw::c_int; +pub const AAUDIO_CHANNEL_INVALID: _bindgen_ty_61 = -1; +pub const AAUDIO_CHANNEL_FRONT_LEFT: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_FRONT_RIGHT: _bindgen_ty_61 = 2; +pub const AAUDIO_CHANNEL_FRONT_CENTER: _bindgen_ty_61 = 4; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY: _bindgen_ty_61 = 8; +pub const AAUDIO_CHANNEL_BACK_LEFT: _bindgen_ty_61 = 16; +pub const AAUDIO_CHANNEL_BACK_RIGHT: _bindgen_ty_61 = 32; +pub const AAUDIO_CHANNEL_FRONT_LEFT_OF_CENTER: _bindgen_ty_61 = 64; +pub const AAUDIO_CHANNEL_FRONT_RIGHT_OF_CENTER: _bindgen_ty_61 = 128; +pub const AAUDIO_CHANNEL_BACK_CENTER: _bindgen_ty_61 = 256; +pub const AAUDIO_CHANNEL_SIDE_LEFT: _bindgen_ty_61 = 512; +pub const AAUDIO_CHANNEL_SIDE_RIGHT: _bindgen_ty_61 = 1024; +pub const AAUDIO_CHANNEL_TOP_CENTER: _bindgen_ty_61 = 2048; +pub const AAUDIO_CHANNEL_TOP_FRONT_LEFT: _bindgen_ty_61 = 4096; +pub const AAUDIO_CHANNEL_TOP_FRONT_CENTER: _bindgen_ty_61 = 8192; +pub const AAUDIO_CHANNEL_TOP_FRONT_RIGHT: _bindgen_ty_61 = 16384; +pub const AAUDIO_CHANNEL_TOP_BACK_LEFT: _bindgen_ty_61 = 32768; +pub const AAUDIO_CHANNEL_TOP_BACK_CENTER: _bindgen_ty_61 = 65536; +pub const AAUDIO_CHANNEL_TOP_BACK_RIGHT: _bindgen_ty_61 = 131072; +pub const AAUDIO_CHANNEL_TOP_SIDE_LEFT: _bindgen_ty_61 = 262144; +pub const AAUDIO_CHANNEL_TOP_SIDE_RIGHT: _bindgen_ty_61 = 524288; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_LEFT: _bindgen_ty_61 = 1048576; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_CENTER: _bindgen_ty_61 = 2097152; +pub const AAUDIO_CHANNEL_BOTTOM_FRONT_RIGHT: _bindgen_ty_61 = 4194304; +pub const AAUDIO_CHANNEL_LOW_FREQUENCY_2: _bindgen_ty_61 = 8388608; +pub const AAUDIO_CHANNEL_FRONT_WIDE_LEFT: _bindgen_ty_61 = 16777216; +pub const AAUDIO_CHANNEL_FRONT_WIDE_RIGHT: _bindgen_ty_61 = 33554432; +pub const AAUDIO_CHANNEL_MONO: _bindgen_ty_61 = 1; +pub const AAUDIO_CHANNEL_STEREO: _bindgen_ty_61 = 3; +pub const AAUDIO_CHANNEL_2POINT1: _bindgen_ty_61 = 11; +pub const AAUDIO_CHANNEL_TRI: _bindgen_ty_61 = 7; +pub const AAUDIO_CHANNEL_TRI_BACK: _bindgen_ty_61 = 259; +pub const AAUDIO_CHANNEL_3POINT1: _bindgen_ty_61 = 15; +pub const AAUDIO_CHANNEL_2POINT0POINT2: _bindgen_ty_61 = 786435; +pub const AAUDIO_CHANNEL_2POINT1POINT2: _bindgen_ty_61 = 786443; +pub const AAUDIO_CHANNEL_3POINT0POINT2: _bindgen_ty_61 = 786439; +pub const AAUDIO_CHANNEL_3POINT1POINT2: _bindgen_ty_61 = 786447; +pub const AAUDIO_CHANNEL_QUAD: _bindgen_ty_61 = 51; +pub const AAUDIO_CHANNEL_QUAD_SIDE: _bindgen_ty_61 = 1539; +pub const AAUDIO_CHANNEL_SURROUND: _bindgen_ty_61 = 263; +pub const AAUDIO_CHANNEL_PENTA: _bindgen_ty_61 = 55; +pub const AAUDIO_CHANNEL_5POINT1: _bindgen_ty_61 = 63; +pub const AAUDIO_CHANNEL_5POINT1_SIDE: _bindgen_ty_61 = 1551; +pub const AAUDIO_CHANNEL_6POINT1: _bindgen_ty_61 = 319; +pub const AAUDIO_CHANNEL_7POINT1: _bindgen_ty_61 = 1599; +pub const AAUDIO_CHANNEL_5POINT1POINT2: _bindgen_ty_61 = 786495; +pub const AAUDIO_CHANNEL_5POINT1POINT4: _bindgen_ty_61 = 184383; +pub const AAUDIO_CHANNEL_7POINT1POINT2: _bindgen_ty_61 = 788031; +pub const AAUDIO_CHANNEL_7POINT1POINT4: _bindgen_ty_61 = 185919; +pub const AAUDIO_CHANNEL_9POINT1POINT4: _bindgen_ty_61 = 50517567; +pub const AAUDIO_CHANNEL_9POINT1POINT6: _bindgen_ty_61 = 51303999; +pub const AAUDIO_CHANNEL_FRONT_BACK: _bindgen_ty_61 = 260; +pub type _bindgen_ty_61 = ::std::os::raw::c_int; pub type aaudio_channel_mask_t = u32; #[repr(C)] #[derive(Debug, Copy, Clone)] @@ -17759,9 +17853,9 @@ extern "C" { privacySensitive: bool, ); } -pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_60 = 0; -pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_60 = 1; -pub type _bindgen_ty_60 = ::std::os::raw::c_uint; +pub const AAUDIO_CALLBACK_RESULT_CONTINUE: _bindgen_ty_62 = 0; +pub const AAUDIO_CALLBACK_RESULT_STOP: _bindgen_ty_62 = 1; +pub type _bindgen_ty_62 = ::std::os::raw::c_uint; pub type aaudio_data_callback_result_t = i32; pub type AAudioStream_dataCallback = ::std::option::Option< unsafe extern "C" fn( @@ -18053,13 +18147,13 @@ pub struct AMidiInputPort { pub struct AMidiOutputPort { _unused: [u8; 0], } -pub const AMIDI_OPCODE_DATA: _bindgen_ty_61 = 1; -pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_61 = 2; -pub type _bindgen_ty_61 = ::std::os::raw::c_uint; -pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_62 = 1; -pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_62 = 2; -pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_62 = 3; -pub type _bindgen_ty_62 = ::std::os::raw::c_uint; +pub const AMIDI_OPCODE_DATA: _bindgen_ty_63 = 1; +pub const AMIDI_OPCODE_FLUSH: _bindgen_ty_63 = 2; +pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const AMIDI_DEVICE_TYPE_USB: _bindgen_ty_64 = 1; +pub const AMIDI_DEVICE_TYPE_VIRTUAL: _bindgen_ty_64 = 2; +pub const AMIDI_DEVICE_TYPE_BLUETOOTH: _bindgen_ty_64 = 3; +pub type _bindgen_ty_64 = ::std::os::raw::c_uint; impl AMidiDevice_Protocol { pub const AMIDI_DEVICE_PROTOCOL_UMP_USE_MIDI_CI: AMidiDevice_Protocol = AMidiDevice_Protocol(0); } @@ -21240,14 +21334,14 @@ pub use self::acamera_metadata_enum_acamera_automotive_lens_facing as acamera_me pub struct ACameraMetadata { _unused: [u8; 0], } -pub const ACAMERA_TYPE_BYTE: _bindgen_ty_63 = 0; -pub const ACAMERA_TYPE_INT32: _bindgen_ty_63 = 1; -pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_63 = 2; -pub const ACAMERA_TYPE_INT64: _bindgen_ty_63 = 3; -pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_63 = 4; -pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_63 = 5; -pub const ACAMERA_NUM_TYPES: _bindgen_ty_63 = 6; -pub type _bindgen_ty_63 = ::std::os::raw::c_uint; +pub const ACAMERA_TYPE_BYTE: _bindgen_ty_65 = 0; +pub const ACAMERA_TYPE_INT32: _bindgen_ty_65 = 1; +pub const ACAMERA_TYPE_FLOAT: _bindgen_ty_65 = 2; +pub const ACAMERA_TYPE_INT64: _bindgen_ty_65 = 3; +pub const ACAMERA_TYPE_DOUBLE: _bindgen_ty_65 = 4; +pub const ACAMERA_TYPE_RATIONAL: _bindgen_ty_65 = 5; +pub const ACAMERA_NUM_TYPES: _bindgen_ty_65 = 6; +pub type _bindgen_ty_65 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraMetadata_rational { @@ -21889,9 +21983,9 @@ fn bindgen_test_layout_ACameraCaptureSession_stateCallbacks() { ) ); } -pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_64 = 0; -pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_64 = 1; -pub type _bindgen_ty_64 = ::std::os::raw::c_uint; +pub const CAPTURE_FAILURE_REASON_FLUSHED: _bindgen_ty_66 = 0; +pub const CAPTURE_FAILURE_REASON_ERROR: _bindgen_ty_66 = 1; +pub type _bindgen_ty_66 = ::std::os::raw::c_uint; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct ACameraCaptureFailure { @@ -22118,8 +22212,8 @@ fn bindgen_test_layout_ACameraCaptureSession_captureCallbacks() { ) ); } -pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_65 = -1; -pub type _bindgen_ty_65 = ::std::os::raw::c_int; +pub const CAPTURE_SEQUENCE_ID_NONE: _bindgen_ty_67 = -1; +pub type _bindgen_ty_67 = ::std::os::raw::c_int; extern "C" { pub fn ACameraCaptureSession_close(session: *mut ACameraCaptureSession); } @@ -22688,12 +22782,12 @@ fn bindgen_test_layout_ACameraIdList() { ) ); } -pub const ERROR_CAMERA_IN_USE: _bindgen_ty_66 = 1; -pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_66 = 2; -pub const ERROR_CAMERA_DISABLED: _bindgen_ty_66 = 3; -pub const ERROR_CAMERA_DEVICE: _bindgen_ty_66 = 4; -pub const ERROR_CAMERA_SERVICE: _bindgen_ty_66 = 5; -pub type _bindgen_ty_66 = ::std::os::raw::c_uint; +pub const ERROR_CAMERA_IN_USE: _bindgen_ty_68 = 1; +pub const ERROR_MAX_CAMERAS_IN_USE: _bindgen_ty_68 = 2; +pub const ERROR_CAMERA_DISABLED: _bindgen_ty_68 = 3; +pub const ERROR_CAMERA_DEVICE: _bindgen_ty_68 = 4; +pub const ERROR_CAMERA_SERVICE: _bindgen_ty_68 = 5; +pub type _bindgen_ty_68 = ::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), >; @@ -24136,14 +24230,14 @@ fn bindgen_test_layout_AMediaCodecBufferInfo() { pub struct AMediaCodecCryptoInfo { _unused: [u8; 0], } -pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_67 = 2; -pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_67 = 4; -pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_67 = 8; -pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_67 = 1; -pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_67 = -3; -pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_67 = -2; -pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_67 = -1; -pub type _bindgen_ty_67 = ::std::os::raw::c_int; +pub const AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG: _bindgen_ty_69 = 2; +pub const AMEDIACODEC_BUFFER_FLAG_END_OF_STREAM: _bindgen_ty_69 = 4; +pub const AMEDIACODEC_BUFFER_FLAG_PARTIAL_FRAME: _bindgen_ty_69 = 8; +pub const AMEDIACODEC_CONFIGURE_FLAG_ENCODE: _bindgen_ty_69 = 1; +pub const AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED: _bindgen_ty_69 = -3; +pub const AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED: _bindgen_ty_69 = -2; +pub const AMEDIACODEC_INFO_TRY_AGAIN_LATER: _bindgen_ty_69 = -1; +pub type _bindgen_ty_69 = ::std::os::raw::c_int; pub type AMediaCodecOnAsyncInputAvailable = ::std::option::Option< unsafe extern "C" fn( codec: *mut AMediaCodec, @@ -25234,9 +25328,9 @@ extern "C" { arg1: *mut AMediaExtractor, ) -> *mut AMediaCodecCryptoInfo; } -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_68 = 1; -pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_68 = 2; -pub type _bindgen_ty_68 = ::std::os::raw::c_uint; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_SYNC: _bindgen_ty_70 = 1; +pub const AMEDIAEXTRACTOR_SAMPLE_FLAG_ENCRYPTED: _bindgen_ty_70 = 2; +pub type _bindgen_ty_70 = ::std::os::raw::c_uint; extern "C" { pub fn AMediaExtractor_getFileFormat(arg1: *mut AMediaExtractor) -> *mut AMediaFormat; } diff --git a/ndk-sys/wrapper.h b/ndk-sys/wrapper.h index dbb50ffd..233a2cc8 100644 --- a/ndk-sys/wrapper.h +++ b/ndk-sys/wrapper.h @@ -20,8 +20,12 @@ #include #include #include -// #include -// #include +// is broken without the following typedef in C +typedef struct AFont AFont; +#include +// is broken without the following typedef in C +typedef struct AFontMatcher AFontMatcher; +#include #include #include #include @@ -49,7 +53,9 @@ #include #include #include -// #include +// is broken without the following typedef in C +typedef struct ASystemFontIterator ASystemFontIterator; +#include // #include #include #include diff --git a/ndk/CHANGELOG.md b/ndk/CHANGELOG.md index 873bbd14..982a361e 100644 --- a/ndk/CHANGELOG.md +++ b/ndk/CHANGELOG.md @@ -10,6 +10,7 @@ - **Breaking:** Upgrade to [`ndk-sys 0.5.0`](../ndk-sys/CHANGELOG.md#050-TODO). (#370) - **Breaking:** Upgrade `bitflags` crate from `1` to `2`. (#394) - bitmap: Add `try_format()` to `AndroidBitmapInfo` to handle unexpected formats without panicking. (#395) +- Add `Font` bindings. (#397) - **Breaking:** Upgrade `num_enum` crate from `0.5.1` to `0.7`. (#398, #419) - **Breaking:** Renamed and moved "`media`" error types and helpers to a new `media_error` module. (#399) - **Breaking:** media_codec: Wrap common dequeued-buffer status codes in enum. (#401) diff --git a/ndk/src/font.rs b/ndk/src/font.rs new file mode 100644 index 00000000..3d6367bb --- /dev/null +++ b/ndk/src/font.rs @@ -0,0 +1,548 @@ +//! Bindings for [`AFont`], [`AFontMatcher`], and [`ASystemFontIterator`] +//! +//! [`AFont`]: https://developer.android.com/ndk/reference/group/font +//! [`AFontMatcher`]: https://developer.android.com/ndk/reference/group/font#afontmatcher_create +//! [`ASystemFontIterator`]: https://developer.android.com/ndk/reference/group/font#asystemfontiterator_open + +#![cfg(feature = "api-level-29")] + +use std::convert::TryFrom; +use std::ffi::{CStr, OsStr}; +use std::fmt::{self, Write}; +use std::os::unix::prelude::OsStrExt; +use std::path::Path; +use std::ptr::NonNull; + +/// An integer holding a valid font weight value between 1 and 1000. +/// +/// See the following definitions for more details: +/// * [`AFONT_WEIGHT_*`] +/// * [`Font::weight`] +/// +/// [`AFONT_WEIGHT_*`]: https://developer.android.com/ndk/reference/group/font#anonymous-enum-33 +#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)] +pub struct FontWeight(u16); + +impl FontWeight { + pub const fn new(value: u16) -> Result { + if Self::MIN.0 <= value && value <= Self::MAX.0 { + Ok(Self(value)) + } else { + Err(FontWeightValueError(())) + } + } + + pub const fn to_u16(self) -> u16 { + self.0 + } + + /// The minimum value for the font weight value. Unlike [`ffi::AFONT_WEIGHT_MIN`] being `0`, + /// [`FontWeight::MIN`] is `1` to make the `MIN..MAX` range be inclusive, keeping consistency + /// between [`FontWeight`] and other types like `std::num::NonZeroU*`. + pub const MIN: FontWeight = FontWeight(ffi::AFONT_WEIGHT_MIN as u16 + 1); + + /// A font weight value for the thin weight. + pub const THIN: FontWeight = FontWeight(ffi::AFONT_WEIGHT_THIN as u16); + + /// A font weight value for the extra-light weight. + pub const EXTRA_LIGHT: FontWeight = FontWeight(ffi::AFONT_WEIGHT_EXTRA_LIGHT as u16); + + /// A font weight value for the light weight. + pub const LIGHT: FontWeight = FontWeight(ffi::AFONT_WEIGHT_LIGHT as u16); + + /// A font weight value for the normal weight. + pub const NORMAL: FontWeight = FontWeight(ffi::AFONT_WEIGHT_NORMAL as u16); + + /// A font weight value for the medium weight. + pub const MEDIUM: FontWeight = FontWeight(ffi::AFONT_WEIGHT_MEDIUM as u16); + + /// A font weight value for the semi-bold weight. + pub const SEMI_BOLD: FontWeight = FontWeight(ffi::AFONT_WEIGHT_SEMI_BOLD as u16); + + /// A font weight value for the bold weight. + pub const BOLD: FontWeight = FontWeight(ffi::AFONT_WEIGHT_BOLD as u16); + + /// A font weight value for the extra-bold weight. + pub const EXTRA_BOLD: FontWeight = FontWeight(ffi::AFONT_WEIGHT_EXTRA_BOLD as u16); + + /// A font weight value for the black weight. + pub const BLACK: FontWeight = FontWeight(ffi::AFONT_WEIGHT_BLACK as u16); + + /// The maximum value for the font weight value. + pub const MAX: FontWeight = FontWeight(ffi::AFONT_WEIGHT_MAX as u16); +} + +impl fmt::Display for FontWeight { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match *self { + FontWeight::THIN => f.write_str("Thin"), + FontWeight::EXTRA_LIGHT => f.write_str("Extra Light (Ultra Light)"), + FontWeight::LIGHT => f.write_str("Light"), + FontWeight::NORMAL => f.write_str("Normal (Regular)"), + FontWeight::MEDIUM => f.write_str("Medium"), + FontWeight::SEMI_BOLD => f.write_str("Semi Bold (Demi Bold)"), + FontWeight::BOLD => f.write_str("Bold"), + FontWeight::EXTRA_BOLD => f.write_str("Extra Bold (Ultra Bold)"), + FontWeight::BLACK => f.write_str("Black (Heavy)"), + _ => writeln!(f, "{}", self.0), + } + } +} + +/// The error type returned when an invalid font weight value is passed. +#[derive(Debug)] +pub struct FontWeightValueError(()); + +impl fmt::Display for FontWeightValueError { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { + fmt.write_str("font weight must be positive and less than or equal to 1000") + } +} + +impl std::error::Error for FontWeightValueError {} + +impl TryFrom for FontWeight { + type Error = FontWeightValueError; + + fn try_from(value: u16) -> Result { + FontWeight::new(value) + } +} + +/// A 4-byte integer representing an OpenType axis tag. +#[derive(Clone, Copy, PartialEq, Eq)] +pub struct AxisTag(u32); + +impl AxisTag { + /// Checks whether the given 4-byte array can construct a valid axis tag and returns + /// [`Ok(AxisTag)`] if the array is valid. + /// + /// Each byte in a tag must be in the range 0x20 to 0x7E. A space character cannot be followed + /// by a non-space character. A tag must have one to four non-space characters. See the + /// [OpenType spec] for more details. + /// + /// [OpenType spec]: https://learn.microsoft.com/en-us/typography/opentype/spec/otff#data-types + pub const fn from_be_bytes_checked(value: [u8; 4]) -> Result { + // Each byte in a tag must be in the range 0x20 to 0x7E. + macro_rules! check_byte_range { + ($($e:expr)+) => { + $( + if !(value[$e] as char).is_ascii_graphic() && value[$e] != b' ' { + return Err(AxisTagValueError::InvalidCharacter); + } + )+ + }; + } + check_byte_range!(0 1 2 3); + + if value[0] == b' ' { + return Err( + if value[1] == b' ' && value[2] == b' ' && value[3] == b' ' { + // A tag must have one to four non-space characters. + AxisTagValueError::EmptyTag + } else { + // A space character cannot be followed by a non-space character. + AxisTagValueError::InvalidSpacePadding + }, + ); + } + + macro_rules! check_if_valid { + ($e:expr ; $($f:expr)+) => { + if value[$e] == b' ' { + return if true $(&& value[$f] == b' ')+ { + Ok(Self(u32::from_be_bytes(value))) + } else { + // A space character cannot be followed by a non-space character. + Err(AxisTagValueError::InvalidSpacePadding) + }; + } + }; + } + + check_if_valid!(1; 2 3); + check_if_valid!(2; 3); + + // Whether or not value[3] is b' ', value is a valid axis tag. + Ok(Self(u32::from_be_bytes(value))) + } + + /// Checks whether the given 4-byte array can construct a valid axis tag and returns + /// [`Ok(AxisTag)`] if the array is valid. + /// + /// See [`AxisTag::from_be()`] for more details. + pub const fn from_be_checked(value: u32) -> Result { + Self::from_be_bytes_checked(value.to_be_bytes()) + } + + /// Construct an axis tag from the given 4-byte array. If the resulting axis tag is invalid, + /// this function panics. + /// + /// See [`AxisTag::from_be()`] for more details. + pub const fn from_be_bytes(value: [u8; 4]) -> Self { + Self::unwrap_result(Self::from_be_bytes_checked(value)) + } + + /// Construct an axis tag from the given 4-byte integer. If the resulting axis tag is invalid, + /// this function panics. + /// + /// See [`AxisTag::from_be()`] for more details. + pub const fn from_be(value: u32) -> Self { + Self::unwrap_result(Self::from_be_checked(value)) + } + + /// const-version of [`Result::unwrap`]. Should be removed when [`Option::unwrap`] or + /// [`Result::unwrap`] become `const`-stable. + const fn unwrap_result(result: Result) -> Self { + match result { + Ok(t) => t, + Err(e) => panic!("{}", e.as_str()), + } + } + + pub const fn to_u32(self) -> u32 { + self.0 + } + + pub const fn to_be_bytes(self) -> [u8; 4] { + self.0.to_be_bytes() + } +} + +impl fmt::Display for AxisTag { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + let bytes = self.to_be_bytes(); + f.write_char(bytes[0] as char)?; + f.write_char(bytes[1] as char)?; + f.write_char(bytes[2] as char)?; + f.write_char(bytes[3] as char) + } +} + +impl fmt::Debug for AxisTag { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "AxisTag({} {:#x})", self, self.0) + } +} + +/// The error type returned when an invalid axis tag value is passed. +#[derive(Clone, Copy, Debug)] +pub enum AxisTagValueError { + /// There is a byte not in the range 0x20 to 0x7E. + InvalidCharacter, + /// There is a space character followed by a non-space character. + InvalidSpacePadding, + /// The tag only consists of space characters. + EmptyTag, +} + +impl AxisTagValueError { + pub const fn as_str(&self) -> &'static str { + match self { + Self::InvalidCharacter => "each byte in an axis tag must be in the range 0x20 to 0x7E", + Self::InvalidSpacePadding => { + "a space character cannot be followed by a non-space character" + } + Self::EmptyTag => "a tag must have one to four non-space characters", + } + } +} + +impl fmt::Display for AxisTagValueError { + fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { + fmt.write_str(self.as_str()) + } +} + +impl std::error::Error for AxisTagValueError {} + +/// A native [`AFont *`] +/// +/// [`AFont *`]: https://developer.android.com/ndk/reference/group/font +#[derive(Debug)] +pub struct Font { + ptr: NonNull, +} + +impl Font { + /// Assumes ownership of `ptr`. + /// + /// # Safety + /// `ptr` must be a valid owning pointer to an Android [`ffi::AFont`]. + pub unsafe fn from_ptr(ptr: NonNull) -> Self { + Self { ptr } + } + + /// Returns s the pointer to the native [`ffi::AFont`]. + pub fn ptr(&self) -> NonNull { + self.ptr + } + + /// Returns a count of font variation settings associated with the current font. + /// + /// The font variation settings are provided as multiple tag-value pairs. + /// + /// For example, bold italic font may have following font variation settings: `'wght' 700`, + /// `'slnt' -12`. In this case, [`Font::axis_count()`] returns `2` and [`Font::axis_tag_at()`] and + /// [`Font::axis_value_at()`] return those variation names and the corresponding values. + /// + /// ```no_run + /// use ndk::font::Font; + /// + /// let font: Font = todo!(); + /// for idx in 0..font.axis_count() { + /// log::debug!("{}: {}", font.axis_tag_at(idx), font.axis_value_at(idx)); + /// } + /// // Output: + /// // wght: 700 + /// // slnt: -12 + /// ``` + pub fn axis_count(&self) -> usize { + unsafe { ffi::AFont_getAxisCount(self.ptr.as_ptr()) } + } + + /// Returns an OpenType axis tag associated with the current font. + /// + /// See [`Font::axis_count()`] for more details. + pub fn axis_tag_at(&self, idx: usize) -> AxisTag { + // Android returns Axis Tag in big-endian. + // See https://cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/base/native/android/system_fonts.cpp;l=197 for details + AxisTag(unsafe { ffi::AFont_getAxisTag(self.ptr.as_ptr(), idx as u32) }) + } + + /// Returns an OpenType axis value associated with the current font. + /// + /// See [`Font::axis_count()`] for more details. + pub fn axis_value_at(&self, idx: usize) -> f32 { + unsafe { ffi::AFont_getAxisValue(self.ptr.as_ptr(), idx as u32) } + } + + /// Returns a font collection index value associated with the current font. + /// + /// In case the target font file is a font collection (e.g. `.ttc` or `.otc`), this returns a + /// non-negative value as a font offset in the collection. This always returns 0 if the target + /// font file is a regular font. + pub fn collection_index(&self) -> usize { + unsafe { ffi::AFont_getCollectionIndex(self.ptr.as_ptr()) } + } + + /// Returns an absolute path to the current font file. + /// + /// Here is a list of font formats returned by this method: + /// + /// * OpenType + /// * OpenType Font Collection + /// * TrueType + /// * TrueType Collection + /// + /// The file extension could be one of `*.otf`, `*.ttf`, `*.otc` or `*.ttc`. + /// The font file specified by the returned path is guaranteed to be openable with `O_RDONLY`. + pub fn path(&self) -> &Path { + let path = unsafe { CStr::from_ptr(ffi::AFont_getFontFilePath(self.ptr.as_ptr())) }; + OsStr::from_bytes(path.to_bytes()).as_ref() + } + + /// Returns an IETF BCP47 compliant language tag associated with the current font. + /// + /// For information about IETF BCP47, read [`Locale.forLanguageTag(java.lang.String)`]. + /// + /// [`Locale.forLanguageTag(java.lang.String)`]: https://developer.android.com/reference/java/util/Locale.html#forLanguageTag(java.lang.String) + pub fn locale(&self) -> Option<&CStr> { + let ptr = unsafe { ffi::AFont_getLocale(self.ptr.as_ptr()) }; + if ptr.is_null() { + None + } else { + Some(unsafe { CStr::from_ptr(ptr) }) + } + } + + /// Returns a weight value associated with the current font. + /// + /// The weight values are positive and less than or equal to 1000. Here are pairs of the common + /// names and their values. + /// + /// | Value | Name | NDK Definition | + /// | ----- | ------------------------- | --------------------------- | + /// | 100 | Thin | [`FontWeight::THIN`] | + /// | 200 | Extra Light (Ultra Light) | [`FontWeight::EXTRA_LIGHT`] | + /// | 300 | Light | [`FontWeight::LIGHT`] | + /// | 400 | Normal (Regular) | [`FontWeight::NORMAL`] | + /// | 500 | Medium | [`FontWeight::MEDIUM`] | + /// | 600 | Semi Bold (Demi Bold) | [`FontWeight::SEMI_BOLD`] | + /// | 700 | Bold | [`FontWeight::BOLD`] | + /// | 800 | Extra Bold (Ultra Bold) | [`FontWeight::EXTRA_BOLD`] | + /// | 900 | Black (Heavy) | [`FontWeight::BLACK`] | + pub fn weight(&self) -> FontWeight { + FontWeight(unsafe { ffi::AFont_getWeight(self.ptr.as_ptr()) }) + } + + /// Returns [`true`] if the current font is italic, otherwise returns [`false`]. + pub fn is_italic(&self) -> bool { + unsafe { ffi::AFont_isItalic(self.ptr.as_ptr()) } + } +} + +impl Drop for Font { + fn drop(&mut self) { + unsafe { ffi::AFont_close(self.ptr.as_ptr()) } + } +} + +/// Corresponds to [`AFAMILY_VARIANT_*`]. +/// +/// [`AFAMILY_VARIANT_*`]: https://developer.android.com/ndk/reference/group/font#group___font_1gga96a58e29e8dbf2b5bdeb775cba46556ea662aafc7016e35d6758da93416fc0833 +#[repr(u32)] +#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)] +pub enum FamilyVariant { + /// A family variant value for the compact font family variant. + /// The compact font family has Latin-based vertical metrics. + Compact = ffi::AFAMILY_VARIANT_COMPACT as _, + /// A family variant value for the system default variant. + Default = ffi::AFAMILY_VARIANT_DEFAULT as _, + /// A family variant value for the elegant font family variant. + /// The elegant font family may have larger vertical metrics than Latin font. + Elegant = ffi::AFAMILY_VARIANT_ELEGANT as _, +} + +/// A native [`AFontMatcher *`] +/// +/// [`AFontMatcher *`]: https://developer.android.com/ndk/reference/group/font#afontmatcher_create +#[derive(Debug)] +pub struct FontMatcher { + ptr: NonNull, +} + +impl FontMatcher { + /// Assumes ownership of `ptr`. + /// + /// # Safety + /// `ptr` must be a valid owning pointer to an Android [`ffi::AFontMatcher`]. + pub unsafe fn from_ptr(ptr: NonNull) -> Self { + Self { ptr } + } + + /// Returns s the pointer to the native [`ffi::AFontMatcher`]. + pub fn ptr(&self) -> NonNull { + self.ptr + } + + /// Creates a new [`FontMatcher`] object. [`FontMatcher`] selects the best font from the + /// parameters set by the user. + pub fn new() -> Self { + let ptr = NonNull::new(unsafe { ffi::AFontMatcher_create() }) + .expect("AFontMatcher_create returned NULL"); + unsafe { FontMatcher::from_ptr(ptr) } + } + + /// Performs the matching from the generic font family for the text and select one font. + /// + /// For more information about generic font families, please read the + /// [W3C spec](https://www.w3.org/TR/css-fonts-4/#generic-font-families). + /// + /// Even if no font can render the given text, this function will return a non-null result for + /// drawing Tofu character. + /// + /// # Arguments + /// + /// * `family_name`: A font family name. + /// * `text`: A UTF-16 encoded text buffer to be rendered. If an empty string is given, this + /// function will panic. + /// * `run_length_out`: Set this to [`Some`] if you want to get the length of the text run with + /// the font returned. + pub fn match_font( + &mut self, + family_name: &CStr, + text: &[u16], + run_length_out: Option<&mut u32>, + ) -> Font { + if text.is_empty() { + panic!("text is empty"); + } + unsafe { + Font::from_ptr( + NonNull::new(ffi::AFontMatcher_match( + self.ptr.as_ptr(), + family_name.as_ptr(), + text.as_ptr(), + text.len() as _, + run_length_out.map_or(std::ptr::null_mut(), |u| u), + )) + .expect("AFontMatcher_match returned NULL"), + ) + } + } + + /// Sets the family variant of the font to be matched. + /// + /// If this function is not called, the match is performed with [`FamilyVariant::Default`]. + pub fn set_family_variant(&mut self, family_variant: FamilyVariant) { + unsafe { ffi::AFontMatcher_setFamilyVariant(self.ptr.as_ptr(), family_variant as u32) } + } + + /// Sets the locale of the font to be matched. + /// + /// If this function is not called, the match is performed with an empty locale list. + /// + /// # Arguments + /// * `language_tags`: comma separated IETF BCP47 compliant language tags. + pub fn set_locales(&mut self, language_tags: &CStr) { + unsafe { ffi::AFontMatcher_setLocales(self.ptr.as_ptr(), language_tags.as_ptr()) } + } + + /// Sets the style of the font to be matched. + /// + /// If this function is not called, the match is performed with [`FontWeight::NORMAL`] with non-italic style. + pub fn set_style(&mut self, weight: FontWeight, italic: bool) { + unsafe { ffi::AFontMatcher_setStyle(self.ptr.as_ptr(), weight.to_u16(), italic) } + } +} + +impl Drop for FontMatcher { + fn drop(&mut self) { + unsafe { ffi::AFontMatcher_destroy(self.ptr.as_ptr()) } + } +} + +/// A native [`ASystemFontIterator *`] +/// +/// [`ASystemFontIterator *`]: https://developer.android.com/ndk/reference/group/font#asystemfontiterator_open +#[derive(Debug)] +pub struct SystemFontIterator { + ptr: NonNull, +} + +impl SystemFontIterator { + /// Assumes ownership of `ptr`. + /// + /// # Safety + /// `ptr` must be a valid owning pointer to an Android [`ffi::ASystemFontIterator`]. + pub unsafe fn from_ptr(ptr: NonNull) -> Self { + Self { ptr } + } + + /// Returns the pointer to the native [`ffi::ASystemFontIterator`]. + pub fn ptr(&self) -> NonNull { + self.ptr + } + + /// Creates a system font iterator. + pub fn new() -> Option { + NonNull::new(unsafe { ffi::ASystemFontIterator_open() }) + .map(|p| unsafe { SystemFontIterator::from_ptr(p) }) + } +} + +impl Iterator for SystemFontIterator { + type Item = Font; + + fn next(&mut self) -> Option { + NonNull::new(unsafe { ffi::ASystemFontIterator_next(self.ptr.as_ptr()) }) + .map(|p| unsafe { Font::from_ptr(p) }) + } +} + +impl Drop for SystemFontIterator { + fn drop(&mut self) { + unsafe { ffi::ASystemFontIterator_close(self.ptr.as_ptr()) } + } +} diff --git a/ndk/src/lib.rs b/ndk/src/lib.rs index 6fd5b647..c5c8597b 100644 --- a/ndk/src/lib.rs +++ b/ndk/src/lib.rs @@ -16,6 +16,7 @@ pub mod audio; pub mod bitmap; pub mod configuration; pub mod event; +pub mod font; pub mod hardware_buffer; pub mod hardware_buffer_format; pub mod input_queue;