Home
last modified time | relevance | path

Searched refs:BtBondState (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth.rs5 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 …]
Dbluetooth_media.rs4 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/
Dmetrics.rs2 BtAclState, BtBondState, BtConnectionDirection, BtDeviceType, BtHciErrorCode, BtState,
67 bond_state: BtBondState, in bond_state_changed() argument
Dbtif.rs89 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/
Dmetrics_event.cc48 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/
Dcallbacks.rs13 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()
Ddbus_iface.rs4 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/
Diface_bluetooth.rs2 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