Lines Matching refs:shell

35 async def l2cap_client_case_1(hci_port, shell, dut, address, snoop_file) -> None:  argument
54 await send_cmd_to_iut(shell, dut, "br clear all", None)
57 connection = await bumble_acl_connect(shell, dut, device, target_address)
63 shell,
70 shell,
76 await bumble_acl_disconnect(shell, dut, device, connection)
79 async def l2cap_client_case_2(hci_port, shell, dut, address, snoop_file) -> None: argument
106 await send_cmd_to_iut(shell, dut, "br clear all", None)
109 connection = await bumble_acl_connect(shell, dut, device, target_address)
115 shell,
121 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
123 await bumble_acl_disconnect(shell, dut, device, connection)
126 async def l2cap_client_case_3(hci_port, shell, dut, address, snoop_file) -> None: argument
145 await send_cmd_to_iut(shell, dut, "br clear all", None)
148 await bumble_acl_connect(shell, dut, device, target_address)
154 shell,
160 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
170 async def l2cap_client_case_4(hci_port, shell, dut, address, snoop_file) -> None: argument
189 await send_cmd_to_iut(shell, dut, "br clear all", None)
192 connection = await bumble_acl_connect(shell, dut, device, target_address)
198 shell,
204 found, lines = await bumble_acl_disconnect(shell, dut, device, connection)
213 async def l2cap_client_case_5(hci_port, shell, dut, address, snoop_file) -> None: argument
233 await send_cmd_to_iut(shell, dut, "br clear all", None)
236 connection = await bumble_acl_connect(shell, dut, device, target_address)
242 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
245 shell,
252 shell,
257 await bumble_acl_disconnect(shell, dut, device, connection)
260 async def l2cap_client_case_6(hci_port, shell, dut, address, snoop_file) -> None: argument
286 await send_cmd_to_iut(shell, dut, "br clear all", None)
289 connection = await bumble_acl_connect(shell, dut, device, target_address)
295 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
298 shell,
304 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
305 await bumble_acl_disconnect(shell, dut, device, connection)
308 async def l2cap_client_case_7(hci_port, shell, dut, address, snoop_file) -> None: argument
328 await send_cmd_to_iut(shell, dut, "br clear all", None)
331 await bumble_acl_connect(shell, dut, device, target_address)
337 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
340 shell,
346 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
357 async def l2cap_client_case_8(hci_port, shell, dut, address, snoop_file) -> None: argument
377 await send_cmd_to_iut(shell, dut, "br clear all", None)
380 connection = await bumble_acl_connect(shell, dut, device, target_address)
386 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
389 shell,
395 await bumble_acl_disconnect(shell, dut, device, connection)
398 async def l2cap_client_case_9(hci_port, shell, dut, address, snoop_file) -> None: argument
421 await send_cmd_to_iut(shell, dut, "br clear all", None)
424 connection = await bumble_acl_connect(shell, dut, device, target_address)
436 shell,
443 shell,
449 await bumble_acl_disconnect(shell, dut, device, connection)
452 async def l2cap_client_case_10(hci_port, shell, dut, address, snoop_file) -> None: argument
483 await send_cmd_to_iut(shell, dut, "br clear all", None)
486 connection = await bumble_acl_connect(shell, dut, device, target_address)
498 shell,
504 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
505 await bumble_acl_disconnect(shell, dut, device, connection)
508 async def l2cap_client_case_11(hci_port, shell, dut, address, snoop_file) -> None: argument
539 await send_cmd_to_iut(shell, dut, "br clear all", None)
542 connection = await bumble_acl_connect(shell, dut, device, target_address)
554 shell,
560 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
570 async def l2cap_client_case_12(hci_port, shell, dut, address, snoop_file) -> None: argument
601 await send_cmd_to_iut(shell, dut, "br clear all", None)
604 connection = await bumble_acl_connect(shell, dut, device, target_address)
616 shell,
622 await bumble_acl_disconnect(shell, dut, device, connection)
625 async def l2cap_client_case_13(hci_port, shell, dut, address, snoop_file) -> None: argument
644 await send_cmd_to_iut(shell, dut, "br clear all", None)
647 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
650 shell,
657 shell,
664 async def l2cap_client_case_14(hci_port, shell, dut, address, snoop_file) -> None: argument
691 await send_cmd_to_iut(shell, dut, "br clear all", None)
694 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
697 shell,
703 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
706 async def l2cap_client_case_15(hci_port, shell, dut, address, snoop_file) -> None: argument
733 await send_cmd_to_iut(shell, dut, "br clear all", None)
736 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
739 shell,
745 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
755 async def l2cap_client_case_16(hci_port, shell, dut, address, snoop_file) -> None: argument
782 await send_cmd_to_iut(shell, dut, "br clear all", None)
785 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
795 shell,
801 found, lines = await bumble_acl_disconnect(shell, dut, device, acl_conn)
810 async def l2cap_client_case_17(hci_port, shell, dut, address, snoop_file) -> None: argument
830 await send_cmd_to_iut(shell, dut, "br clear all", None)
833 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
836 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
839 shell,
846 shell,
852 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
855 async def l2cap_client_case_18(hci_port, shell, dut, address, snoop_file) -> None: argument
882 await send_cmd_to_iut(shell, dut, "br clear all", None)
885 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
888 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
891 shell,
897 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
898 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
901 async def l2cap_client_case_19(hci_port, shell, dut, address, snoop_file) -> None: argument
921 await send_cmd_to_iut(shell, dut, "br clear all", None)
924 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
927 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
930 shell,
936 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
946 async def l2cap_client_case_20(hci_port, shell, dut, address, snoop_file) -> None: argument
966 await send_cmd_to_iut(shell, dut, "br clear all", None)
969 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
979 await send_cmd_to_iut(shell, dut, "bt security 2", "Security changed:")
982 shell,
988 found, lines = await bumble_acl_disconnect(shell, dut, device, acl_conn)
998 async def l2cap_client_case_21(hci_port, shell, dut, address, snoop_file) -> None: argument
1022 await send_cmd_to_iut(shell, dut, "br clear all", None)
1027 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
1043 shell,
1050 shell,
1056 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1059 async def l2cap_client_case_22(hci_port, shell, dut, address, snoop_file) -> None: argument
1090 await send_cmd_to_iut(shell, dut, "br clear all", None)
1093 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
1109 shell,
1115 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
1117 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1120 async def l2cap_client_case_23(hci_port, shell, dut, address, snoop_file) -> None: argument
1151 await send_cmd_to_iut(shell, dut, "br clear all", None)
1154 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
1170 shell,
1176 lines = await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1186 async def l2cap_client_case_24(hci_port, shell, dut, address, snoop_file) -> None: argument
1217 await send_cmd_to_iut(shell, dut, "br clear all", None)
1220 await send_cmd_to_iut(shell, dut, f"br connect {target_address}", "Connected:")
1236 shell,
1242 found, lines = await bumble_acl_disconnect(shell, dut, device, acl_conn)
1252 async def l2cap_client_case_25(hci_port, shell, dut, address, snoop_file) -> None: argument
1271 await send_cmd_to_iut(shell, dut, "br clear all", None)
1274 await bumble_acl_connect(shell, dut, device, target_address)
1280 shell,
1288 shell,
1294 shell,
1301 shell,
1307 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1310 async def l2cap_client_case_26(hci_port, shell, dut, address, snoop_file) -> None: argument
1358 await send_cmd_to_iut(shell, dut, "br clear all", None)
1361 await bumble_acl_connect(shell, dut, device, target_address)
1367 shell,
1373 await send_cmd_to_iut(shell, dut, "l2cap_br connect 1003", "Channel 1 connected")
1392 shell,
1399 await send_cmd_to_iut(shell, dut, f"l2cap_br send 1 {data} {str(hex(len(data)))[2:]}", None)
1414 shell,
1420 await send_cmd_to_iut(shell, dut, "l2cap_br disconnect 1", "Channel 1 disconnected")
1422 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1425 async def l2cap_client_case_27(hci_port, shell, dut, address, snoop_file) -> None: argument
1444 await send_cmd_to_iut(shell, dut, "br clear all", None)
1447 await bumble_acl_connect(shell, dut, device, target_address)
1452 await send_cmd_to_iut(shell, dut, "l2cap_br connect 1002", "Unable to connect to psm")
1454 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1457 async def l2cap_client_case_28(hci_port, shell, dut, address, snoop_file) -> None: argument
1484 await send_cmd_to_iut(shell, dut, "br clear all", None)
1487 await bumble_acl_connect(shell, dut, device, target_address)
1493 shell,
1499 await bumble_l2cap_disconnect(shell, dut, incoming_channel)
1502 shell,
1509 shell,
1515 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1518 async def l2cap_client_case_29(hci_port, shell, dut, address, snoop_file) -> None: argument
1537 await send_cmd_to_iut(shell, dut, "br clear all", None)
1540 await bumble_acl_connect(shell, dut, device, target_address)
1546 shell,
1554 shell,
1560 shell,
1567 shell,
1573 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1576 async def l2cap_client_case_30(hci_port, shell, dut, address, snoop_file) -> None: argument
1594 await send_cmd_to_iut(shell, dut, "br clear all", None)
1597 await bumble_acl_connect(shell, dut, device, target_address)
1603 shell,
1610 async def l2cap_client_case_31(hci_port, shell, dut, address, snoop_file) -> None: argument
1628 await send_cmd_to_iut(shell, dut, "br clear all", None)
1631 await bumble_acl_connect(shell, dut, device, target_address)
1637 shell,
1645 shell,
1651 shell,
1658 shell,
1664 await send_cmd_to_iut(shell, dut, "bt disconnect", "Disconnected:")
1668 def test_l2cap_client_case_1(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1673 asyncio.run(l2cap_client_case_1(hci, shell, dut, iut_address, snoop_file))
1675 def test_l2cap_client_case_2(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1680 asyncio.run(l2cap_client_case_2(hci, shell, dut, iut_address, snoop_file))
1682 def test_l2cap_client_case_3(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1688 asyncio.run(l2cap_client_case_3(hci, shell, dut, iut_address, snoop_file))
1690 def test_l2cap_client_case_4(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1696 asyncio.run(l2cap_client_case_4(hci, shell, dut, iut_address, snoop_file))
1698 def test_l2cap_client_case_5(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1704 asyncio.run(l2cap_client_case_5(hci, shell, dut, iut_address, snoop_file))
1706 def test_l2cap_client_case_6(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1712 asyncio.run(l2cap_client_case_6(hci, shell, dut, iut_address, snoop_file))
1714 def test_l2cap_client_case_7(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1720 asyncio.run(l2cap_client_case_7(hci, shell, dut, iut_address, snoop_file))
1722 def test_l2cap_client_case_8(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1728 asyncio.run(l2cap_client_case_8(hci, shell, dut, iut_address, snoop_file))
1730 def test_l2cap_client_case_9(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1736 asyncio.run(l2cap_client_case_9(hci, shell, dut, iut_address, snoop_file))
1738 def test_l2cap_client_case_10(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1744 asyncio.run(l2cap_client_case_10(hci, shell, dut, iut_address, snoop_file))
1746 def test_l2cap_client_case_11(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1752 asyncio.run(l2cap_client_case_11(hci, shell, dut, iut_address, snoop_file))
1754 def test_l2cap_client_case_12(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1760 asyncio.run(l2cap_client_case_12(hci, shell, dut, iut_address, snoop_file))
1762 def test_l2cap_client_case_13(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1767 asyncio.run(l2cap_client_case_13(hci, shell, dut, iut_address, snoop_file))
1769 def test_l2cap_client_case_14(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1774 asyncio.run(l2cap_client_case_14(hci, shell, dut, iut_address, snoop_file))
1776 def test_l2cap_client_case_15(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1782 asyncio.run(l2cap_client_case_15(hci, shell, dut, iut_address, snoop_file))
1784 def test_l2cap_client_case_16(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1790 asyncio.run(l2cap_client_case_16(hci, shell, dut, iut_address, snoop_file))
1792 def test_l2cap_client_case_17(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1798 asyncio.run(l2cap_client_case_17(hci, shell, dut, iut_address, snoop_file))
1800 def test_l2cap_client_case_18(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1806 asyncio.run(l2cap_client_case_18(hci, shell, dut, iut_address, snoop_file))
1808 def test_l2cap_client_case_19(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1814 asyncio.run(l2cap_client_case_19(hci, shell, dut, iut_address, snoop_file))
1816 def test_l2cap_client_case_20(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1822 asyncio.run(l2cap_client_case_20(hci, shell, dut, iut_address, snoop_file))
1824 def test_l2cap_client_case_21(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1830 asyncio.run(l2cap_client_case_21(hci, shell, dut, iut_address, snoop_file))
1832 def test_l2cap_client_case_22(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1838 asyncio.run(l2cap_client_case_22(hci, shell, dut, iut_address, snoop_file))
1840 def test_l2cap_client_case_23(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1846 asyncio.run(l2cap_client_case_23(hci, shell, dut, iut_address, snoop_file))
1848 def test_l2cap_client_case_24(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1854 asyncio.run(l2cap_client_case_24(hci, shell, dut, iut_address, snoop_file))
1856 def test_l2cap_client_case_25(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1862 asyncio.run(l2cap_client_case_25(hci, shell, dut, iut_address, snoop_file))
1864 def test_l2cap_client_case_26(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1870 asyncio.run(l2cap_client_case_26(hci, shell, dut, iut_address, snoop_file))
1872 def test_l2cap_client_case_27(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1877 asyncio.run(l2cap_client_case_27(hci, shell, dut, iut_address, snoop_file))
1879 def test_l2cap_client_case_28(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1884 asyncio.run(l2cap_client_case_28(hci, shell, dut, iut_address, snoop_file))
1886 def test_l2cap_client_case_29(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1892 asyncio.run(l2cap_client_case_29(hci, shell, dut, iut_address, snoop_file))
1894 def test_l2cap_client_case_30(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1900 asyncio.run(l2cap_client_case_30(hci, shell, dut, iut_address, snoop_file))
1902 def test_l2cap_client_case_31(self, shell: Shell, dut: DeviceAdapter, l2cap_br_dut):
1908 asyncio.run(l2cap_client_case_31(hci, shell, dut, iut_address, snoop_file))