Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DIpServer.java935 private boolean noChangeInUpstreamIfaceSet(InterfaceSet newIfaces) { in noChangeInUpstreamIfaceSet() argument
936 if (mUpstreamIfaceSet == null && newIfaces == null) return true; in noChangeInUpstreamIfaceSet()
937 if (mUpstreamIfaceSet != null && newIfaces != null) { in noChangeInUpstreamIfaceSet()
938 return mUpstreamIfaceSet.equals(newIfaces); in noChangeInUpstreamIfaceSet()
943 private Set<String> upstreamInterfacesRemoved(InterfaceSet newIfaces) { in upstreamInterfacesRemoved() argument
947 removed.removeAll(newIfaces.ifnames); in upstreamInterfacesRemoved()
951 private Set<String> upstreamInterfacesAdd(InterfaceSet newIfaces) { in upstreamInterfacesAdd() argument
952 final HashSet<String> added = new HashSet<>(newIfaces.ifnames); in upstreamInterfacesAdd()