Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DIpClientUtil.java59 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument
60 mCallbackLinkProperties = newLp; in onProvisioningSuccess()
65 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument
123 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument
124 mCb.onProvisioningSuccess(newLp); in onProvisioningSuccess()
127 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument
128 mCb.onProvisioningFailure(newLp); in onProvisioningFailure()
133 public void onLinkPropertiesChange(LinkProperties newLp) { in onLinkPropertiesChange() argument
134 mCb.onLinkPropertiesChange(newLp); in onLinkPropertiesChange()
DIpClientCallbacks.java71 public void onProvisioningSuccess(LinkProperties newLp) {} in onProvisioningSuccess() argument
76 public void onProvisioningFailure(LinkProperties newLp) {} in onProvisioningFailure() argument
81 public void onLinkPropertiesChange(LinkProperties newLp) {} in onLinkPropertiesChange() argument
DIIpClientCallbacks.aidl37 void onProvisioningSuccess(in LinkProperties newLp); in onProvisioningSuccess() argument
38 void onProvisioningFailure(in LinkProperties newLp); in onProvisioningFailure() argument
41 void onLinkPropertiesChange(in LinkProperties newLp); in onLinkPropertiesChange() argument
DIpServer.java129 public void updateLinkProperties(IpServer who, LinkProperties newLp) {} in updateLinkProperties() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/ip/
DIIpClientCallbacks.aidl7 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() argument
8 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() argument
9 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange() argument
/frameworks/base/services/net/aidl/networkstack/1/android/net/ip/
DIIpClientCallbacks.aidl7 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() argument
8 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() argument
9 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange() argument
/frameworks/base/services/net/aidl/networkstack/3/android/net/ip/
DIIpClientCallbacks.aidl24 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() argument
25 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() argument
26 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java348 if (result.oldLp.equals(result.newLp)) { in onDataStateChanged()
351 if (result.oldLp.isIdenticalInterfaceName(result.newLp)) { in onDataStateChanged()
352 if (! result.oldLp.isIdenticalDnses(result.newLp) || in onDataStateChanged()
353 ! result.oldLp.isIdenticalRoutes(result.newLp) || in onDataStateChanged()
354 ! result.oldLp.isIdenticalHttpProxy(result.newLp) || in onDataStateChanged()
355 ! result.oldLp.isIdenticalAddresses(result.newLp)) { in onDataStateChanged()
359 result.oldLp.compareAddresses(result.newLp); in onDataStateChanged()
362 " newLp=" + result.newLp + " car=" + car); in onDataStateChanged()
380 + " newLp=" + result.newLp); in onDataStateChanged()
DDataConnection.java432 public LinkProperties newLp; field in DataConnection.UpdateLinkPropertyResult
435 newLp = curLp; in UpdateLinkPropertyResult()
501 result.newLp = new LinkProperties(); in updateLinkProperty()
504 result.setupResult = setLinkProperties(newState, result.newLp); in updateLinkProperty()
510 result.newLp.setHttpProxy(mLinkProperties.getHttpProxy()); in updateLinkProperty()
512 checkSetMtu(mApnSetting, result.newLp); in updateLinkProperty()
514 mLinkProperties = result.newLp; in updateLinkProperty()
518 if (DBG && (! result.oldLp.equals(result.newLp))) { in updateLinkProperty()
520 log("updateLinkProperty new LP=" + result.newLp); in updateLinkProperty()
523 if (result.newLp.equals(result.oldLp) == false && in updateLinkProperty()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java325 private void handleLinkProp(Network network, LinkProperties newLp) { in handleLinkProp() argument
327 if (prev == null || newLp.equals(prev.linkProperties)) { in handleLinkProp()
336 network, newLp)); in handleLinkProp()
340 null, newLp, prev.networkCapabilities, network, null, null)); in handleLinkProp()
432 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in onLinkPropertiesChanged() argument
435 handleLinkProp(network, newLp); in onLinkPropertiesChanged()
DOffloadController.java395 private void pushDownstreamState(LinkProperties oldLp, LinkProperties newLp) { in pushDownstreamState() argument
396 final String ifname = newLp.getInterfaceName(); in pushDownstreamState()
399 final List<RouteInfo> newRoutes = newLp.getRoutes(); in pushDownstreamState()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java327 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument
328 mHandler.post(() -> onIpLayerStarted(newLp)); in onProvisioningSuccess()
332 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument
333 mHandler.post(() -> onIpLayerStopped(newLp)); in onProvisioningFailure()
337 public void onLinkPropertiesChange(LinkProperties newLp) { in onLinkPropertiesChange() argument
338 mHandler.post(() -> updateLinkProperties(newLp)); in onLinkPropertiesChange()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2208 private void updateMtu(LinkProperties newLp, LinkProperties oldLp) { in updateMtu() argument
2209 final String iface = newLp.getInterfaceName(); in updateMtu()
2210 final int mtu = newLp.getMtu(); in updateMtu()
2215 if (oldLp != null && newLp.isIdenticalMtu(oldLp)) { in updateMtu()
2219 if (!LinkProperties.isValidMtu(mtu, newLp.hasGlobalIpv6Address())) { in updateMtu()
4208 private void updateProxy(LinkProperties newLp, LinkProperties oldLp) { in updateProxy() argument
4209 ProxyInfo newProxyInfo = newLp == null ? null : newLp.getHttpProxy(); in updateProxy()
5519 private void updateLinkProperties(NetworkAgentInfo networkAgent, LinkProperties newLp, in updateLinkProperties() argument
5526 networkAgent.clatd.fixupLinkProperties(oldLp, newLp); in updateLinkProperties()
5528 updateInterfaces(newLp, oldLp, netId, networkAgent.networkCapabilities); in updateLinkProperties()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1469 final LinkProperties newLp = (LinkProperties) message.obj; in processMessage() local
1471 mOffload.updateDownstreamLinkProperties(newLp); in processMessage()
1473 mOffload.excludeDownstreamInterface(newLp.getInterfaceName()); in processMessage()
1611 public void updateDownstreamLinkProperties(LinkProperties newLp) { in updateDownstreamLinkProperties() argument
1615 mOffloadController.notifyDownstreamLinkProperties(newLp); in updateDownstreamLinkProperties()
1799 public void updateLinkProperties(IpServer who, LinkProperties newLp) { in makeControlCallback() argument
1800 notifyLinkPropertiesChanged(who, newLp); in makeControlCallback()
1853 private void notifyLinkPropertiesChanged(IpServer who, LinkProperties newLp) {
1868 iface, IpServer.getStateString(state), newLp));
1870 mTetherMasterSM.sendMessage(which, state, 0, newLp);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1019 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument
1021 sendMessage(CMD_UPDATE_LINKPROPERTIES, newLp); in onProvisioningSuccess()
1026 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument
1032 public void onLinkPropertiesChange(LinkProperties newLp) { in onLinkPropertiesChange() argument
1033 sendMessage(CMD_UPDATE_LINKPROPERTIES, newLp); in onLinkPropertiesChange()
2749 private void updateLinkProperties(LinkProperties newLp) { in updateLinkProperties() argument
2752 + " old: " + mLinkProperties + " new: " + newLp); in updateLinkProperties()
2755 mLinkProperties = newLp; in updateLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4918 LinkProperties newLp = new LinkProperties(lp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local
4921 newLp.addLinkAddress(myIpv6Address1); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4922 newLp.addLinkAddress(myIpv6Address2); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4923 networkAgent.sendLinkProperties(newLp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java571 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument
575 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument