Searched refs:WIFI_STATE_DISABLED (Results 1 – 25 of 25) sorted by relevance
24 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()
404 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()
21 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;161 verify(mSarManager).setScanOnlyWifiState(eq(WIFI_STATE_DISABLED)); in scanModeStopCleansUpState()
389 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()
635 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 …]
920 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in testReturnToStaEnabledStateAfterAPModeShutdown()
930 WifiManager.WIFI_STATE_DISABLED); in validateScanAvailableBroadcastSent()
38 import static android.net.wifi.WifiManager.WIFI_STATE_DISABLED;1043 when(mClientModeImpl.syncGetWifiState()).thenReturn(WIFI_STATE_DISABLED); in testWifiFullyStartsWhenDeviceIsDecryptedAtBootWithWifiEnabled()
100 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()
144 || 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()
136 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()
402 } 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()
332 if (state == WifiManager.WIFI_STATE_DISABLED) { in setClientWifiState()384 if (state == WifiManager.WIFI_STATE_DISABLED) { in setScanOnlyWifiState()
200 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()221 } else if (state == WifiManager.WIFI_STATE_DISABLED) { in onStateChanged()
286 intent.putExtra(WifiManager.EXTRA_SCAN_AVAILABLE, WifiManager.WIFI_STATE_DISABLED); in sendScanAvailableBroadcast()
19 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()
151 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()156 WifiManager.WIFI_STATE_DISABLED); in verifyWifiStateCallbacks()
108 if (state == WifiManager.WIFI_STATE_DISABLED && mWifiEnabled) { in init()
63 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
189 enabled ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in setWifiEnabled()
415 case WifiManager.WIFI_STATE_DISABLED: in onReceive()
465 public static final int WIFI_STATE_DISABLED = 1; field in WifiManager
224 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()228 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
3544 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()3548 isWifiOn ? WifiManager.WIFI_STATE_ENABLED : WifiManager.WIFI_STATE_DISABLED); in simulateWifiStateChange()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...