Home
last modified time | relevance | path

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

/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DMainActivity.java47 private static boolean mobileConnected = false; field in MainActivity
100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
103 } else if (mobileConnected){ in checkNetworkConnection()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java73 private static boolean mobileConnected = false; field in NetworkActivity
135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
138 mobileConnected = false; in updateConnectedFlags()
147 if (((sPref.equals(ANY)) && (wifiConnected || mobileConnected)) in loadPage()