Searched refs:WIFI_AP_STATE_ENABLED (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 71 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()
|
D | NetworkControllerImpl.java | 399 (wifiApState == WifiManager.WIFI_AP_STATE_ENABLED))) { in setWifiEnabled()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 24 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/ |
D | WifiSoftAPTest.java | 75 assertEquals("wifi AP state is not enabled", WifiManager.WIFI_AP_STATE_ENABLED, in testApSsidWithAlphabet()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiApStress.java | 106 WifiManager.WIFI_AP_STATE_ENABLED, 2 * LONG_TIMEOUT)); in testWifiHotSpot()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 33 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
|
D | SoftApManagerTest.java | 227 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in startSoftApAndVerifyEnabled()
|
D | WifiStateMachineTest.java | 26 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/ |
D | SoftApManager.java | 346 updateApState(WifiManager.WIFI_AP_STATE_ENABLED, 0); in onUpChanged()
|
D | WifiStateMachine.java | 21 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/ |
D | WifiManager.java | 469 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/ |
D | Tethering.java | 788 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApAction()
|
/frameworks/base/api/ |
D | system-current.txt | 29090 field public static final int WIFI_AP_STATE_ENABLED = 13; // 0xd
|