Searched refs:getDetailedState (Results 1 – 4 of 4) sorted by relevance
19 assertThat(networkInfo.getDetailedState()).isEqualTo(NetworkInfo.DetailedState.SCANNING); in getDetailedState_shouldReturnTheAssignedState()
68 assertThat(wifi.getDetailedState()).isEqualTo(NetworkInfo.DetailedState.DISCONNECTED); in getNetworkInfo_shouldReturnDefaultNetworks()71 assertThat(mobile.getDetailedState()).isEqualTo(NetworkInfo.DetailedState.CONNECTED); in getNetworkInfo_shouldReturnDefaultNetworks()
71 protected NetworkInfo.DetailedState getDetailedState() { in getDetailedState() method in ShadowNetworkInfo
359 if (nInfo.getDetailedState().equals(DetailedState.CONNECTED)) { in onReceive()368 if (nInfo.getDetailedState().equals(DetailedState.DISCONNECTED)) { in onReceive()