/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 86 case WifiManager.WIFI_AP_STATE_ENABLED: in stateToString() 135 return mHotspotState == WifiManager.WIFI_AP_STATE_ENABLED; in isHotspotEnabled() 208 case WifiManager.WIFI_AP_STATE_ENABLED: in maybeResetSoftApState()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 164 WifiManager.WIFI_AP_STATE_ENABLED, 0); in stop() 496 updateApState(WifiManager.WIFI_AP_STATE_ENABLED, in onUpChanged() 526 mSarManager.setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in enter() 626 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage() 632 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage() 642 WifiManager.WIFI_AP_STATE_ENABLED, in processMessage()
|
D | SarManager.java | 360 } else if (state == WifiManager.WIFI_AP_STATE_ENABLED) { in setSapWifiState()
|
D | WifiServiceImpl.java | 890 boolean apEnabled = mWifiApState == WifiManager.WIFI_AP_STATE_ENABLED; in setWifiEnabled()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 27 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED; 587 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in stopWhenStarted() local 621 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in cleanStopOnInterfaceDestroyed() local 682 WIFI_AP_STATE_ENABLED, WifiManager.SAP_START_FAILURE_GENERAL, TEST_INTERFACE_NAME, in testInterfaceOnDownHandled() 738 WIFI_AP_STATE_ENABLED, WifiManager.SAP_START_FAILURE_GENERAL, TEST_INTERFACE_NAME, in testHostapdOnFailureHandled() 1097 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in startSoftApAndVerifyEnabled() 1099 verify(mSarManager).setSapWifiState(WifiManager.WIFI_AP_STATE_ENABLED); in startSoftApAndVerifyEnabled() 1106 checkApStateChangedBroadcast(capturedIntents.get(1), WIFI_AP_STATE_ENABLED, in startSoftApAndVerifyEnabled()
|
D | SarManagerTest.java | 813 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()
|
D | ActiveModeWardenTest.java | 434 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged() 437 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged() 449 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in doesntCallWifiServiceCallbackOnLOHSStateChanged()
|
D | WifiServiceImplTest.java | 34 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED; 720 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() local 748 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromAppFailsWhenApEnabled() local 1822 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne() 1829 verify(mAnotherSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne() 1908 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent() 1910 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent() 1922 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndNumClientsOnSoftApEvents() 1930 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndNumClientsOnSoftApEvents() 2017 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabling() local [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 36 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED; 439 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingLocalOnlyHotspotLegacyApBroadcast() 504 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast() 713 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingWifiTetheringLegacyApBroadcast() 738 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast() 808 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding() 979 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 28 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED; 751 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged() 753 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged() 808 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread() 810 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 554 WIFI_AP_STATE_ENABLED, 601 public static final int WIFI_AP_STATE_ENABLED = 13; field in WifiManager 2788 return getWifiApState() == WIFI_AP_STATE_ENABLED;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 770 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApAction()
|
/frameworks/base/api/ |
D | system-current.txt | 4724 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
|