Home
last modified time | relevance | path

Searched refs:IFACE_IP_MODE_TETHERED (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java490 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in startSoftApWithoutConfig()
502 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApWithConfig()
550 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApWithUserApprovalSkippedForTethering()
568 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApWithHiddenSsidTrueInConfig()
585 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApWithPassphraseInConfig()
595 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in startSoftApDefaultConfigFailedToLoad()
631 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
710 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
749 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
784 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), in startSoftApOn6GhzFailGeneralErrorForNoCountryCode()
[all …]
DActiveModeWardenTest.java464 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in enterSoftApActiveMode()
477 SoftApRole softApRole = softApConfig.getTargetMode() == WifiManager.IFACE_IP_MODE_TETHERED in enterSoftApActiveMode()
1088 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder.build(), mSoftApCapability, in testConfigIsPassedToWifiInjector()
1115 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder1.build(), in testStartSoftApModeTwiceWithTwoConfigs()
1120 WifiManager.IFACE_IP_MODE_TETHERED, configBuilder2.build(), in testStartSoftApModeTwiceWithTwoConfigs()
1315 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testStopTetheringButNotLOHS()
1364 mActiveModeWarden.stopSoftAp(WifiManager.IFACE_IP_MODE_TETHERED); in testStopTetheringButNotLOHS()
2272 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testSoftApModeDoesNotToggleOnWhenInEcm()
2341 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testSoftApModeToggleWhenInAirplaneMode()
2419 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null, in testReturnToEnabledStateAfterAPModeShutdown()
[all …]
DWifiMetricsTest.java1152 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_TETHERED, in addSoftApEventsToMetrics()
1155 NUM_SOFT_AP_ASSOCIATED_STATIONS, WifiManager.IFACE_IP_MODE_TETHERED, in addSoftApEventsToMetrics()
1163 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_TETHERED, in addSoftApEventsToMetrics()
1170 WifiManager.IFACE_IP_MODE_TETHERED, false); in addSoftApEventsToMetrics()
1178 WifiManager.IFACE_IP_MODE_TETHERED, false); in addSoftApEventsToMetrics()
1182 WifiManager.IFACE_IP_MODE_TETHERED, false); in addSoftApEventsToMetrics()
1197 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_TETHERED, in addSoftApEventsToMetrics()
1201 WifiManager.IFACE_IP_MODE_TETHERED, true); in addSoftApEventsToMetrics()
1204 WifiManager.IFACE_IP_MODE_TETHERED, true); in addSoftApEventsToMetrics()
1206 WifiManager.IFACE_IP_MODE_TETHERED, true); in addSoftApEventsToMetrics()
[all …]
DWifiCountryCodeTest.java661 .thenReturn(WifiManager.IFACE_IP_MODE_TETHERED); in testCountryCodeChangedWhenSoftApManagerActiveAndForceSoftApRestart()
DWifiServiceImplTest.java41 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
2451 verify(mActiveModeWarden).stopSoftAp(WifiManager.IFACE_IP_MODE_TETHERED); in testTetheredHotspotDisabledWhenUserRestrictionSet()
2921 verify(mActiveModeWarden).stopSoftAp(WifiManager.IFACE_IP_MODE_TETHERED); in testStopSoftApWithPermissions()
3672 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
3700 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStartTetheredHotspotDoesNotStartWhenAlreadyTetheringActive()
3726 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStartTetheredHotspotRequestDoesNotStartWhenAlreadyTetheringActive()
3751 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering()
4662 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testStopSoftApWhenIpConfigFails()
4666 verify(mActiveModeWarden).stopSoftAp(IFACE_IP_MODE_TETHERED); in testStopSoftApWhenIpConfigFails()
4682 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApModeConfiguration.java54 targetMode == WifiManager.IFACE_IP_MODE_TETHERED in SoftApModeConfiguration()
DWifiServiceImpl.java26 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
372 WifiManager.IFACE_IP_MODE_TETHERED); in onActiveDataSubscriptionIdChanged()
765 stopSoftApInternal(WifiManager.IFACE_IP_MODE_TETHERED); in onUserRestrictionsChanged()
1732 WifiManager.IFACE_IP_MODE_TETHERED, softApConfig, in startSoftAp()
1765 WifiManager.IFACE_IP_MODE_TETHERED, softApConfig, in startTetheredHotspot()
1806 WifiManager.IFACE_IP_MODE_TETHERED, null /* config */, in startTetheredHotspotRequest()
1879 if (apConfig.getTargetMode() == IFACE_IP_MODE_TETHERED) { in startSoftApInternal()
1901 stopSoftApInternal(WifiManager.IFACE_IP_MODE_TETHERED); in stopSoftAp()
2023 WifiManager.IFACE_IP_MODE_TETHERED); in onDriverCountryCodeChanged()
2358 case WifiManager.IFACE_IP_MODE_TETHERED: in updateInterfaceIpState()
[all …]
DActiveModeWarden.java20 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1191 return ipMode == IFACE_IP_MODE_TETHERED in getRoleForSoftApIpMode()
1209 || softApConfig.getTargetMode() == IFACE_IP_MODE_TETHERED); in startSoftApModeManager()
DSoftApManager.java880 == WifiManager.IFACE_IP_MODE_TETHERED, in startSoftAp()
1298 == WifiManager.IFACE_IP_MODE_TETHERED; in processMessageImpl()
DWifiMetrics.java3788 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApConnectedClientsEvent()
3822 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApChannelSwitchedEvent()
3853 case WifiManager.IFACE_IP_MODE_TETHERED: in updateSoftApConfiguration()
3889 case WifiManager.IFACE_IP_MODE_TETHERED: in updateSoftApCapability()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java61 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1001 final int expectedState = isLocalOnly ? IFACE_IP_MODE_LOCAL_ONLY : IFACE_IP_MODE_TETHERED; in verifyStartHotspot()
1952 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
1976 sendWifiApStateChanged(WIFI_AP_STATE_DISABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
2003 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
2017 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
2339 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
2365 IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
3051 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testUpdateConnectedClients()
3115 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testConnectedClientsForSapAndLohsConcurrency()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java59 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1500 case IFACE_IP_MODE_TETHERED: in enableWifiIpServing()
1945 mgr.updateInterfaceIpState(iface, IFACE_IP_MODE_TETHERED); in handleInterfaceServingStateActive()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java1395 IFACE_IP_MODE_TETHERED,
1427 public static final int IFACE_IP_MODE_TETHERED = 1; field in WifiManager
5744 IFACE_IP_MODE_TETHERED); in startTetheredHotspot()
6991 IFACE_IP_MODE_TETHERED); in registerSoftApCallback()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt913 field public static final int IFACE_IP_MODE_TETHERED = 1; // 0x1
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1847 Landroid/net/wifi/WifiManager;->IFACE_IP_MODE_TETHERED:I