Home
last modified time | relevance | path

Searched refs:WIFI_AP_STATE_DISABLED (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java25 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
224 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApDefaultConfigFailedToLoad()
266 WIFI_AP_STATE_DISABLED, WifiManager.SAP_START_FAILURE_GENERAL, null, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() local
308 WIFI_AP_STATE_DISABLED, WifiManager.SAP_START_FAILURE_GENERAL, "", in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() local
351 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
398 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
511 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApFailNoChannel()
590 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
591 verify(mSarManager).setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in stopWhenStarted()
594 checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_DISABLED, in stopWhenStarted() local
[all …]
DActiveModeWardenTest.java666 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in shutdownWifiDoesNotCrashWhenSoftApExitsOnDestroyed()
671 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in shutdownWifiDoesNotCrashWhenSoftApExitsOnDestroyed()
683 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in onDestroyedCallbackDoesNotCrashWhenSoftApModeAlreadyStopped()
686 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in onDestroyedCallbackDoesNotCrashWhenSoftApModeAlreadyStopped()
DSarManagerTest.java866 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_staOn_sapOnOff()
898 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_sapOnOff_staOffOn()
986 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
1038 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
DWifiServiceImplTest.java32 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
974 assertEquals(WifiManager.WIFI_AP_STATE_DISABLED, mWifiServiceImpl.getWifiApEnabledState()); in testGetWifiApEnabled()
982 assertEquals(WifiManager.WIFI_AP_STATE_DISABLED, mWifiServiceImpl.getWifiApEnabledState()); in testGetWifiApEnabled()
989 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL, in testGetWifiApEnabled() local
1718 verify(mClientSoftApCallback, never()).onStateChanged(WIFI_AP_STATE_DISABLED, 0); in registerSoftApCallbackFailureOnLinkToDeath()
1740 verify(callback).onStateChanged(WIFI_AP_STATE_DISABLED, 0); in registerSoftApCallbackAndVerify()
1957 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL, in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() local
1982 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_NO_CHANNEL, in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() local
2052 WIFI_AP_STATE_DISABLED, WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabled() local
2077 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, in testRegisteredCallbacksNotTriggeredOnSoftApStart() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java82 case WifiManager.WIFI_AP_STATE_DISABLED: in stateToString()
209 case WifiManager.WIFI_AP_STATE_DISABLED: in maybeResetSoftApState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java369 WifiManager.WIFI_AP_STATE_DISABLED, in processMessage()
376 WifiManager.WIFI_AP_STATE_DISABLED, 0); in processMessage()
548 updateApState(WifiManager.WIFI_AP_STATE_DISABLED, in exit()
551 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in exit()
DWifiServiceImpl.java29 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
228 private int mWifiApState = WifiManager.WIFI_AP_STATE_DISABLED;
229 private int mSoftApState = WifiManager.WIFI_AP_STATE_DISABLED;
560 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
562 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
945 MutableInt apState = new MutableInt(WifiManager.WIFI_AP_STATE_DISABLED); in getWifiApEnabledState()
1280 if (currentState == WIFI_AP_STATE_DISABLING || currentState == WIFI_AP_STATE_DISABLED) { in handleWifiApStateChange()
DSarManager.java358 if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in setSapWifiState()
DActiveModeWarden.java567 if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in onStateChanged()
DWifiController.java169 } else if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in start()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java45 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
761 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in handleWifiApAction()
773 case WifiManager.WIFI_AP_STATE_DISABLED: in handleWifiApAction()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java522 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingLocalOnlyHotspotEnrichedApBroadcast()
773 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingWifiTetheringEnrichedApBroadcast()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java552 WIFI_AP_STATE_DISABLED,
580 public static final int WIFI_AP_STATE_DISABLED = 11; field in WifiManager
/frameworks/base/api/
Dsystem-current.txt4722 field public static final int WIFI_AP_STATE_DISABLED = 11; // 0xb