Searched refs:STATE_LOCAL_ONLY (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTrackerTest.kt | 86 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server1).servingMode() in testUpdateConnectedClients_LocalOnly() 87 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server2).servingMode() in testUpdateConnectedClients_LocalOnly() 158 doReturn(IpServer.STATE_LOCAL_ONLY).`when`(server1).servingMode() in testLocalOnlyAndTetheredHotspotClients()
|
D | IPv6TetheringCoordinatorTest.java | 21 import static android.net.ip.IpServer.STATE_LOCAL_ONLY; 119 mIPv6TetheringCoordinator.addActiveDownstream(secondServer, STATE_LOCAL_ONLY); in testUpdateIpv6Upstream()
|
D | TetheringTest.java | 3142 assertTrue(isIpServerActive(TETHERING_WIFI, TEST_WLAN2_IFNAME, IpServer.STATE_LOCAL_ONLY)); in testConnectedClientsForSapAndLohsConcurrency()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 34 import static android.net.ip.IpServer.STATE_LOCAL_ONLY; 436 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_LOCAL_ONLY); in canBeTetheredAsWifiP2p() 447 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in canBeTetheredAsWifiP2p() 690 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_LOCAL_ONLY); in startsDhcpServerOnNcm() 699 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_LOCAL_ONLY); in testOnNewPrefixRequest() 719 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in testOnNewPrefixRequest()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 209 case IpServer.STATE_LOCAL_ONLY: in isCurrentlyServing() 1069 ? IpServer.STATE_LOCAL_ONLY in getRequestedState() 1101 } else if (tetherState.lastState == IpServer.STATE_LOCAL_ONLY) { in sendTetherStateChangedBroadcast() 1484 enableIpServing(type, ifname, IpServer.STATE_LOCAL_ONLY); in enableWifiP2pIpServing() 1504 ipServingMode = IpServer.STATE_LOCAL_ONLY; in enableWifiIpServing() 1947 case IpServer.STATE_LOCAL_ONLY: in handleInterfaceServingStateActive() 2347 case IpServer.STATE_LOCAL_ONLY: in sendOffloadExemptPrefixes() 2639 case IpServer.STATE_LOCAL_ONLY: in doDump() 2736 case IpServer.STATE_LOCAL_ONLY: in updateInterfaceState()
|
D | ConnectedClientsTracker.java | 104 case IpServer.STATE_LOCAL_ONLY: in updateConnectedClients()
|
D | IPv6TetheringCoordinator.java | 191 if (ds.mode == IpServer.STATE_LOCAL_ONLY) { in getInterfaceIPv6LinkProperties()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 115 public static final int STATE_LOCAL_ONLY = 3; field in IpServer 123 case STATE_LOCAL_ONLY: return "LOCAL_ONLY"; in getStateString() 1122 case STATE_LOCAL_ONLY: in processMessage() 1346 super(STATE_LOCAL_ONLY); in LocalHotspotState()
|