Home
last modified time | relevance | path

Searched refs:BluetoothProperty (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs569 pub enum BluetoothProperty { enum
606 impl BluetoothProperty { impl
609 BluetoothProperty::BdName(_) => BtPropertyType::BdName, in get_type()
610 BluetoothProperty::BdAddr(_) => BtPropertyType::BdAddr, in get_type()
611 BluetoothProperty::Uuids(_) => BtPropertyType::Uuids, in get_type()
612 BluetoothProperty::ClassOfDevice(_) => BtPropertyType::ClassOfDevice, in get_type()
613 BluetoothProperty::TypeOfDevice(_) => BtPropertyType::TypeOfDevice, in get_type()
614 BluetoothProperty::ServiceRecord(_) => BtPropertyType::ServiceRecord, in get_type()
615 BluetoothProperty::AdapterScanMode(_) => BtPropertyType::AdapterScanMode, in get_type()
616 BluetoothProperty::AdapterBondedDevices(_) => BtPropertyType::AdapterBondedDevices, in get_type()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dutils.rs4 use bt_topshim::btif::BluetoothProperty;
7 pub fn bluetooth_property_to_event_data(property: BluetoothProperty) -> (String, EventData) { in bluetooth_property_to_event_data()
9 BluetoothProperty::BdName(name) => { in bluetooth_property_to_event_data()
12 BluetoothProperty::BdAddr(address) => { in bluetooth_property_to_event_data()
15 BluetoothProperty::Uuids(uuids) => { in bluetooth_property_to_event_data()
22 BluetoothProperty::AdapterScanMode(mode) => { in bluetooth_property_to_event_data()
25 BluetoothProperty::LocalIoCaps(caps) => { in bluetooth_property_to_event_data()
Dadapter_service.rs255 .set_adapter_property(btif::BluetoothProperty::AdapterScanMode(scan_mode)); in set_discovery_mode()
366 btif::BluetoothProperty::LocalIoCaps( in set_local_io_caps()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs4 BaseCallbacks, BaseCallbacksDispatcher, BluetoothInterface, BluetoothProperty, BtAclState,
347 pub(crate) fn from_properties(in_properties: &Vec<BluetoothProperty>) -> Self { in from_properties()
353 BluetoothProperty::BdAddr(bdaddr) => { in from_properties()
356 BluetoothProperty::BdName(bdname) => { in from_properties()
377 pub properties: HashMap<BtPropertyType, BluetoothProperty>,
394 properties: Vec<BluetoothProperty>, in new() argument
411 pub(crate) fn update_properties(&mut self, in_properties: &Vec<BluetoothProperty>) { in update_properties() argument
415 BluetoothProperty::BdAddr(bdaddr) => { in update_properties()
419 BluetoothProperty::BdName(bdname) => { in update_properties()
440 BluetoothProperty::TypeOfDevice(t) => match *t { in get_default_transport()
[all …]
Dbluetooth_admin.rs13 use bt_topshim::btif::{BluetoothProperty, Uuid};
173 properties: &Vec<BluetoothProperty>, in on_remote_device_properties_changed() argument
176 BluetoothProperty::Uuids(uuids) => Some(uuids.clone()), in on_remote_device_properties_changed()