Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java27 import android.net.ip.IpServer;
54 public final IpServer ipServer;
59 Downstream(IpServer ipServer, int mode, short subnetId) { in Downstream()
66 private final ArrayList<IpServer> mNotifyList;
78 public IPv6TetheringCoordinator(ArrayList<IpServer> notifyList, SharedLog log) { in IPv6TetheringCoordinator()
86 public void addActiveDownstream(IpServer downstream, int mode) { in addActiveDownstream()
101 public void removeActiveDownstream(IpServer downstream) { in removeActiveDownstream()
136 for (IpServer ipServer : mNotifyList) { in stopIPv6TetheringOnAllInterfaces()
159 for (IpServer ipServer : mNotifyList) { in updateIPv6TetheringInterfaces()
161 ipServer.sendMessage(IpServer.CMD_IPV6_TETHER_UPDATE, 0, 0, lp); in updateIPv6TetheringInterfaces()
[all …]
DTetheringDependencies.java21 import android.net.ip.IpServer;
57 ArrayList<IpServer> notifyList, SharedLog log) { in getIPv6TetheringCoordinator()
64 public IpServer.Dependencies getIpServerDependencies() { in getIpServerDependencies()
65 return new IpServer.Dependencies(); in getIpServerDependencies()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java73 import android.net.ip.IpServer;
139 Tethering.class, TetherMasterSM.class, IpServer.class
145 public final IpServer ipServer;
149 public TetherState(IpServer ipServer) { in TetherState()
152 lastState = IpServer.STATE_AVAILABLE; in TetherState()
158 case IpServer.STATE_TETHERED: in isCurrentlyServing()
159 case IpServer.STATE_LOCAL_ONLY: in isCurrentlyServing()
183 private final HashSet<IpServer> mForwardedDownstreams;
474 return tether(iface, IpServer.STATE_TETHERED); in tether()
487 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether()
[all …]
/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java26 import static android.net.ip.IpServer.STATE_AVAILABLE;
27 import static android.net.ip.IpServer.STATE_TETHERED;
28 import static android.net.ip.IpServer.STATE_UNAVAILABLE;
100 @Mock private IpServer.Callback mCallback;
105 @Mock private IpServer.Dependencies mDependencies;
112 private IpServer mIpServer;
134 mIpServer = new IpServer( in initStateMachine()
155 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in initTetheredStateMachine()
170 mIpServer = new IpServer(IFACE_NAME, mLooper.getLooper(), in startsOutAvailable()
185 IpServer.CMD_TETHER_UNREQUESTED, in shouldDoNothingUntilRequested()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java86 import android.net.ip.IpServer;
200 public class MockIpServerDependencies extends IpServer.Dependencies {
239 ArrayList<IpServer> ipv6CoordinatorNotifyList;
262 ArrayList<IpServer> notifyList, SharedLog log) { in getIPv6TetheringCoordinator()
268 public IpServer.Dependencies getIpServerDependencies() { in getIpServerDependencies()
547 eq(IpServer.STATE_TETHERED)); in sendIPv6TetherUpdates()
549 for (IpServer ipSrv : in sendIPv6TetherUpdates()
552 ipSrv.sendMessage(IpServer.CMD_IPV6_TETHER_UPDATE, 0, 0, in sendIPv6TetherUpdates()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java74 public class IpServer extends StateMachine { class
108 IpServer.class
121 public void updateInterfaceState(IpServer who, int state, int lastError) {} in updateInterfaceState()
129 public void updateLinkProperties(IpServer who, LinkProperties newLp) {} in updateLinkProperties()
213 public IpServer( in IpServer() method in IpServer
/frameworks/base/services/net/
DAndroid.bp92 "java/android/net/util/InterfaceParams.java", // TODO: move to NetworkStack with IpServer
/frameworks/base/services/
Dart-profile199 HSPLandroid/net/ip/IpServer$Dependencies;->getNetdService()Landroid/net/INetd;
200 HSPLandroid/net/ip/IpServer$InitialState;->enter()V
201 HSPLandroid/net/ip/IpServer$InitialState;->processMessage(Landroid/os/Message;)Z
202IpServer;-><init>(Ljava/lang/String;Landroid/os/Looper;ILandroid/net/util/SharedLog;Landroid/os/IN…
203 HSPLandroid/net/ip/IpServer;->getStateString(I)Ljava/lang/String;
204 HSPLandroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
205 HSPLandroid/net/ip/IpServer;->interfaceType()I
206 HSPLandroid/net/ip/IpServer;->lastError()I
207 HSPLandroid/net/ip/IpServer;->logMessage(Lcom/android/internal/util/State;I)V
208 HSPLandroid/net/ip/IpServer;->updateUpstreamIPv6LinkProperties(Landroid/net/LinkProperties;)V
[all …]