Home
last modified time | relevance | path

Searched refs:ShadowNetworkInfo (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNetworkInfo.java9 public class ShadowNetworkInfo { class
46 final ShadowNetworkInfo info = Shadow.extract(networkInfo); in newInstance()
DShadowConnectivityManager.java52 NetworkInfo wifi = ShadowNetworkInfo.newInstance(NetworkInfo.DetailedState.DISCONNECTED, in ShadowConnectivityManager()
56 NetworkInfo mobile = ShadowNetworkInfo.newInstance(NetworkInfo.DetailedState.CONNECTED, in ShadowConnectivityManager()
DShadowWifiManager.java230 ShadowNetworkInfo.newInstance( in connect()
/external/grpc-grpc-java/android/src/test/java/io/grpc/android/
DAndroidChannelBuilderTest.java55 import org.robolectric.shadows.ShadowNetworkInfo;
61 ShadowNetworkInfo.newInstance(
64 ShadowNetworkInfo.newInstance(
67 ShadowNetworkInfo.newInstance(
74 ShadowNetworkInfo.newInstance(
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowConnectivityManagerTest.java35 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()