Searched refs:wifiConnected (Results 1 - 3 of 3) sorted by last modified time

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DCellularTile.java134 boolean wifiConnected; field in class:CellularTile.CallbackInfo
155 mInfo.wifiConnected = connected;
H A DWifiTile.java112 boolean wifiConnected = cb.enabled && (cb.wifiSignalIconId > 0) && (cb.enabledDesc != null);
120 state.connected = wifiConnected;
130 } else if (wifiConnected) {
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java71 private static boolean wifiConnected = false; field in class:NetworkActivity
126 // Checks the network connection and sets the wifiConnected and mobileConnected
134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI;
137 wifiConnected = false;
147 if (((sPref.equals(ANY)) && (wifiConnected || mobileConnected))
148 || ((sPref.equals(WIFI)) && (wifiConnected))) {
282 * If it is, it checks whether Wi-Fi is connected and sets the wifiConnected flag in the

Completed in 85 milliseconds