Searched refs:pri_dut (Results 1 – 4 of 4) sorted by relevance
159 def disconnect_reconnect_multiple_iterations(self, pri_dut): argument173 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): argument201 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 …]
61 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 …]
84 self.pri_dut = self.android_devices[0]115 filter_list = self.pri_dut.droid.bleGenFilterList()116 self.pri_dut.droid.bleSetScanSettingsScanMode(118 scan_settings = self.pri_dut.droid.bleBuildScanSetting()119 scan_callback = self.pri_dut.droid.bleGenScanCallback()121 self.pri_dut.droid.bleSetScanFilterDeviceName(name)122 self.pri_dut.droid.bleBuildScanFilter(filter_list)123 self.pri_dut.droid.bleStartBleScan(filter_list, scan_settings,134 event = self.pri_dut.ed.pop_event(199 self.pri_dut, address, autoconnect)[all …]
30 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())