Home
last modified time | relevance | path

Searched refs:WIFI_AP_STATE_FAILED (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java24 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
143 final int state = intent.getIntExtra(EXTRA_WIFI_AP_STATE, WIFI_AP_STATE_FAILED);
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java30 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
534 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApWithUserRejection()
598 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad()
611 checkApStateChangedBroadcast(capturedIntents.get(0), WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad()
634 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
646 checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() local
676 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics()
688 checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_FAILED, in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics() local
714 WifiManager.WIFI_AP_STATE_FAILED, WifiManager.SAP_START_FAILURE_GENERAL, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
727 checkApStateChangedBroadcast(intentCaptor.getValue(), WIFI_AP_STATE_FAILED, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() local
[all …]
DTestUtil.java85 if (apState == WifiManager.WIFI_AP_STATE_FAILED) { in sendWifiApStateChanged()
DWifiServiceImplTest.java53 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
1978 WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in testGetWifiApEnabled()
1982 assertEquals(WifiManager.WIFI_AP_STATE_FAILED, mWifiServiceImpl.getWifiApEnabledState()); in testGetWifiApEnabled()
2436 verify(mClientSoftApCallback).onStateChanged(eq(new SoftApState(WIFI_AP_STATE_FAILED, in testStartTetheredHotspotRequestWithUserRestriction()
3734 verify(mClientSoftApCallback).onStateChanged(eq(new SoftApState(WIFI_AP_STATE_FAILED, in testStartTetheredHotspotRequestDoesNotStartWhenAlreadyTetheringActive()
4258 WIFI_AP_STATE_FAILED, SAP_START_FAILURE_NO_CHANNEL, in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
4372 changeLohsState(WIFI_AP_STATE_FAILED, WIFI_AP_STATE_DISABLED, SAP_START_FAILURE_GENERAL); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric()
4391 changeLohsState(WIFI_AP_STATE_FAILED, in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel()
4489 changeLohsState(WIFI_AP_STATE_FAILED, WIFI_AP_STATE_FAILED, ERROR_GENERIC); in testRegisteredCallbacksTriggeredOnlyOnceWhenSoftApFailsTwice()
4490 changeLohsState(WIFI_AP_STATE_FAILED, WIFI_AP_STATE_FAILED, ERROR_GENERIC); in testRegisteredCallbacksTriggeredOnlyOnceWhenSoftApFailsTwice()
[all …]
DActiveModeWardenTest.java20 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
2284 assertThat(softApStateCaptor.getValue().getState()).isEqualTo(WIFI_AP_STATE_FAILED); in testSoftApModeDoesNotToggleOnWhenInEcm()
2302 assertThat(softApStateCaptor.getValue().getState()).isEqualTo(WIFI_AP_STATE_FAILED); in testSoftApModeDoesNotToggleOnWhenInEcm()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java23 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
219 mController.handleWifiApStateChanged(WIFI_AP_STATE_FAILED); in handleWifiApStateChanged_stateIsFailed_enabledAndUncheckedSwitchBar()
/packages/services/Car/service/src/com/android/car/wifi/
DCarWifiService.java23 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
135 case WIFI_AP_STATE_FAILED -> {
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java343 WifiManager.EXTRA_WIFI_AP_STATE, WifiManager.WIFI_AP_STATE_FAILED));
375 case WifiManager.WIFI_AP_STATE_FAILED: in handleWifiApStateChanged()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApState.java141 if (mState != WifiManager.WIFI_AP_STATE_FAILED) { in getFailureReason()
DWifiManager.java1246 WIFI_AP_STATE_FAILED,
1303 public static final int WIFI_AP_STATE_FAILED = 14; field in WifiManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetheringHandlerTest.java161 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_FAILED); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java746 if (newState == WifiManager.WIFI_AP_STATE_FAILED) { in updateApState()
912 updateApState(WifiManager.WIFI_AP_STATE_FAILED, in handleStartSoftApFailure()
2085 updateApState(WifiManager.WIFI_AP_STATE_FAILED, in processMessageImpl()
2089 WifiManager.WIFI_AP_STATE_FAILED, 0); in processMessageImpl()
DWifiServiceImpl.java38 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
1796 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startTetheredHotspotRequest()
1821 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startTetheredHotspotInternal()
1870 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startSoftApInternal()
2103 && state != WIFI_AP_STATE_FAILED) { in setEnablingIfAllowed()
2117 WIFI_AP_STATE_FAILED, 0, null, null); in setFailedWhileEnabling()
2504 WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in startForFirstRequestLocked()
2595 if (state == WIFI_AP_STATE_FAILED) { in onStateChanged()
DActiveModeWarden.java22 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
2058 WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in processMessageInEmergencyMode()
DWifiShellCommand.java250 } else if (mSapState == WifiManager.WIFI_AP_STATE_FAILED) { in onStateChanged()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java298 sWifiApStates.put(WifiManager.WIFI_AP_STATE_FAILED, "AP_FAILED"); in sWifiApStates.put() argument
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java1110 case WifiManager.WIFI_AP_STATE_FAILED: { in onStateChanged()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java42 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED;
1828 SoftApState state1 = new SoftApState(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in softApCallbackProxyCallsOnMultipleUpdates()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1294 case WifiManager.WIFI_AP_STATE_FAILED: in handleWifiApAction()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt949 field public static final int WIFI_AP_STATE_FAILED = 14; // 0xe