Home
last modified time | relevance | path

Searched refs:gatt_callback (Results 1 – 16 of 16) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/ble/gatt/
DGattConnectTest.py86 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
90 gatt_callback)
115 gatt_callback, argument
117 expected_event = gatt_cb_strings['mtu_changed'].format(gatt_callback)
179 bluetooth_gatt, gatt_callback, adv_callback = (
187 gatt_callback)
223 bluetooth_gatt, gatt_callback, adv_callback = (
233 gatt_callback, self.default_timeout))
240 self._orchestrate_gatt_disconnection(bluetooth_gatt, gatt_callback)
284 bluetooth_gatt, gatt_callback = setup_gatt_connection(
[all …]
DGattToolTest.py147 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
157 gatt_callback)
203 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
212 gatt_callback)
249 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
257 gatt_callback)
269 gatt_callback)
384 bluetooth_gatt, gatt_callback = (setup_gatt_connection(
392 gatt_callback)
435 expected_event = gatt_cb_strings['char_change'].format(gatt_callback)
DGattWriteTest.py298 self.gatt_callback, self.mtu):
337 self.gatt_callback, self.mtu):
361 self.gatt_callback, self.mtu):
/tools/test/connectivity/acts_tests/tests/google/bt/gatt/
DGattOverBrEdrTest.py77 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
81 gatt_callback)
131 bluetooth_gatt, gatt_callback, adv_callback = (
140 gatt_callback)
175 bluetooth_gatt, gatt_callback, adv_callback = (
185 gatt_cb_strings['rd_remote_rssi'].format(gatt_callback),
188 gatt_callback)
223 bluetooth_gatt, gatt_callback, adv_callback = (
234 gatt_cb_strings['gatt_serv_disc'].format(gatt_callback),
238 gatt_callback)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_gatt_utils.py45 gatt_callback = cen_ad.droid.gattCreateGattCallback()
48 gatt_callback, mac_address, autoconnect, transport, opportunistic,
50 expected_event = gatt_cb_strings['gatt_conn_change'].format(gatt_callback)
67 return bluetooth_gatt, gatt_callback
77 def disconnect_gatt_connection(cen_ad, bluetooth_gatt, gatt_callback): argument
79 wait_for_gatt_disconnect_event(cen_ad, gatt_callback)
83 def wait_for_gatt_disconnect_event(cen_ad, gatt_callback): argument
84 expected_event = gatt_cb_strings['gatt_conn_change'].format(gatt_callback)
117 bluetooth_gatt, gatt_callback = setup_gatt_connection(
119 return bluetooth_gatt, gatt_callback, adv_callback
[all …]
Dble_performance_test_utils.py58 bluetooth_gatt, gatt_callback, adv_callback = (
63 return bluetooth_gatt, gatt_callback, adv_callback, gatt_server
66 def read_ble_rssi(client_ad, gatt_server, gatt_callback): argument
80 gatt_callback)
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
216 gatt_server, gatt_callback): argument
232 gatt_callback)
238 def ble_gatt_disconnection(client_ad, bluetooth_gatt, gatt_callback): argument
250 disconnect_gatt_connection(client_ad, bluetooth_gatt, gatt_callback)
DGattConnectedBaseTest.py61 self.bluetooth_gatt, self.gatt_callback, self.adv_callback = (
101 self.gatt_callback)
110 return self._timed_pop(gatt_event, self.cen_ad, self.gatt_callback)
112 def _timed_pop(self, gatt_event, droid, gatt_callback): argument
113 expected_event = gatt_event["evt"].format(gatt_callback)
158 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
162 gatt_callback)
Dgattc_lib.py42 self.gatt_callback = 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(
97 self.gatt_callback)
109 self.gatt_callback)
123 setup_gatt_mtu(self.dut, self.bluetooth_gatt, self.gatt_callback,
DBtSarBaseTest.py295 gatt_callback=None, argument
348 gatt_callback)
/tools/test/connectivity/acts_tests/tests/google/bt/sar/
DBleSarPowerLimitTest.py78 self.gatt_callback)
97 self.status, self.gatt_callback, self.gatt_server, self.bluetooth_gatt, \
103 self.gatt_callback,
121 self.status, self.gatt_callback, self.gatt_server, self.bluetooth_gatt, \
127 self.gatt_callback,
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py62 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument
79 gatt_callback)
138 bluetooth_gatt, gatt_callback, adv_callback = (
147 gatt_callback)
/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.py375 def _client_wait(self, gatt_event, gatt_callback): argument
376 return self._timed_pop(gatt_event, gatt_callback)
378 def _timed_pop(self, gatt_event, gatt_callback): argument
379 expected_event = gatt_event["evt"].format(gatt_callback)
395 self.gatt_callback)
653 bluetooth_gatt, gatt_callback = setup_gatt_connection(
657 "gatt_callback": gatt_callback
/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(
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/
DPhyTest.py59 self.gatt_callback)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Dcoex_test_utils.py129 bluetooth_gatt, gatt_callback, adv_callback = (