HomeSort by relevance Sort by last modified time
    Searched refs:wifiConnected (Results 1 - 4 of 4) sorted by null

  /developers/samples/android/connectivity/network/BasicNetworkDemo/BasicNetworkDemo/src/main/java/com/example/android/networkbasic/
MainActivity.java 45 private static boolean wifiConnected = false;
99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI;
101 if(wifiConnected) {
  /development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 71 private static boolean wifiConnected = false;
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
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java 71 private static boolean wifiConnected = false;
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
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsModel.java 445 boolean wifiConnected = enabled && (wifiSignalIconId > 0) && (enabledDesc != null);
448 mWifiState.connected = wifiConnected;
451 if (wifiConnected) {

Completed in 554 milliseconds