Home
last modified time | relevance | path

Searched refs:WIFI_STATE_DISABLED (Results 1 – 25 of 39) 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()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java158 case WifiManager.WIFI_STATE_DISABLED: { in onStart()
183 case WifiManager.WIFI_STATE_DISABLED: in onStart()
192 case WifiManager.WIFI_STATE_DISABLED: { in onStart()
330 case WifiManager.WIFI_STATE_DISABLED: { in onReceive()
DWifiEnabler.java170 case WifiManager.WIFI_STATE_DISABLED: in handleWifiStateChanged()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DWifiRowTest.java65 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_setsTitle()
73 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_wifiDisabled_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()
215 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in onNotifyChange_togglesWifi()
DWifiTileTest.java63 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in getQCItem_wifiDisabled_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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java253 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
306 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
368 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
509 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
553 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
DConcreteClientModeManagerTest.java22 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
330 WIFI_STATE_DISABLED); in startClientInConnectModeAndVerifyEnabled()
358 WIFI_STATE_DISABLED, WIFI_STATE_DISABLING); in verifyConnectModeNotificationsForCleanShutdown() local
359 verify(mActiveModeWarden).setWifiStateForApiCalls(WIFI_STATE_DISABLED); in verifyConnectModeNotificationsForCleanShutdown()
371 checkWifiConnectModeStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, in verifyConnectModeNotificationsForFailure()
373 verify(mActiveModeWarden).setWifiStateForApiCalls(WIFI_STATE_DISABLED); in verifyConnectModeNotificationsForFailure()
450 WIFI_STATE_DISABLED); in switchFromScanOnlyModeToConnectMode()
476 verify(mActiveModeWarden, never()).setWifiStateForApiCalls(WIFI_STATE_DISABLED); in testDisableWifiStateChangedBroadcasts()
487 WIFI_STATE_DISABLED); in testDisableWifiStateChangedBroadcasts()
519 == WIFI_STATE_DISABLED), in testSwitchFromConnectModeToScanOnlyModeFail()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java151 case WifiManager.WIFI_STATE_DISABLED: in onStart()
253 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
DWifiUtil.java89 case WifiManager.WIFI_STATE_DISABLED: in getIconRes()
99 case WifiManager.WIFI_STATE_DISABLED: in isWifiOn()
116 case WifiManager.WIFI_STATE_DISABLED: in getStateDesc()
DWifiStatusPreferenceController.java46 case WifiManager.WIFI_STATE_DISABLED: in updateState()
DAddWifiPreferenceController.java76 case WifiManager.WIFI_STATE_DISABLED: in onWifiStateChanged()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DInternetPreferenceRepositoryTest.kt191 on { wifiStateFlow() } doReturn flowOf(WifiManager.WIFI_STATE_DISABLED) in <lambda>()
212 on { wifiStateFlow() } doReturn flowOf(WifiManager.WIFI_STATE_DISABLED) in <lambda>()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSarManager.java310 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState()
362 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
DActiveModeWarden.java23 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
191 private final AtomicInteger mWifiState = new AtomicInteger(WIFI_STATE_DISABLED);
204 case WIFI_STATE_DISABLED: in setWifiStateForApiCalls()
234 case WIFI_STATE_DISABLED: in getWifiStateName()
1641 mWifiInjector.getSarManager().setScanOnlyWifiState(WifiManager.WIFI_STATE_DISABLED); in reportWifiStateToSarManager()
1648 mWifiInjector.getSarManager().setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in reportWifiStateToSarManager()
2419 || mWifiState.get() == WIFI_STATE_DISABLED) { in handleAdditionalClientModeManagerRequest()
DConcreteClientModeManager.java412 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLED, in continueToStopWifi()
1072 WifiManager.WIFI_STATE_DISABLED); in processMessageImpl()
1079 WifiManager.WIFI_STATE_DISABLED, in processMessageImpl()
1319 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLED, in exitImpl()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DRequestToggleWiFiActivityTest.java65 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/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/robotests/src/com/android/settings/wifi/
DWifiPrimarySwitchPreferenceControllerTest.java91 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanBroadcastReceiverTest.java162 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/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetUpdaterTest.java147 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOff_getInternetApm()
DInternetPreferenceControllerTest.java127 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DAddWifiPreferenceControllerTest.java71 WifiManager.WIFI_STATE_DISABLED);
DWifiStateSwitchPreferenceControllerTest.java101 mPreferenceController.onWifiStateChanged(WifiManager.WIFI_STATE_DISABLED); in onWifiStateChanged_disabled_setsSwitchUnchecked()

12