/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/ |
D | gatt_connect_test.py | 82 for bluetooth_gatt in self.bluetooth_gatt_list: 83 self.central.sl4a.gattClientClose(bluetooth_gatt) 91 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument 94 disconnect_gatt_connection(self.central, bluetooth_gatt, gatt_callback) 96 close_gatt_client(self.central, bluetooth_gatt) 98 if bluetooth_gatt in self.bluetooth_gatt_list: 99 self.bluetooth_gatt_list.remove(bluetooth_gatt) 171 …bluetooth_gatt, gatt_callback, adv_callback = (orchestrate_gatt_connection(self.central, self.peri… 172 self.bluetooth_gatt_list.append(bluetooth_gatt) 178 assertThat(self._orchestrate_gatt_disconnection(bluetooth_gatt, gatt_callback)).isTrue() [all …]
|
D | gatt_notify_test.py | 60 …self.bluetooth_gatt, self.discovered_services_index, self.test_service_index, self.NOTIFIABLE_CHAR… 63 … self.central.sl4a.gattClientWriteDescriptor(self.bluetooth_gatt, self.discovered_services_index, 68 …self.central.sl4a.gattClientSetCharacteristicNotification(self.bluetooth_gatt, self.discovered_ser…
|
D | gatt_connect_with_irk_test.py | 135 bluetooth_gatt = self.dut.sl4a.gattClientConnectGatt(gatt_callback, mac_address, False, 137 assertThat(bluetooth_gatt).isNotNone()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_gatt_utils.py | 55 …bluetooth_gatt = central.sl4a.gattClientConnectGatt(gatt_callback, mac_address, autoconnect, trans… 61 close_gatt_client(central, bluetooth_gatt) 66 close_gatt_client(central, bluetooth_gatt) 69 return bluetooth_gatt, gatt_callback 72 def wait_for_gatt_connection(central: AndroidDevice, gatt_callback, bluetooth_gatt, timeout): argument 77 close_gatt_client(central, bluetooth_gatt) 81 close_gatt_client(central, bluetooth_gatt) 83 central.sl4a.gattClientClose(bluetooth_gatt) 90 def close_gatt_client(central: AndroidDevice, bluetooth_gatt): argument 92 central.sl4a.gattClientClose(bluetooth_gatt) [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/ |
D | gatt_connect_low_layer_test.py | 58 for bluetooth_gatt in self.bluetooth_gatt_list: 59 self.dut.sl4a.gattClientClose(bluetooth_gatt) 129 def _disconnect_gatt(self, device: AndroidDevice, bluetooth_gatt, gatt_callback): argument 131 disconnect_gatt_connection(device, bluetooth_gatt, gatt_callback) 136 close_gatt_client(device, bluetooth_gatt) 137 if bluetooth_gatt in self.bluetooth_gatt_list: 138 self.bluetooth_gatt_list.remove(bluetooth_gatt) 140 def _wait_for_gatt_connection(self, device: AndroidDevice, gatt_callback, bluetooth_gatt): argument 142 … wait_for_gatt_connection(device, gatt_callback, bluetooth_gatt, timeout=self.default_timeout) 192 bluetooth_gatt, gatt_callback = setup_gatt_connection( [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/ |
D | gatt_connected_base_test.py | 66 self.bluetooth_gatt, self.gatt_callback, self.adv_callback = (orchestrate_gatt_connection( 72 if self.central.sl4a.gattClientDiscoverServices(self.bluetooth_gatt): 102 self._orchestrate_gatt_disconnection(self.bluetooth_gatt, self.gatt_callback) 152 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument 155 disconnect_gatt_connection(self.central, bluetooth_gatt, gatt_callback) 159 self.central.sl4a.gattClientClose(bluetooth_gatt)
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | main.rs | 13 bluetooth_gatt::BluetoothGatt, 64 let bluetooth_gatt = Arc::new(Mutex::new(Box::new(BluetoothGatt::new(intf.clone())))); in main() localVariable 106 bluetooth_gatt.clone(), in main() 128 bluetooth_gatt.clone(), in main() 159 bluetooth_gatt.lock().unwrap().init_profiles(tx.clone()); in main()
|
D | iface_bluetooth_gatt.rs | 3 use btstack::bluetooth_gatt::{
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/security/ |
D | irk_rotation_test.py | 139 bluetooth_gatt = self.dut.sl4a.gattClientConnectGatt(gatt_callback, connect_address, False, 141 assertThat(bluetooth_gatt).isNotNone() 147 self.dut.sl4a.gattClientClose(bluetooth_gatt) 152 bluetooth_gatt = self.dut.sl4a.gattClientConnectGatt(gatt_callback, connect_address, False, 154 assertThat(bluetooth_gatt).isNotNone()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | lib.rs | 10 pub mod bluetooth_gatt; module 21 use crate::bluetooth_gatt::BluetoothGatt; 77 bluetooth_gatt: Arc<Mutex<Box<BluetoothGatt>>>, in dispatch() 103 bluetooth_gatt.lock().unwrap().dispatch_gatt_client_callbacks(m); in dispatch()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | callbacks.rs | 13 use btstack::bluetooth_gatt::{BluetoothGattService, IBluetoothGattCallback, LePhy};
|
D | command_handler.rs | 10 use btstack::bluetooth_gatt::IBluetoothGatt;
|
D | dbus_iface.rs | 9 use btstack::bluetooth_gatt::{
|