Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java178 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApWithoutConfig()
189 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithConfig()
204 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithHiddenSsidTrueInConfig()
220 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithPassphraseInConfig()
231 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApDefaultConfigFailedToLoad()
271 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
275 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
314 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
318 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
357 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
[all …]
DActiveModeWardenTest.java171 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null)); in enterSoftApActiveMode()
556 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in testConfigIsPassedToWifiInjector()
584 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config1); in testStartSoftApModeTwiceWithTwoConfigs()
588 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config2); in testStartSoftApModeTwiceWithTwoConfigs()
739 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testStopTetheringButNotLOHS()
746 when(mSoftApManager.getIpMode()).thenReturn(WifiManager.IFACE_IP_MODE_TETHERED); in testStopTetheringButNotLOHS()
765 mActiveModeWarden.stopSoftAPMode(WifiManager.IFACE_IP_MODE_TETHERED); in testStopTetheringButNotLOHS()
DWifiServiceImplTest.java25 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1233 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testStopSoftApWithPermissions()
1629 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1646 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering()
2425 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testLOHSReadyWithoutRegisteredRequestsStopsSoftApMode()
2521 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testStopSoftApWhenIpConfigFails()
2534 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts()
2545 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts()
4221 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in startLohsAndTethering()
DWifiMetricsTest.java895 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
897 WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
900 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
903 SOFT_AP_CHANNEL_BANDWIDTH, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java577 if (mSoftApCallback != null && mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onStateChanged()
586 } else if (mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onConnectedClientsChanged()
DWifiServiceImpl.java1033 case WifiManager.IFACE_IP_MODE_TETHERED: in updateInterfaceIpStateInternal()
1092 if (mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_TETHERED)) { in startSoftAp()
1101 return startSoftApInternal(wifiConfig, WifiManager.IFACE_IP_MODE_TETHERED); in startSoftAp()
1151 return stopSoftApInternal(WifiManager.IFACE_IP_MODE_TETHERED); in stopSoftAp()
1477 && mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_TETHERED)) { in startLocalOnlyHotspot()
DWifiMetrics.java1918 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApConnectedClientsEvent()
1944 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApChannelSwitchedEvent()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java48 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1027 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
1040 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
1104 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
1119 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
1390 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java59 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1181 case IFACE_IP_MODE_TETHERED: in enableWifiIpServingLocked()
1646 mgr.updateInterfaceIpState(iface, IFACE_IP_MODE_TETHERED); in handleInterfaceServingStateActive()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java649 IFACE_IP_MODE_TETHERED,
681 public static final int IFACE_IP_MODE_TETHERED = 1; field in WifiManager
/frameworks/base/api/
Dsystem-current.txt5419 field public static final int IFACE_IP_MODE_TETHERED = 1; // 0x1
/frameworks/base/non-updatable-api/
Dsystem-current.txt5325 field public static final int IFACE_IP_MODE_TETHERED = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47400 Landroid/net/wifi/WifiManager;->IFACE_IP_MODE_TETHERED:I