Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java24 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
106 checkWifiStateChangedBroadcast(intents.get(0), WIFI_STATE_ENABLING, WIFI_STATE_DISABLED); in startClientModeAndVerifyEnabled()
144 checkWifiStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, WIFI_STATE_DISABLING); in verifyNotificationsForCleanShutdown()
155 checkWifiStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, WIFI_STATE_DISABLING); in verifyNotificationsForFailure()
181 checkWifiStateChangedBroadcast(intents.get(0), WIFI_STATE_ENABLING, WIFI_STATE_DISABLED); in detectAndReportErrorWhenSetupForClientWifiNativeFailure()
182 checkWifiStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, WIFI_STATE_UNKNOWN); in detectAndReportErrorWhenSetupForClientWifiNativeFailure()
202 checkWifiStateChangedBroadcast(intents.get(0), WIFI_STATE_ENABLING, WIFI_STATE_DISABLED); in clientModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty()
203 checkWifiStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED, WIFI_STATE_UNKNOWN); in clientModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty()
DActiveModeWardenTest.java404 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in testScanOnlyModeDisabledWhenActive()
636 mClientListener.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in shutdownWifiDoesNotCrashWhenClientModeExitsOnDestroyed()
641 assertEquals(WifiManager.WIFI_STATE_DISABLED, mClientModeCallback.currentState); in shutdownWifiDoesNotCrashWhenClientModeExitsOnDestroyed()
653 mClientListener.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in onDestroyedCallbackDoesNotCrashWhenClientModeAlreadyStopped()
656 assertEquals(WifiManager.WIFI_STATE_DISABLED, mClientModeCallback.currentState); in onDestroyedCallbackDoesNotCrashWhenClientModeAlreadyStopped()
DScanOnlyModeManagerTest.java21 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
161 verify(mSarManager).setScanOnlyWifiState(eq(WIFI_STATE_DISABLED)); in scanModeStopCleansUpState()
DSarManagerTest.java389 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
442 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
504 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
978 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
1022 mSarMgr.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
DClientModeImplTest.java635 assertEquals(WifiManager.WIFI_STATE_DISABLED, mCmi.syncGetWifiState()); in checkIsWifiEnabledForModeChanges()
650 mCmi.setWifiStateForApiCalls(WifiManager.WIFI_STATE_DISABLED); in checkIsWifiEnabledForModeChanges()
655 assertEquals(WifiManager.WIFI_STATE_DISABLED, mCmi.syncGetWifiState()); in checkIsWifiEnabledForModeChanges()
670 WifiManager.WIFI_STATE_DISABLED); in matches()
2095 mCmi.setWifiStateForApiCalls(WifiManager.WIFI_STATE_DISABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2101 assertEquals(WifiManager.WIFI_STATE_DISABLED, mCmi.syncGetWifiState()); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2104 inOrderSarMgr.verify(mSarManager).setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in testWifiInfoCleanedUpEnteringExitingConnectModeState()
2938 mCmi.setWifiStateForApiCalls(WifiManager.WIFI_STATE_DISABLED); in testScoreCardNoteWifiDisabledWhileDisconnected()
2955 mCmi.setWifiStateForApiCalls(WifiManager.WIFI_STATE_DISABLED); in testScoreCardNoteWifiDisabledWhileConnected()
2994 assertEquals(WifiManager.WIFI_STATE_DISABLED, mCmi.syncGetWifiState()); in verifySetAndGetWifiStateCallsWorking()
[all …]
DWifiControllerTest.java920 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in testReturnToStaEnabledStateAfterAPModeShutdown()
DScanRequestProxyTest.java930 WifiManager.WIFI_STATE_DISABLED); in validateScanAvailableBroadcastSent()
DWifiServiceImplTest.java38 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
1043 when(mClientModeImpl.syncGetWifiState()).thenReturn(WIFI_STATE_DISABLED); in testWifiFullyStartsWhenDeviceIsDecryptedAtBootWithWifiEnabled()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java100 WifiManager.WIFI_STATE_DISABLED, LONG_TIMEOUT)); in test3GToWifiNotification()
154 WifiManager.WIFI_STATE_DISABLED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
203 WifiManager.WIFI_STATE_DISABLED, LONG_TIMEOUT)); in testDisconnectWifi()
223 WifiManager.WIFI_STATE_DISABLED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G()
327 WifiManager.WIFI_STATE_DISABLED, LONG_TIMEOUT)); in testWifiStateChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeManager.java144 || newState == WifiManager.WIFI_STATE_DISABLED) { in updateWifiState()
225 WifiManager.WIFI_STATE_DISABLED); in processMessage()
234 updateWifiState(WifiManager.WIFI_STATE_DISABLED, in processMessage()
327 updateWifiState(WifiManager.WIFI_STATE_DISABLED, in exit()
DScanOnlyModeManager.java136 if (state == WifiManager.WIFI_STATE_UNKNOWN || state == WifiManager.WIFI_STATE_DISABLED) { in updateWifiState()
278 updateWifiState(WifiManager.WIFI_STATE_DISABLED); in exit()
279 mSarManager.setScanOnlyWifiState(WifiManager.WIFI_STATE_DISABLED); in exit()
DActiveModeWarden.java402 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()
461 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
485 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()
547 mScanOnlyCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
DSarManager.java332 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState()
384 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
DWifiController.java200 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()
221 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()
DScanRequestProxy.java286 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, WifiManager.WIFI_STATE_DISABLED); in sendScanAvailableBroadcast()
DClientModeImpl.java19 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;
720 private final AtomicInteger mWifiState = new AtomicInteger(WIFI_STATE_DISABLED);
1352 case WIFI_STATE_DISABLED: in setWifiStateForApiCalls()
1383 case WIFI_STATE_DISABLED: in syncGetWifiStateByName()
3933 mSarManager.setClientWifiState(WifiManager.WIFI_STATE_DISABLED); in exit()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java151 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
156 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java108 if (state == WifiManager.WIFI_STATE_DISABLED && mWifiEnabled) { in init()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java63 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java189 enabled ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in setWifiEnabled()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java415 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java465 public static final int WIFI_STATE_DISABLED = 1; field in WifiManager
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java224 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
228 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java3544 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
3548 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...