Home
last modified time | relevance | path

Searched refs:ffi (Results 1 – 25 of 77) sorted by relevance

1234

/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dmetrics.rs7 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()
Dcontroller.rs2 mod ffi { module
19 internal: cxx::UniquePtr<ffi::ControllerIntf>,
26 let intf = ffi::GetControllerInterface(); in new()
/packages/modules/Bluetooth/system/rust/
DAndroid.bp116 "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",
DBUILD.gn25 "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/
Dhidl_hal.rs30 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/
Dparameter_provider.rs1 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 …]
Dbridge.rs7 pub mod ffi { module
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhfp.rs69 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()
Da2dp.rs146 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()
Dgatt.rs28 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 …]
Davrcp.rs22 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/
Dbionic.rs17 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/
Dffi.rs26 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()
Ddoh.rs24 mod ffi; module
Ddoh_test_superset_for_fuzzer.rs25 mod ffi; module
/packages/modules/Bluetooth/system/rust/src/core/
Dmod.rs4 mod ffi; module
16 gatt::ffi::{AttTransportImpl, GattCallbacksImpl},
20 use self::ffi::{future_ready, Future, GattServerCallbacks};
/packages/modules/Bluetooth/tools/rootcanal/rust/src/
Dlib.rs4 mod ffi; module
9 pub use ffi::*;
/packages/modules/Bluetooth/system/rust/src/
Dgatt.rs7 pub mod ffi; module
16 pub use ffi::GattServerCallbacks;
/packages/modules/Virtualization/encryptedstore/src/
Dmain.rs25 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/
Dlib.rs22 use std::ffi::{CStr, OsStr};
24 use std::os::unix::ffi::OsStrExt;
/packages/modules/Bluetooth/system/gd/rust/shim/src/
Dinit_flags.rs2 mod ffi { module
63 use crate::init_flags::ffi::InitFlagWithValue;
/packages/modules/Virtualization/pvmfw/src/
Ddice.rs19 use core::ffi::c_void;
20 use core::ffi::CStr;
/packages/modules/Bluetooth/system/gd/rust/stack/
DAndroid.bp111 srcs: ["src/hal/ffi/hidl.cc"],
112 local_include_dirs: ["src/hal/ffi"],
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dmod.rs21 pub mod ffi; module
/packages/modules/Bluetooth/tools/rootcanal/rust/
Dcbindgen.toml7 // cbindgen --config cbindgen.toml src/ffi.rs -o include/lmp.h

1234