Searched refs:getWifiState (Results 1 – 25 of 44) sorted by relevance
12
63 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_wifiDisabled_returnsTile()73 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiNotConnected_returnsTile()88 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiConnected_returnsTile()105 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsTile()123 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()141 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_hasFriendlyName_returnsTile()159 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile()176 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_hasBaseUmRestriction_tileDisabled()186 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_hasUmRestriction_tileClickableWhileDisabled()196 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in onNotifyChange_togglesWifi()[all …]
65 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_setsTitle()73 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_wifiDisabled_returnsRow()84 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiNotConnected_returnsRow()100 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiConnected_returnsRow()118 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow()137 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow()156 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_hasFriendlyName_returnsRow()175 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow()193 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_hasBaseUmRestriction_switchDisabled()204 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_hasUmRestriction_switchClickableWhileDisabled()[all …]
205 public int getWifiState() { in getWifiState() method in CarWifiManager206 return mWifiManager.getWifiState(); in getWifiState()249 int state = mWifiTracker.getWifiState(); in onWifiStateChanged()
130 final int wifiState = mCarWifiManager.getWifiState(); in onStart()250 int currentState = mCarWifiManager.getWifiState(); in onReceive()
45 switch (getCarWifiManager().getWifiState()) { in updateState()
95 onWifiStateChanged(getCarWifiManager().getWifiState()); in onStartInternal()
85 onWifiStateChanged(mCarWifiManager.getWifiState()); in onStart()
40 int wifiState = wifiManager.getWifiState(); in getSubtitle()104 int state = wifiManager.getWifiState();
55 int wifiState = mWifiManager.getWifiState(); in getQCItem()
60 int wifiState = mWifiManager.getWifiState(); in getQCItem()
72 handleWifiStateChanged(mWifiManager.getWifiState());113 final int state = mWifiManager.getWifiState(); in setupSwitchController()
139 final int wifiState = mWiFiManager.getWifiState(); in onStart()327 final int currentState = mWiFiManager.getWifiState(); in onReceive()
147 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOff_getInternetApm()158 doReturn(WifiManager.WIFI_STATE_ENABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOnNotConnected_getInternetNetworksAvailable()
111 doReturn(WifiManager.WIFI_STATE_ENABLED).when(mWifiManager).getWifiState(); in setUp()204 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in getWifiSlice_wifiOff_shouldReturnSingleRow()339 assertThat(wifiManager.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in handleUriChange_updatesWifi()
96 public int getWifiState() { in getWifiState() method in ShadowCarWifiManager
65 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
67 mWifiManager.getWifiState(); in testGetWifiState()
381 && (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED in isWifiEnabledOrEnabling()382 || mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLING); in isWifiEnabledOrEnabling()
411 && (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED in isWifiEnabledOrEnabling()412 || mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLING); in isWifiEnabledOrEnabling()
115 mListener.onWifiStateChanged(mWifiPickerTracker.getWifiState());
151 if (mWifiPickerTracker.getWifiState() != WifiManager.WIFI_STATE_ENABLED in updateResults()
337 && mWifiPickerTracker.getWifiState() == WifiManager.WIFI_STATE_ENABLED; in onCreate()832 final int wifiState = mWifiPickerTracker.getWifiState(); in onWifiStateChanged()958 || mWifiPickerTracker.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in updateWifiEntryPreferences()1323 if (wifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getNonIndexableKeys()
258 && mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in updateInternetType()
91 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
246 when(mWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in withOneSuggestion_whenScanResultChanged_uiListShouldHaveNewLevel()266 when(mWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in withOneSuggestion_whenScanResultChangedButWifiOff_uiListShouldHaveZeroLevel()