Searched refs:activeNetwork (Results 1 – 2 of 2) sorted by relevance
40 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection() local41 return activeNetwork != null && activeNetwork.isConnectedOrConnecting(); in hasDataConnection()
686 Network activeNetwork = mConnectivityManager.getActiveNetwork(); in isExpectedTransportForActiveNetwork() local688 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()689 Log.i(TAG, "Network capabilities for " + activeNetwork.netId + " " in isExpectedTransportForActiveNetwork()