Home
last modified time | relevance | path

Searched refs:WIFI_AP_STATE_DISABLED (Results 1 – 15 of 15) 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;
254 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApDefaultConfigFailedToLoad()
297 WIFI_AP_STATE_DISABLED, WifiManager.SAP_START_FAILURE_GENERAL, null, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() local
340 WIFI_AP_STATE_DISABLED, WifiManager.SAP_START_FAILURE_GENERAL, "", in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() local
384 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
432 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
546 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in startSoftApFailNoChannel()
626 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
627 verify(mSarManager).setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in stopWhenStarted()
631 checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_DISABLED, in stopWhenStarted() local
[all …]
DActiveModeWardenTest.java678 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in shutdownWifiDoesNotCrashWhenSoftApExitsOnDestroyed()
683 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in shutdownWifiDoesNotCrashWhenSoftApExitsOnDestroyed()
695 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in onDestroyedCallbackDoesNotCrashWhenSoftApModeAlreadyStopped()
698 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;
1086 assertEquals(WifiManager.WIFI_AP_STATE_DISABLED, mWifiServiceImpl.getWifiApEnabledState()); in testGetWifiApEnabled()
1094 assertEquals(WifiManager.WIFI_AP_STATE_DISABLED, mWifiServiceImpl.getWifiApEnabledState()); in testGetWifiApEnabled()
1101 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL, in testGetWifiApEnabled() local
1863 verify(mClientSoftApCallback, never()).onStateChanged(WIFI_AP_STATE_DISABLED, 0); in registerSoftApCallbackFailureOnLinkToDeath()
1885 verify(callback).onStateChanged(WIFI_AP_STATE_DISABLED, 0); in registerSoftApCallbackAndVerify()
2112 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL, in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() local
2137 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_NO_CHANNEL, in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() local
2207 WIFI_AP_STATE_DISABLED, WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabled() local
2232 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.java87 case WifiManager.WIFI_AP_STATE_DISABLED: in stateToString()
216 case WifiManager.WIFI_AP_STATE_DISABLED: in maybeResetSoftApState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java380 WifiManager.WIFI_AP_STATE_DISABLED, in processMessage()
387 WifiManager.WIFI_AP_STATE_DISABLED, 0); in processMessage()
584 updateApState(WifiManager.WIFI_AP_STATE_DISABLED, in exit()
587 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_DISABLED); in exit()
DWifiServiceImpl.java29 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
229 private int mWifiApState = WifiManager.WIFI_AP_STATE_DISABLED;
230 private int mSoftApState = WifiManager.WIFI_AP_STATE_DISABLED;
557 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
559 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
979 MutableInt apState = new MutableInt(WifiManager.WIFI_AP_STATE_DISABLED); in getWifiApEnabledState()
1323 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.java569 if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in onStateChanged()
DWifiController.java169 } else if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in start()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java61 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
991 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in handleWifiApAction()
1006 case WifiManager.WIFI_AP_STATE_DISABLED: in handleWifiApAction()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java781 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingLocalOnlyHotspotEnrichedApBroadcast()
1067 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingWifiTetheringEnrichedApBroadcast()
1411 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in testRegisterTetheringEventCallback()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java559 WIFI_AP_STATE_DISABLED,
587 public static final int WIFI_AP_STATE_DISABLED = 11; field in WifiManager
/frameworks/base/api/
Dsystem-current.txt5424 field public static final int WIFI_AP_STATE_DISABLED = 11; // 0xb
/frameworks/base/non-updatable-api/
Dsystem-current.txt5330 field public static final int WIFI_AP_STATE_DISABLED = 11; // 0xb