Home
last modified time | relevance | path

Searched refs:dut2 (Results 1 – 12 of 12) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/functional/
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)
75 gc_dut = self.dut2
76 elif wp2putils.is_go(self.dut2):
77 go_dut = self.dut2
85 wp2putils.check_disconnect(self.dut2)
122 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_DISPLAY)
126 gc_dut = self.dut2
127 elif wp2putils.is_go(self.dut2):
[all …]
DWifiP2pMultiPeersTest.py52 def form_group(self, dut1, dut2, isReconnect=False, wpsType=WPS_PBC): argument
54 wp2putils.p2p_connect(dut1, dut2, isReconnect, wpsType)
58 gc_dut = dut2
59 elif wp2putils.is_go(dut2):
60 go_dut = dut2
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.py53 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
57 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
61 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
85 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
89 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
93 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
97 self.dut1, self.dut2, wp2putils.WifiP2PEnums.WifiP2pServiceInfo.
DWifiP2pSnifferTest.py51 wp2putils.wifi_p2p_set_channels_for_current_group(self.dut2, 6, 6)
81 wutils.verify_mac_not_found_in_pcap(self.dut2, self.dut2_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)
115 gc_dut = self.dut2
116 elif wp2putils.is_go(self.dut2):
117 go_dut = self.dut2
125 wp2putils.check_disconnect(self.dut2)
DWifiP2pMultiCoutryTest.py124 wutils.set_wifi_country_code(self.dut2, country)
125 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_PBC)
140 gc_dut = self.dut2
141 elif wp2putils.is_go(self.dut2):
142 go_dut = self.dut2
150 wp2putils.check_disconnect(self.dut2)
193 wutils.set_wifi_country_code(self.dut2, country)
194 wp2putils.p2p_connect(self.dut1, self.dut2, False, WPS_DISPLAY)
210 gc_dut = self.dut2
211 elif wp2putils.is_go(self.dut2):
[all …]
DWifiP2pGroupTest.py58 self.dut2.droid.wifiP2pRemoveGroup()
63 self.dut2.droid.wifiP2pRemoveGroup()
76 gc_dut = self.dut2
119 gc_dut = self.dut2
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/p2p/
DWifiP2pBaseTest.py49 self.dut2 = self.android_devices[1]
55 self.dut2_mac = self.get_p2p_mac_address(self.dut2)
59 acts.utils.set_location_service(self.dut2, True)
69 wutils.wifi_test_device_init(self.dut2)
70 utils.sync_device_time(self.dut2)
71 self.dut2.droid.wifiP2pInitialize()
73 asserts.assert_true(self.dut2.droid.wifiP2pIsEnabled(),
75 self.dut2.name = "Android_" + self.dut2.serial
76 self.dut2.droid.wifiP2pSetDeviceName(self.dut2.name)
100 self.dut2.droid.wifiP2pClose()
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py1593 dut2 = self.android_devices[1]
1594 dut2.pretty_name = "DUT2"
1600 dut2_id = dut2.droid.wifiAwareAttach(False)
1601 autils.wait_for_event(dut2, aconsts.EVENT_CB_ON_ATTACHED)
1667 aa_s_id = dut2.droid.wifiAwareSubscribe(
1675 dut2,
1678 bb_p_id = dut2.droid.wifiAwarePublish(
1685 dut2,
1688 dd_s_id = dut2.droid.wifiAwareSubscribe(
1693 dut2,
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DDataPathTest.py1331 dut2 = self.android_devices[1]
1334 id2, mac2 = autils.attach_with_identity(dut2)
1343 dut2,
1344 dut2.droid.wifiAwareCreateNetworkSpecifierOob(
1353 dut2, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1376 dut2, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1403 dut2,
1404 dut2.droid.wifiAwareCreateNetworkSpecifierOob(
1413 dut2, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
1436 dut2, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
[all …]
DDiscoveryTest.py880 dut2 = self.android_devices[1]
887 or dut2.aware_capabilities[aconsts.CAP_MAX_PUBLISHES] < 2,
894 id2 = dut2.droid.wifiAwareAttach(False)
895 autils.wait_for_event(dut2, aconsts.EVENT_CB_ON_ATTACHED)
915 dut2_x_pid = dut2.droid.wifiAwarePublish(
917 event = autils.wait_for_event(dut2,
923 dut2_y_pid = dut2.droid.wifiAwarePublish(
925 event = autils.wait_for_event(dut2,
937 dut2_y_sid = dut2.droid.wifiAwareSubscribe(
939 autils.wait_for_event(dut2, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTeleCoexTest.py481 self.dut2 = self.android_devices[1]
483 wifi_utils.wifi_toggle_state(self.dut2, True)
484 self.connect_to_wifi(self.dut2, self.network)
489 self.dut2.log, self.dut2):
492 % self.dut2.droid.wifiCheckState())
DWifiBridgedApTest.py391 def two_clients_connect_to_wifi_network(self, dut1, dut2, config): argument
428 wutils.connect_to_wifi_network(dut2, config_2g,