Searched refs:STATE_TETHERED (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTrackerTest.kt | 79 doReturn(IpServer.STATE_TETHERED).`when`(server1).servingMode() in testUpdateConnectedClients() 80 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testUpdateConnectedClients() 159 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testLocalOnlyAndTetheredHotspotClients() 188 doReturn(IpServer.STATE_TETHERED).`when`(server1).servingMode() in testUpdateConnectedClients_LeaseExpiration() 189 doReturn(IpServer.STATE_TETHERED).`when`(server2).servingMode() in testUpdateConnectedClients_LeaseExpiration()
|
D | IPv6TetheringCoordinatorTest.java | 22 import static android.net.ip.IpServer.STATE_TETHERED; 112 mIPv6TetheringCoordinator.addActiveDownstream(firstServer, STATE_TETHERED); in testUpdateIpv6Upstream()
|
D | TetheringServiceTest.java | 190 verify(mTethering).tether(TEST_IFACE_NAME, IpServer.STATE_TETHERED, result); in runTether()
|
D | TetheringTest.java | 1062 eq(IpServer.STATE_TETHERED)); in runUsbTethering() 1067 eq(IpServer.STATE_TETHERED)); in runUsbTethering() 3141 assertTrue(isIpServerActive(TETHERING_WIFI, TEST_WLAN_IFNAME, IpServer.STATE_TETHERED)); in testConnectedClientsForSapAndLohsConcurrency() 3287 mTethering.tether(TEST_BT_IFNAME, IpServer.STATE_TETHERED, tetherResult); in testBluetoothTetheringBeforeT() 3337 mTethering.tether(TEST_BT_IFNAME, IpServer.STATE_TETHERED, tetherResult); in testBluetoothServiceDisconnects()
|
D | BpfCoordinatorTest.java | 29 import static android.net.ip.IpServer.STATE_TETHERED; 628 ipServer.sendMessage(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in makeAndStartIpServer()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 35 import static android.net.ip.IpServer.STATE_TETHERED; 244 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in initTetheredStateMachine() 363 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTetheredAsBluetooth() 377 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsBluetooth() 414 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTetheredAsUsb() 425 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb() 608 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in usbShouldBeTornDownOnTetherError() 886 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in testStopObsoleteDhcpServer()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 208 case IpServer.STATE_TETHERED: in isCurrentlyServing() 1070 : IpServer.STATE_TETHERED; in getRequestedState() 1103 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast() 1501 ipServingMode = IpServer.STATE_TETHERED; in enableWifiIpServing() 1622 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces() 1929 if (mode == IpServer.STATE_TETHERED) { in handleInterfaceServingStateActive() 1944 case IpServer.STATE_TETHERED: in handleInterfaceServingStateActive() 2153 if (message.arg1 == IpServer.STATE_TETHERED) { in processMessage() 2337 case IpServer.STATE_TETHERED: in sendOffloadExemptPrefixes() 2636 case IpServer.STATE_TETHERED: in doDump() [all …]
|
D | ConnectedClientsTracker.java | 101 case IpServer.STATE_TETHERED: in updateConnectedClients()
|
D | TetheringService.java | 112 mTethering.tether(iface, IpServer.STATE_TETHERED, listener); in tether()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 114 public static final int STATE_TETHERED = 2; field in IpServer 122 case STATE_TETHERED: return "TETHERED"; in getStateString() 1126 case STATE_TETHERED: in processMessage() 1186 if (mDesiredInterfaceState == STATE_TETHERED) { in getScope() 1375 super(STATE_TETHERED); in TetheredState()
|