/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_coc_test_utils.py | 42 def do_multi_connection_throughput(client_ad, list_server_ad, argument 61 client_ad.log.info( 69 client_ad.log.error("do_multi_connection_throughput: invalid " 77 client_ad.log.info("do_multi_connection_throughput: " 80 client_ad.droid.bluetoothConnectionThroughputSend( 83 client_ad.log.error("Failed to write data: {}".format(err)) 90 client_ad.droid.bluetoothConnectionThroughputSend( 93 client_ad.log.error("Failed to write data: {}".format(err)) 118 client_ad.log.error("Buffer transmits cannot take zero time") 129 client_ad, argument [all …]
|
D | ble_performance_test_utils.py | 37 def establish_ble_connection(client_ad, server_ad): argument 53 orchestrate_gatt_connection(client_ad, server_ad)) 60 def read_ble_rssi(client_ad, gatt_server, gatt_callback): argument 75 read_rssi = client_ad.droid.gattClientReadRSSI(gatt_server) 78 event = client_ad.ed.pop_event(expected_event, 94 def ble_coc_connection(client_ad, server_ad): argument 124 client_ad, 137 def run_ble_throughput(server_ad, client_conn_id, client_ad, argument 157 data_rate = do_multi_connection_throughput(client_ad, list_server_ad, 170 def run_ble_throughput_and_read_rssi(client_ad, server_ad, client_conn_id, argument [all …]
|
D | bt_test_utils.py | 1166 client_ad, argument 1179 client_ad.droid.bluetoothStartPairingHelper() 1184 client_ad.droid.bluetoothSocketConnBeginConnectThreadUuid( 1192 if len(client_ad.droid.bluetoothSocketConnActiveConnections()) > 0: 1194 client_ad.log.info("Bluetooth socket Client Connection Active") 1200 client_ad.log.error( 1206 def orchestrate_rfcomm_connection(client_ad, argument 1219 client_ad, server_ad, accept_timeout_ms, 1494 def set_profile_priority(host_ad, client_ad, profiles, priority): argument 1499 client_ad.droid.bluetoothGetLocalAddress(), priority.value)) [all …]
|
D | BtSarBaseTest.py | 217 client_ad=None, argument 273 client_ad, server_ad, client_conn_id,
|
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/ |
D | RfcommLongevityTest.py | 44 self.client_ad = self.android_devices[0] 77 if not orchestrate_rfcomm_connection(self.client_ad, 83 if not write_read_verify_data(self.client_ad, self.server_ad, 87 self.client_ad.droid.bluetoothRfcommStop() 122 if not orchestrate_rfcomm_connection(self.client_ad, 128 if not write_read_verify_data(self.client_ad, self.server_ad, 132 self.client_ad.droid.bluetoothRfcommStop() 167 if not orchestrate_rfcomm_connection(self.client_ad, 173 if not write_read_verify_data(self.client_ad, self.server_ad, 177 self.client_ad.droid.bluetoothRfcommStop() [all …]
|
D | RfcommStressTest.py | 43 self.client_ad = self.android_devices[0] 73 if not orchestrate_rfcomm_connection(self.client_ad, 76 self.client_ad.droid.bluetoothRfcommStop() 108 if not orchestrate_rfcomm_connection(self.client_ad, 111 if not write_read_verify_data(self.client_ad, self.server_ad, 114 self.client_ad.droid.bluetoothRfcommStop() 145 if not orchestrate_rfcomm_connection(self.client_ad, self.server_ad): 149 if not write_read_verify_data(self.client_ad, self.server_ad, 153 self.client_ad.droid.bluetoothRfcommStop()
|
/tools/test/connectivity/acts_tests/tests/google/bt/ |
D | RfcommTest.py | 52 self.client_ad = self.android_devices[0] 58 self.client_ad.droid.bluetoothRfcommCloseClientSocket() 64 self.client_ad, self.server_ad, log=False): 65 self.client_ad.droid.bluetoothRfcommStop() 70 self.client_ad, self.server_ad, uuid=uuid): 73 self.client_ad.droid.bluetoothRfcommStop() 128 if not orchestrate_rfcomm_connection(self.client_ad, self.server_ad): 130 if not write_read_verify_data(self.client_ad, self.server_ad, 133 if not verify_server_and_client_connected(self.client_ad, 137 self.client_ad.droid.bluetoothRfcommStop() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/conn_oriented_chan/ |
D | BleCocTest.py | 51 self.client_ad = self.android_devices[0] 54 utils.set_location_service(self.client_ad, True) 63 self.client_ad.droid.bluetoothSocketConnStop() 89 self.client_ad, self.server_ad, True, is_secured, 97 self.client_ad, list_server_ad, list_client_conn_id, 134 self.client_ad, self.server_ad, True, is_secured) 167 self.client_ad, self.server_ad, True, is_secured) 205 self.client_ad, self.server_ad, True, is_secured) 208 if not write_read_verify_data(self.client_ad, self.server_ad, 211 if not verify_server_and_client_connected(self.client_ad, [all …]
|
D | BleCoc2ConnTest.py | 47 self.client_ad = self.android_devices[0] 50 utils.set_location_service(self.client_ad, True) 59 self.client_ad.droid.bluetoothSocketConnStop() 100 self.client_ad, self.server_ad, True, is_secured, 107 self.client_ad, self.server2_ad, True, is_secured, 116 self.client_ad, list_server_ad, list_client_conn_id, 125 self.client_ad.droid.bluetoothSocketConnStop(client_conn_id1) 126 self.client_ad.droid.bluetoothSocketConnStop(client_conn_id2)
|