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.java65 public WifiManager getWifiManager() { in getWifiManager() method in ConnectivityHelper
123 Assert.assertTrue("Wifi not disconnected", getWifiManager().disconnect()); in disconnectWifi()
124 int netId = getWifiManager().getConnectionInfo().getNetworkId(); in disconnectWifi()
125 getWifiManager().disableNetwork(netId); in disconnectWifi()
126 getWifiManager().saveConfiguration(); in disconnectWifi()
136 if (!getWifiManager().isWifiEnabled()) { in ensureWifiEnabled()
137 getWifiManager().enableNetwork(getWifiManager().getConnectionInfo().getNetworkId(), in ensureWifiEnabled()
140 while (--counter > 0 && !getWifiManager().isWifiEnabled()) { in ensureWifiEnabled()
144 Assert.assertTrue("Wifi should be enabled by now", getWifiManager().isWifiEnabled()); in ensureWifiEnabled()
182 WifiInfo connectionInfo = getWifiManager().getConnectionInfo(); in getCurrentWifiSSID()