Home
last modified time | relevance | path

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

/platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
DConnectivityHelper.java64 public WifiManager getWifiManager() { in getWifiManager() method in ConnectivityHelper
122 Assert.assertTrue("Wifi not disconnected", getWifiManager().disconnect()); in disconnectWifi()
123 int netId = getWifiManager().getConnectionInfo().getNetworkId(); in disconnectWifi()
124 getWifiManager().disableNetwork(netId); in disconnectWifi()
125 getWifiManager().saveConfiguration(); in disconnectWifi()
135 if (!getWifiManager().isWifiEnabled()) { in ensureWifiEnabled()
136 getWifiManager().enableNetwork(getWifiManager().getConnectionInfo().getNetworkId(), in ensureWifiEnabled()
139 while (--counter > 0 && !getWifiManager().isWifiEnabled()) { in ensureWifiEnabled()
143 Assert.assertTrue("Wifi should be enabled by now", getWifiManager().isWifiEnabled()); in ensureWifiEnabled()
181 WifiInfo connectionInfo = getWifiManager().getConnectionInfo(); in getCurrentWifiSSID()