/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()
|
D | AddWifiPreferenceControllerTest.java | 47 WifiManager.WIFI_STATE_DISABLED);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 165 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()
|
D | WifiEnabler.java | 149 case WifiManager.WIFI_STATE_DISABLED: in handleWifiStateChanged()
|
D | WifiStatusTest.java | 237 case WifiManager.WIFI_STATE_DISABLED: in setWifiStateText()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConcreteClientModeManagerTest.java | 22 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 …]
|
D | SarManagerTest.java | 247 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/ |
D | ConcreteClientModeManager.java | 19 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()
|
D | SarManager.java | 328 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState() 380 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
|
D | DefaultClientModeManager.java | 73 return WifiManager.WIFI_STATE_DISABLED; in syncGetWifiState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 79 case WifiManager.WIFI_STATE_DISABLED: in getIconRes() 89 case WifiManager.WIFI_STATE_DISABLED: in isWifiOn() 106 case WifiManager.WIFI_STATE_DISABLED: in getStateDesc()
|
D | WifiRequestToggleActivity.java | 159 case WifiManager.WIFI_STATE_DISABLED: in onStart() 261 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
|
D | AddWifiPreferenceController.java | 45 case WifiManager.WIFI_STATE_DISABLED: in onWifiStateChanged()
|
D | WifiStatusPreferenceController.java | 46 case WifiManager.WIFI_STATE_DISABLED: in updateState()
|
/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/unit/src/com/android/settings/network/ |
D | WifiSwitchPreferenceControllerTest.java | 77 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in isChecked_wifiStateDisabled_returnFalse()
|
D | InternetPreferenceControllerTest.java | 81 when(wifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
|
D | InternetUpdaterTest.java | 146 doReturn(WifiManager.WIFI_STATE_DISABLED).when(mWifiManager).getWifiState(); in updateInternetType_apmOnWifiOff_getInternetApm()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiStateSwitchPreferenceControllerTest.java | 73 mPreferenceController.onWifiStateChanged(WifiManager.WIFI_STATE_DISABLED); in onWifiStateChanged_disabled_setsSwitchUnchecked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiPrimarySwitchPreferenceControllerTest.java | 82 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
|
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanBroadcastReceiverTest.java | 163 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/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanEventListener.java | 240 if (wifiState == WifiManager.WIFI_STATE_DISABLED) { in onBroadcastReceived()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragmentTest.java | 255 when(mWifiPickerTracker.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in withOneSuggestion_whenScanResultChangedButWifiOff_uiListShouldHaveZeroLevel()
|