Home
last modified time | relevance | path

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

/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java71 private static boolean wifiConnected = false; field in NetworkActivity
134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()
137 wifiConnected = false; in updateConnectedFlags()
147 if (((sPref.equals(ANY)) && (wifiConnected || mobileConnected)) in loadPage()
148 || ((sPref.equals(WIFI)) && (wifiConnected))) { in loadPage()
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DMainActivity.java45 private static boolean wifiConnected = false; field in MainActivity
99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()
101 if(wifiConnected) { in checkNetworkConnection()