/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkState.java | 39 public final LinkProperties linkProperties; field in NetworkState 48 linkProperties = null; in NetworkState() 55 public NetworkState(int legacyNetworkType, @NonNull LinkProperties linkProperties, in NetworkState() argument 58 this(legacyNetworkType, new NetworkInfo(legacyNetworkType, 0, null, null), linkProperties, in NetworkState() 63 public NetworkState(@NonNull NetworkInfo networkInfo, @NonNull LinkProperties linkProperties, in NetworkState() argument 66 this(networkInfo.getType(), networkInfo, linkProperties, in NetworkState() 71 @NonNull LinkProperties linkProperties, in NetworkState() argument 75 this.linkProperties = linkProperties; in NetworkState() 95 linkProperties = in.readParcelable(null); in NetworkState() 110 out.writeParcelable(linkProperties, flags); in writeToParcel()
|
D | ConnectivityDiagnosticsManager.java | 249 @NonNull LinkProperties linkProperties, in ConnectivityReport() argument 254 mLinkProperties = new LinkProperties(linkProperties); in ConnectivityReport() 470 @NonNull LinkProperties linkProperties, in DataStallReport() argument 476 mLinkProperties = new LinkProperties(linkProperties); in DataStallReport()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | Nat464XlatTest.java | 110 mNai.linkProperties = new LinkProperties(); 111 mNai.linkProperties.setInterfaceName(BASE_IFACE); 130 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(), 131 nai.linkProperties.getLinkAddresses()); 140 mAgentConfig.skip464xlat, nai.linkProperties.getNat64Prefix(), 141 nai.linkProperties.getLinkAddresses()); 160 LinkProperties oldLp = new LinkProperties(mNai.linkProperties); 166 mNai.linkProperties.setNat64Prefix(new IpPrefix(OTHER_NAT64_PREFIX)); 170 mNai.linkProperties.addLinkAddress(new LinkAddress("fc00::1/64")); 174 mNai.linkProperties.addLinkAddress(new LinkAddress("2001:db8::1/64")); [all …]
|
D | IpConnectivityMetricsTest.java | 143 final LinkProperties lp = (nai != null) ? nai.linkProperties : null; in logDefaultNetworkEvent() 148 final LinkProperties prevLp = (oldNai != null) ? oldNai.linkProperties : null; in logDefaultNetworkEvent() 618 nai.linkProperties = new LinkProperties(); in makeNai() 625 nai.linkProperties.addLinkAddress(new LinkAddress("192.0.2.12/24")); in makeNai() 626 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); in makeNai() 629 nai.linkProperties.addLinkAddress(new LinkAddress("2001:db8:dead:beef:f00::a0/64")); in makeNai() 630 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0"))); in makeNai()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkState.java | 31 public final LinkProperties linkProperties; field in UpstreamNetworkState 38 public UpstreamNetworkState(LinkProperties linkProperties, in UpstreamNetworkState() argument 40 this.linkProperties = linkProperties; in UpstreamNetworkState() 51 linkProperties == null ? "null" : linkProperties); in toString()
|
D | TetheringInterfaceUtils.java | 47 final LinkProperties lp = ns.linkProperties; in getTetheringInterfaces() 75 && (ns.linkProperties != null) && (ns.networkCapabilities != null) in getIPv6Interface() 77 && ns.linkProperties.hasIpv6DnsServer() in getIPv6Interface() 79 && ns.linkProperties.hasGlobalIpv6Address() in getIPv6Interface() 84 ? getInterfaceForDestination(ns.linkProperties, IN6ADDR_ANY) in getIPv6Interface()
|
D | IPv6TetheringCoordinator.java | 153 new LinkProperties(ns.linkProperties), in setUpstreamNetworkState() 196 if (mUpstreamNetworkState == null || mUpstreamNetworkState.linkProperties == null) { in getInterfaceIPv6LinkProperties() 208 mUpstreamNetworkState.linkProperties); in getInterfaceIPv6LinkProperties()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivityDiagnosticsManagerTest.java | 95 final LinkProperties linkProperties = new LinkProperties(); in createSampleConnectivityReport() local 96 linkProperties.setInterfaceName(INTERFACE_NAME); in createSampleConnectivityReport() 105 new Network(NET_ID), TIMESTAMP, linkProperties, networkCapabilities, bundle); in createSampleConnectivityReport() 157 final LinkProperties linkProperties = sampleReport.getLinkProperties(); in testConnectivityReportEquals() local 182 linkProperties, in testConnectivityReportEquals() 209 final LinkProperties linkProperties = new LinkProperties(); in createSampleDataStallReport() local 210 linkProperties.setInterfaceName(INTERFACE_NAME); in createSampleDataStallReport() 222 linkProperties, in createSampleDataStallReport() 244 final LinkProperties linkProperties = sampleReport.getLinkProperties(); in testDataStallReportEquals() local 281 linkProperties, in testDataStallReportEquals()
|
D | LinkPropertiesTest.java | 1191 final LinkProperties linkProperties = new LinkProperties(); in makeIpv4LinkProperties() local 1192 linkProperties.setInterfaceName(NAME); in makeIpv4LinkProperties() 1193 linkProperties.addLinkAddress(LINKADDRV4); in makeIpv4LinkProperties() 1194 linkProperties.addDnsServer(DNS1); in makeIpv4LinkProperties() 1195 linkProperties.addRoute(new RouteInfo(GATEWAY1)); in makeIpv4LinkProperties() 1196 linkProperties.addRoute(new RouteInfo(GATEWAY2)); in makeIpv4LinkProperties() 1197 return linkProperties; in makeIpv4LinkProperties() 1201 final LinkProperties linkProperties = new LinkProperties(); in makeIpv6LinkProperties() local 1202 linkProperties.setInterfaceName(NAME); in makeIpv6LinkProperties() 1203 linkProperties.addLinkAddress(LINKADDRV6); in makeIpv6LinkProperties() [all …]
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanDataService.java | 136 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() argument 137 Log.d(TAG, "onLinkPropertiesChanged: " + linkProperties); in onLinkPropertiesChanged() 138 if (isLinkProtocolTypeChanged(linkProperties)) { in onLinkPropertiesChanged() 341 public void onOpened(String apnName, TunnelLinkProperties linkProperties) { in onOpened() argument 344 "Tunnel opened!. APN: " + apnName + "linkproperties: " + linkProperties); in onOpened() 349 tunnelState.setTunnelLinkProperties(linkProperties); in onOpened() 800 @Nullable LinkProperties linkProperties, in setupDataCall() argument 820 + linkProperties in setupDataCall() 828 || (linkProperties == null && reason == DataService.REQUEST_REASON_HANDOVER)) { in setupDataCall() 876 for (LinkAddress lAddr : linkProperties.getLinkAddresses()) { in setupDataCall() [all …]
|
D | IwlanHelper.java | 102 LinkProperties linkProperties = connectivityManager.getLinkProperties(network); in getAddressesForNetwork() local 103 if (linkProperties != null) { in getAddressesForNetwork() 104 for (LinkAddress laddr : linkProperties.getLinkAddresses()) { in getAddressesForNetwork()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TestConnectivityManager.java | 161 defaultNetwork.networkId, defaultNetwork.linkProperties)); in sendDefaultNetworkCallbacks() 301 public final LinkProperties linkProperties; field in TestConnectivityManager.TestNetworkAgent 309 linkProperties = new LinkProperties(); in TestNetworkAgent() 317 linkProperties = state.linkProperties; in TestNetworkAgent() 368 nri.handler.post(() -> cb.onLinkPropertiesChanged(networkId, copy(linkProperties))); in fakeConnect() 401 cb.onLinkPropertiesChanged(networkId, copy(linkProperties)); in sendLinkProperties()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiIpAddressPreferenceController.java | 45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState() local 47 if (linkProperties != null) { in updateState() 48 for (LinkAddress addr : linkProperties.getLinkAddresses()) { in updateState()
|
D | WifiDnsPreferenceController.java | 45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState() local 47 if (linkProperties != null) { in updateState() 48 dnsServers = linkProperties.getDnsServers().stream() in updateState()
|
D | WifiGatewayPreferenceController.java | 45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState() local 47 if (linkProperties != null) { in updateState() 48 for (RouteInfo routeInfo : linkProperties.getRoutes()) { in updateState()
|
D | WifiSubnetPreferenceController.java | 46 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState() local 48 if (linkProperties != null) { in updateState() 49 for (LinkAddress addr : linkProperties.getLinkAddresses()) { in updateState()
|
D | WifiIpv6AddressPreferenceController.java | 49 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState() local 51 if (linkProperties != null) { in updateState() 52 for (LinkAddress addr : linkProperties.getLinkAddresses()) { in updateState()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | Nat464Xlat.java | 127 LinkProperties lp = nai.linkProperties; in requiresClat() 149 LinkProperties lp = nai.linkProperties; in shouldStartClat() 241 String baseIface = mNetwork.linkProperties.getInterfaceName(); in start() 274 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in stop() 477 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in handleInterfaceLinkStateChanged()
|
D | NetworkNotificationManager.java | 166 if (nai.linkProperties != null && nai.linkProperties.getCaptivePortalData() != null in showNotification() 167 && !TextUtils.isEmpty(nai.linkProperties.getCaptivePortalData() in showNotification() 169 name = nai.linkProperties.getCaptivePortalData().getVenueFriendlyName(); in showNotification()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeDefaultNetworkCallbackTest.java | 131 LinkProperties linkProperties = new LinkProperties(); in getLinkPropertiesWithAddresses() local 135 linkProperties.addLinkAddress(new LinkAddress(address, prefixLen)); in getLinkPropertiesWithAddresses() 137 return linkProperties; in getLinkPropertiesWithAddresses()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | BluetoothTetheringNetworkFactory.java | 154 final LinkProperties linkProperties = ipcCallback.waitForProvisioning(); in startNetwork() 155 if (linkProperties == null) { in startNetwork() 175 mNetworkCapabilities, linkProperties, NETWORK_SCORE, in startNetwork()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 84 public NetworkAgentWrapper(int transport, LinkProperties linkProperties, in NetworkAgentWrapper() argument 127 mNetworkAgent = makeNetworkAgent(linkProperties, mNetworkAgentConfig); in NetworkAgentWrapper() 130 protected InstrumentedNetworkAgent makeNetworkAgent(LinkProperties linkProperties, in makeNetworkAgent() argument 132 return new InstrumentedNetworkAgent(this, linkProperties, nac); in makeNetworkAgent()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 259 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() argument 262 + " isProvisioned?" + linkProperties.isProvisioned()); in onLinkPropertiesChanged() 268 if (linkProperties.isProvisioned()) { in onLinkPropertiesChanged()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeNetworkCallbackBase.java | 57 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() argument 66 for (LinkAddress linkAddress : linkProperties.getAllLinkAddresses()) { in onLinkPropertiesChanged()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 706 LinkProperties linkProperties = new LinkProperties(); in handleAddressValidation() local 709 ncBuilder, linkProperties) in handleAddressValidation() 710 && mNiWrapper.isAddressUsable(linkProperties))) { in handleAddressValidation() 736 AGENT_TAG_PREFIX + ndpInfo.ndpId, ncBuilder.build(), linkProperties, in handleAddressValidation() 1619 NetworkCapabilities.Builder ncBuilder, LinkProperties linkProperties) { in configureAgentProperties() argument 1656 linkProperties.setInterfaceName(nnri.interfaceName); in configureAgentProperties() 1657 linkProperties.addLinkAddress(new LinkAddress(linkLocal, 64)); in configureAgentProperties() 1658 linkProperties.addRoute( in configureAgentProperties() 1669 public boolean isAddressUsable(LinkProperties linkProperties) { in isAddressUsable() argument 1670 InetAddress address = linkProperties.getLinkAddresses().get(0).getAddress(); in isAddressUsable()
|