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.java68 private final ArrayMap<Network, List<IpPrefix>> mUpstreamPrefixMap; field in PrivateAddressCoordinator
79 mUpstreamPrefixMap = new ArrayMap<>(); in PrivateAddressCoordinator()
96 mUpstreamPrefixMap.put(network, ipv4Prefixes); in updateUpstreamPrefix()
127 mUpstreamPrefixMap.remove(network); in removeUpstreamPrefix()
135 if (mUpstreamPrefixMap.isEmpty()) return; in maybeRemoveDeprecatedUpstreams()
138 final Set<Network> toBeRemoved = new HashSet<>(mUpstreamPrefixMap.keySet()); in maybeRemoveDeprecatedUpstreams()
141 mUpstreamPrefixMap.removeAll(toBeRemoved); in maybeRemoveDeprecatedUpstreams()
203 mUpstreamPrefixMap.clear(); in clearUpstreamPrefixes()
207 for (int i = 0; i < mUpstreamPrefixMap.size(); i++) { in isConflictWithUpstream()
208 final List<IpPrefix> list = mUpstreamPrefixMap.valueAt(i); in isConflictWithUpstream()
[all …]