/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 24 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/ |
D | SoftApManagerTest.java | 30 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 …]
|
D | TestUtil.java | 85 if (apState == WifiManager.WIFI_AP_STATE_FAILED) { in sendWifiApStateChanged()
|
D | WifiServiceImplTest.java | 53 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 …]
|
D | ActiveModeWardenTest.java | 20 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/ |
D | WifiTetherSwitchBarControllerTest.java | 23 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/ |
D | CarWifiService.java | 23 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED; 135 case WIFI_AP_STATE_FAILED -> {
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 343 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/ |
D | SoftApState.java | 141 if (mState != WifiManager.WIFI_AP_STATE_FAILED) { in getFailureReason()
|
D | WifiManager.java | 1246 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/ |
D | WifiTetheringHandlerTest.java | 161 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_FAILED); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApManager.java | 746 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()
|
D | WifiServiceImpl.java | 38 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()
|
D | ActiveModeWarden.java | 22 import static android.net.wifi.WifiManager.WIFI_AP_STATE_FAILED; 2058 WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in processMessageInEmergencyMode()
|
D | WifiShellCommand.java | 250 } else if (mSapState == WifiManager.WIFI_AP_STATE_FAILED) { in onStateChanged()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 298 sWifiApStates.put(WifiManager.WIFI_AP_STATE_FAILED, "AP_FAILED"); in sWifiApStates.put() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 1110 case WifiManager.WIFI_AP_STATE_FAILED: { in onStateChanged()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 42 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/ |
D | Tethering.java | 1294 case WifiManager.WIFI_AP_STATE_FAILED: in handleWifiApAction()
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 949 field public static final int WIFI_AP_STATE_FAILED = 14; // 0xe
|