Home | History | Annotate | Download | only in wifi

Lines Matching refs:network

45       network.
66 "Need at least one reference network with psk.")
106 params: A tuple of network info and AndroidDevice object.
108 network, ad = params
111 SSID = network[WifiEnums.SSID_KEY]
114 wutils.wifi_connect(ad, network, num_of_tries=3)
116 def get_connection_data(self, dut, network):
117 """Get network id and ssid info from connection data.
121 network: dict representing the network to connect to.
124 A convenience dict with the connected network's ID and SSID.
127 params = (network, dut)
136 """Connect to one 2.4GHz and one 5Ghz network.
153 """Check network status and return currently unconnected network.
156 network1: dict representing a network.
157 network2: dict representing a network.
160 Network dict of the unconnected network.
174 networks: List of network dicts.
188 # For each network, check if it exists in configured list after reboot
189 for network in networks:
191 WifiEnums.SSID_KEY: network[WifiEnums.SSID_KEY]
194 raise signals.TestFailure("%s network is not present in the"
196 network[WifiEnums.SSID_KEY])
197 # Get the new network id for each network after reboot.
198 network[WifiEnums.NETID_KEY] = exists[0]['networkId']
202 # network, defined with 'status':'CURRENT'
204 raise signals.TestFailure("More than one network showing"
208 """Connect to the given network using network id and verify SSID.
211 network_id: int Network Id of the network.
212 network_ssid: string SSID of the network.
214 Returns: True if connect using network id was successful;
233 params: A tuple of network info and AndroidDevice object.
237 network, ad = params
238 SSID = network[WifiEnums.SSID_KEY]
248 """ Connect to the provided network and then toggle wifi mode and wait
249 for reconnection to the provided network.
252 1. Connect to the network.
255 4. Wait for connection to the network.
259 params: A tuple of network info and AndroidDevice object.
261 network, ad = params
264 ad, network, num_of_tries=5)
350 a previously connected network.
353 1. Connect to a 2GHz network.
354 2. Connect to a 5GHz network.
356 4. Reconnect to the non-current network.
369 " network after toggling WiFi.")
373 reconnect a previously connected network.
376 1. Connect to a 2GHz network.
377 2. Connect to a 5GHz network.
379 4. Reconnect to the non-current network.
392 " network after toggling Airplane mode.")
396 connected network.
399 1. Connect to a 2GHz network.
400 2. Connect to a 5GHz network.
403 5. Reconnect to the non-current network.
420 " network after reboot.")
424 reconnect to previously connected network.
427 1. Connect to a 2GHz network.
428 2. Connect to a 5GHz network.
433 5. Reconnect to the non-current network.
452 msg = ("Device failed to reconnect to the correct network after"
458 reconnect to previously connected network.
461 1. Connect to a 2GHz network.
462 2. Connect to a 5GHz network.
467 5. Reconnect to the non-current network.
490 msg = ("Device failed to reconnect to the correct network after"
564 asserts.assert_true(nId > -1, "Failed to add network.")
576 asserts.assert_true(nId > -1, "Failed to add network.")
588 "Found forgotten network %s in configured networks." % ssid)
592 """Connect to a network and immediately issue reconnect.
595 1. Connect to a 2GHz network.
596 2. Reconnect to the network using its network id.
597 3. Connect to a 5GHz network.
598 4. Reconnect to the network using its network id.
607 " 2GHz network.")
614 " 5GHz network.")
618 """Connect to multiple networks and reconnect to the previous network.
621 1. Connect to a 2GHz network.
622 2. Connect to a 5GHz network.
623 3. Reconnect to the 2GHz network using its network id.
624 4. Reconnect to the 5GHz network using its network id.
634 " 2GHz network.")
640 " 5GHz network.")
645 a previously connected network.
648 1. Connect to a 2GHz network.
649 2. Connect to a 5GHz network.
651 4. Reconnect to the non-current network.
659 a previously connected network.
663 2. Connect to a 2GHz network.
664 3. Connect to a 5GHz network.
666 5. Reconnect to the non-current network.
675 reconnect a previously connected network.
678 1. Connect to a 2GHz network.
679 2. Connect to a 5GHz network.
681 4. Reconnect to the non-current network.
689 reconnect a previously connected network.
693 2. Connect to a 2GHz network.
694 3. Connect to a 5GHz network.
696 5. Reconnect to the non-current network.
705 connected network.
708 1. Connect to a 2GHz network.
709 2. Connect to a 5GHz network.
712 5. Reconnect to the non-current network.
720 connected network.
724 2. Connect to a 2GHz network.
725 3. Connect to a 5GHz network.
728 6. Reconnect to the non-current network.
737 reconnect to previously connected network.
740 1. Connect to a 2GHz network.
741 2. Connect to a 5GHz network.
746 5. Reconnect to the non-current network.
754 reconnect to previously connected network.
758 2. Connect to a 2GHz network.
759 3. Connect to a 5GHz network.
764 8. Reconnect to the non-current network.
773 reconnect to previously connected network.
776 1. Connect to a 2GHz network.
777 2. Connect to a 5GHz network.
782 5. Reconnect to the non-current network.
790 reconnect to previously connected network.
794 2. Connect to a 2GHz network.
795 3. Connect to a 5GHz network.
800 8. Reconnect to the non-current network.
838 Connect to a wifi network, then the same as test_energy_info.