Searched refs:IFACE_IP_MODE_TETHERED (Results 1 – 10 of 10) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 149 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApWithoutConfig() 160 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithConfig() 175 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithHiddenSsidTrueInConfig() 191 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithPassphraseInConfig() 202 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApDefaultConfigFailedToLoad() 241 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 245 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 283 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 287 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 325 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode() [all …]
|
D | ActiveModeWardenTest.java | 158 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null)); in enterSoftApActiveMode() 544 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in testConfigIsPassedToWifiInjector() 572 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config1); in testStartSoftApModeTwiceWithTwoConfigs() 576 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config2); in testStartSoftApModeTwiceWithTwoConfigs() 727 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testStopTetheringButNotLOHS() 734 when(mSoftApManager.getIpMode()).thenReturn(WifiManager.IFACE_IP_MODE_TETHERED); in testStopTetheringButNotLOHS() 753 mActiveModeWarden.stopSoftAPMode(WifiManager.IFACE_IP_MODE_TETHERED); in testStopTetheringButNotLOHS()
|
D | WifiServiceImplTest.java | 25 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED; 1107 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testStopSoftApWithPermissions() 1477 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testTetheringDoesNotStartWhenAlreadyTetheringActive() 1495 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering() 2270 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testLOHSReadyWithoutRegisteredRequestsStopsSoftApMode() 2366 eq(WifiManager.IFACE_IP_MODE_TETHERED)); in testStopSoftApWhenIpConfigFails() 2379 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts() 2390 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts() 4064 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in startLohsAndTethering()
|
D | WifiMetricsTest.java | 903 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics() 905 WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics() 908 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics() 911 SOFT_AP_CHANNEL_BANDWIDTH, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 35 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED; 738 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast() 747 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast() 808 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding() 821 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding() 979 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in testRegisterTetheringEventCallback()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 575 if (mSoftApCallback != null && mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onStateChanged() 584 } else if (mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onNumClientsChanged()
|
D | WifiServiceImpl.java | 999 case WifiManager.IFACE_IP_MODE_TETHERED: in updateInterfaceIpStateInternal() 1054 if (mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_TETHERED)) { in startSoftAp() 1063 return startSoftApInternal(wifiConfig, WifiManager.IFACE_IP_MODE_TETHERED); in startSoftAp() 1109 return stopSoftApInternal(WifiManager.IFACE_IP_MODE_TETHERED); in stopSoftAp() 1430 && mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_TETHERED)) { in startLocalOnlyHotspot()
|
D | WifiMetrics.java | 1813 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApConnectedClientsEvent() 1839 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApChannelSwitchedEvent()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 43 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED; 852 case IFACE_IP_MODE_TETHERED: in enableWifiIpServingLocked() 1303 mgr.updateInterfaceIpState(iface, IFACE_IP_MODE_TETHERED); in handleInterfaceServingStateActive()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 662 public static final int IFACE_IP_MODE_TETHERED = 1; field in WifiManager
|