Home
last modified time | relevance | path

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

1234

/tools/test/connectivity/acts/tests/google/bt/car_bt/
DBtCarMediaConnectionTest.py24 from acts.test_utils.bt import bt_test_utils
27 from acts.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 …]
DBtCarPairedConnectDisconnectTest.py33 from acts.test_utils.bt import bt_test_utils
45 bt_test_utils.setup_multiple_devices_for_bt_test([self.car, self.ph])
49 result = bt_test_utils.pair_pri_to_sec(
86 if not bt_test_utils.connect_pri_to_sec(
89 if not bt_test_utils.is_a2dp_snk_device_connected(self.car, addr):
119 success = bt_test_utils.connect_pri_to_sec(
129 if (bt_test_utils.is_hfp_client_device_connected(self.car,
131 bt_test_utils.is_a2dp_snk_device_connected(self.car,
140 success = bt_test_utils.disconnect_pri_from_sec(
148 if (bt_test_utils.is_hfp_client_device_connected(self.car,
[all …]
DBtCarBasicFunctionalityTest.py26 from acts.test_utils.bt.bt_test_utils import check_device_supported_profiles
27 from acts.test_utils.bt.bt_test_utils import log_energy_info
28 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
29 from acts.test_utils.bt.bt_test_utils import set_device_name
30 from acts.test_utils.bt.bt_test_utils import set_bt_scan_mode
31 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
32 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
DBtCarMultiUserTest.py22 from acts.test_utils.bt import bt_test_utils
35 bt_test_utils.clear_bonded_devices(ad)
41 if not bt_test_utils.bluetooth_enabled_check(self.droid_ad):
50 bt_test_utils.take_btsnoop_logs(self.android_devices, self, test_name)
76 initial_bt_crashes = bt_test_utils.get_bluetooth_crash_count(self.droid_ad)
92 …crashes_since_start = abs(initial_bt_crashes - bt_test_utils.get_bluetooth_crash_count(self.droid_…
DBtCarToggleTest.py22 from acts.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.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):
DBtCarPbapTest.py24 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
27 from acts.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(
129 bt_test_utils.connect_pri_to_sec(
167 if bt_test_utils.connect_pri_to_sec(
181 if not bt_test_utils.connect_pri_to_sec(
215 bt_test_utils.connect_pri_to_sec(
[all …]
DBtCarMediaPassthroughTest.py25 from acts.test_utils.bt import bt_test_utils
28 from acts.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.py26 from acts.test_utils.bt import bt_test_utils
49 bt_test_utils.set_profile_priority(
100 if not bt_test_utils.connect_pri_to_sec(
145 if not bt_test_utils.connect_pri_to_sec(
178 if not bt_test_utils.disable_bluetooth(self.hf.droid):
183 if not bt_test_utils.enable_bluetooth(self.hf.droid, self.hf.ed):
227 if not bt_test_utils.connect_pri_to_sec(
274 if not bt_test_utils.connect_pri_to_sec(
280 if not bt_test_utils.is_hfp_client_device_connected(
/tools/test/connectivity/acts/tests/google/ble/concurrency/
DConcurrentBleAdvertisementDiscoveryTest.py33 from acts.test_utils.bt.bt_test_utils import BtTestUtilsError
34 from acts.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
35 from acts.test_utils.bt.bt_test_utils import generate_ble_scan_objects
36 from acts.test_utils.bt.bt_test_utils import get_advanced_droid_list
37 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
38 from acts.test_utils.bt.bt_test_utils import setup_n_advertisements
39 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
40 from acts.test_utils.bt.bt_test_utils import teardown_n_advertisements
41 from acts.test_utils.bt.bt_test_utils import scan_and_verify_n_advertisements
DConcurrentBleAdvertisingTest.py28 from acts.test_utils.bt.bt_test_utils import BtTestUtilsError
33 from acts.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
34 from acts.test_utils.bt.bt_test_utils import generate_ble_scan_objects
35 from acts.test_utils.bt.bt_test_utils import get_advanced_droid_list
36 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
37 from acts.test_utils.bt.bt_test_utils import scan_and_verify_n_advertisements
39 from acts.test_utils.bt.bt_test_utils import setup_n_advertisements
40 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
41 from acts.test_utils.bt.bt_test_utils import teardown_n_advertisements
/tools/test/connectivity/acts/tests/google/bt/system_tests/
DBtStressTest.py26 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
27 from acts.test_utils.bt.bt_test_utils import pair_pri_to_sec
28 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
29 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
/tools/test/connectivity/acts/tests/google/bt/
DRfcommTest.py28 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
29 from acts.test_utils.bt.bt_test_utils import kill_bluetooth_process
30 from acts.test_utils.bt.bt_test_utils import orchestrate_rfcomm_connection
31 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
32 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
33 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
34 from acts.test_utils.bt.bt_test_utils import write_read_verify_data
35 from acts.test_utils.bt.bt_test_utils import verify_server_and_client_connected
DBtBasicFunctionalityTest.py27 from acts.test_utils.bt.bt_test_utils import check_device_supported_profiles
28 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
29 from acts.test_utils.bt.bt_test_utils import set_device_name
30 from acts.test_utils.bt.bt_test_utils import set_bt_scan_mode
31 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
32 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
DBtMetricsTest.py20 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
21 from acts.test_utils.bt.bt_test_utils import pair_pri_to_sec
22 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
/tools/test/connectivity/acts/tests/google/ble/conn_oriented_chan/
DBleCoc2ConnTest.py35 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
36 from acts.test_utils.bt.bt_test_utils import kill_bluetooth_process
37 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
38 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
39 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
40 from acts.test_utils.bt.bt_test_utils import write_read_verify_data
41 from acts.test_utils.bt.bt_test_utils import verify_server_and_client_connected
DBleCocTest.py33 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
34 from acts.test_utils.bt.bt_test_utils import kill_bluetooth_process
35 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
36 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
37 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
38 from acts.test_utils.bt.bt_test_utils import write_read_verify_data
39 from acts.test_utils.bt.bt_test_utils import verify_server_and_client_connected
/tools/test/connectivity/acts/framework/acts/test_utils/car/
Dcar_bt_utils.py33 from acts.test_utils.bt import bt_test_utils
54 bt_test_utils.set_profile_priority(car_droid, ph_droid, car_profiles,
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py28 from acts.test_utils.bt.bt_test_utils import adv_succ
29 from acts.test_utils.bt.bt_test_utils import batch_scan_result
30 from acts.test_utils.bt.bt_test_utils import scan_result
31 from acts.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
32 from acts.test_utils.bt.bt_test_utils import generate_ble_scan_objects
33 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
34 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
35 from acts.test_utils.bt.bt_test_utils import take_btsnoop_logs
/tools/test/connectivity/acts/tests/google/experimental/
DBluetoothLatencyTest.py26 from acts.test_utils.bt.bt_test_utils import orchestrate_rfcomm_connection
27 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
28 from acts.test_utils.bt.bt_test_utils import verify_server_and_client_connected
29 from acts.test_utils.bt.bt_test_utils import write_read_verify_data
/tools/test/connectivity/acts/tests/google/ble/system_tests/
DBleStressTest.py27 from acts.test_utils.bt.bt_test_utils import BtTestUtilsError
28 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
29 from acts.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
30 from acts.test_utils.bt.bt_test_utils import generate_ble_scan_objects
31 from acts.test_utils.bt.bt_test_utils import get_advanced_droid_list
32 from acts.test_utils.bt.bt_test_utils import get_mac_address_of_generic_advertisement
33 from acts.test_utils.bt.bt_test_utils import reset_bluetooth
/tools/test/connectivity/acts/tests/google/ble/scan/
DBleBackgroundScanTest.py25 from acts.test_utils.bt.bt_test_utils import bluetooth_off
26 from acts.test_utils.bt.bt_test_utils import bluetooth_on
27 from acts.test_utils.bt.bt_test_utils import cleanup_scanners_and_advertisers
28 from acts.test_utils.bt.bt_test_utils import enable_bluetooth
29 from acts.test_utils.bt.bt_test_utils import generate_ble_advertise_objects
30 from acts.test_utils.bt.bt_test_utils import generate_ble_scan_objects
/tools/test/connectivity/acts/tests/google/bt/pan/
DBtPanTest.py27 from acts.test_utils.bt.bt_test_utils import bluetooth_enabled_check
28 from acts.test_utils.bt.bt_test_utils import orchestrate_and_verify_pan_connection
/tools/test/connectivity/acts/tests/google/bt/hid/
DHidDeviceTest.py23 from acts.test_utils.bt.bt_test_utils import setup_multiple_devices_for_bt_test
24 from acts.test_utils.bt.bt_test_utils import clear_bonded_devices
25 from acts.test_utils.bt.bt_test_utils import pair_pri_to_sec
26 from acts.test_utils.bt.bt_test_utils import hid_keyboard_report
27 from acts.test_utils.bt.bt_test_utils import hid_device_send_key_data_report
/tools/test/connectivity/acts/tests/google/fuchsia/bt/gatt/
DGattConnectionStressTest.py33 from acts.test_utils.bt.bt_test_utils import generate_id_by_size
34 from acts.test_utils.fuchsia.bt_test_utils import le_scan_for_device_by_name

1234