Searched refs:getActiveNetworkInfo (Results 1 – 9 of 9) sorted by relevance
42 shadowOfActiveNetworkInfo = shadowOf(connectivityManager.getActiveNetworkInfo()); in setUp()47 assertThat(connectivityManager.getActiveNetworkInfo()).isNotNull(); in getActiveNetworkInfo_shouldInitializeItself()53 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()54 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()57 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isTrue(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()58 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()61 assertThat(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()62 assertThat(connectivityManager.getActiveNetworkInfo().isConnected()).isFalse(); in getActiveNetworkInfo_shouldReturnTrueCorrectly()127 assertThat(connectivityManager.getActiveNetworkInfo()).isNull(); in setActiveNetworkInfo_shouldSetActiveNetworkInfo()137 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in setActiveNetworkInfo_shouldSetActiveNetworkInfo()[all …]
451 .getActiveNetworkInfo(); in reconnect_updatesConnectivityManager()
124 return getNetworkState(connectivityManager.getActiveNetworkInfo()); in getNetworkState()175 final NetworkInfo defaultNetworkInfo = connectivityManager.getActiveNetworkInfo(); in getDefaultNetId()
55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
114 protected NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ShadowConnectivityManager125 return netIdToNetwork.get(getActiveNetworkInfo().getType()); in getActiveNetwork()
714 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionExtraInfo()724 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionSubtypeName()734 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkGetActiveConnectionTypeName()749 NetworkInfo current = mManager.getActiveNetworkInfo(); in connectivityNetworkIsConnected()
350 NetworkInfo networkInfo = conn.getActiveNetworkInfo(); in onReceive()
256 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in setProxyConfig()
321 NetworkInfo previousNetworkInfo = getActiveNetworkInfo(); in setActiveNetworkInfo()