Home
last modified time | relevance | path

Searched refs:ipServer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java53 public final IpServer ipServer; field in IPv6TetheringCoordinator.Downstream
58 Downstream(IpServer ipServer, int mode, short subnetId) { in Downstream() argument
59 this.ipServer = ipServer; in Downstream()
142 for (IpServer ipServer : mNotifyList) { in stopIPv6TetheringOnAllInterfaces()
143 stopIPv6TetheringOn(ipServer); in stopIPv6TetheringOnAllInterfaces()
162 for (IpServer ipServer : mNotifyList) { in updateIPv6TetheringInterfaces()
163 final LinkProperties lp = getInterfaceIPv6LinkProperties(ipServer); in updateIPv6TetheringInterfaces()
164 ipServer.sendMessage(IpServer.CMD_IPV6_TETHER_UPDATE, getTtlAdjustment(), 0, lp); in updateIPv6TetheringInterfaces()
186 private LinkProperties getInterfaceIPv6LinkProperties(IpServer ipServer) { in getInterfaceIPv6LinkProperties() argument
187 final Downstream ds = findDownstream(ipServer); in getInterfaceIPv6LinkProperties()
[all …]
DBpfCoordinator.java240 @NonNull final IpServer ipServer, @NonNull final Ipv6ForwardingRule rule) { in tetherOffloadRuleAdd()
251 if (!mIpv6ForwardingRules.containsKey(ipServer)) { in tetherOffloadRuleAdd()
252 mIpv6ForwardingRules.put(ipServer, new LinkedHashMap<Inet6Address, in tetherOffloadRuleAdd()
255 LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get(ipServer); in tetherOffloadRuleAdd()
281 @NonNull final IpServer ipServer, @NonNull final Ipv6ForwardingRule rule) { in tetherOffloadRuleRemove()
292 LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get(ipServer); in tetherOffloadRuleRemove()
303 mIpv6ForwardingRules.remove(ipServer); in tetherOffloadRuleRemove()
326 public void tetherOffloadRuleClear(@NonNull final IpServer ipServer) { in tetherOffloadRuleClear() argument
330 ipServer); in tetherOffloadRuleClear()
335 tetherOffloadRuleRemove(ipServer, rule); in tetherOffloadRuleClear()
[all …]
DPrivateAddressCoordinator.java149 public LinkAddress requestDownstreamAddress(final IpServer ipServer) { in requestDownstreamAddress() argument
173 mDownstreams.add(ipServer); in requestDownstreamAddress()
197 public void releaseDownstream(final IpServer ipServer) { in releaseDownstream() argument
198 mDownstreams.remove(ipServer); in releaseDownstream()
250 for (IpServer ipServer : mDownstreams) { in dump()
251 pw.println(ipServer.interfaceType() + " - " + ipServer.getAddress()); in dump()
DTethering.java170 public final IpServer ipServer; field in Tethering.TetherState
174 TetherState(IpServer ipServer) { in TetherState() argument
175 this.ipServer = ipServer; in TetherState()
771 final int type = tetherState.ipServer.interfaceType(); in tether()
776 tetherState.ipServer.sendMessage(IpServer.CMD_TETHER_REQUESTED, requestedState, 0, in tether()
794 tetherState.ipServer.sendMessage(IpServer.CMD_TETHER_UNREQUESTED); in untether()
1142 ts.ipServer.unwanted(); in disableWifiIpServingLockedCommon()
1148 final IpServer ipServer = mTetherStates.valueAt(i).ipServer; in disableWifiIpServingLockedCommon() local
1149 if (ipServer.interfaceType() == tetheringType) { in disableWifiIpServingLockedCommon()
1150 ipServer.unwanted(); in disableWifiIpServingLockedCommon()
[all …]