Home
last modified time | relevance | path

Searched refs:BtIoCap (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs367 pub enum BtIoCap { enum
377 impl From<bindings::bt_io_cap_t> for BtIoCap { implementation
379 BtIoCap::from_u32(item).unwrap_or(BtIoCap::Unknown) in from()
583 LocalIoCaps(BtIoCap),
584 LocalIoCapsBle(BtIoCap),
659 BluetoothProperty::LocalIoCaps(_) => mem::size_of::<BtIoCap>(), in get_len()
660 BluetoothProperty::LocalIoCapsBle(_) => mem::size_of::<BtIoCap>(), in get_len()
752 data.copy_from_slice(&BtIoCap::to_u32(iocap).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
755 data.copy_from_slice(&BtIoCap::to_u32(iocap).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
841 BtIoCap::from_u32(u32_from_bytes(slice)).unwrap_or(BtIoCap::Unknown), in from()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs4 use bt_topshim::btif::{BaseCallbacks, BaseCallbacksDispatcher, BluetoothInterface, BtIoCap};
367 BtIoCap::from_i32(req.io_capability).unwrap_or(BtIoCap::Unknown), in set_local_io_caps()