/system/bt/gd/rust/topshim/src/ |
D | btif.rs | 79 pub mod ffi { module 251 pub adapter_properties_changed: Box<dyn Fn(i32, i32, Vec<ffi::BtProperty>) + Send>, 253 Box<dyn Fn(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>) + Send>, 254 pub device_found: Box<dyn Fn(i32, Vec<ffi::BtProperty>) + Send>, 256 pub pin_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, bool) + Send>, 257 pub ssp_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, i32, u32) + Send>, 258 pub bond_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32) + Send>, 259 pub acl_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32, i32) + Send>, 268 internal: cxx::UniquePtr<ffi::BluetoothIntf>, 273 BluetoothInterface { internal: ffi::Load() } in new() [all …]
|
/system/bt/gd/rust/shim/src/ |
D | hci.rs | 3 use crate::bridge::ffi; 11 unsafe impl Send for ffi::u8SliceCallback {} 12 unsafe impl Send for ffi::u8SliceOnceCallback {} 15 cb: cxx::UniquePtr<ffi::u8SliceCallback>, 38 callback: cxx::UniquePtr<ffi::u8SliceOnceCallback>, in hci_send_command() 79 pub fn hci_set_acl_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_acl_callback() 83 pub fn hci_set_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_evt_callback() 87 pub fn hci_set_le_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_le_evt_callback()
|
D | message_loop_thread.rs | 11 mod ffi { module 32 unsafe impl Send for ffi::OnceClosure {} 36 tx: UnboundedSender<cxx::UniquePtr<ffi::OnceClosure>>, 43 let (tx, mut rx) = unbounded_channel::<cxx::UniquePtr<ffi::OnceClosure>>(); in main_message_loop_thread_create() 61 closure: cxx::UniquePtr<ffi::OnceClosure>, in main_message_loop_thread_do_delayed()
|
D | init_flags.rs | 2 mod ffi { module
|
D | bridge.rs | 8 pub mod ffi { module
|
/system/bt/gd/rust/common/src/ |
D | sys_prop.rs | 6 pub mod ffi { module 15 use wrap::ffi; 20 let value = ffi::get(name); in get()
|
/system/extras/profcollectd/libprofcollectd/bindings/libflags/ |
D | lib.rs | 20 pub use ffi::GetServerConfigurableFlag; 23 mod ffi { module
|
/system/extras/profcollectd/libprofcollectd/bindings/libbase/ |
D | lib.rs | 19 pub use ffi::{GetProperty, SetProperty}; 23 mod ffi { module
|
/system/bt/gd/rust/hal/src/ |
D | hidl_hal.rs | 28 ffi::start_hal(); in provide_hidl_hal() 39 mod ffi { module 109 Some(cmd) = cmd_rx.recv() => ffi::send_command(&cmd.to_bytes()), in dispatch_outgoing() 110 Some(acl) = acl_rx.recv() => ffi::send_acl(&acl.to_bytes()), in dispatch_outgoing() 111 Some(iso) = iso_rx.recv() => ffi::send_iso(&iso.to_bytes()), in dispatch_outgoing()
|
/system/security/keystore2/src/crypto/ |
D | zvec.rs | 38 unsafe { mlock(b.as_ptr() as *const std::ffi::c_void, b.len()) }?; in new() 60 unsafe { munlock(self.elems.as_ptr() as *const std::ffi::c_void, self.elems.len()) } in drop() 115 unsafe { mlock(b.as_ptr() as *const std::ffi::c_void, b.len()) }?; in try_from()
|
/system/bt/gd/rust/linux/adapter/src/ |
D | main.rs | 2 use bt_topshim::btif::{ffi, BluetoothCallbacks, BluetoothInterface}; 19 AdapterPropertiesChanged(i32, i32, Vec<ffi::BtProperty>), 20 RemoteDevicePropertiesChanged(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>), 21 DeviceFound(i32, Vec<ffi::BtProperty>),
|
/system/bt/gd/rust/common/ |
D | Android.bp | 75 local_include_dirs: ["src/ffi"], 76 srcs: ["src/ffi/sys_prop.cc"],
|
D | BUILD.gn | 36 sources = [ "src/ffi/sys_props.cc" ] 38 include_dirs = [ "src/ffi" ]
|
/system/bt/gd/rust/hal/ |
D | Android.bp | 69 srcs: ["src/ffi/hidl.cc"], 70 local_include_dirs: ["src/ffi"],
|
/system/bt/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 3 use bt_topshim::btif::ffi; 95 properties: Vec<ffi::BtProperty>, in adapter_properties_changed() 136 properties: Vec<ffi::BtProperty>, in adapter_properties_changed()
|
D | lib.rs | 12 use bt_topshim::btif::ffi; 59 BluetoothAdapterPropertiesChanged(i32, i32, Vec<ffi::BtProperty>),
|
/system/security/keystore2/apc_compat/ |
D | apc_compat.rs | 30 use std::{ffi::CString, slice}; 161 data: cb_data_ptr as *mut std::ffi::c_void, in prompt_user_confirmation()
|
/system/security/keystore2/system_property/ |
D | lib.rs | 23 ffi::{c_void, CStr, CString}, 33 BadNameError(#[from] std::ffi::NulError),
|
/system/extras/simpleperf/rust/ |
D | lib.rs | 20 use std::ffi::CString;
|
/system/security/keystore2/src/vintf/ |
D | lib.rs | 20 use std::ffi::{CStr, CString};
|
/system/logging/rust/ |
D | logger.rs | 19 use std::ffi::CString;
|
/system/extras/profcollectd/libprofcollectd/ |
D | service.rs | 23 use std::ffi::CString;
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 83 e.root_cause().downcast_ref::<rusqlite::ffi::Error>(), in is_locked_error() 84 Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseBusy, .. }) in is_locked_error() 85 | Some(rusqlite::ffi::Error { code: rusqlite::ErrorCode::DatabaseLocked, .. }) in is_locked_error()
|
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/ |
D | state_machine.rs | 160 if event.name == Some(std::ffi::OsStr::new("bluetooth.pid")) { in mainloop() 181 if event.name == Some(std::ffi::OsStr::new("bluetooth.pid")) { in mainloop()
|
/system/security/keystore2/selinux/src/ |
D | lib.rs | 30 use std::ffi::{CStr, CString};
|