Searched refs:getNetworkInfo (Results 1 – 4 of 4) sorted by relevance
67 NetworkInfo wifi = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in getNetworkInfo_shouldReturnDefaultNetworks()70 NetworkInfo mobile = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in getNetworkInfo_shouldReturnDefaultNetworks()78 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getNetworkInfo_shouldReturnSomeForAllNetworks()95 NetworkInfo returnedNetworkInfo = connectivityManager.getNetworkInfo(vpnNetwork); in getNetworkInfo_shouldReturnAddedNetwork()104 NetworkInfo returnedNetworkInfo = connectivityManager.getNetworkInfo(wifiNetwork); in getNetworkInfo_shouldNotReturnRemovedNetwork()208 networkInfos[i] = connectivityManager.getNetworkInfo(networks[i]); in getAllNetworkInfo_shouldEqualGetAllNetworks()256 NetworkInfo returnedNetworkInfo = connectivityManager.getNetworkInfo(returnedNetwork); in getAllNetworks_shouldReturnAddedNetworks()365 .setActiveNetworkInfo(connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE)); in isActiveNetworkMetered_mobileIsMetered()372 .setActiveNetworkInfo(connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI)); in isActiveNetworkMetered_nonMobileIsUnmetered()
136 return getNetworkState(connectivityManager.getNetworkInfo(network)); in getNetworkState()185 final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getDefaultNetId()
146 protected NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ShadowConnectivityManager151 protected NetworkInfo getNetworkInfo(Network network) { in getNetworkInfo() method in ShadowConnectivityManager
122 Networking.prototype.getNetworkInfo = function(networkId) { method in Networking