Home
last modified time | relevance | path

Searched refs:getWifiState (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java203 public int getWifiState() { in getWifiState() method in CarWifiManager
204 return mWifiManager.getWifiState(); in getWifiState()
DWifiRequestToggleActivity.java136 final int wifiState = mCarWifiManager.getWifiState(); in onStart()
256 int currentState = mCarWifiManager.getWifiState(); in onReceive()
DWifiStatusPreferenceController.java45 switch (getCarWifiManager().getWifiState()) { in updateState()
DWifiSettingsFragment.java103 onWifiStateChanged(mCarWifiManager.getWifiState()); in onStart()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java60 handleWifiStateChanged(mWifiManager.getWifiState());
101 final int state = mWifiManager.getWifiState(); in setupSwitchController()
DRequestToggleWiFiActivity.java144 final int wifiState = mWiFiManager.getWifiState(); in onStart()
306 final int currentState = mWiFiManager.getWifiState(); in onReceive()
DWifiSettings2.java625 final int wifiState = mWifiPickerTracker.getWifiState(); in onWifiStateChanged()
702 mWifiPickerTracker.getWifiState() == WifiManager.WIFI_STATE_ENABLED) { in updateWifiEntryPreferencesDelayed()
715 if (mWifiPickerTracker.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in updateWifiEntryPreferences()
DWifiSettings.java381 onWifiStateChanged(mWifiManager.getWifiState()); in onStart()
708 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
DWifiStatusTest.java180 setWifiStateText(mWifiManager.getWifiState());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java64 handleWifiStateChanged(mWifiManager.getWifiState());
108 final int state = mWifiManager.getWifiState(); in setupSwitchController()
DRequestToggleWiFiActivity.java144 final int wifiState = mWiFiManager.getWifiState(); in onStart()
306 final int currentState = mWiFiManager.getWifiState(); in onReceive()
DWifiSettings.java355 onWifiStateChanged(mWifiManager.getWifiState()); in onStart()
659 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
DWifiStatusTest.java180 setWifiStateText(mWifiManager.getWifiState());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java322 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
329 switch (mWifiManager.getWifiState()) { in isWifiEnabled()
339 switch (mWifiManager.getWifiState()) { in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java216 when(mMockWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in withOneSuggestion_whenScanResultChanged_uiListShouldHaveNewLevel()
236 when(mMockWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in withOneSuggestion_whenScanResultChangedButWifiOff_uiListShouldHaveZeroLevel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java358 && (mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED in isWifiEnabledOrEnabling()
359 || mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLING); in isWifiEnabledOrEnabling()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java96 public int getWifiState() { in getWifiState() method in ShadowCarWifiManager
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java64 onWifiStateChanged(mCarWifiManager.getWifiState()); in WifiTile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiMasterSwitchPreferenceControllerTest.java82 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java166 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java125 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java157 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkListFragment.java160 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java270 assertThat(wifiManager.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in handleUriChange_updatesWifi()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java174 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()

12