Home
last modified time | relevance | path

Searched refs:BtDeviceType (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dmetrics.rs2 BtAclState, BtBondState, BtConnectionDirection, BtDeviceType, BtHciErrorCode, BtState,
59 pub fn bond_create_attempt(addr: RawAddress, device_type: BtDeviceType) { in bond_create_attempt() argument
65 device_type: BtDeviceType, in bond_state_changed() argument
81 device_type: BtDeviceType, in device_info_report() argument
Dbtif.rs138 pub enum BtDeviceType { enum
574 TypeOfDevice(BtDeviceType),
644 BluetoothProperty::TypeOfDevice(_) => mem::size_of::<BtDeviceType>(), in get_len()
699 data.copy_from_slice(&BtDeviceType::to_u32(tod).unwrap_or_default().to_ne_bytes()); in get_data_ptr()
808 BtDeviceType::from_u32(u32_from_bytes(slice)).unwrap_or(BtDeviceType::Unknown), in from()
/packages/modules/Bluetooth/system/gd/metrics/chromeos/
Dmetrics_event.cc63 enum class BtDeviceType { enum
248 switch ((BtDeviceType)device_type) { in ToPairingDeviceType()
249 case BtDeviceType::Ble: in ToPairingDeviceType()
252 case BtDeviceType::Bredr: in ToPairingDeviceType()
255 case BtDeviceType::Dual: in ToPairingDeviceType()
256 case BtDeviceType::Unknown: in ToPairingDeviceType()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs5 BtAddrType, BtBondState, BtConnectionDirection, BtConnectionState, BtDeviceType, BtDiscMode,
188 fn get_remote_type(&self, device: BluetoothDevice) -> BtDeviceType; in get_remote_type() argument
441 BtDeviceType::Bredr => BtTransport::Bredr, in get_default_transport()
442 BtDeviceType::Ble => BtTransport::Le, in get_default_transport()
705 Some(*transport != BtDeviceType::Ble) in update_connectable_mode()
1164 let mut device_type = BtDeviceType::Unknown; in send_metrics_remote_device_info()
2067 BtDeviceType::Bredr => BtTransport::Bredr, in acl_state()
2068 BtDeviceType::Ble => BtTransport::Le, in acl_state()
2393 BtTransport::Bredr => BtDeviceType::Bredr, in create_bond()
2394 BtTransport::Le => BtDeviceType::Ble, in create_bond()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth.rs2 BtAddrType, BtBondState, BtConnectionState, BtDeviceType, BtDiscMode, BtPropertyType,
174 impl_dbus_arg_enum!(BtDeviceType);
645 fn get_remote_type(&self, _device: BluetoothDevice) -> BtDeviceType { in get_remote_type() argument
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Ddbus_iface.rs4 BtAddrType, BtBondState, BtConnectionState, BtDeviceType, BtDiscMode, BtPropertyType,
87 impl_dbus_arg_enum!(BtDeviceType);
910 fn get_remote_type(&self, device: BluetoothDevice) -> BtDeviceType { in get_remote_type() argument