Searched refs:pri_dut (Results 1 – 6 of 6) 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 …]
85 self.pri_dut = dut89 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 …]
37 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)
84 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 …]
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())