Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java24 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
721 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() local
749 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testSetWifiEnabledFromAppFailsWhenApEnabled() local
990 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testGetWifiApEnabled() local
1573 eq(WifiManager.IFACE_IP_MODE_LOCAL_ONLY)); in testStopLocalOnlyHotspotTriggersSoftApStopWithOneRegisteredRequest()
1625 eq(WifiManager.IFACE_IP_MODE_LOCAL_ONLY)); in testServiceImplNotCalledWhenBinderDeathTriggeredNoRequests()
1654 eq(WifiManager.IFACE_IP_MODE_LOCAL_ONLY)); in testServiceImplNotCalledWhenBinderDeathTriggeredWithRegisteredRequests()
1958 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApFailureGeneric() local
1983 WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApFailureNoChannel() local
2009 mWifiServiceImpl.updateInterfaceIpState(WIFI_IFACE_NAME, IFACE_IP_MODE_LOCAL_ONLY); in testRegisteredCallbacksTriggeredOnSoftApDisabling()
[all …]
DActiveModeWardenTest.java447 WifiManager.IFACE_IP_MODE_LOCAL_ONLY, null)); in doesntCallWifiServiceCallbackOnLOHSStateChanged()
731 new SoftApModeConfiguration(WifiManager.IFACE_IP_MODE_LOCAL_ONLY, lohsConfigWC); in testStopTetheringButNotLOHS()
739 when(lohsSoftapManager.getIpMode()).thenReturn(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in testStopTetheringButNotLOHS()
DWifiMetricsTest.java912 mWifiMetrics.addSoftApUpChangedEvent(true, WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in addSoftApEventsToMetrics()
914 WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in addSoftApEventsToMetrics()
917 mWifiMetrics.addSoftApUpChangedEvent(false, WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in addSoftApEventsToMetrics()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java34 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
504 sendWifiApStateChanged(WIFI_AP_STATE_ENABLED, TEST_WLAN_IFNAME, IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
513 TEST_WLAN_IFNAME, WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in workingLocalOnlyHotspotEnrichedApBroadcast()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java988 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in updateInterfaceIpStateInternal()
1061 stopSoftApInternal(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in startSoftAp()
1286 == WifiManager.IFACE_IP_MODE_LOCAL_ONLY) { in handleWifiApStateChange()
1449 if (mIfaceIpModes.contains(WifiManager.IFACE_IP_MODE_LOCAL_ONLY)) { in startLocalOnlyHotspot()
1467 startSoftApInternal(mLocalOnlyHotspotConfig, WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in startLocalOnlyHotspot()
1521 stopSoftApInternal(WifiManager.IFACE_IP_MODE_LOCAL_ONLY); in unregisterCallingAppAndStopLocalOnlyHotspot()
DWifiMetrics.java1816 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in addSoftApConnectedClientsEvent()
1842 case WifiManager.IFACE_IP_MODE_LOCAL_ONLY: in addSoftApChannelSwitchedEvent()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java42 import static android.net.wifi.WifiManager.IFACE_IP_MODE_LOCAL_ONLY;
855 case IFACE_IP_MODE_LOCAL_ONLY: in enableWifiIpServingLocked()
1306 mgr.updateInterfaceIpState(iface, IFACE_IP_MODE_LOCAL_ONLY); in handleInterfaceServingStateActive()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java671 public static final int IFACE_IP_MODE_LOCAL_ONLY = 2; field in WifiManager