/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiStatusPreferenceControllerTest.java | 52 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()
|
D | WifiRequestToggleActivityTest.java | 69 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/ |
D | RequestToggleWiFiActivity.java | 158 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()
|
D | WifiEnabler.java | 170 case WifiManager.WIFI_STATE_DISABLED: in handleWifiStateChanged()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiRowTest.java | 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() 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()
|
D | WifiTileTest.java | 63 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/ |
D | SarManagerTest.java | 253 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()
|
D | ConcreteClientModeManagerTest.java | 22 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/ |
D | WifiRequestToggleActivity.java | 151 case WifiManager.WIFI_STATE_DISABLED: in onStart() 253 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
|
D | WifiUtil.java | 89 case WifiManager.WIFI_STATE_DISABLED: in getIconRes() 99 case WifiManager.WIFI_STATE_DISABLED: in isWifiOn() 116 case WifiManager.WIFI_STATE_DISABLED: in getStateDesc()
|
D | WifiStatusPreferenceController.java | 46 case WifiManager.WIFI_STATE_DISABLED: in updateState()
|
D | AddWifiPreferenceController.java | 76 case WifiManager.WIFI_STATE_DISABLED: in onWifiStateChanged()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | InternetPreferenceRepositoryTest.kt | 191 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/ |
D | SarManager.java | 310 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState() 362 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
|
D | ActiveModeWarden.java | 23 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()
|
D | ConcreteClientModeManager.java | 412 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/ |
D | RequestToggleWiFiActivityTest.java | 65 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 151 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks() 156 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiPrimarySwitchPreferenceControllerTest.java | 91 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
|
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanBroadcastReceiverTest.java | 162 intent.putExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_DISABLED); in testWifiStateChanged()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 109 if (state == WifiManager.WIFI_STATE_DISABLED && mWifiEnabled) { in init()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | InternetUpdaterTest.java | 147 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOff_getInternetApm()
|
D | InternetPreferenceControllerTest.java | 127 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | AddWifiPreferenceControllerTest.java | 71 WifiManager.WIFI_STATE_DISABLED);
|
D | WifiStateSwitchPreferenceControllerTest.java | 101 mPreferenceController.onWifiStateChanged(WifiManager.WIFI_STATE_DISABLED); in onWifiStateChanged_disabled_setsSwitchUnchecked()
|