Home
last modified time | relevance | path

Searched refs:WIFI_STATE_DISABLED (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiStatusPreferenceControllerTest.java52 WifiManager.WIFI_STATE_DISABLED,
95 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_visible()
104 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_isNotSelectable()
113 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_showsDisabledText()
123 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in updateState_wifiDisabled_showsIcon()
150 int state = WifiManager.WIFI_STATE_DISABLED; in onWifiStateChanged_disabled()
DWifiRequestToggleActivityTest.java69 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in testOnStartWifiEnabled_toggleEnableWifi_showsDialog()
99 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_DISABLED); in testOnStartWifiDisabled_toggleDisableWifi_finish()
DAddWifiPreferenceControllerTest.java47 WifiManager.WIFI_STATE_DISABLED);
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java165 case WifiManager.WIFI_STATE_DISABLED: { in onStart()
190 case WifiManager.WIFI_STATE_DISABLED: in onStart()
199 case WifiManager.WIFI_STATE_DISABLED: { in onStart()
311 case WifiManager.WIFI_STATE_DISABLED: { in onReceive()
DWifiEnabler.java149 case WifiManager.WIFI_STATE_DISABLED: in handleWifiStateChanged()
DWifiStatusTest.java237 case WifiManager.WIFI_STATE_DISABLED: in setWifiStateText()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteClientModeManagerTest.java22 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
308 WIFI_STATE_DISABLED); in startClientInConnectModeAndVerifyEnabled()
336 WIFI_STATE_DISABLED, WIFI_STATE_DISABLING); in verifyConnectModeNotificationsForCleanShutdown() local
337 assertEquals(WIFI_STATE_DISABLED, mClientModeManager.syncGetWifiState()); in verifyConnectModeNotificationsForCleanShutdown()
349 checkWifiConnectModeStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, in verifyConnectModeNotificationsForFailure()
351 assertEquals(WIFI_STATE_DISABLED, mClientModeManager.syncGetWifiState()); in verifyConnectModeNotificationsForFailure()
399 WIFI_STATE_DISABLED); in switchFromScanOnlyModeToConnectMode()
425 assertEquals(WIFI_STATE_DISABLED, mClientModeManager.syncGetWifiState()); in testDisableWifiStateChangedBroadcasts()
436 WIFI_STATE_DISABLED); in testDisableWifiStateChangedBroadcasts()
488 WIFI_STATE_DISABLED); in detectAndReportErrorWhenSetupForClientInConnectivityModeWifiNativeFailure()
[all …]
DSarManagerTest.java247 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
300 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
362 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
503 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
547 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConcreteClientModeManager.java19 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
158 private final AtomicInteger mWifiState = new AtomicInteger(WIFI_STATE_DISABLED);
636 case WIFI_STATE_DISABLED: in setWifiStateForApiCalls()
655 case WIFI_STATE_DISABLED: in syncGetWifiStateByName()
879 WifiManager.WIFI_STATE_DISABLED); in processMessage()
886 WifiManager.WIFI_STATE_DISABLED, in processMessage()
1086 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLED, in exit()
DSarManager.java328 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState()
380 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
DDefaultClientModeManager.java73 return WifiManager.WIFI_STATE_DISABLED; in syncGetWifiState()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java79 case WifiManager.WIFI_STATE_DISABLED: in getIconRes()
89 case WifiManager.WIFI_STATE_DISABLED: in isWifiOn()
106 case WifiManager.WIFI_STATE_DISABLED: in getStateDesc()
DWifiRequestToggleActivity.java159 case WifiManager.WIFI_STATE_DISABLED: in onStart()
261 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
DAddWifiPreferenceController.java45 case WifiManager.WIFI_STATE_DISABLED: in onWifiStateChanged()
DWifiStatusPreferenceController.java46 case WifiManager.WIFI_STATE_DISABLED: in updateState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java151 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
156 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DWifiSwitchPreferenceControllerTest.java77 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in isChecked_wifiStateDisabled_returnFalse()
DInternetPreferenceControllerTest.java81 when(wifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
DInternetUpdaterTest.java146 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOff_getInternetApm()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiStateSwitchPreferenceControllerTest.java73 mPreferenceController.onWifiStateChanged(WifiManager.WIFI_STATE_DISABLED); in onWifiStateChanged_disabled_setsSwitchUnchecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiPrimarySwitchPreferenceControllerTest.java82 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanBroadcastReceiverTest.java163 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_DISABLED); in testWifiStateChanged()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java109 if (state == WifiManager.WIFI_STATE_DISABLED && mWifiEnabled) { in init()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanEventListener.java240 if (wifiState == WifiManager.WIFI_STATE_DISABLED) { in onBroadcastReceived()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java255 when(mWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in withOneSuggestion_whenScanResultChangedButWifiOff_uiListShouldHaveZeroLevel()

12