Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java65 private final ArrayMap<Network, List<IpPrefix>> mUpstreamPrefixMap; field in PrivateAddressCoordinator
76 mUpstreamPrefixMap = new ArrayMap<>(); in PrivateAddressCoordinator()
93 mUpstreamPrefixMap.put(network, ipv4Prefixes); in updateUpstreamPrefix()
124 mUpstreamPrefixMap.remove(network); in removeUpstreamPrefix()
128 if (!mDownstreams.isEmpty() || mUpstreamPrefixMap.isEmpty()) return; in maybeRemoveDeprectedUpstreams()
132 for (int i = 0; i < mUpstreamPrefixMap.size(); i++) { in maybeRemoveDeprectedUpstreams()
133 final Network network = mUpstreamPrefixMap.keyAt(i); in maybeRemoveDeprectedUpstreams()
137 mUpstreamPrefixMap.removeAll(toBeRemoved); in maybeRemoveDeprectedUpstreams()
201 mUpstreamPrefixMap.clear(); in clearUpstreamPrefixes()
205 for (int i = 0; i < mUpstreamPrefixMap.size(); i++) { in isConflictWithUpstream()
[all …]