Home
last modified time | relevance | path

Searched refs:WIFI_STATE_ENABLED (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java177 when(mWifiManager.isWifiEnabled()).thenReturn(wifiState == WifiManager.WIFI_STATE_ENABLED); in setWifiState()
211 setWifiState(WifiManager.WIFI_STATE_ENABLED); in savedNetworksExist_shouldShowSavedNetworksButton()
233 setWifiState(WifiManager.WIFI_STATE_ENABLED); in onEnableWifi_shouldNotSeeOffMessage()
236 callOnWifiStateChanged(WifiManager.WIFI_STATE_ENABLED); in onEnableWifi_shouldNotSeeOffMessage()
244 setWifiState(WifiManager.WIFI_STATE_ENABLED); in onConnected_shouldSeeConnectedMessage()
256 setWifiState(WifiManager.WIFI_STATE_ENABLED); in changingSecurityStateOnApShouldNotCauseMultipleListItems()
288 setWifiState(WifiManager.WIFI_STATE_ENABLED); in wrongPasswordSavedNetwork()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DRequestToggleWiFiActivity.java150 case WifiManager.WIFI_STATE_ENABLED: { in onStart()
180 case WifiManager.WIFI_STATE_ENABLED: { in onStart()
207 case WifiManager.WIFI_STATE_ENABLED: in onStart()
309 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
DWifiEnabler.java150 case WifiManager.WIFI_STATE_ENABLED: in handleWifiStateChanged()
DWifiStatusTest.java244 case WifiManager.WIFI_STATE_ENABLED: in setWifiStateText()
DWifiSettings.java661 case WifiManager.WIFI_STATE_ENABLED: in onWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java150 case WifiManager.WIFI_STATE_ENABLED: { in onStart()
180 case WifiManager.WIFI_STATE_ENABLED: { in onStart()
207 case WifiManager.WIFI_STATE_ENABLED: in onStart()
309 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
DWifiEnabler.java150 case WifiManager.WIFI_STATE_ENABLED: in handleWifiStateChanged()
DWifiStatusTest.java244 case WifiManager.WIFI_STATE_ENABLED: in setWifiStateText()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java132 when(mWifiManager.isWifiEnabled()).thenReturn(wifiState == WifiManager.WIFI_STATE_ENABLED); in setWifiState()
164 setWifiState(WifiManager.WIFI_STATE_ENABLED); in onConnected_shouldSeeConnectedMessage()
169 callOnWifiStateChanged(WifiManager.WIFI_STATE_ENABLED); in onConnected_shouldSeeConnectedMessage()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java145 case WifiManager.WIFI_STATE_ENABLED: in onStart()
262 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
DAccessPointListPreferenceController.java91 if (state == WifiManager.WIFI_STATE_ENABLED) { in onWifiStateChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java323 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
331 case WifiManager.WIFI_STATE_ENABLED: in isWifiEnabled()
341 case WifiManager.WIFI_STATE_ENABLED: in getSummary()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAddWifiPreferenceControllerTest.java42 WifiManager.WIFI_STATE_ENABLED,
DWifiStatusPreferenceControllerTest.java51 WifiManager.WIFI_STATE_ENABLED,
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java79 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
DWifiSlice.java331 case WifiManager.WIFI_STATE_ENABLED: in isWifiEnabled()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java148 && wifiState == WifiManager.WIFI_STATE_ENABLED) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java287 return mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED in isWifiEnabledOrEnabling()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkListFragment.java162 case WifiManager.WIFI_STATE_ENABLED: in onWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java162 case WifiManager.WIFI_STATE_ENABLED: in onWifiStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java267 assertThat(wifiManager.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in handleUriChange_updatesWifi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java1523 mController.mWifiListener.onWifiStateChanged(WifiManager.WIFI_STATE_ENABLED); in testConnectButton_clickConnectWhenWiFiDisabled_displaySuccessMessage()
1562 mController.mWifiListener.onWifiStateChanged(WifiManager.WIFI_STATE_ENABLED); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWiFi()
1601 mController.mWifiListener.onWifiStateChanged(WifiManager.WIFI_STATE_ENABLED); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWifiBecauseNotInRange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java290 sWifiStaStates.put(WifiManager.WIFI_STATE_ENABLED, "STA_ENABLED"); in sWifiStaStates.put() argument
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java285 if (mConnectingState == STATE_ENABLE_WIFI && state == WifiManager.WIFI_STATE_ENABLED) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java277 if (mConnectingState == STATE_ENABLE_WIFI && state == WifiManager.WIFI_STATE_ENABLED) {

12