Searched refs:isEthernetAvailable (Results 1 – 3 of 3) sorted by relevance
78 doReturn(false).when(listener).isEthernetAvailable(); in testUpdateWifi_NoNetwork()95 doReturn(true).when(listener).isEthernetAvailable(); in testUpdateWifi_hasEthernet()112 doReturn(true).when(listener).isEthernetAvailable(); in testUpdateWifi_hasEthernetConnected()129 doReturn(false).when(listener).isEthernetAvailable(); in testUpdateWifi_wifiSignal()178 doReturn(false).when(listener).isEthernetAvailable(); in testUpdateWifi_notConnected()195 doReturn(false).when(listener).isEthernetAvailable(); in testUpdateWifi_cellSignal()
227 public boolean isEthernetAvailable() { in isEthernetAvailable() method in ConnectivityListener
202 final boolean ethernetAvailable = mConnectivityListener.isEthernetAvailable(); in updateConnectivity()