/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | metrics.rs | 7 mod ffi { module 54 ffi::adapter_state_changed(state as u32); in adapter_state_changed() 58 ffi::bond_create_attempt(addr, device_type as u32); in bond_create_attempt() 68 ffi::bond_state_changed( in bond_state_changed() 87 ffi::device_info_report( in device_info_report() 105 ffi::profile_connection_state_changed(addr, profile, status as u32, state); in profile_connection_state_changed() 109 ffi::acl_connect_attempt(addr, acl_state as u32); in acl_connect_attempt() 120 ffi::acl_connection_state_changed( in acl_connection_state_changed()
|
D | controller.rs | 2 mod ffi { module 19 internal: cxx::UniquePtr<ffi::ControllerIntf>, 26 let intf = ffi::GetControllerInterface(); in new()
|
/packages/modules/Bluetooth/system/rust/ |
D | Android.bp | 116 "src/connection/ffi/connection_shim.cc", 117 "src/core/ffi/module.cc", 118 "src/gatt/ffi/gatt_shim.cc", 169 /// To add FFI for a new module, create an ffi.rs file, and add it to the filegroup below. 174 "src/connection/ffi.rs", 175 "src/core/ffi.rs", 176 "src/gatt/ffi.rs",
|
D | BUILD.gn | 25 "src/connection/ffi/connection_shim.cc", 26 "src/core/ffi/module.cc", 27 "src/gatt/ffi/gatt_shim.cc",
|
/packages/modules/Bluetooth/system/gd/rust/stack/src/hal/ |
D | hidl_hal.rs | 30 ffi::start_hal(); in provide_hidl_hal() 46 mod ffi { module 124 Some(cmd) = cmd_rx.recv() => ffi::send_command(&cmd.to_bytes()), in dispatch_outgoing() 125 Some(acl) = acl_rx.recv() => ffi::send_acl(&acl.to_bytes()), in dispatch_outgoing() 126 Some(iso) = iso_rx.recv() => ffi::send_iso(&iso.to_bytes()), in dispatch_outgoing() 127 Some(sco) = sco_rx.recv() => ffi::send_sco(&sco.to_bytes()), in dispatch_outgoing()
|
/packages/modules/Bluetooth/system/gd/rust/common/src/ |
D | parameter_provider.rs | 1 use crate::bridge::ffi::BluetoothKeystoreInterface; 134 use crate::bridge::ffi; 135 use crate::bridge::ffi::BluetoothKeystoreInterface; 255 let choice_ptr1: cxx::UniquePtr<ffi::BluetoothKeystoreInterface> = in test_bt_keystore_interface() 256 ffi::new_bt_keystore_interface(); in test_bt_keystore_interface() 259 let choice_ptr2: cxx::UniquePtr<ffi::BluetoothKeystoreInterface> = in test_bt_keystore_interface() 260 ffi::new_bt_keystore_interface(); in test_bt_keystore_interface() 277 let ptr1: cxx::UniquePtr<ffi::BluetoothKeystoreInterface> = in test_bt_keystore_interface() 278 ffi::new_bt_keystore_interface(); in test_bt_keystore_interface() 283 let ptr2: cxx::UniquePtr<ffi::BluetoothKeystoreInterface> = in test_bt_keystore_interface() [all …]
|
D | bridge.rs | 7 pub mod ffi { module
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | hfp.rs | 69 pub mod ffi { module 179 pub type TelephonyDeviceStatus = ffi::TelephonyDeviceStatus; 192 pub type CallState = ffi::CallState; 193 pub type CallInfo = ffi::CallInfo; 194 pub type PhoneState = ffi::PhoneState; 195 pub type CallHoldCommand = ffi::CallHoldCommand; 280 internal: cxx::UniquePtr<ffi::HfpIntf>, 309 let hfpif: cxx::UniquePtr<ffi::HfpIntf>; in new() 311 hfpif = ffi::GetHfpProfile(intf.as_raw_ptr()); in new()
|
D | a2dp.rs | 146 pub mod ffi { module 233 pub type A2dpCodecConfig = ffi::A2dpCodecConfig; 234 pub type PresentationPosition = ffi::RustPresentationPosition; 235 pub type FfiA2dpError<'a> = ffi::A2dpError<'a>; 297 internal: cxx::UniquePtr<ffi::A2dpIntf>, 326 let a2dpif: cxx::UniquePtr<ffi::A2dpIntf>; in new() 328 a2dpif = ffi::GetA2dpProfile(intf.as_raw_ptr()); in new() 417 internal: cxx::UniquePtr<ffi::A2dpSinkIntf>, 446 let a2dp_sink: cxx::UniquePtr<ffi::A2dpSinkIntf>; in new() 448 a2dp_sink = ffi::GetA2dpSinkProfile(intf.as_raw_ptr()); in new()
|
D | gatt.rs | 28 pub mod ffi { module 426 pub type AdvertisingTrackInfo = ffi::RustAdvertisingTrackInfo; 427 pub type GattFilterParam = ffi::RustGattFilterParam; 428 pub type ApcfCommand = ffi::RustApcfCommand; 429 pub type MsftAdvMonitor = ffi::RustMsftAdvMonitor; 430 pub type MsftAdvMonitorPattern = ffi::RustMsftAdvMonitorPattern; 431 pub type AdvertiseParameters = ffi::RustAdvertiseParameters; 432 pub type PeriodicAdvertisingParameters = ffi::RustPeriodicAdvertisingParameters; 446 impl From<ffi::RustUuid> for Uuid { 447 fn from(item: ffi::RustUuid) -> Self { in from() [all …]
|
D | avrcp.rs | 22 pub mod ffi { module 115 internal: cxx::UniquePtr<ffi::AvrcpIntf>, 144 let avrcpif: cxx::UniquePtr<ffi::AvrcpIntf>; in new() 146 avrcpif = ffi::GetAvrcpProfile(intf.as_raw_ptr()); in new()
|
/packages/modules/Virtualization/vmbase/src/ |
D | bionic.rs | 17 use core::ffi::c_char; 18 use core::ffi::c_int; 19 use core::ffi::c_void; 20 use core::ffi::CStr;
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 26 use std::ffi::CString; 196 std::ffi::CStr::from_ptr(url).to_str(), in doh_net_new() 197 std::ffi::CStr::from_ptr(domain).to_str(), in doh_net_new() 198 std::ffi::CStr::from_ptr(ip_addr).to_str(), in doh_net_new() 199 std::ffi::CStr::from_ptr(cert_path).to_str(), in doh_net_new() 372 let ip_addr = std::ffi::CStr::from_ptr(ip_addr).to_str().unwrap(); in assert_validation_info() 375 let host = std::ffi::CStr::from_ptr(host).to_str().unwrap(); in assert_validation_info()
|
D | doh.rs | 24 mod ffi; module
|
D | doh_test_superset_for_fuzzer.rs | 25 mod ffi; module
|
/packages/modules/Bluetooth/system/rust/src/core/ |
D | mod.rs | 4 mod ffi; module 16 gatt::ffi::{AttTransportImpl, GattCallbacksImpl}, 20 use self::ffi::{future_ready, Future, GattServerCallbacks};
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/ |
D | lib.rs | 4 mod ffi; module 9 pub use ffi::*;
|
/packages/modules/Bluetooth/system/rust/src/ |
D | gatt.rs | 7 pub mod ffi; module 16 pub use ffi::GattServerCallbacks;
|
/packages/modules/Virtualization/encryptedstore/src/ |
D | main.rs | 25 use std::ffi::CString; 28 use std::os::unix::ffi::OsStrExt; 162 mount_options.as_ptr() as *const std::ffi::c_void, in mount()
|
/packages/modules/Virtualization/compos/composd/native/ |
D | lib.rs | 22 use std::ffi::{CStr, OsStr}; 24 use std::os::unix::ffi::OsStrExt;
|
/packages/modules/Bluetooth/system/gd/rust/shim/src/ |
D | init_flags.rs | 2 mod ffi { module 63 use crate::init_flags::ffi::InitFlagWithValue;
|
/packages/modules/Virtualization/pvmfw/src/ |
D | dice.rs | 19 use core::ffi::c_void; 20 use core::ffi::CStr;
|
/packages/modules/Bluetooth/system/gd/rust/stack/ |
D | Android.bp | 111 srcs: ["src/hal/ffi/hidl.cc"], 112 local_include_dirs: ["src/hal/ffi"],
|
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/ |
D | mod.rs | 21 pub mod ffi; module
|
/packages/modules/Bluetooth/tools/rootcanal/rust/ |
D | cbindgen.toml | 7 // cbindgen --config cbindgen.toml src/ffi.rs -o include/lmp.h
|