Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java597 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp)); in notifyDownstreamLinkProperties() local
598 if (Objects.equals(oldLp, lp)) return; in notifyDownstreamLinkProperties()
601 pushDownstreamState(oldLp, lp); in notifyDownstreamLinkProperties()
604 private void pushDownstreamState(LinkProperties oldLp, LinkProperties newLp) { in pushDownstreamState() argument
607 (oldLp != null) ? oldLp.getRoutes() : Collections.EMPTY_LIST; in pushDownstreamState()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1240 private int compareProvisioning(LinkProperties oldLp, LinkProperties newLp) { in compareProvisioning() argument
1243 final boolean wasProvisioned = isProvisioned(oldLp, config); in compareProvisioning()
1266 final boolean lostIPv6 = oldLp.isIpv6Provisioned() && !newLp.isIpv6Provisioned(); in compareProvisioning()
1267 final boolean lostIPv4Address = oldLp.hasIpv4Address() && !newLp.hasIpv4Address(); in compareProvisioning()
1268 final boolean lostIPv6Router = oldLp.hasIpv6DefaultRoute() && !newLp.hasIpv6DefaultRoute(); in compareProvisioning()
1308 if (oldLp.hasGlobalIpv6Address() && (lostIPv6Router && !ignoreIPv6ProvisioningLoss)) { in compareProvisioning()
1468 final LinkProperties oldLp = mLinkProperties; in assembleLinkProperties() local
1471 netlinkLinkProperties, newLp, oldLp)); in assembleLinkProperties()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2871 private void updateMtu(LinkProperties newLp, LinkProperties oldLp) { in updateMtu() argument
2874 if (oldLp == null && mtu == 0) { in updateMtu()
2878 if (oldLp != null && newLp.isIdenticalMtu(oldLp)) { in updateMtu()
5221 private void updateProxy(LinkProperties newLp, LinkProperties oldLp) { in updateProxy() argument
5223 ProxyInfo oldProxyInfo = oldLp == null ? null : oldLp.getHttpProxy(); in updateProxy()
6867 @NonNull LinkProperties oldLp) { in updateLinkProperties() argument
6873 networkAgent.clatd.fixupLinkProperties(oldLp, newLp); in updateLinkProperties()
6875 updateInterfaces(newLp, oldLp, netId, networkAgent.networkCapabilities); in updateLinkProperties()
6879 updateVpnFiltering(newLp, oldLp, networkAgent); in updateLinkProperties()
6881 updateMtu(newLp, oldLp); in updateLinkProperties()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java396 public void fixupLinkProperties(@NonNull LinkProperties oldLp, @NonNull LinkProperties lp) { in fixupLinkProperties() argument
409 for (LinkProperties stacked: oldLp.getStackedLinks()) { in fixupLinkProperties()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java160 LinkProperties oldLp = new LinkProperties(mNai.linkProperties);
198 mNai.linkProperties = new LinkProperties(oldLp);