Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py110 def connect_ble(pri_ad, sec_ad): argument
124 sec_ad.droid.bluetoothEnableBLE()
125 gatt_server_cb = sec_ad.droid.gattServerCreateGattServerCallback()
126 gatt_server = sec_ad.droid.gattServerOpenGattServer(gatt_server_cb)
130 orchestrate_gatt_connection(pri_ad, sec_ad))
136 connected_devices = sec_ad.droid.gattServerGetConnectedDevices(gatt_server)
272 def device_discoverable(pri_ad, sec_ad): argument
291 if sec_ad.droid.bluetoothStartDiscovery():
295 get_discovered_devices = sec_ad.droid.bluetoothGetDiscoveredDevices()
378 def disconnect_headset_from_dev(pri_ad, sec_ad, profiles_list): argument
[all …]
DCoexBaseTest.py68 self.sec_ad = self.android_devices[1]
DCoexPerformanceBaseTest.py105 self.audio = get_audio_capture_device(self.sec_ad, self.audio_params)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py248 def connect_pri_to_sec(pri_ad, sec_ad, profiles_set, attempts=2): argument
261 device_addr = sec_ad.droid.bluetoothGetLocalAddress()
268 if _connect_pri_to_sec(pri_ad, sec_ad, profiles_set):
276 def _connect_pri_to_sec(pri_ad, sec_ad, profiles_set): argument
299 sec_ad.droid.bluetoothGetLocalAddress():
304 pri_ad.log.error("Not paired to {}".format(sec_ad.serial))
310 sec_ad.droid.bluetoothGetLocalAddress())
314 sec_addr = sec_ad.droid.bluetoothGetLocalAddress()
356 device_addr == sec_ad.droid.bluetoothGetLocalAddress():
456 def disconnect_pri_from_sec(pri_ad, sec_ad, profiles_list): argument
[all …]
/tools/test/connectivity/acts_tests/tests/google/coex/functionality_tests/
DWlanWithHfpFunctionalityTest.py44 self.pri_ad, self.sec_ad, self.sim_conf_file)
72 if not initiate_call(self.log, self.sec_ad, self.ag_phone_number):
115 self.sec_ad, self.iperf["duration"]):
125 (self.audio_receiver, self.pri_ad, self.sec_ad,
138 …lambda: initiate_disconnect_call_dut(self.pri_ad, self.sec_ad, self.iperf["duration"], self.re_pho…
664 (self.audio_receiver, self.pri_ad, self.sec_ad,
689 (self.audio_receiver, self.pri_ad, self.sec_ad,
DCoexBtMultiProfileFunctionalityTest.py43 self.pri_ad, self.sec_ad, self.sim_conf_file)
75 self.audio_receiver, self.pri_ad, self.sec_ad,
85 if not connect_ble(self.pri_ad, self.sec_ad):
94 (self.audio_receiver, self.pri_ad, self.sec_ad,
/tools/test/connectivity/acts_tests/tests/google/coex/hotspot_tests/
DHotspotWiFiChannelTest.py58 self.sec_ad = self.android_devices[1]
74 reset_wifi(self.sec_ad)
132 test_params['wifi_channel'] = self.get_wifi_channel(self.sec_ad)
133 test_params['wifi_bandwidth'] = self.get_wifi_bandwidth(self.sec_ad)
191 wutils.set_wifi_country_code(self.sec_ad, WifiEnums.CountryCode.US)
201 wifi_connect(self.sec_ad, self.network, check_connectivity=False)
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithBlePerformanceTest.py57 self.sec_ad.droid.gattServerClose(gatt_server)
59 self.sec_ad.droid.bleStopBleAdvertising(adv)
133 self.sec_ad.droid.gattServerCreateGattServerCallback())
135 self.sec_ad.droid.gattServerOpenGattServer(gatt_server_cb))
139 orchestrate_gatt_connection(self.pri_ad, self.sec_ad))
DWlanWithHfpPerformanceTest.py37 self.pri_ad, self.sec_ad, self.sim_conf_file)
66 if not initiate_call(self.log, self.sec_ad, self.ag_phone_number):
84 (self.audio_receiver, self.pri_ad, self.sec_ad,
DCoexBtMultiProfilePerformanceTest.py49 self.pri_ad, self.sec_ad, self.sim_conf_file)
92 if not wait_and_answer_call(self.log, self.sec_ad):
/tools/test/connectivity/acts_tests/tests/google/coex/stress_tests/
DCoexBasicStressTest.py75 if not device_discoverable(self.pri_ad, self.sec_ad):
DCoexHfpStressTest.py144 self.audio_receiver, self.pri_ad, self.sec_ad,