Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/ble/gatt/
DGattConnectTest.py79 for bluetooth_gatt in self.bluetooth_gatt_list:
80 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
87 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
90 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
92 close_gatt_client(self.cen_ad, bluetooth_gatt)
93 if bluetooth_gatt in self.bluetooth_gatt_list:
94 self.bluetooth_gatt_list.remove(bluetooth_gatt)
179 bluetooth_gatt, gatt_callback, adv_callback = (
181 self.bluetooth_gatt_list.append(bluetooth_gatt)
186 return self._orchestrate_gatt_disconnection(bluetooth_gatt,
[all …]
DGattWriteTest.py59 self.bluetooth_gatt, self.discovered_services_index,
63 self.bluetooth_gatt, self.discovered_services_index,
68 self.bluetooth_gatt, self.discovered_services_index,
117 self.bluetooth_gatt, self.discovered_services_index,
122 self.bluetooth_gatt, self.discovered_services_index,
172 self.bluetooth_gatt, self.discovered_services_index,
176 self.bluetooth_gatt, self.discovered_services_index,
181 self.bluetooth_gatt, self.discovered_services_index,
226 self.bluetooth_gatt, self.discovered_services_index,
230 self.bluetooth_gatt, self.discovered_services_index,
[all …]
DGattToolTest.py148 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
157 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
159 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
163 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
204 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
212 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
214 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
250 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
256 if self.cen_ad.droid.gattClientDiscoverServices(bluetooth_gatt):
269 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
[all …]
DGattNotifyTest.py58 self.bluetooth_gatt, self.discovered_services_index,
64 self.bluetooth_gatt, self.discovered_services_index,
70 self.bluetooth_gatt, self.discovered_services_index,
DGattReadTest.py57 self.bluetooth_gatt, self.discovered_services_index,
119 self.bluetooth_gatt, self.discovered_services_index,
177 self.bluetooth_gatt, self.READABLE_CHAR_UUID, 0x0001, 0xFFFF)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dgattc_lib.py44 self.bluetooth_gatt = None
71 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
78 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
87 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
97 disconnect_gatt_connection(self.dut, self.bluetooth_gatt,
102 self.dut.droid.gattClientClose(self.bluetooth_gatt)
108 self.dut.droid.gattClientDiscoverServices(self.bluetooth_gatt)
120 self.bluetooth_gatt, uuid, 0x0001, 0xFFFF)
124 setup_gatt_mtu(self.dut, self.bluetooth_gatt, self.gatt_callback,
133 self.bluetooth_gatt)
[all …]
Dbt_gatt_utils.py47 bluetooth_gatt = cen_ad.droid.gattClientConnectGatt(
54 close_gatt_client(cen_ad, bluetooth_gatt)
59 close_gatt_client(cen_ad, bluetooth_gatt)
61 cen_ad.droid.gattClientClose(bluetooth_gatt)
67 return bluetooth_gatt, gatt_callback
70 def close_gatt_client(cen_ad, bluetooth_gatt): argument
72 cen_ad.droid.gattClientClose(bluetooth_gatt)
77 def disconnect_gatt_connection(cen_ad, bluetooth_gatt, gatt_callback): argument
78 cen_ad.droid.gattClientDisconnect(bluetooth_gatt)
117 bluetooth_gatt, gatt_callback = setup_gatt_connection(
[all …]
DGattConnectedBaseTest.py61 self.bluetooth_gatt, self.gatt_callback, self.adv_callback = (
67 if self.cen_ad.droid.gattClientDiscoverServices(self.bluetooth_gatt):
100 self._orchestrate_gatt_disconnection(self.bluetooth_gatt,
158 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
161 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
166 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
/tools/test/connectivity/acts/tests/google/bt/gatt/
DGattOverBrEdrTest.py70 for bluetooth_gatt in self.bluetooth_gatt_list:
71 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
80 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
83 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
85 if bluetooth_gatt in self.bluetooth_gatt_list:
86 self.bluetooth_gatt_list.remove(bluetooth_gatt)
134 bluetooth_gatt, gatt_callback, adv_callback = (
138 self.bluetooth_gatt_list.append(bluetooth_gatt)
142 return self._orchestrate_gatt_disconnection(bluetooth_gatt,
178 bluetooth_gatt, gatt_callback, adv_callback = (
[all …]
/tools/test/connectivity/acts/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py47 for bluetooth_gatt in self.bluetooth_gatt_list:
48 self.pri_ad.droid.gattClientClose(bluetooth_gatt)
55 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
71 disconnect_gatt_connection(self.pri_ad, bluetooth_gatt,
73 close_gatt_client(self.pri_ad, bluetooth_gatt)
74 if bluetooth_gatt in self.bluetooth_gatt_list:
75 self.bluetooth_gatt_list.remove(bluetooth_gatt)
131 bluetooth_gatt, gatt_callback, adv_callback = (
133 self.bluetooth_gatt_list.append(bluetooth_gatt)
139 return self._orchestrate_gatt_disconnection(bluetooth_gatt,
/tools/test/connectivity/acts/tests/google/ble/bt5/
DPhyTest.py93 self.cen_ad.droid.gattClientReadPhy(self.bluetooth_gatt)
130 self.bluetooth_gatt, CONNECTION_PRIORITY_HIGH)
146 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt,
184 self.bluetooth_gatt, CONNECTION_PRIORITY_HIGH)
199 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt,
229 self.bluetooth_gatt, CONNECTION_PRIORITY_HIGH)
238 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt,
244 self.cen_ad.droid.gattClientSetPreferredPhy(self.bluetooth_gatt,
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DGattLongevityTest.py63 self.bluetooth_gatt, gatt_connection_priority['high'])
66 self.bluetooth_gatt, self.discovered_services_index,
77 self.bluetooth_gatt, self.discovered_services_index,
81 self.bluetooth_gatt, self.discovered_services_index,
/tools/test/connectivity/acts/tests/google/ble/concurrency/
DConcurrentGattConnectTest.py198 bluetooth_gatt, gatt_callback = setup_gatt_connection(
254 bluetooth_gatt, gatt_callback = setup_gatt_connection(
263 if self.pri_dut.droid.gattClientDiscoverServices(bluetooth_gatt):
265 "GattConnect{}onServicesDiscovered".format(bluetooth_gatt),
276 gatt_server, gatt_server_callback, bluetooth_gatt,
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py133 bluetooth_gatt, gatt_callback, adv_callback = (
135 bluetooth_gatt_list.append(bluetooth_gatt)