Searched refs:activeInfo (Results 1 – 2 of 2) sorted by relevance
97 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in checkNetworkConnection() local98 if (activeInfo != null && activeInfo.isConnected()) { in checkNetworkConnection()99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
132 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in updateConnectedFlags() local133 if (activeInfo != null && activeInfo.isConnected()) { in updateConnectedFlags()134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()