Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/wifi/p2p/functional/
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 …]
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 …]
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/framework/acts/test_utils/wifi/p2p/
DWifiP2pBaseTest.py45 self.dut1 = self.android_devices[0]
51 self.dut1_mac = self.get_p2p_mac_address(self.dut1)
55 acts.utils.set_location_service(self.dut1, True)
58 wutils.wifi_test_device_init(self.dut1)
59 utils.sync_device_time(self.dut1)
60 self.dut1.droid.wifiP2pInitialize()
62 asserts.assert_true(self.dut1.droid.wifiP2pIsEnabled(),
64 self.dut1.name = "Android_" + self.dut1.serial
65 self.dut1.droid.wifiP2pSetDeviceName(self.dut1.name)
89 self.dut1.droid.wifiP2pClose()
[all …]
/tools/test/connectivity/acts/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.py166 dut1 = self.android_devices[1]
169 id1, mac1 = autils.attach_with_identity(dut1)
181 dut1.droid.wifiAwarePublish(id1, p_config)
182 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
201 results10.append(self.run_rtt_discovery(dut1, resp_mac=mac0))
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DDiscoveryTest.py873 dut1 = self.android_devices[0]
880 dut1.aware_capabilities[aconsts.CAP_MAX_PUBLISHES] < 2
885 id1 = dut1.droid.wifiAwareAttach(False)
886 autils.wait_for_event(dut1, aconsts.EVENT_CB_ON_ATTACHED)
893 dut1_x_pid = dut1.droid.wifiAwarePublish(
895 event = autils.wait_for_event(dut1,
901 dut1_y_pid = dut1.droid.wifiAwarePublish(
903 event = autils.wait_for_event(dut1,
926 dut1_x_sid = dut1.droid.wifiAwareSubscribe(
928 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
[all …]