Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java287 if (result.oldLp.equals(result.newLp)) { in onDataStateChanged()
290 if (result.oldLp.isIdenticalInterfaceName(result.newLp)) { in onDataStateChanged()
291 if (! result.oldLp.isIdenticalDnses(result.newLp) || in onDataStateChanged()
292 ! result.oldLp.isIdenticalRoutes(result.newLp) || in onDataStateChanged()
293 ! result.oldLp.isIdenticalHttpProxy(result.newLp) || in onDataStateChanged()
294 ! result.oldLp.isIdenticalAddresses(result.newLp)) { in onDataStateChanged()
298 result.oldLp.compareAddresses(result.newLp); in onDataStateChanged()
301 " newLp=" + result.newLp + " car=" + car); in onDataStateChanged()
319 " newLp=" + result.newLp); in onDataStateChanged()
DDataConnection.java311 public LinkProperties newLp; field in DataConnection.UpdateLinkPropertyResult
314 newLp = curLp; in UpdateLinkPropertyResult()
358 result.newLp = new LinkProperties(); in updateLinkProperty()
361 result.setupResult = setLinkProperties(newState, result.newLp); in updateLinkProperty()
367 result.newLp.setHttpProxy(mLinkProperties.getHttpProxy()); in updateLinkProperty()
369 checkSetMtu(mApnSetting, result.newLp); in updateLinkProperty()
371 mLinkProperties = result.newLp; in updateLinkProperty()
375 if (DBG && (! result.oldLp.equals(result.newLp))) { in updateLinkProperty()
377 log("updateLinkProperty new LP=" + result.newLp); in updateLinkProperty()
380 if (result.newLp.equals(result.oldLp) == false && in updateLinkProperty()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1633 private void updateMtu(LinkProperties newLp, LinkProperties oldLp) { in updateMtu() argument
1634 final String iface = newLp.getInterfaceName(); in updateMtu()
1635 final int mtu = newLp.getMtu(); in updateMtu()
1636 if (oldLp != null && newLp.isIdenticalMtu(oldLp)) { in updateMtu()
1641 if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address()) == false) { in updateMtu()
2859 private void updateProxy(LinkProperties newLp, LinkProperties oldLp, NetworkAgentInfo nai) { in updateProxy() argument
2860 ProxyInfo newProxyInfo = newLp == null ? null : newLp.getHttpProxy(); in updateProxy()
3832 LinkProperties newLp = networkAgent.linkProperties; in updateLinkProperties() local
3841 updateInterfaces(newLp, oldLp, netId); in updateLinkProperties()
3842 updateMtu(newLp, oldLp); in updateLinkProperties()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java4422 LinkProperties newLp = new LinkProperties(); in makeLinkProperties() local
4425 newLp.setInterfaceName(mInterfaceName); in makeLinkProperties()
4426 newLp.setHttpProxy(mWifiConfigStore.getProxyProperties(mLastNetworkId)); in makeLinkProperties()
4428 newLp.setTcpBufferSizes(mTcpBufferSizes); in makeLinkProperties()
4433 newLp.setLinkAddresses(netlinkLinkProperties.getLinkAddresses()); in makeLinkProperties()
4435 newLp.addRoute(route); in makeLinkProperties()
4440 if (newLp.isReachable(dns)) { in makeLinkProperties()
4441 newLp.addDnsServer(dns); in makeLinkProperties()
4451 newLp.addRoute(route); in makeLinkProperties()
4456 if (newLp.isReachable(dns)) { in makeLinkProperties()
[all …]