/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 5 BtAddrType, BtBondState, BtConnectionDirection, BtConnectionState, BtDeviceType, BtDiscMode, 173 fn get_bond_state(&self, device: BluetoothDevice) -> BtBondState; in get_bond_state() argument 374 pub bond_state: BtBondState, 389 bond_state: BtBondState, in new() argument 698 ctx.bond_state == BtBondState::Bonded in update_connectable_mode() 1106 .filter(|v| v.is_connected() && v.bond_state == BtBondState::Bonded) in get_bonded_and_connected_devices() 1112 pub fn get_bond_state_by_addr(&self, addr: &RawAddress) -> BtBondState { in get_bond_state_by_addr() argument 1113 self.remote_devices.get(addr).map_or(BtBondState::NotBonded, |d| d.bond_state.clone()) in get_bond_state_by_addr() 1130 now < &fresh_at || d.is_connected() || d.bond_state != BtBondState::NotBonded in trigger_freshness_check() 1159 if device.bond_state != BtBondState::Bonded && !device.is_connected() { in send_metrics_remote_device_info() [all …]
|
D | bluetooth_media.rs | 4 BluetoothInterface, BtBondState, BtConnectionDirection, BtStatus, BtTransport, DisplayAddress, 2235 BtBondState::Bonded == adapter.lock().unwrap().get_bond_state_by_addr(&addr) in is_bonded()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | metrics.rs | 2 BtAclState, BtBondState, BtConnectionDirection, BtDeviceType, BtHciErrorCode, BtState, 67 bond_state: BtBondState, in bond_state_changed() argument
|
D | btif.rs | 89 pub enum BtBondState { enum 95 impl From<bindings::bt_bond_state_t> for BtBondState { implementation 97 BtBondState::from_u32(item).unwrap_or(BtBondState::NotBonded) in from() 1040 BondState(BtStatus, RawAddress, BtBondState, i32), 1097 u32 -> BtStatus, *mut RawAddress, bindings::bt_bond_state_t -> BtBondState, i32, {
|
/packages/modules/Bluetooth/system/gd/metrics/chromeos/ |
D | metrics_event.cc | 48 typedef bt_bond_state_t BtBondState; typedef 269 …if ((BtBondState)bond_state == BtBondState::BT_BOND_STATE_BONDING) return PairingState::PAIR_START… in ToPairingState() 272 if ((BtBondState)bond_state == BtBondState::BT_BOND_STATE_BONDED) { in ToPairingState()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | callbacks.rs | 13 use bt_topshim::btif::{BtBondState, BtPropertyType, BtSspVariant, BtStatus, RawAddress, Uuid}; 272 match BtBondState::from(state) { in on_bond_state_changed() 273 BtBondState::NotBonded | BtBondState::Bonded => { in on_bond_state_changed() 285 BtBondState::Bonding => (), in on_bond_state_changed() 291 if BtBondState::Bonded == state.into() { in on_bond_state_changed() 296 if BtBondState::NotBonded == state.into() { in on_bond_state_changed()
|
D | dbus_iface.rs | 4 BtAddrType, BtBondState, BtConnectionState, BtDeviceType, BtDiscMode, BtPropertyType, 85 impl_dbus_arg_enum!(BtBondState); 885 fn get_bond_state(&self, device: BluetoothDevice) -> BtBondState { in get_bond_state() argument
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 2 BtAddrType, BtBondState, BtConnectionState, BtDeviceType, BtDiscMode, BtPropertyType, 172 impl_dbus_arg_enum!(BtBondState); 620 fn get_bond_state(&self, device: BluetoothDevice) -> BtBondState { in get_bond_state() argument
|