/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SarManagerTest.java | 184 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook() 212 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn() 231 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook() 293 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook() 314 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook() 338 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn() 360 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook() 388 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledSar_error_wifiOn_offOnHook() 448 mSarMgr.setScanOnlyWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_staOff_sapOff_scanOnlyOn() 467 mSarMgr.setScanOnlyWifiState(WifiManager.WIFI_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_staOn_sapOff_scanOnlyOn() [all …]
|
D | ConcreteClientModeManagerTest.java | 24 import static android.net.wifi.WifiManager.WIFI_STATE_ENABLED; 331 checkWifiConnectModeStateChangedBroadcast(intents.get(1), WIFI_STATE_ENABLED, in startClientInConnectModeAndVerifyEnabled() 333 verify(mActiveModeWarden).setWifiStateForApiCalls(WIFI_STATE_ENABLED); in startClientInConnectModeAndVerifyEnabled() 451 checkWifiConnectModeStateChangedBroadcast(intents.get(1), WIFI_STATE_ENABLED, in switchFromScanOnlyModeToConnectMode() 453 verify(mActiveModeWarden).setWifiStateForApiCalls(WIFI_STATE_ENABLED); in switchFromScanOnlyModeToConnectMode() 488 checkWifiConnectModeStateChangedBroadcast(intents.get(1), WIFI_STATE_ENABLED, in testDisableWifiStateChangedBroadcasts() 535 verifyConnectModeNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in switchFromConnectModeToScanOnlyMode() 652 verifyConnectModeNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStopCleansUpState() 703 verifyConnectModeNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStartedStopsOnInterfaceDestroyed() 826 verifyConnectModeNotificationsForCleanShutdown(WIFI_STATE_ENABLED); in clientModeStopWithWifiOffDeferringTimeNoWifiCalling() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiTileTest.java | 73 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiNotConnected_returnsTile() 88 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiConnected_returnsTile() 105 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsTile() 123 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 141 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_hasFriendlyName_returnsTile() 159 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile() 208 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsTile_zoneWrite() 224 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsTile_zoneRead() 241 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsTile_zoneHidden()
|
D | WifiRowTest.java | 84 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiNotConnected_returnsRow() 100 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_wifiConnected_returnsRow() 118 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow() 137 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 156 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_hasFriendlyName_returnsRow() 175 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow() 227 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsRow_zoneWrite() 246 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsRow_zoneRead() 266 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_ENABLED); in getQCItem_createsRow_zoneHidden()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 144 case WifiManager.WIFI_STATE_ENABLED: { in onStart() 174 case WifiManager.WIFI_STATE_ENABLED: { in onStart() 201 case WifiManager.WIFI_STATE_ENABLED: in onStart() 329 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
|
D | WifiEnabler.java | 164 case WifiManager.WIFI_STATE_ENABLED: in handleWifiStateChanged()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/repository/ |
D | WifiRepositoryTest.kt | 37 putExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_ENABLED) in <lambda>() 46 assertThat(wifiState).isEqualTo(WifiManager.WIFI_STATE_ENABLED) in <lambda>()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivityTest.java | 79 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_ENABLED); in testOnStartWifiDisabled_toggleDisableWifi_showsDialog() 89 ShadowCarWifiManager.setWifiState(WifiManager.WIFI_STATE_ENABLED); in testOnStartWifiEnabled_toggleEnableWifi_finish()
|
D | WifiStatusPreferenceControllerTest.java | 55 WifiManager.WIFI_STATE_ENABLED,
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 135 case WifiManager.WIFI_STATE_ENABLED: in onStart() 252 case WifiManager.WIFI_STATE_ENABLED: in onReceive()
|
D | WifiStateSwitchPreferenceController.java | 115 mIsWifiEnabled = (state == WifiManager.WIFI_STATE_ENABLED in onWifiStateChanged()
|
D | WifiEntryListPreferenceController.java | 130 if (state == WifiManager.WIFI_STATE_ENABLED) { in onWifiStateChanged()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConcreteClientModeManager.java | 19 import static android.net.wifi.WifiManager.WIFI_STATE_ENABLED; 247 WifiManager.WIFI_STATE_ENABLED); in stop() 424 updateConnectModeState(mRole, WifiManager.WIFI_STATE_ENABLED, in continueToStopWifi() 1094 WifiManager.WIFI_STATE_ENABLED); in processMessageImpl() 1245 WIFI_STATE_ENABLED, WIFI_STATE_ENABLING); in enterImpl() 1282 WifiManager.WIFI_STATE_ENABLED); in processMessageImpl() 1307 WifiManager.WIFI_STATE_ENABLED); in processMessageImpl()
|
D | SarManager.java | 312 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setClientWifiState() 364 } else if (state == WifiManager.WIFI_STATE_ENABLED) { in setScanOnlyWifiState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiQCUtils.java | 45 if (wifiState == WifiManager.WIFI_STATE_ENABLED) { in getSubtitle()
|
D | WifiTile.java | 56 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
|
D | WifiRow.java | 61 boolean wifiEnabled = wifiState == WifiManager.WIFI_STATE_ENABLED in getQCItem()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 149 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks() 154 WifiManager.WIFI_STATE_ENABLED); in verifyWifiStateCallbacks()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiScanWorker.java | 151 if (mWifiPickerTracker.getWifiState() != WifiManager.WIFI_STATE_ENABLED in updateResults()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetPreferenceRepository.kt | 117 if (airplaneModeOn && wifiState != WifiManager.WIFI_STATE_ENABLED) { in <lambda>()
|
D | NetworkProviderSettings.java | 337 && mWifiPickerTracker.getWifiState() == WifiManager.WIFI_STATE_ENABLED; in onCreate() 849 case WifiManager.WIFI_STATE_ENABLED: in onWifiStateChanged() 958 || mWifiPickerTracker.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in updateWifiEntryPreferences() 1323 if (wifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getNonIndexableKeys()
|
D | InternetUpdater.java | 258 && mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in updateInternetType()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 111 doReturn(WifiManager.WIFI_STATE_ENABLED).when(mWifiManager).getWifiState(); in setUp() 339 assertThat(wifiManager.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in handleUriChange_updatesWifi()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 151 && wifiState == WifiManager.WIFI_STATE_ENABLED) {
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 113 if (state == WifiManager.WIFI_STATE_ENABLED && !mWifiEnabled) { in init()
|