Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java71 case WifiManager.WIFI_AP_STATE_ENABLED: in stateToString()
103 return mHotspotState == WifiManager.WIFI_AP_STATE_ENABLED; in isHotspotEnabled()
174 fireCallback(mHotspotState == WifiManager.WIFI_AP_STATE_ENABLED); in onReceive()
DNetworkControllerImpl.java399 (wifiApState == WifiManager.WIFI_AP_STATE_ENABLED))) { in setWifiEnabled()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java24 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
248 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingLocalOnlyHotspotLegacyApBroadcast()
283 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, mTestIfname, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
354 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED); in failingWifiTetheringLegacyApBroadcast()
382 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, mTestIfname, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
465 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, mTestIfname, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiSoftAPTest.java75 assertEquals("wifi AP state is not enabled", WifiManager.WIFI_AP_STATE_ENABLED, in testApSsidWithAlphabet()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java106 WifiManager.WIFI_AP_STATE_ENABLED, 2 * LONG_TIMEOUT)); in testWifiHotSpot()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java33 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
377 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_ENABLED); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
391 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_ENABLED); in testSetWifiEnabledFromAppFailsWhenApEnabled()
1068 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabling() local
1126 WIFI_AP_STATE_ENABLED, WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, in testRegisteredCallbacksNotTriggeredOnSoftApStart() local
1157 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnlyOnceWhenSoftApDisabling() local
1258 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testAllRegisteredCallbacksTriggeredWhenSoftApStops() local
1289 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testAllRegisteredCallbacksTriggeredWhenSoftApStopsLOHSNotActive() local
1451 WIFI_AP_STATE_DISABLING, WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, in testRegisterLocalOnlyHotspotRequestAfterStoppedNoOnStartedCallback() local
DSoftApManagerTest.java227 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in startSoftApAndVerifyEnabled()
DWifiStateMachineTest.java26 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
528 listener.onStateChanged(WIFI_AP_STATE_ENABLED, 0); in loadComponentsInApMode()
540 checkApStateChangedBroadcast(capturedIntents.get(1), WIFI_AP_STATE_ENABLED, in loadComponentsInApMode()
543 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); in loadComponentsInApMode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java346 updateApState(WifiManager.WIFI_AP_STATE_ENABLED, 0); in onUpChanged()
DWifiStateMachine.java21 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
1671 case WIFI_AP_STATE_ENABLED: in syncGetWifiApStateByName()
2813 if (wifiApState == WIFI_AP_STATE_ENABLED) { in setWifiApState()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java469 public static final int WIFI_AP_STATE_ENABLED = 13; field in WifiManager
2088 return getWifiApState() == WIFI_AP_STATE_ENABLED;
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java788 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApAction()
/frameworks/base/api/
Dsystem-current.txt29090 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd