Searched refs:bonded_devices (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_storage.cc | 632 btif_bonded_devices_t bonded_devices; in btif_storage_get_adapter_property() local 634 btif_in_fetch_bonded_devices(&bonded_devices, 0); in btif_storage_get_adapter_property() 639 __func__, bonded_devices.num_devices); in btif_storage_get_adapter_property() 641 property->len = bonded_devices.num_devices * RawAddress::kLength; in btif_storage_get_adapter_property() 642 memcpy(property->val, bonded_devices.devices, property->len); in btif_storage_get_adapter_property() 942 btif_bonded_devices_t bonded_devices; in btif_storage_load_le_devices() local 943 btif_in_fetch_bonded_devices(&bonded_devices, 1); in btif_storage_load_le_devices() 945 for (uint16_t i = 0; i < bonded_devices.num_devices; i++) { in btif_storage_load_le_devices() 946 bonded_addresses.insert(bonded_devices.devices[i]); in btif_storage_load_le_devices() 950 for (uint16_t i = 0; i < bonded_devices.num_devices; i++) { in btif_storage_load_le_devices() [all …]
|
D | btif_core.cc | 334 RawAddress bonded_devices[BTM_SEC_MAX_DEVICE_RECORDS]; in btif_in_get_adapter_properties() local 372 sizeof(bonded_devices), bonded_devices); in btif_in_get_adapter_properties()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | main.rs | 69 pub(crate) bonded_devices: HashMap<String, BluetoothDevice>, field 158 bonded_devices: HashMap::new(), in new() 245 let bonded_devices = self.adapter_dbus.as_ref().unwrap().get_bonded_devices(); in update_bonded_devices() localVariable 247 for device in bonded_devices { in update_bonded_devices() 248 self.bonded_devices.insert(device.address.clone(), device.clone()); in update_bonded_devices() 273 self.bonded_devices in get_devices()
|
D | callbacks.rs | 150 self.context.lock().unwrap().bonded_devices.remove(&remote_device.address); in on_device_cleared() 249 self.context.lock().unwrap().bonded_devices.insert(address.clone(), device.clone()); in on_bond_state_changed() 254 self.context.lock().unwrap().bonded_devices.remove(&address); in on_bond_state_changed()
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/ |
D | gatt_connect_test.py | 856 bonded_devices = \ 858 for device in bonded_devices: 865 bonded_devices = \ 867 for device in bonded_devices: 886 bonded_devices = ad.sl4a.bluetoothGetBondedDevices() 887 if len(bonded_devices) > 0: 888 logging.error("Failed to unbond devices: {}".format(bonded_devices)) 889 asserts.fail("Failed to unbond devices: {}".format(bonded_devices))
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/ |
D | security.py | 122 bonded_devices = self.__device.sl4a.bluetoothGetBondedDevices() 123 for device in bonded_devices:
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth.rs | 455 bonded_devices: HashMap<String, BluetoothDeviceContext>, field 499 bonded_devices: HashMap::new(), in new() 676 self.bonded_devices.get(address).or_else(|| self.found_devices.get(address)) in get_remote_device_if_found() 683 match self.bonded_devices.get_mut(address) { in get_remote_device_if_found_mut() 782 self.bonded_devices in get_bonded_and_connected_devices() 791 match self.bonded_devices.get(addr) { in get_bond_state_by_addr() 1244 self.bonded_devices in adapter_properties_changed() 1425 self.bonded_devices.remove(&address); in bond_state() 1431 else if &bond_state == &BtBondState::Bonded && !self.bonded_devices.contains_key(&address) in bond_state() 1453 self.bonded_devices.insert(address.clone(), device); in bond_state() [all …]
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | android_bluetooth_decorator.py | 192 bonded_devices = sl4a.bluetoothGetBondedDevices() 193 for b in bonded_devices:
|