Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java146 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApWithoutConfig()
157 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithConfig()
172 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithHiddenSsidTrueInConfig()
188 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApWithPassphraseInConfig()
199 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in startSoftApDefaultConfigFailedToLoad()
237 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
241 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
278 WifiManager.IFACE_IP_MODE_TETHERED, new WifiConfiguration()); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
282 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
319 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in startSoftApFailGeneralErrorForConfigChannel()
[all …]
DWifiStateMachinePrimeTest.java143 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, null)); in enterSoftApActiveMode()
503 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config); in testConfigIsPassedToWifiInjector()
531 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config1); in testStartSoftApModeTwiceWithTwoConfigs()
535 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_TETHERED, config2); in testStartSoftApModeTwiceWithTwoConfigs()
DWifiMetricsTest.java696 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
698 WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
701 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
704 SOFT_AP_CHANNEL_BANDWIDTH, WifiManager.IFACE_IP_MODE_TETHERED); in addSoftApEventsToMetrics()
DWifiServiceImplTest.java24 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
1279 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testHotspotDoesNotStartWhenAlreadyTethering()
2049 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts()
2060 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_TETHERED); in testCallOnFailedLocalOnlyHotspotRequestWhenTetheringStarts()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java31 import static android.net.wifi.WifiManager.IFACE_IP_MODE_TETHERED;
705 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
714 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in workingWifiTetheringEnrichedApBroadcast()
775 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
787 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_TETHERED); in failureEnablingIpForwarding()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java960 case WifiManager.IFACE_IP_MODE_TETHERED: in updateInterfaceIpStateInternal()
1016 return startSoftApInternal(wifiConfig, WifiManager.IFACE_IP_MODE_TETHERED); in startSoftAp()
1398 if (mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_TETHERED)) { in startLocalOnlyHotspot()
DWifiMetrics.java1339 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApConnectedClientsEvent()
1365 case WifiManager.IFACE_IP_MODE_TETHERED: in addSoftApChannelSwitchedEvent()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java561 public static final int IFACE_IP_MODE_TETHERED = 1; field in WifiManager