Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java91 case WifiManager.WIFI_AP_STATE_ENABLED: in stateToString()
142 return mHotspotState == WifiManager.WIFI_AP_STATE_ENABLED; in isHotspotEnabled()
215 case WifiManager.WIFI_AP_STATE_ENABLED: in maybeResetSoftApState()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java173 WifiManager.WIFI_AP_STATE_ENABLED, 0); in stop()
532 updateApState(WifiManager.WIFI_AP_STATE_ENABLED, in onUpChanged()
562 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in enter()
665 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage()
671 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage()
681 WifiManager.WIFI_AP_STATE_ENABLED, in processMessage()
DSarManager.java360 } else if (state == WifiManager.WIFI_AP_STATE_ENABLED) { in setSapWifiState()
DWifiServiceImpl.java919 boolean apEnabled = mWifiApState == WifiManager.WIFI_AP_STATE_ENABLED; in setWifiEnabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java27 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
623 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in stopWhenStarted() local
658 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in cleanStopOnInterfaceDestroyed() local
719 WIFI_AP_STATE_ENABLED, WifiManager.SAP_START_FAILURE_GENERAL, TEST_INTERFACE_NAME, in testInterfaceOnDownHandled()
775 WIFI_AP_STATE_ENABLED, WifiManager.SAP_START_FAILURE_GENERAL, TEST_INTERFACE_NAME, in testHostapdOnFailureHandled()
1154 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in startSoftApAndVerifyEnabled()
1156 verify(mSarManager).setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in startSoftApAndVerifyEnabled()
1164 checkApStateChangedBroadcast(capturedIntents.get(1), WIFI_AP_STATE_ENABLED, in startSoftApAndVerifyEnabled()
DSarManagerTest.java813 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_disabledTxPowerScenario_sapOn()
828 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_sapOn()
860 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_staOn_sapOnOff()
890 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_sapOnOff_staOffOn()
971 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
1015 mSarMgr.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
DActiveModeWardenTest.java447 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged()
450 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged()
462 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in doesntCallWifiServiceCallbackOnLOHSStateChanged()
DWifiServiceImplTest.java34 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
779 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() local
807 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromAppFailsWhenApEnabled() local
1973 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
1980 verify(mAnotherSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
2063 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent()
2065 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent()
2077 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndConnectedClientsOnSoftApEvents()
2085 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndConnectedClientsOnSoftApEvents()
2172 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabling() local
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java49 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
686 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingLocalOnlyHotspotLegacyApBroadcast()
761 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
999 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingWifiTetheringLegacyApBroadcast()
1027 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
1104 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
1390 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java28 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
754 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
756 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
811 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
813 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java561 WIFI_AP_STATE_ENABLED,
608 public static final int WIFI_AP_STATE_ENABLED = 13; field in WifiManager
2837 return getWifiApState() == WIFI_AP_STATE_ENABLED;
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1000 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApAction()
/frameworks/base/api/
Dsystem-current.txt5426 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
/frameworks/base/non-updatable-api/
Dsystem-current.txt5332 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd