/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 26 import android.net.LinkProperties.CompareResult; 27 import android.net.LinkProperties.ProvisioningChange; 83 private void checkEmpty(final LinkProperties lp) { in checkEmpty() 104 private LinkProperties makeTestObject() { in makeTestObject() 105 final LinkProperties lp = new LinkProperties(); in makeTestObject() 126 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() 171 LinkProperties source = new LinkProperties(); in testEqualsNull() 172 LinkProperties target = new LinkProperties(); in testEqualsNull() 180 LinkProperties source = new LinkProperties(); in testEqualsSameOrder() 195 LinkProperties target = new LinkProperties(); in testEqualsSameOrder() [all …]
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 53 public final class LinkProperties implements Parcelable { class 78 private Hashtable<String, LinkProperties> mStackedLinks = new Hashtable<>(); 131 LinkProperties before, LinkProperties after) { in compareProvisioning() 170 public LinkProperties() { in LinkProperties() method in LinkProperties 178 public LinkProperties(@Nullable LinkProperties source) { in LinkProperties() method in LinkProperties 190 for (LinkProperties l: source.mStackedLinks.values()) { in LinkProperties() 230 for (LinkProperties stacked: mStackedLinks.values()) { in getAllInterfaceNames() 265 for (LinkProperties stacked: mStackedLinks.values()) { in getAllAddresses() 344 for (LinkProperties stacked: mStackedLinks.values()) { in getAllLinkAddresses() 731 for (LinkProperties stacked: mStackedLinks.values()) { in getAllRoutes() [all …]
|
D | NetworkAgent.java | 221 NetworkCapabilities nc, LinkProperties lp, int score) { in NetworkAgent() 225 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { in NetworkAgent() 230 NetworkCapabilities nc, LinkProperties lp, int score, int factorySerialNumber) { in NetworkAgent() 235 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc, in NetworkAgent() 249 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc, in NetworkAgent() 393 public void sendLinkProperties(LinkProperties linkProperties) { in sendLinkProperties() 394 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties)); in sendLinkProperties()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpClientUtil.java | 23 import android.net.LinkProperties; 47 private LinkProperties mCallbackLinkProperties; 53 public LinkProperties waitForProvisioning() { in waitForProvisioning() 59 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() 65 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() 123 public void onProvisioningSuccess(LinkProperties newLp) { in onProvisioningSuccess() 127 public void onProvisioningFailure(LinkProperties newLp) { in onProvisioningFailure() 133 public void onLinkPropertiesChange(LinkProperties newLp) { in onLinkPropertiesChange()
|
D | IpClientCallbacks.java | 20 import android.net.LinkProperties; 71 public void onProvisioningSuccess(LinkProperties newLp) {} in onProvisioningSuccess() 76 public void onProvisioningFailure(LinkProperties newLp) {} in onProvisioningFailure() 81 public void onLinkPropertiesChange(LinkProperties newLp) {} in onLinkPropertiesChange()
|
D | IIpClientCallbacks.aidl | 18 import android.net.LinkProperties; 37 void onProvisioningSuccess(in LinkProperties newLp); in onProvisioningSuccess() 38 void onProvisioningFailure(in LinkProperties newLp); in onProvisioningFailure() 41 void onLinkPropertiesChange(in LinkProperties newLp); in onLinkPropertiesChange()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 22 import android.net.LinkProperties; 148 new LinkProperties(ns.linkProperties), in setUpstreamNetworkState() 160 final LinkProperties lp = getInterfaceIPv6LinkProperties(ipServer); in updateIPv6TetheringInterfaces() 166 private LinkProperties getInterfaceIPv6LinkProperties(IpServer ipServer) { in getInterfaceIPv6LinkProperties() 192 final LinkProperties lp = getIPv6OnlyLinkProperties( in getInterfaceIPv6LinkProperties() 209 private static LinkProperties getIPv6OnlyLinkProperties(LinkProperties lp) { in getIPv6OnlyLinkProperties() 210 final LinkProperties v6only = new LinkProperties(); in getIPv6OnlyLinkProperties() 259 private static LinkProperties getUniqueLocalConfig(byte[] ulp, short subnetId) { in getUniqueLocalConfig() 260 final LinkProperties lp = new LinkProperties(); in getUniqueLocalConfig()
|
D | OffloadController.java | 30 import android.net.LinkProperties; 85 private final HashMap<String, LinkProperties> mDownstreams; 88 private LinkProperties mUpstreamLinkProperties; 361 public void setUpstreamLinkProperties(LinkProperties lp) { in setUpstreamLinkProperties() 366 mUpstreamLinkProperties = (lp != null) ? new LinkProperties(lp) : null; in setUpstreamLinkProperties() 386 public void notifyDownstreamLinkProperties(LinkProperties lp) { in notifyDownstreamLinkProperties() 388 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp)); in notifyDownstreamLinkProperties() 395 private void pushDownstreamState(LinkProperties oldLp, LinkProperties newLp) { in pushDownstreamState() 419 for (LinkProperties lp : mDownstreams.values()) { in pushAllDownstreamState() 425 final LinkProperties lp = mDownstreams.remove(ifname); in removeDownstreamInterface() [all …]
|
D | TetheringInterfaceUtils.java | 20 import android.net.LinkProperties; 43 final LinkProperties lp = ns.linkProperties; in getTetheringInterfaces() 84 private static String getInterfaceForDestination(LinkProperties lp, InetAddress dst) { in getInterfaceForDestination()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 26 import android.net.LinkProperties; 113 LinkProperties lp = nai.linkProperties; in requiresClat() 132 LinkProperties lp = nai.linkProperties; in shouldStartClat() 268 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in stop() 328 public void fixupLinkProperties(LinkProperties oldLp, LinkProperties lp) { in fixupLinkProperties() 339 for (LinkProperties stacked: oldLp.getStackedLinks()) { in fixupLinkProperties() 347 private LinkProperties makeLinkProperties(LinkAddress clatAddress) { in makeLinkProperties() 348 LinkProperties stacked = new LinkProperties(); in makeLinkProperties() 406 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in handleInterfaceLinkStateChanged()
|
/frameworks/base/services/net/java/android/net/shared/ |
D | LinkPropertiesParcelableUtil.java | 20 import android.net.LinkProperties; 36 public static LinkProperties toStableParcelable(@Nullable LinkProperties lp) { in toStableParcelable()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 35 import android.net.LinkProperties; 100 LinkProperties lp = new LinkProperties(); in testTrackedValidationUpdates() 111 LinkProperties fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 115 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 139 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 149 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 157 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 169 LinkProperties lp = new LinkProperties(); in testIgnoreUntrackedValidationUpdates()
|
D | Nat464XlatTest.java | 35 import android.net.LinkProperties; 91 mNai.linkProperties = new LinkProperties(); 136 LinkProperties oldLp = new LinkProperties(mNai.linkProperties); 174 mNai.linkProperties = new LinkProperties(oldLp); 182 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class); 222 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class); 310 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class);
|
/frameworks/base/services/net/java/android/net/ |
D | INetworkMonitor.aidl | 18 import android.net.LinkProperties; 64 void notifyNetworkConnected(in LinkProperties lp, in NetworkCapabilities nc); in notifyNetworkConnected() 66 void notifyLinkPropertiesChanged(in LinkProperties lp); in notifyLinkPropertiesChanged()
|
/frameworks/base/services/net/aidl/networkstack/1/android/net/ip/ |
D | IIpClientCallbacks.aidl | 7 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() 8 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() 9 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange()
|
/frameworks/base/services/net/aidl/networkstack/3/android/net/ip/ |
D | IIpClientCallbacks.aidl | 24 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() 25 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() 26 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange()
|
/frameworks/base/services/net/aidl/networkstack/2/android/net/ip/ |
D | IIpClientCallbacks.aidl | 7 oneway void onProvisioningSuccess(in android.net.LinkProperties newLp); in onProvisioningSuccess() 8 oneway void onProvisioningFailure(in android.net.LinkProperties newLp); in onProvisioningFailure() 9 oneway void onLinkPropertiesChange(in android.net.LinkProperties newLp); in onLinkPropertiesChange()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 23 import android.net.LinkProperties; 55 private LinkProperties mLinkProperties = null; 66 LinkProperties linkProperties, in PreciseDataConnectionState() 94 mLinkProperties = (LinkProperties)in.readParcelable(null); in PreciseDataConnectionState() 135 public LinkProperties getDataConnectionLinkProperties() { in getDataConnectionLinkProperties()
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 21 import android.net.LinkProperties; 78 private final LinkProperties mLinkProperties; 88 mLinkProperties = new LinkProperties(); in NetlinkTracker() 193 public synchronized LinkProperties getLinkProperties() { in getLinkProperties() 194 return new LinkProperties(mLinkProperties); in getLinkProperties() 300 public synchronized void setDnsServersOn(LinkProperties lp) { in setDnsServersOn()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractIpAddressPreferenceController.java | 21 import android.net.LinkProperties; 96 LinkProperties prop = cm.getActiveLinkProperties(); in getDefaultIpAddresses() 100 private static String formatIpAddresses(LinkProperties prop) { in formatIpAddresses()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 50 import android.net.LinkProperties; 261 final LinkProperties lp = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() 331 final LinkProperties stacked = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() 420 final LinkProperties lp = new LinkProperties(); in testGetForwardedStats() 493 final LinkProperties lp = new LinkProperties(); in testSetInterfaceQuota() 578 final LinkProperties usbLinkProperties = new LinkProperties(); in testAddRemoveDownstreams() 637 final LinkProperties upstreamLp = new LinkProperties(); in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 669 final LinkProperties upstreamLp = new LinkProperties(); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters() 684 final LinkProperties usbLinkProperties = new LinkProperties(); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters() 690 final LinkProperties wifiLinkProperties = new LinkProperties(); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
|
/frameworks/base/services/net/aidl/networkstack/1/android/net/ |
D | INetworkMonitor.aidl | 10 …oneway void notifyNetworkConnected(in android.net.LinkProperties lp, in android.net.NetworkCapabil… in notifyNetworkConnected() 12 oneway void notifyLinkPropertiesChanged(in android.net.LinkProperties lp); in notifyLinkPropertiesChanged()
|
/frameworks/base/services/net/aidl/networkstack/3/android/net/ |
D | INetworkMonitor.aidl | 27 …oneway void notifyNetworkConnected(in android.net.LinkProperties lp, in android.net.NetworkCapabil… in notifyNetworkConnected() 29 oneway void notifyLinkPropertiesChanged(in android.net.LinkProperties lp); in notifyLinkPropertiesChanged()
|
/frameworks/base/services/net/aidl/networkstack/2/android/net/ |
D | INetworkMonitor.aidl | 10 …oneway void notifyNetworkConnected(in android.net.LinkProperties lp, in android.net.NetworkCapabil… in notifyNetworkConnected() 12 oneway void notifyLinkPropertiesChanged(in android.net.LinkProperties lp); in notifyLinkPropertiesChanged()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | IDataService.aidl | 19 import android.net.LinkProperties; 31 boolean allowRoaming, int reason, in LinkProperties linkProperties, in setupDataCall()
|