Home
last modified time | relevance | path

Searched refs:WIFI_AP_STATE_DISABLED (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java88 WifiManager.WIFI_AP_STATE_DISABLED, 2 * LONG_TIMEOUT)); in testWifiHotSpot()
120 WifiManager.WIFI_AP_STATE_DISABLED, 2 * LONG_TIMEOUT)); in testWifiHotSpot()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java31 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
363 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testSetWifiEnabledSuccess()
375 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testSetWifiEnabledNoToggle()
462 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testSetWifiDisabledSuccess()
473 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testSetWifiDisabledNoToggle()
485 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testSetWifiDisabledWithoutPermission()
581 when(mWifiStateMachine.syncGetWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_DISABLED); in testWifiFullyStartsWhenDeviceIsDecryptedAtBootWithWifiEnabled()
1066 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL, in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() local
1091 WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_NO_CHANNEL, in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() local
1157 WIFI_AP_STATE_DISABLED, WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, in testRegisteredCallbacksTriggeredOnSoftApDisabled() local
[all …]
DSoftApManagerTest.java199 order.verify(mListener).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
251 verify(mListener, never()).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in verifySoftApNotDisabled()
DWifiStateMachineTest.java24 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
569 int currentState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in checkApStateChangedBroadcast()
570 int prevState = intent.getIntExtra(EXTRA_PREVIOUS_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in checkApStateChangedBroadcast()
600 listener.onStateChanged(WIFI_AP_STATE_DISABLED, 0); in loadComponentsInApMode()
608 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); in loadComponentsInApMode()
613 checkApStateChangedBroadcast(capturedIntents.get(3), WIFI_AP_STATE_DISABLED, in loadComponentsInApMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java67 case WifiManager.WIFI_AP_STATE_DISABLED: in stateToString()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java374 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingLocalOnlyHotspotEnrichedApBroadcast()
493 sendWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in workingWifiTetheringEnrichedApBroadcast()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachinePrime.java401 if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in onStateChanged()
DSoftApManager.java392 updateApState(WifiManager.WIFI_AP_STATE_DISABLED, 0); in processMessage()
DWifiServiceImpl.java27 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
533 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
535 WIFI_AP_STATE_DISABLED); in checkAndStartWifi()
799 mWifiStateMachine.syncGetWifiApState() != WifiManager.WIFI_AP_STATE_DISABLED; in setWifiEnabled()
1086 if (currentState == WIFI_AP_STATE_DISABLING || currentState == WIFI_AP_STATE_DISABLED) { in handleWifiApStateChange()
DWifiController.java210 } else if (state == WifiManager.WIFI_AP_STATE_DISABLED) { in WifiController()
DWifiStateMachine.java19 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
861 private final AtomicInteger mWifiApState = new AtomicInteger(WIFI_AP_STATE_DISABLED);
1709 case WIFI_AP_STATE_DISABLED: in syncGetWifiApStateByName()
2907 } else if (wifiApState == WIFI_AP_STATE_DISABLED) { in setWifiApState()
6939 if (state == WIFI_AP_STATE_DISABLED) { in onStateChanged()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java30 import static android.net.wifi.WifiManager.WIFI_AP_STATE_DISABLED;
868 final int curState = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_DISABLED); in handleWifiApAction()
880 case WifiManager.WIFI_AP_STATE_DISABLED: in handleWifiApAction()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java449 public static final int WIFI_AP_STATE_DISABLED = 11; field in WifiManager
/frameworks/base/api/
Dsystem-current.txt29223 field public static final int WIFI_AP_STATE_DISABLED = 11; // 0xb