Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowConnectivityManager.java156 return netIdToNetworkInfo.get(shadowNetwork.getNetId()); in getNetworkInfo()
262 int netId = shadowNetwork.getNetId(); in addNetwork()
273 int netId = shadowNetwork.getNetId(); in removeNetwork()
DShadowNetwork.java60 public int getNetId() { in getNetId() method in ShadowNetwork
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNetworkTest.java27 assertThat(shadowNetwork.getNetId()).isEqualTo(netId); in getNetId_shouldReturnConstructorNetId()
DShadowConnectivityManagerTest.java178 … assertThat(shadowOf(connectivityManager.getActiveNetwork()).getNetId()).isEqualTo(info.getType()); in setActiveNetworkInfo_shouldSetActiveNetwork()
270 … assertThat(shadowReturnedNetwork.getNetId()).isNotEqualTo(ShadowConnectivityManager.NET_ID_WIFI); in getAllNetworks_shouldNotReturnRemovedNetworks()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java937 nw.put("netId", data.getNetId()); in buildNetwork()