Home
last modified time | relevance | path

Searched refs:client_ad (Results 1 – 12 of 12) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_coc_test_utils.py42 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 …]
Dble_performance_test_utils.py43 def establish_ble_connection(client_ad, server_ad): argument
59 orchestrate_gatt_connection(client_ad, server_ad))
66 def read_ble_rssi(client_ad, gatt_server, gatt_callback): argument
81 read_rssi = client_ad.droid.gattClientReadRSSI(gatt_server)
84 event = client_ad.ed.pop_event(expected_event,
100 def read_ble_scan_rssi(client_ad, scan_callback, rssi_read_duration=30): argument
117 event = client_ad.ed.pop_event(expected_event,
137 def ble_coc_connection(client_ad, server_ad): argument
167 client_ad,
182 client_ad, argument
[all …]
Dbt_test_utils.py1248 client_ad, argument
1261 client_ad.droid.bluetoothStartPairingHelper()
1266 client_ad.droid.bluetoothSocketConnBeginConnectThreadUuid(
1274 if len(client_ad.droid.bluetoothSocketConnActiveConnections()) > 0:
1276 client_ad.log.info("Bluetooth socket Client Connection Active")
1282 client_ad.log.error("Failed to establish a Bluetooth socket connection")
1287 def orchestrate_rfcomm_connection(client_ad, argument
1300 client_ad, server_ad, accept_timeout_ms,
1573 def set_profile_priority(host_ad, client_ad, profiles, priority): argument
1578 client_ad.droid.bluetoothGetLocalAddress(), priority.value))
[all …]
Dbt_power_test_utils.py164 def establish_ble_connection(client_ad, server_ad, con_priority): argument
177 client_ad.adb.shell(START_BLE_SCAN)
180 client_ad.adb.shell(
DBtSarBaseTest.py291 client_ad=None, argument
347 client_ad, server_ad, client_conn_id, gatt_server,
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/
DRfcommLongevityTest.py44 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 …]
DRfcommStressTest.py43 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/
DRfcommTest.py52 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/performance/
DBleRangeTest.py60 self.client_ad = self.android_devices[0]
63 utils.set_location_service(self.client_ad, True)
88 self.client_ad.droid.bluetoothSocketConnStop()
94 cleanup_scanners_and_advertisers(self.client_ad,
115 self.client_ad, self.server_ad)
123 rssi = self.client_ad.droid.gattClientReadRSSI(gatt_server)
141 ble_gatt_disconnection(self.client_ad, bluetooth_gatt, gatt_callback)
169 self.server_ad, self.client_ad)
173 datarate = run_ble_throughput(self.client_ad, client_conn_id,
225 self.client_ad, self.server_ad, Legacymode=False)
[all …]
/tools/test/connectivity/acts_tests/tests/google/ble/conn_oriented_chan/
DBleCocTest.py51 self.client_ad = self.android_devices[0]
59 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 …]
DBleCoc2ConnTest.py47 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)
/tools/test/connectivity/acts_tests/tests/google/power/bt/
DPowerBLEconnectionidleTest.py40 self.client_ad = self.android_devices[0]
41 utils.set_location_service(self.client_ad, True)
49 self.client_ad.adb.shell(BLE_LOCATION_SCAN_ENABLE)
50 btutils.enable_bluetooth(self.client_ad.droid, self.client_ad.ed)
55 self.client_ad.droid.goToSleepNow()
58 self.client_ad.droid.bluetoothFactoryReset()
59 btutils.disable_bluetooth(self.client_ad.droid)
72 btputils.establish_ble_connection(self.client_ad, self.server_ad,