@@ -1372,6 +1372,8 @@ pub const PROPERTY_VERSION: &[u8; 8] = b"version\0";
1372
1372
pub const PROPERTY_DESCRIPTION: &[u8; 12] = b"description\0";
1373
1373
pub const PROPERTY_ALGORITHMS: &[u8; 11] = b"algorithms\0";
1374
1374
pub const PROPERTY_DEVICE_UNIQUE_ID: &[u8; 15] = b"deviceUniqueId\0";
1375
+ pub const PROP_VALUE_MAX: u32 = 92;
1376
+ pub const PROP_NAME_MAX: u32 = 32;
1375
1377
extern "C" {
1376
1378
pub fn android_get_application_target_sdk_version() -> ::std::os::raw::c_int;
1377
1379
}
@@ -23049,6 +23051,66 @@ extern "C" {
23049
23051
extern "C" {
23050
23052
pub fn AMediaMuxer_getTrackFormat(muxer: *mut AMediaMuxer, idx: usize) -> *mut AMediaFormat;
23051
23053
}
23054
+ #[repr(C)]
23055
+ #[derive(Debug, Copy, Clone)]
23056
+ pub struct prop_info {
23057
+ _unused: [u8; 0],
23058
+ }
23059
+ extern "C" {
23060
+ pub fn __system_property_set(
23061
+ __name: *const ::std::os::raw::c_char,
23062
+ __value: *const ::std::os::raw::c_char,
23063
+ ) -> ::std::os::raw::c_int;
23064
+ }
23065
+ extern "C" {
23066
+ pub fn __system_property_find(__name: *const ::std::os::raw::c_char) -> *const prop_info;
23067
+ }
23068
+ extern "C" {
23069
+ pub fn __system_property_read_callback(
23070
+ __pi: *const prop_info,
23071
+ __callback: ::std::option::Option<
23072
+ unsafe extern "C" fn(
23073
+ __cookie: *mut ::std::os::raw::c_void,
23074
+ __name: *const ::std::os::raw::c_char,
23075
+ __value: *const ::std::os::raw::c_char,
23076
+ __serial: u32,
23077
+ ),
23078
+ >,
23079
+ __cookie: *mut ::std::os::raw::c_void,
23080
+ );
23081
+ }
23082
+ extern "C" {
23083
+ pub fn __system_property_foreach(
23084
+ __callback: ::std::option::Option<
23085
+ unsafe extern "C" fn(__pi: *const prop_info, __cookie: *mut ::std::os::raw::c_void),
23086
+ >,
23087
+ __cookie: *mut ::std::os::raw::c_void,
23088
+ ) -> ::std::os::raw::c_int;
23089
+ }
23090
+ extern "C" {
23091
+ pub fn __system_property_wait(
23092
+ __pi: *const prop_info,
23093
+ __old_serial: u32,
23094
+ __new_serial_ptr: *mut u32,
23095
+ __relative_timeout: *const timespec,
23096
+ ) -> bool;
23097
+ }
23098
+ extern "C" {
23099
+ pub fn __system_property_read(
23100
+ __pi: *const prop_info,
23101
+ __name: *mut ::std::os::raw::c_char,
23102
+ __value: *mut ::std::os::raw::c_char,
23103
+ ) -> ::std::os::raw::c_int;
23104
+ }
23105
+ extern "C" {
23106
+ pub fn __system_property_get(
23107
+ __name: *const ::std::os::raw::c_char,
23108
+ __value: *mut ::std::os::raw::c_char,
23109
+ ) -> ::std::os::raw::c_int;
23110
+ }
23111
+ extern "C" {
23112
+ pub fn __system_property_find_nth(__n: ::std::os::raw::c_uint) -> *const prop_info;
23113
+ }
23052
23114
pub type __builtin_va_list = [__va_list_tag; 1usize];
23053
23115
#[repr(C)]
23054
23116
#[derive(Debug, Copy, Clone)]
0 commit comments