/tools/test/connectivity/acts_tests/tests/google/ble/gatt/ |
D | GattConnectTest.py | 79 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 …]
|
D | GattWriteTest.py | 59 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 …]
|
D | GattToolTest.py | 148 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 …]
|
D | GattNotifyTest.py | 58 self.bluetooth_gatt, self.discovered_services_index, 64 self.bluetooth_gatt, self.discovered_services_index, 70 self.bluetooth_gatt, self.discovered_services_index,
|
D | GattReadTest.py | 57 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/ |
D | gattc_lib.py | 44 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 …]
|
D | bt_gatt_utils.py | 47 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 …]
|
D | ble_performance_test_utils.py | 52 bluetooth_gatt, gatt_callback, adv_callback = ( 57 return bluetooth_gatt, gatt_callback, adv_callback, gatt_server 123 …status, client_conn_id, server_conn_id, bluetooth_gatt, gatt_callback = orchestrate_coc_connection( 134 return True, gatt_callback, gatt_server, bluetooth_gatt, client_conn_id 193 def ble_gatt_disconnection(client_ad, bluetooth_gatt, gatt_callback): argument 205 disconnect_gatt_connection(client_ad, bluetooth_gatt, gatt_callback) 206 close_gatt_client(client_ad, bluetooth_gatt)
|
D | GattConnectedBaseTest.py | 61 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/ |
D | GattOverBrEdrTest.py | 68 for bluetooth_gatt in self.bluetooth_gatt_list: 69 self.cen_ad.droid.gattClientClose(bluetooth_gatt) 78 def _orchestrate_gatt_disconnection(self, bluetooth_gatt, gatt_callback): argument 81 disconnect_gatt_connection(self.cen_ad, bluetooth_gatt, 83 if bluetooth_gatt in self.bluetooth_gatt_list: 84 self.bluetooth_gatt_list.remove(bluetooth_gatt) 132 bluetooth_gatt, gatt_callback, adv_callback = ( 136 self.bluetooth_gatt_list.append(bluetooth_gatt) 140 return self._orchestrate_gatt_disconnection(bluetooth_gatt, 176 bluetooth_gatt, gatt_callback, adv_callback = ( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/ |
D | WlanWithBlePerformanceTest.py | 54 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/ |
D | PhyTest.py | 93 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/ |
D | GattLongevityTest.py | 63 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/ |
D | ConcurrentGattConnectTest.py | 196 bluetooth_gatt, gatt_callback = setup_gatt_connection( 252 bluetooth_gatt, gatt_callback = setup_gatt_connection( 261 if self.pri_dut.droid.gattClientDiscoverServices(bluetooth_gatt): 263 "GattConnect{}onServicesDiscovered".format(bluetooth_gatt), 274 gatt_server, gatt_server_callback, bluetooth_gatt,
|
/tools/test/connectivity/acts_tests/tests/google/bt/sar/ |
D | BleSarPowerLimitTest.py | 77 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/acts_contrib/test_utils/abstract_devices/ |
D | bluetooth_device.py | 383 def _setup_discovered_services_index(self, bluetooth_gatt): argument 391 self.device.droid.gattClientDiscoverServices(bluetooth_gatt) 652 bluetooth_gatt, gatt_callback = setup_gatt_connection( 655 "bluetooth_gatt": bluetooth_gatt,
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/ |
D | coex_test_utils.py | 129 bluetooth_gatt, gatt_callback, adv_callback = ( 131 bluetooth_gatt_list.append(bluetooth_gatt)
|