/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 91 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/ |
D | SoftApManager.java | 173 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()
|
D | SarManager.java | 360 } else if (state == WifiManager.WIFI_AP_STATE_ENABLED) { in setSapWifiState()
|
D | WifiServiceImpl.java | 919 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; 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()
|
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 | 447 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()
|
D | WifiServiceImplTest.java | 34 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/ |
D | TetheringTest.java | 49 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/ |
D | WifiManagerTest.java | 28 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/ |
D | WifiManager.java | 561 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/ |
D | Tethering.java | 1000 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApAction()
|
/frameworks/base/api/ |
D | system-current.txt | 5426 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 5332 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
|