/frameworks/base/services/net/java/android/net/ip/ |
D | IpClientUtil.java | 59 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()
|
D | IpClientCallbacks.java | 82 public void onProvisioningSuccess(LinkProperties newLp) {} in onProvisioningSuccess() argument 87 public void onProvisioningFailure(LinkProperties newLp) {} in onProvisioningFailure() argument 92 public void onLinkPropertiesChange(LinkProperties newLp) {} in onLinkPropertiesChange() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcController.java | 355 if (result.oldLp.equals(result.newLp)) { in onDataStateChanged() 359 result.oldLp, result.newLp)) { in onDataStateChanged() 361 result.oldLp, result.newLp) in onDataStateChanged() 363 result.oldLp, result.newLp) in onDataStateChanged() 365 result.oldLp, result.newLp) in onDataStateChanged() 367 result.oldLp, result.newLp)) { in onDataStateChanged() 372 result.newLp); in onDataStateChanged() 375 " newLp=" + result.newLp + " car=" + car); in onDataStateChanged() 393 + " newLp=" + result.newLp); in onDataStateChanged()
|
D | DataConnection.java | 482 public LinkProperties newLp; field in DataConnection.UpdateLinkPropertyResult 485 newLp = curLp; in UpdateLinkPropertyResult() 551 result.newLp = new LinkProperties(); in updateLinkProperty() 554 result.setupResult = setLinkProperties(newState, result.newLp); in updateLinkProperty() 560 result.newLp.setHttpProxy(mLinkProperties.getHttpProxy()); in updateLinkProperty() 562 checkSetMtu(mApnSetting, result.newLp); in updateLinkProperty() 564 mLinkProperties = result.newLp; in updateLinkProperty() 568 if (DBG && (! result.oldLp.equals(result.newLp))) { in updateLinkProperty() 570 log("updateLinkProperty new LP=" + result.newLp); in updateLinkProperty() 573 if (result.newLp.equals(result.oldLp) == false && in updateLinkProperty()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 366 private void handleLinkProp(Network network, LinkProperties newLp) { in handleLinkProp() argument 368 if (prev == null || newLp.equals(prev.linkProperties)) { in handleLinkProp() 377 network, newLp)); in handleLinkProp() 381 newLp, prev.networkCapabilities, network)); in handleLinkProp() 463 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in onLinkPropertiesChanged() argument 466 handleLinkProp(network, newLp); in onLinkPropertiesChanged()
|
D | Tethering.java | 1842 final LinkProperties newLp = (LinkProperties) message.obj; in processMessage() local 1844 mOffload.updateDownstreamLinkProperties(newLp); in processMessage() 1846 mOffload.excludeDownstreamInterface(newLp.getInterfaceName()); in processMessage() 1987 public void updateDownstreamLinkProperties(LinkProperties newLp) { in updateDownstreamLinkProperties() argument 1991 mOffloadController.notifyDownstreamLinkProperties(newLp); in updateDownstreamLinkProperties() 2316 public void updateLinkProperties(IpServer who, LinkProperties newLp) { in makeControlCallback() argument 2317 notifyLinkPropertiesChanged(who, newLp); in makeControlCallback() 2371 private void notifyLinkPropertiesChanged(IpServer who, LinkProperties newLp) { 2386 iface, IpServer.getStateString(state), newLp)); 2388 mTetherMainSM.sendMessage(which, state, 0, newLp);
|
D | OffloadController.java | 533 private void pushDownstreamState(LinkProperties oldLp, LinkProperties newLp) { in pushDownstreamState() argument 534 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() 537 final List<RouteInfo> newRoutes = newLp.getRoutes(); in pushDownstreamState()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 327 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/ |
D | ConnectivityService.java | 1737 final LinkProperties newLp = new LinkProperties(lp); in linkPropertiesRestrictedForCallerPermissions() local 1740 newLp.setCaptivePortalApiUrl(null); in linkPropertiesRestrictedForCallerPermissions() 1741 newLp.setCaptivePortalData(null); in linkPropertiesRestrictedForCallerPermissions() 1742 return newLp; in linkPropertiesRestrictedForCallerPermissions() 2391 private void updateMtu(LinkProperties newLp, LinkProperties oldLp) { in updateMtu() argument 2392 final String iface = newLp.getInterfaceName(); in updateMtu() 2393 final int mtu = newLp.getMtu(); in updateMtu() 2398 if (oldLp != null && newLp.isIdenticalMtu(oldLp)) { in updateMtu() 2402 if (!LinkProperties.isValidMtu(mtu, newLp.hasGlobalIpv6Address())) { in updateMtu() 2749 LinkProperties newLp = (LinkProperties) msg.obj; in maybeHandleNetworkAgentMessage() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 1036 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument 1038 sendMessage(CMD_UPDATE_LINKPROPERTIES, newLp); in onProvisioningSuccess() 1043 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument 1049 public void onLinkPropertiesChange(LinkProperties newLp) { in onLinkPropertiesChange() argument 1050 sendMessage(CMD_UPDATE_LINKPROPERTIES, newLp); in onLinkPropertiesChange() 2770 private void updateLinkProperties(LinkProperties newLp) { in updateLinkProperties() argument 2773 + " old: " + mLinkProperties + " new: " + newLp); in updateLinkProperties() 2776 mLinkProperties = newLp; in updateLinkProperties()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 144 public void updateLinkProperties(IpServer who, LinkProperties newLp) { } in updateLinkProperties() argument
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1872 final LinkProperties newLp = new LinkProperties(); in doNetworkCallbacksSanitizationTest() local 1878 newLp.setCaptivePortalApiUrl(capportUrl); in doNetworkCallbacksSanitizationTest() 1879 mWiFiNetworkAgent.sendLinkProperties(newLp); in doNetworkCallbacksSanitizationTest() 4760 LinkProperties newLp = new LinkProperties(lp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() local 4763 newLp.addLinkAddress(myIpv6Address1); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4764 newLp.addLinkAddress(myIpv6Address2); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 4765 networkAgent.sendLinkProperties(newLp); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 591 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() argument 595 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() argument
|