Home
last modified time | relevance | path

Searched refs:pri_dut (Results 1 – 6 of 6) sorted by relevance

/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_carkit_lib.py159 def disconnect_reconnect_multiple_iterations(self, pri_dut): argument
173 pri_dut.droid.bluetoothDisconnectConnected(self.target_mac_address)
178 pri_dut.droid.bluetoothConnectBonded(self.target_mac_address)
179 if not self.connect_hsp_helper(pri_dut):
182 connected_devices = pri_dut.droid.bluetoothGetConnectedDevices()
186 connected_devices = pri_dut.droid.bluetoothGetConnectedDevices(
197 def disconnect_a2dp_only_then_reconnect(self, pri_dut): argument
201 if not pri_dut.droid.bluetoothA2dpDisconnect(self.target_mac_address):
210 if len(pri_dut.droid.bluetoothA2dpGetConnectedDevices()) != 0:
213 pri_dut.droid.bluetoothA2dpConnect(self.target_mac_address)
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
Dcmd_input.py61 self.pri_dut = android_devices[0]
70 self.pri_dut.bta.set_target_mac_addr(mac_addr)
71 self.pri_dut.gattc.set_target_mac_addr(mac_addr)
72 self.pri_dut.rfcomm.set_target_mac_addr(mac_addr)
85 device = self.pri_dut.droid.bluetoothGetConnectedDevices()[0]
96 self.pri_dut.gattc.socket_conn_begin_connect_thread_psm(line)
103 self.pri_dut.gattc.socket_conn_begin_accept_thread_psm(line)
110 self.pri_dut.gattc.request_le_connection_parameters()
121 self.pri_dut.gattc.connect_over_le(autoconnect)
129 self.pri_dut.gattc.connect_over_bredr()
[all …]
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py85 self.pri_dut = dut
89 self.test_dut = create_bluetooth_device(self.pri_dut)
112 self.pri_dut.gattc_lib.bleStartBleScan(scan_filter)
116 scan_res = self.pri_dut.gattc_lib.bleGetDiscoveredDevices(
129 self.pri_dut.gattc_lib.bleStopBleScan()
134 self.pri_dut.btc_lib.requestDiscovery(True)
140 device_list = self.pri_dut.btc_lib.getKnownRemoteDevices(
159 self.pri_dut.btc_lib.requestDiscovery(False)
174 self.pri_dut.take_bt_snoop_log(custom_name)
438 result = self.pri_dut.ble_lib.bleStartBleAdvertising(
[all …]
DFuchsiaBtScanTest.py37 self.pri_dut = self.fuchsia_devices[0]
40 self.pri_dut.btc_lib.initBluetoothControl()
68 self.pri_dut.btc_lib.requestDiscovery(True)
70 self.pri_dut.btc_lib.requestDiscovery(False)
71 discovered_devices = self.pri_dut.btc_lib.getKnownRemoteDevices()
105 self.pri_dut.btc_lib.requestDiscovery(True)
109 discovered_devices = self.pri_dut.btc_lib.getKnownRemoteDevices()
114 self.pri_dut.btc_lib.requestDiscovery(False)
117 self.pri_dut.btc_lib.requestDiscovery(False)
/tools/test/connectivity/acts_tests/tests/google/ble/concurrency/
DConcurrentGattConnectTest.py84 self.pri_dut = self.android_devices[0]
113 filter_list = self.pri_dut.droid.bleGenFilterList()
114 self.pri_dut.droid.bleSetScanSettingsScanMode(
116 scan_settings = self.pri_dut.droid.bleBuildScanSetting()
117 scan_callback = self.pri_dut.droid.bleGenScanCallback()
119 self.pri_dut.droid.bleSetScanFilterDeviceName(name)
120 self.pri_dut.droid.bleBuildScanFilter(filter_list)
121 self.pri_dut.droid.bleStartBleScan(filter_list, scan_settings,
132 event = self.pri_dut.ed.pop_event(
197 self.pri_dut, address, autoconnect)
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/
DBtFactoryResetTest.py30 self.pri_dut = self.android_devices[0]
57 if not pair_pri_to_sec(self.pri_dut, self.sec_dut, attempts=1):
60 if not self.pri_dut.droid.bluetoothFactoryReset():
63 if len(self.pri_dut.droid.bluetoothGetBondedDevices()) > 0:
64 print(self.pri_dut.droid.bluetoothGetBondedDevices())