Home
last modified time | relevance | path

Searched refs:server_ad (Results 1 – 7 of 7) sorted by relevance

/tools/test/connectivity/acts/tests/google/bt/system_tests/
DRfcommLongevityTest.py45 self.server_ad = self.android_devices[1]
78 self.server_ad):
83 if not write_read_verify_data(self.client_ad, self.server_ad,
88 self.server_ad.droid.bluetoothRfcommStop()
123 self.server_ad):
128 if not write_read_verify_data(self.client_ad, self.server_ad,
133 self.server_ad.droid.bluetoothRfcommStop()
168 self.server_ad):
173 if not write_read_verify_data(self.client_ad, self.server_ad,
178 self.server_ad.droid.bluetoothRfcommStop()
[all …]
DRfcommStressTest.py44 self.server_ad = self.android_devices[1]
74 self.server_ad):
77 self.server_ad.droid.bluetoothRfcommStop()
109 self.server_ad):
111 if not write_read_verify_data(self.client_ad, self.server_ad,
115 self.server_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,
154 self.server_ad.droid.bluetoothRfcommStop()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_coc_test_utils.py96 for _, server_ad in enumerate(list_server_ad):
98 server_ad.droid.bluetoothConnectionThroughputRead(
102 server_ad.log.error("Failed to read data: {}".format(err))
105 for _, server_ad in enumerate(list_server_ad):
107 server_ad.droid.bluetoothConnectionThroughputRead(
111 server_ad.log.error("Failed to read data: {}".format(err))
130 server_ad, argument
153 server_ad.droid.bluetoothStartPairingHelper()
166 get_mac_address_of_generic_advertisement(client_ad, server_ad))
172 mac_address = server_ad.droid.bluetoothGetLocalAddress()
[all …]
Dbt_test_utils.py1109 server_ad, argument
1120 server_ad.droid.bluetoothStartPairingHelper()
1123 server_ad.droid.bluetoothSocketConnBeginAcceptThreadUuid(
1127 server_ad.droid.bluetoothGetLocalAddress(),
1149 server_ad, argument
1161 client_ad, server_ad, accept_timeout_ms,
1606 def verify_server_and_client_connected(client_ad, server_ad, log=True): argument
1621 if len(server_ad.droid.bluetoothSocketConnActiveConnections()) == 0:
1623 server_ad.log.error("No socket connections found on server.")
1712 def write_read_verify_data(client_ad, server_ad, msg, binary=False): argument
[all …]
/tools/test/connectivity/acts/tests/google/bt/
DRfcommTest.py53 self.server_ad = self.android_devices[1]
59 self.server_ad.droid.bluetoothRfcommCloseServerSocket()
64 self.client_ad, self.server_ad, log=False):
66 self.server_ad.droid.bluetoothRfcommStop()
70 self.client_ad, self.server_ad, uuid=uuid):
74 self.server_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,
134 self.server_ad):
138 self.server_ad.droid.bluetoothRfcommStop()
[all …]
/tools/test/connectivity/acts/tests/google/ble/conn_oriented_chan/
DBleCocTest.py52 self.server_ad = self.android_devices[1]
64 self.server_ad.droid.bluetoothSocketConnStop()
89 self.client_ad, self.server_ad, True, is_secured,
94 list_server_ad = [self.server_ad]
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,
212 self.server_ad):
249 self.client_ad, self.server_ad, True, is_secured)
[all …]
DBleCoc2ConnTest.py51 self.server_ad = self.android_devices[1]
60 self.server_ad.droid.bluetoothSocketConnStop()
100 self.client_ad, self.server_ad, True, is_secured,
113 list_server_ad = [self.server_ad, self.server2_ad]
127 self.server_ad.droid.bluetoothSocketConnStop(server_conn_id1)