Home
last modified time | relevance | path

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

/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattConnectTest.py78 for bluetooth_gatt in self.bluetooth_gatt_list:
79 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
86 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
89 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
91 close_gatt_client(self.cen_ad, bluetooth_gatt)
92 if bluetooth_gatt in self.bluetooth_gatt_list:
93 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.py147 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
156 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
158 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
162 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
203 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
211 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
213 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
249 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
255 if self.cen_ad.droid.gattClientDiscoverServices(bluetooth_gatt):
268 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
[all …]
DGattNotifyTest.py57 self.bluetooth_gatt, self.discovered_services_index,
63 self.bluetooth_gatt, self.discovered_services_index,
69 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_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py43 self.bluetooth_gatt = None
70 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
77 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
86 self.bluetooth_gatt, self.gatt_callback = setup_gatt_connection(
96 disconnect_gatt_connection(self.dut, self.bluetooth_gatt,
101 self.dut.droid.gattClientClose(self.bluetooth_gatt)
107 self.dut.droid.gattClientDiscoverServices(self.bluetooth_gatt)
119 self.bluetooth_gatt, uuid, 0x0001, 0xFFFF)
123 setup_gatt_mtu(self.dut, self.bluetooth_gatt, self.gatt_callback,
132 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 …]
Dble_performance_test_utils.py58 bluetooth_gatt, gatt_callback, adv_callback = (
63 return bluetooth_gatt, gatt_callback, adv_callback, gatt_server
166 …status, client_conn_id, server_conn_id, bluetooth_gatt, gatt_callback = orchestrate_coc_connection(
177 return True, gatt_callback, gatt_server, bluetooth_gatt, client_conn_id
238 def ble_gatt_disconnection(client_ad, bluetooth_gatt, gatt_callback): argument
250 disconnect_gatt_connection(client_ad, bluetooth_gatt, gatt_callback)
251 close_gatt_client(client_ad, bluetooth_gatt)
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/tests/google/bt/gatt/
DGattOverBrEdrTest.py67 for bluetooth_gatt in self.bluetooth_gatt_list:
68 self.cen_ad.droid.gattClientClose(bluetooth_gatt)
77 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
80 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt,
82 if bluetooth_gatt in self.bluetooth_gatt_list:
83 self.bluetooth_gatt_list.remove(bluetooth_gatt)
131 bluetooth_gatt, gatt_callback, adv_callback = (
135 self.bluetooth_gatt_list.append(bluetooth_gatt)
139 return self._orchestrate_gatt_disconnection(bluetooth_gatt,
175 bluetooth_gatt, gatt_callback, adv_callback = (
[all …]
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py54 for bluetooth_gatt in self.bluetooth_gatt_list:
55 self.pri_ad.droid.gattClientClose(bluetooth_gatt)
62 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
78 disconnect_gatt_connection(self.pri_ad, bluetooth_gatt,
80 close_gatt_client(self.pri_ad, bluetooth_gatt)
81 if bluetooth_gatt in self.bluetooth_gatt_list:
82 self.bluetooth_gatt_list.remove(bluetooth_gatt)
138 bluetooth_gatt, gatt_callback, adv_callback = (
140 self.bluetooth_gatt_list.append(bluetooth_gatt)
146 return self._orchestrate_gatt_disconnection(bluetooth_gatt,
/tools/test/connectivity/acts_tests/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/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/tests/google/ble/concurrency/
DConcurrentGattConnectTest.py194 bluetooth_gatt, gatt_callback = setup_gatt_connection(
250 bluetooth_gatt, gatt_callback = setup_gatt_connection(
259 if self.pri_dut.droid.gattClientDiscoverServices(bluetooth_gatt):
261 "GattConnect{}onServicesDiscovered".format(bluetooth_gatt),
272 gatt_server, gatt_server_callback, bluetooth_gatt,
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBleSarPowerLimitTest.py77 ble_gatt_disconnection(self.bt_device, self.bluetooth_gatt,
97 self.status, self.gatt_callback, self.gatt_server, self.bluetooth_gatt, \
121 self.status, self.gatt_callback, self.gatt_server, self.bluetooth_gatt, \
/tools/test/connectivity/acts_tests/tests/google/ble/performance/
DBleRangeTest.py114 bluetooth_gatt, gatt_callback, adv_callback, gatt_server = establish_ble_connection(
141 ble_gatt_disconnection(self.client_ad, bluetooth_gatt, gatt_callback)
168 status, gatt_callback, gatt_server, bluetooth_gatt, client_conn_id = ble_coc_connection(
213 ble_gatt_disconnection(self.server_ad, bluetooth_gatt, gatt_callback)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_device.py385 def _setup_discovered_services_index(self, bluetooth_gatt): argument
393 self.device.droid.gattClientDiscoverServices(bluetooth_gatt)
653 bluetooth_gatt, gatt_callback = setup_gatt_connection(
656 "bluetooth_gatt": bluetooth_gatt,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Dcoex_test_utils.py129 bluetooth_gatt, gatt_callback, adv_callback = (
131 bluetooth_gatt_list.append(bluetooth_gatt)