Searched refs:ShadowNetworkInfo (Results 1 – 5 of 5) sorted by relevance
9 public class ShadowNetworkInfo { class46 final ShadowNetworkInfo info = Shadow.extract(networkInfo); in newInstance()
52 NetworkInfo wifi = ShadowNetworkInfo.newInstance(NetworkInfo.DetailedState.DISCONNECTED, in ShadowConnectivityManager()56 NetworkInfo mobile = ShadowNetworkInfo.newInstance(NetworkInfo.DetailedState.CONNECTED, in ShadowConnectivityManager()
230 ShadowNetworkInfo.newInstance( in connect()
55 import org.robolectric.shadows.ShadowNetworkInfo;61 ShadowNetworkInfo.newInstance(64 ShadowNetworkInfo.newInstance(67 ShadowNetworkInfo.newInstance(74 ShadowNetworkInfo.newInstance(
35 private ShadowNetworkInfo shadowOfActiveNetworkInfo;87 ShadowNetworkInfo.newInstance( in getNetworkInfo_shouldReturnAddedNetwork()130 ShadowNetworkInfo.newInstance( in setActiveNetworkInfo_shouldSetActiveNetworkInfo()165 ShadowNetworkInfo.newInstance( in setActiveNetworkInfo_shouldSetActiveNetwork()196 ShadowNetworkInfo.newInstance( in getAllNetworkInfo_shouldEqualGetAllNetworks()242 ShadowNetworkInfo.newInstance( in getAllNetworks_shouldReturnAddedNetworks()