Home
last modified time | relevance | path

Searched refs:bt_test_utils (Results 1 – 25 of 113) sorted by relevance

12345

/tools/test/connectivity/acts_tests/tests/google/bt/car_bt/
DBtCarPairedConnectDisconnectTest.py31 from acts_contrib.test_utils.bt import bt_test_utils
43 bt_test_utils.setup_multiple_devices_for_bt_test([self.car, self.ph])
47 result = bt_test_utils.pair_pri_to_sec(self.car,
85 if not bt_test_utils.connect_pri_to_sec(
88 if not bt_test_utils.is_a2dp_snk_device_connected(self.car, addr):
118 success = bt_test_utils.connect_pri_to_sec(
128 if (bt_test_utils.is_hfp_client_device_connected(
130 and bt_test_utils.is_a2dp_snk_device_connected(
139 success = bt_test_utils.disconnect_pri_from_sec(
147 if (bt_test_utils.is_hfp_client_device_connected(
[all …]
DBtCarMediaConnectionTest.py24 from acts_contrib.test_utils.bt import bt_test_utils
27 from acts_contrib.test_utils.bt.bt_test_utils import is_a2dp_connected
40 bt_test_utils.setup_multiple_devices_for_bt_test([self.CT, self.TG])
48 if not bt_test_utils.pair_pri_to_sec(
57 bt_test_utils.set_profile_priority(
85 if (not bt_test_utils.connect_pri_to_sec(
91 result = bt_test_utils.disconnect_pri_from_sec(
97 if bt_test_utils.is_a2dp_src_device_connected(
133 if (not bt_test_utils.connect_pri_to_sec(
140 result = bt_test_utils.disconnect_pri_from_sec(
[all …]
DBtCarBasicFunctionalityTest.py23 from acts_contrib.test_utils.bt.bt_test_utils import check_device_supported_profiles
24 from acts_contrib.test_utils.bt.bt_test_utils import log_energy_info
25 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
26 from acts_contrib.test_utils.bt.bt_test_utils import set_device_name
27 from acts_contrib.test_utils.bt.bt_test_utils import set_bt_scan_mode
28 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
29 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
DBtCarMultiUserTest.py22 from acts_contrib.test_utils.bt import bt_test_utils
34 bt_test_utils.clear_bonded_devices(ad)
40 if not bt_test_utils.bluetooth_enabled_check(self.droid_ad):
49 bt_test_utils.take_btsnoop_logs(self.android_devices, self, test_name)
75 initial_bt_crashes = bt_test_utils.get_bluetooth_crash_count(
94 bt_test_utils.get_bluetooth_crash_count(self.droid_ad))
DBtCarToggleTest.py22 from acts_contrib.test_utils.bt import bt_test_utils
33 bt_test_utils.clear_bonded_devices(ad)
37 if not bt_test_utils.bluetooth_enabled_check(self.droid_ad):
41 bt_test_utils.take_btsnoop_logs(self.android_devices, self, test_name)
66 return bt_test_utils.reset_bluetooth([self.droid_ad])
DBtCarMapMceTest.py27 from acts_contrib.test_utils.bt import bt_test_utils
61 if not bt_test_utils.connect_pri_to_sec(
135 bt_test_utils.reset_bluetooth([self.MSE])
136 bt_test_utils.connect_pri_to_sec(
143 if not bt_test_utils.disconnect_pri_from_sec(
154 bt_test_utils.connect_pri_to_sec(
165 if bt_test_utils.is_map_mce_device_connected(self.MCE, addr):
167 disconnected = bt_test_utils.disconnect_pri_from_sec(
171 if not bt_test_utils.is_map_mce_device_connected(self.MCE, addr):
DBtCarPairingTest.py25 from acts_contrib.test_utils.bt import bt_test_utils
43 bt_test_utils.clear_bonded_devices(ad)
65 if not bt_test_utils.pair_pri_to_sec(
120 if not bt_test_utils.pair_pri_to_sec(
135 bt_test_utils.clear_bonded_devices(ad)
141 if not bt_test_utils.pair_pri_to_sec(
DBtCarPbapTest.py23 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
26 from acts_contrib.test_utils.bt import bt_test_utils
64 if not bt_test_utils.pair_pri_to_sec(self.pce, self.pse):
68 if not bt_test_utils.pair_pri_to_sec(self.pce, self.pse2):
89 bt_test_utils.set_profile_priority(
92 bt_test_utils.set_profile_priority(
131 bt_test_utils.connect_pri_to_sec(
169 if bt_test_utils.connect_pri_to_sec(
183 if not bt_test_utils.connect_pri_to_sec(
217 bt_test_utils.connect_pri_to_sec(
[all …]
DBtCarMediaPassthroughTest.py25 from acts_contrib.test_utils.bt import bt_test_utils
28 from acts_contrib.test_utils.bt.bt_test_utils import is_a2dp_connected
81 if not bt_test_utils.pair_pri_to_sec(
89 bt_test_utils.connect_pri_to_sec(
131 result = bt_test_utils.connect_pri_to_sec(
134 if not bt_test_utils.is_a2dp_src_device_connected(
331 result = bt_test_utils.disconnect_pri_from_sec(
334 if bt_test_utils.is_a2dp_src_device_connected(
384 result = bt_test_utils.disconnect_pri_from_sec(
389 if bt_test_utils.is_a2dp_src_device_connected(
[all …]
DBtCarHfpConnectionTest.py24 from acts_contrib.test_utils.bt import bt_test_utils
47 bt_test_utils.set_profile_priority(
98 if not bt_test_utils.connect_pri_to_sec(
143 if not bt_test_utils.connect_pri_to_sec(
176 if not bt_test_utils.disable_bluetooth(self.hf.droid):
181 if not bt_test_utils.enable_bluetooth(self.hf.droid, self.hf.ed):
225 if not bt_test_utils.connect_pri_to_sec(
272 if not bt_test_utils.connect_pri_to_sec(
278 if not bt_test_utils.is_hfp_client_device_connected(
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/
DConcurrentBleAdvertisementDiscoveryTest.py28 from acts_contrib.test_utils.bt.bt_test_utils import BtTestUtilsError
29 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
30 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
31 from acts_contrib.test_utils.bt.bt_test_utils import get_advanced_droid_list
32 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
33 from acts_contrib.test_utils.bt.bt_test_utils import setup_n_advertisements
34 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
35 from acts_contrib.test_utils.bt.bt_test_utils import teardown_n_advertisements
36 from acts_contrib.test_utils.bt.bt_test_utils import scan_and_verify_n_advertisements
DConcurrentBleAdvertisingTest.py27 from acts_contrib.test_utils.bt.bt_test_utils import BtTestUtilsError
32 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
33 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
34 from acts_contrib.test_utils.bt.bt_test_utils import get_advanced_droid_list
35 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
36 from acts_contrib.test_utils.bt.bt_test_utils import scan_and_verify_n_advertisements
38 from acts_contrib.test_utils.bt.bt_test_utils import setup_n_advertisements
39 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
40 from acts_contrib.test_utils.bt.bt_test_utils import teardown_n_advertisements
/tools/test/connectivity/acts_tests/tests/google/bt/
DRfcommTest.py26 from acts_contrib.test_utils.bt.bt_test_utils import clear_bonded_devices
27 from acts_contrib.test_utils.bt.bt_test_utils import kill_bluetooth_process
28 from acts_contrib.test_utils.bt.bt_test_utils import orchestrate_rfcomm_connection
29 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
30 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
31 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
32 from acts_contrib.test_utils.bt.bt_test_utils import write_read_verify_data
33 from acts_contrib.test_utils.bt.bt_test_utils import verify_server_and_client_connected
DBtBasicFunctionalityTest.py26 from acts_contrib.test_utils.bt.bt_test_utils import check_device_supported_profiles
27 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
28 from acts_contrib.test_utils.bt.bt_test_utils import set_device_name
29 from acts_contrib.test_utils.bt.bt_test_utils import set_bt_scan_mode
30 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
31 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
/tools/test/connectivity/acts_tests/tests/google/bt/system_tests/
DBtStressTest.py26 from acts_contrib.test_utils.bt.bt_test_utils import clear_bonded_devices
27 from acts_contrib.test_utils.bt.bt_test_utils import pair_pri_to_sec
28 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
29 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
/tools/test/connectivity/acts_tests/tests/google/ble/conn_oriented_chan/
DBleCocTest.py31 from acts_contrib.test_utils.bt.bt_test_utils import clear_bonded_devices
32 from acts_contrib.test_utils.bt.bt_test_utils import kill_bluetooth_process
33 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
34 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
35 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
36 from acts_contrib.test_utils.bt.bt_test_utils import write_read_verify_data
37 from acts_contrib.test_utils.bt.bt_test_utils import verify_server_and_client_connected
DBleCoc2ConnTest.py33 from acts_contrib.test_utils.bt.bt_test_utils import clear_bonded_devices
34 from acts_contrib.test_utils.bt.bt_test_utils import kill_bluetooth_process
35 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
36 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
37 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
38 from acts_contrib.test_utils.bt.bt_test_utils import write_read_verify_data
39 from acts_contrib.test_utils.bt.bt_test_utils import verify_server_and_client_connected
/tools/test/connectivity/acts_tests/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py28 from acts_contrib.test_utils.bt.bt_test_utils import adv_succ
29 from acts_contrib.test_utils.bt.bt_test_utils import batch_scan_result
30 from acts_contrib.test_utils.bt.bt_test_utils import scan_result
31 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
32 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
33 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
34 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
35 from acts_contrib.test_utils.bt.bt_test_utils import take_btsnoop_logs
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothLatencyTest.py26 from acts_contrib.test_utils.bt.bt_test_utils import orchestrate_rfcomm_connection
27 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
28 from acts_contrib.test_utils.bt.bt_test_utils import verify_server_and_client_connected
29 from acts_contrib.test_utils.bt.bt_test_utils import write_read_verify_data
/tools/test/connectivity/acts_tests/tests/google/ble/system_tests/
DBleStressTest.py27 from acts_contrib.test_utils.bt.bt_test_utils import BtTestUtilsError
28 from acts_contrib.test_utils.bt.bt_test_utils import clear_bonded_devices
29 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
30 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
31 from acts_contrib.test_utils.bt.bt_test_utils import get_advanced_droid_list
32 from acts_contrib.test_utils.bt.bt_test_utils import get_mac_address_of_generic_advertisement
33 from acts_contrib.test_utils.bt.bt_test_utils import reset_bluetooth
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtA2dpRangeWithBleAdvTest.py17 import acts_contrib.test_utils.bt.bt_test_utils as btutils
23 from acts_contrib.test_utils.bt.bt_test_utils import BtTestUtilsError
25 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
26 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
DBtA2dpRangeWithBleScanTest.py17 import acts_contrib.test_utils.bt.bt_test_utils as btutils
20 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
21 from acts_contrib.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/car/
Dcar_bt_utils.py30 from acts_contrib.test_utils.bt import bt_test_utils
52 bt_test_utils.set_profile_priority(car_droid, ph_droid, car_profiles,
/tools/test/connectivity/acts_tests/tests/google/ble/scan/
DBleBackgroundScanTest.py25 from acts_contrib.test_utils.bt.bt_test_utils import bluetooth_off
26 from acts_contrib.test_utils.bt.bt_test_utils import bluetooth_on
27 from acts_contrib.test_utils.bt.bt_test_utils import cleanup_scanners_and_advertisers
28 from acts_contrib.test_utils.bt.bt_test_utils import enable_bluetooth
29 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
30 from acts_contrib.test_utils.bt.bt_test_utils import generate_ble_scan_objects
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ep/
DBtFuchsiaEPTest.py25 from acts_contrib.test_utils.bt.bt_test_utils import generate_id_by_size
26 from acts_contrib.test_utils.fuchsia.bt_test_utils import bredr_scan_for_device_by_name
27 from acts_contrib.test_utils.fuchsia.bt_test_utils import le_scan_for_device_by_name
28 from acts_contrib.test_utils.fuchsia.bt_test_utils import unbond_all_known_devices
29 from acts_contrib.test_utils.fuchsia.bt_test_utils import verify_device_state_by_name

12345