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.py1077 server_ad, argument
1089 client_ad, server_ad, accept_timeout_ms,
1097 server_ad, argument
1108 server_ad.droid.bluetoothStartPairingHelper()
1111 server_ad.droid.bluetoothSocketConnBeginAcceptThreadUuid(
1115 server_ad.droid.bluetoothGetLocalAddress(),
1136 def write_read_verify_data(client_ad, server_ad, msg, binary=False): argument
1157 server_ad.log.info("Read message.")
1160 read_msg = server_ad.droid.bluetoothSocketConnReadBinary().rstrip(
1163 read_msg = server_ad.droid.bluetoothSocketConnRead()
[all …]
/tools/test/connectivity/acts/tests/google/bt/
DRfcommTest.py53 self.server_ad = self.android_devices[1]
60 self.server_ad.droid.bluetoothRfcommCloseServerSocket()
65 self.client_ad, self.server_ad, log=False):
67 self.server_ad.droid.bluetoothRfcommStop()
71 self.client_ad, self.server_ad, uuid=uuid):
75 self.server_ad.droid.bluetoothRfcommStop()
129 if not orchestrate_rfcomm_connection(self.client_ad, self.server_ad):
131 if not write_read_verify_data(self.client_ad, self.server_ad,
135 self.server_ad):
139 self.server_ad.droid.bluetoothRfcommStop()
[all …]
/tools/test/connectivity/acts/tests/google/ble/conn_oriented_chan/
DBleCocTest.py51 self.server_ad = self.android_devices[1]
61 self.server_ad.droid.bluetoothSocketConnStop()
86 self.client_ad, self.server_ad, True, is_secured,
91 list_server_ad = [self.server_ad]
131 self.client_ad, self.server_ad, True, is_secured)
164 self.client_ad, self.server_ad, True, is_secured)
202 self.client_ad, self.server_ad, True, is_secured)
205 if not write_read_verify_data(self.client_ad, self.server_ad,
209 self.server_ad):
246 self.client_ad, self.server_ad, True, is_secured)
[all …]
DBleCoc2ConnTest.py47 self.server_ad = self.android_devices[1]
57 self.server_ad.droid.bluetoothSocketConnStop()
97 self.client_ad, self.server_ad, True, is_secured,
110 list_server_ad = [self.server_ad, self.server2_ad]
124 self.server_ad.droid.bluetoothSocketConnStop(server_conn_id1)