Home
last modified time | relevance | path

Searched refs:dut1 (Results 1 – 13 of 13) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
DWifiP2pMultiCoutryTest.py123 wutils.set_wifi_country_code(self.dut1, country)
125 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_PBC)
126 p2pfreg = int(self.get_p2p0_freq(self.dut1)[0])
133 self.dut1.log.info('p2p frequency : {}'.format(p2pfreg))
134 self.dut1.log.info('p2p channel : {}'.format(p2p_channel))
135 self.dut1.log.info('p2p band : {}'.format(sp2p_band))
138 if wp2putils.is_go(self.dut1):
139 go_dut = self.dut1
143 gc_dut = self.dut1
149 wp2putils.p2p_disconnect(self.dut1)
[all …]
DWifiP2pManagerTest.py53 wp2putils.find_p2p_device(self.dut1, self.dut2)
54 wp2putils.find_p2p_device(self.dut2, self.dut1)
71 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_PBC)
73 if wp2putils.is_go(self.dut1):
74 go_dut = self.dut1
78 gc_dut = self.dut1
84 wp2putils.p2p_disconnect(self.dut1)
122 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_DISPLAY)
124 if wp2putils.is_go(self.dut1):
125 go_dut = self.dut1
[all …]
DWifiP2pMultiPeersTest.py52 def form_group(self, dut1, dut2, isReconnect=False, wpsType=WPS_PBC): argument
54 wp2putils.p2p_connect(dut1, dut2, isReconnect, wpsType)
56 if wp2putils.is_go(dut1):
57 go_dut = dut1
61 gc_dut = dut1
94 all_duts = [self.dut1, self.dut2, self.dut3]
97 (go_dut, gc_dut) = self.form_group(self.dut1, self.dut2)
165 all_duts = [self.dut1, self.dut2, self.dut3]
167 (go_dut, gc_dut) = self.form_group(self.dut1, self.dut2)
192 all_duts = [self.dut1, self.dut2, self.dut3]
[all …]
DWifiP2pLocalServiceTest.py49 wp2putils.createP2pLocalService(self.dut1,
53 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
57 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
61 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
78 self.log.info("Add local bonjour service to %s" % (self.dut1.name))
79 wp2putils.createP2pLocalService(self.dut1,
81 wp2putils.createP2pLocalService(self.dut1,
85 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
89 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
93 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
[all …]
DWifiP2pSnifferTest.py50 wp2putils.wifi_p2p_set_channels_for_current_group(self.dut1, 6, 6)
80 wutils.verify_mac_not_found_in_pcap(self.dut1, self.dut1_mac, packets)
92 wp2putils.find_p2p_device(self.dut1, self.dut2)
93 wp2putils.find_p2p_device(self.dut2, self.dut1)
111 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_PBC)
113 if wp2putils.is_go(self.dut1):
114 go_dut = self.dut1
118 gc_dut = self.dut1
124 wp2putils.p2p_disconnect(self.dut1)
DWifiP2pGroupTest.py57 self.dut1.droid.wifiP2pRemoveGroup()
62 self.dut1.droid.wifiP2pRemoveGroup()
75 go_dut = self.dut1
118 go_dut = self.dut1
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/p2p/
DWifiP2pBaseTest.py48 self.dut1 = self.android_devices[0]
54 self.dut1_mac = self.get_p2p_mac_address(self.dut1)
58 acts.utils.set_location_service(self.dut1, True)
61 wutils.wifi_test_device_init(self.dut1)
62 utils.sync_device_time(self.dut1)
63 self.dut1.droid.wifiP2pInitialize()
65 asserts.assert_true(self.dut1.droid.wifiP2pIsEnabled(),
67 self.dut1.name = "Android_" + self.dut1.serial
68 self.dut1.droid.wifiP2pSetDeviceName(self.dut1.name)
99 self.dut1.droid.wifiP2pClose()
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py1591 dut1 = self.android_devices[0]
1592 dut1.pretty_name = "DUT1"
1597 dut1_id = dut1.droid.wifiAwareAttach(False)
1598 autils.wait_for_event(dut1, aconsts.EVENT_CB_ON_ATTACHED)
1604 aa_p_id = dut1.droid.wifiAwarePublish(
1611 dut1,
1614 bb_s_id = dut1.droid.wifiAwareSubscribe(
1622 dut1,
1625 cc_p_id = dut1.droid.wifiAwarePublish(
1632 dut1,
[all …]
DRangeAwareTest.py171 dut1 = self.android_devices[1]
174 id1, mac1 = autils.attach_with_identity(dut1)
186 dut1.droid.wifiAwarePublish(id1, p_config)
187 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
206 results10.append(self.run_rtt_discovery(dut1, resp_mac=mac0))
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DDataPathTest.py1330 dut1 = self.android_devices[0]
1333 id1, mac1 = autils.attach_with_identity(dut1)
1348 dut1,
1349 dut1.droid.wifiAwareCreateNetworkSpecifierOob(
1358 dut1, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1381 dut1, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1398 dut1,
1399 dut1.droid.wifiAwareCreateNetworkSpecifierOob(
1408 dut1, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1431 dut1, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
[all …]
DDiscoveryTest.py879 dut1 = self.android_devices[0]
886 dut1.aware_capabilities[aconsts.CAP_MAX_PUBLISHES] < 2
891 id1 = dut1.droid.wifiAwareAttach(False)
892 autils.wait_for_event(dut1, aconsts.EVENT_CB_ON_ATTACHED)
899 dut1_x_pid = dut1.droid.wifiAwarePublish(
901 event = autils.wait_for_event(dut1,
907 dut1_y_pid = dut1.droid.wifiAwarePublish(
909 event = autils.wait_for_event(dut1,
932 dut1_x_sid = dut1.droid.wifiAwareSubscribe(
934 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_test_utils.py2884 def validate_ping_between_two_clients(dut1, dut2): argument
2895 dut1_ip = dut1.droid.connectivityGetIPv4Addresses('wlan0')[0]
2897 dut1.log.info(
2899 .format(dut1.serial))
2910 dut1.log.info("{} IPv4 addresses : {}".format(dut1.serial, dut1_ip))
2914 dut1.log.info("{} ping {}".format(dut1_ip, dut2_ip))
2916 utils.adb_shell_ping(dut1, count=10, dest_ip=dut2_ip,
2918 "%s ping %s failed" % (dut1.serial, dut2_ip))
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiBridgedApTest.py222 def two_clients_connect_to_wifi_network(self, dut1, dut2, config): argument
257 wutils.connect_to_wifi_network(dut1, config_5g,