/aosp12/frameworks/base/core/java/android/net/ |
H A D | NetworkStateSnapshot.java | 48 private final LinkProperties mLinkProperties; field in NetworkStateSnapshot 69 mLinkProperties = Objects.requireNonNull(linkProperties); in NetworkStateSnapshot() 78 mLinkProperties = in.readParcelable(null); in NetworkStateSnapshot() 98 return mLinkProperties; in getLinkProperties() 124 out.writeParcelable(mLinkProperties, flags); in writeToParcel() 153 && Objects.equals(mLinkProperties, that.mLinkProperties) in equals() 160 mNetworkCapabilities, mLinkProperties, mSubscriberId, mLegacyType); in hashCode() 168 + ", linkProperties=" + mLinkProperties in toString()
|
/aosp12/frameworks/base/core/java/com/android/server/net/ |
H A D | NetlinkTracker.java | 79 private final LinkProperties mLinkProperties; field in NetlinkTracker 89 mLinkProperties = new LinkProperties(); in NetlinkTracker() 90 mLinkProperties.setInterfaceName(mInterfaceName); in NetlinkTracker() 126 changed = mLinkProperties.addLinkAddress(address); in addressUpdated() 140 changed = mLinkProperties.removeLinkAddress(address); in addressRemoved() 154 changed = mLinkProperties.addRoute(route); in routeUpdated() 168 changed = mLinkProperties.removeRoute(route); in routeRemoved() 183 mDnsServerRepository.setDnsServersOn(mLinkProperties); in interfaceDnsServerInfo() 195 return new LinkProperties(mLinkProperties); in getLinkProperties() 204 mLinkProperties.clear(); in clearLinkProperties() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 65 private final LinkProperties mLinkProperties; field in PreciseDataConnectionState 113 mLinkProperties = linkProperties; in PreciseDataConnectionState() 128 mLinkProperties = in.readParcelable(LinkProperties.class.getClassLoader()); in PreciseDataConnectionState() 230 return mLinkProperties; in getLinkProperties() 277 out.writeParcelable(mLinkProperties, flags); in writeToParcel() 297 mLinkProperties, mApnSetting); in hashCode() 311 && Objects.equals(mLinkProperties, that.mLinkProperties) in equals() 326 sb.append(", link properties: " + mLinkProperties); in toString() 354 private @Nullable LinkProperties mLinkProperties = null; field in PreciseDataConnectionState.Builder 416 mLinkProperties = linkProperties; in setLinkProperties() [all …]
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | ConnectivityDiagnosticsManager.java | 223 @NonNull private final LinkProperties mLinkProperties; field in ConnectivityDiagnosticsManager.ConnectivityReport 254 mLinkProperties = new LinkProperties(linkProperties); in ConnectivityReport() 285 return new LinkProperties(mLinkProperties); in getLinkProperties() 319 && mLinkProperties.equals(that.mLinkProperties) in equals() 329 mLinkProperties, in hashCode() 345 dest.writeParcelable(mLinkProperties, flags); in writeToParcel() 443 @NonNull private final LinkProperties mLinkProperties; field in ConnectivityDiagnosticsManager.DataStallReport 516 return new LinkProperties(mLinkProperties); in getLinkProperties() 555 && mLinkProperties.equals(that.mLinkProperties) in equals() 566 mLinkProperties, in hashCode() [all …]
|
/aosp12/packages/modules/NetworkStack/src/android/net/ip/ |
H A D | IpClientLinkObserver.java | 112 private final LinkProperties mLinkProperties; field in IpClientLinkObserver 128 mLinkProperties = new LinkProperties(); in IpClientLinkObserver() 129 mLinkProperties.setInterfaceName(mInterfaceName); in IpClientLinkObserver() 222 changed = mLinkProperties.addRoute(route); in onRouteUpdated() 238 changed = mLinkProperties.removeRoute(route); in onRouteRemoved() 267 return new LinkProperties(mLinkProperties); in getLinkProperties() 279 mLinkProperties.clear(); in clearLinkProperties() 280 mLinkProperties.setInterfaceName(mInterfaceName); in clearLinkProperties() 343 updatePref64(mShim.getNat64Prefix(mLinkProperties), 395 mShim.setNat64Prefix(mLinkProperties, prefix); in updatePref64() [all …]
|
H A D | IpReachabilityMonitor.java | 193 private LinkProperties mLinkProperties = new LinkProperties(); 307 mLinkProperties = new LinkProperties(lp); 310 final List<RouteInfo> routes = mLinkProperties.getRoutes(); 331 mLinkProperties.clear(); 337 final LinkProperties whatIfLp = new LinkProperties(mLinkProperties); 354 for (RouteInfo route : mLinkProperties.getRoutes()) { 367 (mLinkProperties.isIpv4Provisioned() && !whatIfLp.isIpv4Provisioned()) 368 || (mLinkProperties.isIpv6Provisioned() && !whatIfLp.isIpv6Provisioned());
|
H A D | IpClient.java | 520 private LinkProperties mLinkProperties; field in IpClient 725 mLinkProperties = new LinkProperties(); in IpClient() 726 mLinkProperties.setInterfaceName(mInterfaceName); in IpClient() 1183 mLinkProperties = new LinkProperties(); in resetLinkProperties() 1184 mLinkProperties.setInterfaceName(mInterfaceName); in resetLinkProperties() 1383 mLinkProperties = new LinkProperties(newLp); in setLinkProperties() 1468 final LinkProperties oldLp = mLinkProperties; in assembleLinkProperties() 1593 if (Objects.equals(newLp, mLinkProperties)) { in handleLinkPropertiesUpdate() 1735 mCallback.onProvisioningFailure(mLinkProperties); in doImmediateProvisioningFailure() 1862 maybeSendGratuitousARP(mLinkProperties); in handleUpdateL2Information() [all …]
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
H A D | WifiInfoProvider.java | 90 private LinkProperties mLinkProperties; field in WifiInfoProvider 106 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) { 107 mLinkProperties = lp; 109 listener.onLinkPropertiesChanged(mNetwork, mLinkProperties); 145 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in WifiInfoProvider() 253 return mLinkProperties; in getLinkProperties()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | NetworkDiagnostics.java | 114 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 …]
|
/aosp12/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 259 private LinkProperties mLinkProperties = new LinkProperties(); field in NetworkInterfaceState 433 Log.w(TAG, "Network interface '" + mLinkProperties.getInterfaceName() + "' has no " in getNetworkScore() 469 mLinkProperties = linkProperties; in onIpLayerStarted() 478 NETWORK_TYPE, mCapabilities, mLinkProperties, in onIpLayerStarted() 505 mLinkProperties = linkProperties; in updateLinkProperties() 537 mLinkProperties.clear(); in stop() 545 mLinkProperties); in updateAgent() 548 mNetworkAgent.sendLinkProperties(mLinkProperties); in updateAgent() 610 + "linkProperties: " + mLinkProperties in toString()
|
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
H A D | IpServer.java | 241 private final LinkProperties mLinkProperties; field in IpServer 299 mLinkProperties = new LinkProperties(); in IpServer() 357 return new LinkProperties(mLinkProperties); in linkProperties() 646 mLinkProperties.addLinkAddress(mIpv4Address); in configureIPv4() 647 mLinkProperties.addRoute(getDirectConnectedRoute(mIpv4Address)); in configureIPv4() 649 mLinkProperties.removeLinkAddress(mIpv4Address); in configureIPv4() 800 for (RouteInfo route : toBeAdded) mLinkProperties.addRoute(route); in addRoutesToLocalNetwork() 1002 mLinkProperties.removeLinkAddress(deprecatedLinkAddress); in handleNewPrefixRequest() 1007 mLinkProperties.addLinkAddress(mIpv4Address); in handleNewPrefixRequest() 1092 mLinkProperties.clear(); in resetLinkProperties() [all …]
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
H A D | WifiDetailPreferenceController2.java | 164 private LinkProperties mLinkProperties; field in WifiDetailPreferenceController2 236 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) { 237 mLinkProperties = lp; 419 final LinkProperties lp = mLinkProperties; in getCaptivePortalVenueInfoUrl() 457 if (mLinkProperties == null || mLinkProperties.getCaptivePortalData() == null) { in getExpiryTimeSummary() 503 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in updateNetworkInfo() 509 mLinkProperties = null; in updateNetworkInfo() 870 || mNetwork == null || mLinkProperties == null) { in refreshIpLayerInfo() 884 for (LinkAddress addr : mLinkProperties.getLinkAddresses()) { in refreshIpLayerInfo() 895 for (RouteInfo routeInfo : mLinkProperties.getRoutes()) { in refreshIpLayerInfo() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/net/ |
H A D | LockdownVpnTracker.java | 76 private LinkProperties mLinkProperties = null; field in LockdownVpnTracker.NetworkCallback 86 mLinkProperties = lp; in onLinkPropertiesChanged() 100 mLinkProperties = null; in onLost() 111 return mLinkProperties; in getLinkProperties()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
H A D | WifiDetailPreferenceController2Test.java | 211 private LinkProperties mLinkProperties; field in WifiDetailPreferenceController2Test 295 mLinkProperties = new LinkProperties(); in setUp() 878 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in ipAddressPref_shouldHaveDetailTextSetForConnectedNetwork() 899 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork() 900 mLinkProperties.addRoute(Constants.IPV4_DEFAULT); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork() 901 mLinkProperties.addRoute(Constants.IPV4_SUBNET); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork() 926 mLinkProperties.addDnsServer(Constants.IPV6_DNS); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork() 1370 mLinkProperties.addLinkAddress(Constants.IPV6_LINKLOCAL); in ipv6AddressPref_shouldHaveHostAddressTextSet() 1371 mLinkProperties.addLinkAddress(Constants.IPV6_GLOBAL1); in ipv6AddressPref_shouldHaveHostAddressTextSet() 1372 mLinkProperties.addLinkAddress(Constants.IPV6_GLOBAL2); in ipv6AddressPref_shouldHaveHostAddressTextSet() [all …]
|
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/ |
H A D | NetworkStackNotifier.java | 77 private LinkProperties mLinkProperties; field in NetworkStackNotifier.TrackedNetworkStatus 180 return mInfoShim.getCaptivePortalData(status.mLinkProperties); in getCaptivePortalData() 340 updateNetworkStatus(network, status -> status.mLinkProperties = linkProperties); in onLinkPropertiesChanged()
|
/aosp12/frameworks/base/services/core/java/com/android/server/vcn/ |
H A D | UnderlyingNetworkTracker.java | 714 @Nullable private LinkProperties mLinkProperties; field in UnderlyingNetworkTracker.Builder 740 mLinkProperties = linkProperties; in setLinkProperties() 751 return mNetworkCapabilities != null && mLinkProperties != null && mWasIsBlockedSet; in isValid() 763 mNetwork, mNetworkCapabilities, mLinkProperties, mIsBlocked); in build()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataConnection.java | 305 private LinkProperties mLinkProperties = new LinkProperties(); field in DataConnection 490 return new LinkProperties(mLinkProperties); in getLinkProperties() 542 mLinkProperties.setHttpProxy(proxy); in updateLinkPropertiesHttpProxy() 695 result.newLp.setHttpProxy(mLinkProperties.getHttpProxy()); in updateLinkProperty() 699 mLinkProperties = result.newLp; in updateLinkProperty() 1338 mLinkProperties = new LinkProperties(); in clearSettings() 1565 mLinkProperties.setTcpBufferSizes(sizes); in updateTcpBufferSizes() 2253 mLinkProperties = null; in exit() 3828 + " mLinkProperties=" + mLinkProperties in toStringSimple() 3954 .setLinkProperties(mLinkProperties) in getPreciseDataConnectionState() [all …]
|
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
H A D | NetworkMonitor.java | 448 private LinkProperties mLinkProperties; field in NetworkMonitor 623 mLinkProperties = new LinkProperties(); in NetworkMonitor() 673 mLinkProperties = attrs.first; in updateConnectedNetworkAttributes() 986 final Uri oldCapportUrl = getCaptivePortalApiUrl(mLinkProperties); in processMessage() 987 mLinkProperties = (LinkProperties) message.obj; in processMessage() 1247 mLinkProperties.getCaptivePortalData().getUserPortalUrl() in enter() 1262 mEvaluatingCapportUrl = getCaptivePortalApiUrl(mLinkProperties); in enter() 1591 mInfoShim.getCaptivePortalData(mLinkProperties))) { in processMessage() 2337 final ProxyInfo proxyInfo = mLinkProperties.getHttpProxy(); in isCaptivePortal() 2846 final Uri capportApiUrl = getCaptivePortalApiUrl(mLinkProperties); in sendMultiParallelHttpAndHttpsProbes() [all …]
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | ClientModeImpl.java | 313 private LinkProperties mLinkProperties; field in ClientModeImpl 720 mLinkProperties = new LinkProperties(); in ClientModeImpl() 1622 pw.println("mLinkProperties " + mLinkProperties); 1841 if (mLinkProperties != null) { 1889 if (mLinkProperties != null) { 2302 mLinkProperties = newLp; 2305 mNetworkAgent.sendLinkProperties(mLinkProperties); 2319 if (mLinkProperties != null) { 2338 mLinkProperties.clear(); 6589 if (mLinkProperties == null) { [all …]
|
/aosp12/packages/services/Iwlan/test/com/google/android/iwlan/ |
H A D | IwlanDataServiceTest.java | 265 TunnelLinkProperties mLinkProperties = in testRequestDataCallListPass() local 271 mLinkProperties, in testRequestDataCallListPass()
|
/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
H A D | EpdgTunnelManager.java | 1607 private final TunnelLinkProperties mLinkProperties; field in EpdgTunnelManager.TunnelOpenedData 1611 mLinkProperties = linkProperties; in TunnelOpenedData() 1619 return mLinkProperties; in getLinkProperties()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 58221 Landroid/telephony/PreciseDataConnectionState;->mLinkProperties:Landroid/net/LinkProperties;
|