Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java78 private final LinkProperties mLinkProperties; field in NetlinkTracker
88 mLinkProperties = new LinkProperties(); in NetlinkTracker()
89 mLinkProperties.setInterfaceName(mInterfaceName); in NetlinkTracker()
125 changed = mLinkProperties.addLinkAddress(address); in addressUpdated()
139 changed = mLinkProperties.removeLinkAddress(address); in addressRemoved()
153 changed = mLinkProperties.addRoute(route); in routeUpdated()
167 changed = mLinkProperties.removeRoute(route); in routeRemoved()
182 mDnsServerRepository.setDnsServersOn(mLinkProperties); in interfaceDnsServerInfo()
194 return new LinkProperties(mLinkProperties); in getLinkProperties()
203 mLinkProperties.clear(); in clearLinkProperties()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java62 private LinkProperties mLinkProperties = null; field in PreciseDataConnectionState
108 mLinkProperties = linkProperties; in PreciseDataConnectionState()
131 mLinkProperties = (LinkProperties) in.readParcelable(null); in PreciseDataConnectionState()
230 return mLinkProperties; in getDataConnectionLinkProperties()
238 return mLinkProperties; in getLinkProperties()
284 out.writeParcelable(mLinkProperties, flags); in writeToParcel()
303 return Objects.hash(mState, mNetworkType, mApnTypes, mApn, mLinkProperties, in hashCode()
317 && Objects.equals(mLinkProperties, other.mLinkProperties) in equals()
332 sb.append(", Link properties: " + mLinkProperties); in toString()
/frameworks/base/core/java/android/net/
DConnectivityDiagnosticsManager.java224 @NonNull private final LinkProperties mLinkProperties; field in ConnectivityDiagnosticsManager.ConnectivityReport
255 mLinkProperties = new LinkProperties(linkProperties); in ConnectivityReport()
286 return new LinkProperties(mLinkProperties); in getLinkProperties()
320 && mLinkProperties.equals(that.mLinkProperties) in equals()
330 mLinkProperties, in hashCode()
346 dest.writeParcelable(mLinkProperties, flags); in writeToParcel()
444 @NonNull private final LinkProperties mLinkProperties; field in ConnectivityDiagnosticsManager.DataStallReport
477 mLinkProperties = new LinkProperties(linkProperties); in DataStallReport()
517 return new LinkProperties(mLinkProperties); in getLinkProperties()
556 && mLinkProperties.equals(that.mLinkProperties) in equals()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java114 private final LinkProperties mLinkProperties; field in NetworkDiagnostics
186 mLinkProperties = lp; in NetworkDiagnostics()
188 mInterfaceIndex = getInterfaceIndex(mLinkProperties.getInterfaceName()); in NetworkDiagnostics()
198 if (mLinkProperties.isReachable(TEST_DNS4)) { in NetworkDiagnostics()
199 mLinkProperties.addDnsServer(TEST_DNS4); in NetworkDiagnostics()
204 if (mLinkProperties.hasGlobalIpv6Address() || mLinkProperties.hasIpv6DefaultRoute()) { in NetworkDiagnostics()
205 mLinkProperties.addDnsServer(TEST_DNS6); in NetworkDiagnostics()
208 for (RouteInfo route : mLinkProperties.getRoutes()) { in NetworkDiagnostics()
217 for (InetAddress nameserver : mLinkProperties.getDnsServers()) { in NetworkDiagnostics()
230 if (mLinkProperties.isReachable(tlsNameserver)) { in NetworkDiagnostics()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java253 private LinkProperties mLinkProperties = new LinkProperties(); field in NetworkInterfaceState
427 Log.w(TAG, "Network interface '" + mLinkProperties.getInterfaceName() + "' has no " in getNetworkScore()
463 mLinkProperties = linkProperties; in onIpLayerStarted()
471 NETWORK_TYPE, mCapabilities, mLinkProperties, in onIpLayerStarted()
499 mLinkProperties = linkProperties; in updateLinkProperties()
531 mLinkProperties.clear(); in stop()
539 mLinkProperties); in updateAgent()
542 mNetworkAgent.sendLinkProperties(mLinkProperties); in updateAgent()
604 + "linkProperties: " + mLinkProperties in toString()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java240 private final LinkProperties mLinkProperties; field in IpServer
297 mLinkProperties = new LinkProperties(); in IpServer()
355 return new LinkProperties(mLinkProperties); in linkProperties()
643 mLinkProperties.addLinkAddress(mIpv4Address); in configureIPv4()
644 mLinkProperties.addRoute(getDirectConnectedRoute(mIpv4Address)); in configureIPv4()
646 mLinkProperties.removeLinkAddress(mIpv4Address); in configureIPv4()
647 mLinkProperties.removeRoute(getDirectConnectedRoute(mIpv4Address)); in configureIPv4()
757 for (RouteInfo route : toBeRemoved) mLinkProperties.removeRoute(route); in removeRoutesFromLocalNetwork()
778 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in addRoutesToLocalNetwork()
817 mLinkProperties.removeLinkAddress(new LinkAddress(dns, RFC7421_PREFIX_LENGTH)); in configureLocalIPv6Dns()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java268 private LinkProperties mLinkProperties = new LinkProperties(); field in DataConnection
426 return new LinkProperties(mLinkProperties); in getLinkProperties()
472 mLinkProperties.setHttpProxy(proxy); in updateLinkPropertiesHttpProxy()
513 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv4Connected()
530 Collection <InetAddress> addresses = mLinkProperties.getAddresses(); in isIpv6Connected()
547 UpdateLinkPropertyResult result = new UpdateLinkPropertyResult(mLinkProperties); in updateLinkProperty()
560 result.newLp.setHttpProxy(mLinkProperties.getHttpProxy()); in updateLinkProperty()
564 mLinkProperties = result.newLp; in updateLinkProperty()
575 mNetworkAgent.sendLinkProperties(mLinkProperties, DataConnection.this); in updateLinkProperty()
964 mLinkProperties = new LinkProperties(); in clearSettings()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java318 private LinkProperties mLinkProperties; field in ClientModeImpl
830 mLinkProperties = new LinkProperties(); in ClientModeImpl()
1296 mLinkProperties.getRoutes(), packetData.getDstAddress()).getGateway(); in getDstMacForKeepalive()
2046 pw.println("mLinkProperties " + mLinkProperties); in dump()
2398 if (mLinkProperties != null) { in getLogRecString()
2400 sb.append(getLinkPropertiesSummary(mLinkProperties)); in getLogRecString()
2446 if (mLinkProperties != null) { in getLogRecString()
2448 sb.append(getLinkPropertiesSummary(mLinkProperties)); in getLogRecString()
2773 + " old: " + mLinkProperties + " new: " + newLp); in updateLinkProperties()
2776 mLinkProperties = newLp; in updateLinkProperties()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68921 Landroid/telephony/PreciseDataConnectionState;->mLinkProperties:Landroid/net/LinkProperties;