Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java154 WifiManager.WIFI_AP_STATE_ENABLED, 0); in stop()
466 updateApState(WifiManager.WIFI_AP_STATE_ENABLED, in onUpChanged()
594 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage()
600 WifiManager.WIFI_AP_STATE_ENABLED, 0); in processMessage()
607 WifiManager.WIFI_AP_STATE_ENABLED, in processMessage()
DWifiServiceImpl.java828 boolean apEnabled = mWifiApState == WifiManager.WIFI_AP_STATE_ENABLED; in setWifiEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java75 case WifiManager.WIFI_AP_STATE_ENABLED: in stateToString()
127 return mHotspotState == WifiManager.WIFI_AP_STATE_ENABLED; in isHotspotEnabled()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java35 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
446 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingLocalOnlyHotspotLegacyApBroadcast()
510 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
680 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingWifiTetheringLegacyApBroadcast()
705 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
775 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java27 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
458 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in stopWhenStarted() local
491 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, TEST_INTERFACE_NAME, in cleanStopOnInterfaceDestroyed() local
552 WIFI_AP_STATE_ENABLED, WifiManager.SAP_START_FAILURE_GENERAL, TEST_INTERFACE_NAME, in testInterfaceOnDownHandled()
939 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in startSoftApAndVerifyEnabled()
947 checkApStateChangedBroadcast(capturedIntents.get(1), WIFI_AP_STATE_ENABLED, in startSoftApAndVerifyEnabled()
DWifiServiceImplTest.java33 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
502 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() local
527 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_ENABLING, SAP_START_FAILURE_GENERAL, in testSetWifiEnabledFromAppFailsWhenApEnabled() local
1526 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
1533 verify(mAnotherSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
1605 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent()
1607 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in callsRegisteredCallbacksOnSoftApStateChangedEvent()
1617 mStateMachineSoftApCallback.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndNumClientsOnSoftApEvents()
1625 verify(mClientSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in updatesSoftApStateAndNumClientsOnSoftApEvents()
1710 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabling() local
[all …]
DWifiStateMachinePrimeTest.java409 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged()
412 verify(mSoftApStateMachineCallback).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java31 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
715 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
717 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
772 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
774 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java453 WIFI_AP_STATE_ENABLED,
500 public static final int WIFI_AP_STATE_ENABLED = 13; field in WifiManager
2136 return getWifiApState() == WIFI_AP_STATE_ENABLED;
/frameworks/base/api/
Dsystem-current.txt3432 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
/frameworks/base/config/
Dhiddenapi-public-dex.txt27107 Landroid/net/wifi/WifiManager;->WIFI_AP_STATE_ENABLED:I