Home
last modified time | relevance | path

Searched refs:bluetooth_gatt (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/
Dgatt_connect_test.py82 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)
171bluetooth_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 …]
Dgatt_notify_test.py60 …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…
Dgatt_connect_with_irk_test.py135 bluetooth_gatt = self.dut.sl4a.gattClientConnectGatt(gatt_callback, mac_address, False,
137 assertThat(bluetooth_gatt).isNotNone()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_gatt_utils.py55bluetooth_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/
Dgatt_connect_low_layer_test.py58 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/
Dgatt_connected_base_test.py66 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/
Dmain.rs13 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()
Diface_bluetooth_gatt.rs3 use btstack::bluetooth_gatt::{
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/security/
Dirk_rotation_test.py139 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/
Dlib.rs10 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/
Dcallbacks.rs13 use btstack::bluetooth_gatt::{BluetoothGattService, IBluetoothGattCallback, LePhy};
Dcommand_handler.rs10 use btstack::bluetooth_gatt::IBluetoothGatt;
Ddbus_iface.rs9 use btstack::bluetooth_gatt::{