Searched refs:getWifiManager (Results 1 – 1 of 1) sorted by relevance
64 public WifiManager getWifiManager() { in getWifiManager() method in ConnectivityHelper122 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()