Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApModeConfiguration.java55 || targetMode == WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in SoftApModeConfiguration()
DActiveModeWarden.java19 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
1208 Preconditions.checkState(softApConfig.getTargetMode() == IFACE_IP_MODE_LOCAL_ONLY in startSoftApModeManager()
1212 softApConfig.getTargetMode() == IFACE_IP_MODE_LOCAL_ONLY in startSoftApModeManager()
2054 softApConfig.getTargetMode() == IFACE_IP_MODE_LOCAL_ONLY in processMessageInEmergencyMode()
DWifiServiceImpl.java2028 WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in onDriverCountryCodeChanged()
2345 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in updateInterfaceIpState()
2350 stopSoftApInternal(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in updateInterfaceIpState()
2386 stopSoftApInternal(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in updateInterfaceIpState()
2475 } else if (mLohsInterfaceMode == WifiManager.IFACE_IP_MODE_LOCAL_ONLY) { in start()
2498 WifiManager.IFACE_IP_MODE_LOCAL_ONLY, in startForFirstRequestLocked()
2558 stopSoftApInternal(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in stopIfEmptyLocked()
2612 && mLohsInterfaceMode == WifiManager.IFACE_IP_MODE_LOCAL_ONLY) { in onStateChanged()
DWifiMetrics.java3791 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in addSoftApConnectedClientsEvent()
3825 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in addSoftApChannelSwitchedEvent()
3856 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in updateSoftApConfiguration()
3892 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in updateSoftApCapability()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java24 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
514 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), in startSoftApWithUserApproval()
526 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), in startSoftApWithUserRejection()
672 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics()
2243 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), mTestSoftApCapability, in setsCustomMac()
2264 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), mTestSoftApCapability, in setsCustomMacWhenSetMacNotSupport()
2288 IFACE_IP_MODE_LOCAL_ONLY, configBuilder.build(), mTestSoftApCapability, in setMacFailureWhenCustomMac()
2316 IFACE_IP_MODE_LOCAL_ONLY, null, mTestSoftApCapability, TEST_COUNTRY_CODE, in setMacFailureWhenRandomMac()
2333 IFACE_IP_MODE_LOCAL_ONLY, null, mTestSoftApCapability, TEST_COUNTRY_CODE, in setRandomMacWhenSetMacNotsupport()
2491 softApConfig.getTargetMode() == IFACE_IP_MODE_LOCAL_ONLY in startSoftApAndVerifyEnabled()
DWifiServiceImplTest.java40 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
3838 verify(mActiveModeWarden).stopSoftAp(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testStopLocalOnlyHotspotTriggersStopWithOneRegisteredRequest()
3896 mWifiServiceImpl.updateInterfaceIpState(mLohsInterfaceName, IFACE_IP_MODE_LOCAL_ONLY); in setupWardenForCustomLohs()
4078 verify(mActiveModeWarden, never()).stopSoftAp(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testServiceImplNotCalledWhenBinderDeathTriggeredNoRequests()
4109 verify(mActiveModeWarden).stopSoftAp(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testServiceImplNotCalledWhenBinderDeathTriggeredWithRequests()
4411 mWifiServiceImpl.updateInterfaceIpState(mLohsInterfaceName, IFACE_IP_MODE_LOCAL_ONLY); in setupLocalOnlyHotspot()
4538 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testAllRegisteredCallbacksTriggeredWhenSoftApStops()
4585 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testLOHSReadyWithoutRegisteredRequestsStopsSoftApMode()
4588 verify(mActiveModeWarden).stopSoftAp(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testLOHSReadyWithoutRegisteredRequestsStopsSoftApMode()
4606 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredLocalOnlyHotspotRequestorsGetOnStartedCallbackWhenReady()
[all …]
DActiveModeWardenTest.java1035 WifiManager.IFACE_IP_MODE_LOCAL_ONLY, null, mSoftApCapability, TEST_COUNTRYCODE, in doesntCallWifiServiceCallbackOnLOHSStateChanged()
1320 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_LOCAL_ONLY, lohsConfigWC, in testStopTetheringButNotLOHS()
1618 WifiManager.IFACE_IP_MODE_LOCAL_ONLY, in testWifiStateRestoredWhenSoftApEnabledDuringApm()
2292 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_LOCAL_ONLY, null, in testSoftApModeDoesNotToggleOnWhenInEcm()
2987 WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testUpdateLocalModeSoftApCapabilityInTetheredSoftApActiveMode()
DWifiMetricsTest.java1184 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_LOCAL_ONLY, in addSoftApEventsToMetrics()
1187 NUM_SOFT_AP_ASSOCIATED_STATIONS, WifiManager.IFACE_IP_MODE_LOCAL_ONLY, in addSoftApEventsToMetrics()
1193 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_LOCAL_ONLY, in addSoftApEventsToMetrics()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java60 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
1001 final int expectedState = isLocalOnly ? IFACE_IP_MODE_LOCAL_ONLY : IFACE_IP_MODE_TETHERED; in verifyStartHotspot()
1025 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
1032 sendWifiApStateChanged(WIFI_AP_STATE_DISABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
3083 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in testUpdateConnectedClientsForLocalOnlyHotspot()
3130 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN2_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in testConnectedClientsForSapAndLohsConcurrency()
3616 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN2_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in testIpv4AddressForSapAndLohsConcurrency()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java58 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
1503 case IFACE_IP_MODE_LOCAL_ONLY: in enableWifiIpServing()
1948 mgr.updateInterfaceIpState(iface, IFACE_IP_MODE_LOCAL_ONLY); in handleInterfaceServingStateActive()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java1396 IFACE_IP_MODE_LOCAL_ONLY})
1437 public static final int IFACE_IP_MODE_LOCAL_ONLY = 2; field in WifiManager
6018 IFACE_IP_MODE_LOCAL_ONLY); in registerLocalOnlyHotspotSoftApCallback()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt912 field public static final int IFACE_IP_MODE_LOCAL_ONLY = 2; // 0x2
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1846 Landroid/net/wifi/WifiManager;->IFACE_IP_MODE_LOCAL_ONLY:I