Home
last modified time | relevance | path

Searched refs:LinkProperties (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java26 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/
DLinkProperties.java53 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 …]
DNetworkAgent.java221 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/
DIpClientUtil.java23 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()
DIpClientCallbacks.java20 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()
DIIpClientCallbacks.aidl18 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/
DIPv6TetheringCoordinator.java22 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()
DOffloadController.java30 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 …]
DTetheringInterfaceUtils.java20 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/
DNat464Xlat.java26 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/
DLinkPropertiesParcelableUtil.java20 import android.net.LinkProperties;
36 public static LinkProperties toStableParcelable(@Nullable LinkProperties lp) { in toStableParcelable()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java35 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()
DNat464XlatTest.java35 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/
DINetworkMonitor.aidl18 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/
DIIpClientCallbacks.aidl7 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/
DIIpClientCallbacks.aidl24 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/
DIIpClientCallbacks.aidl7 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/
DPreciseDataConnectionState.java23 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/
DNetlinkTracker.java21 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/
DAbstractIpAddressPreferenceController.java21 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/
DOffloadControllerTest.java50 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/
DINetworkMonitor.aidl10 …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/
DINetworkMonitor.aidl27 …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/
DINetworkMonitor.aidl10 …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/
DIDataService.aidl19 import android.net.LinkProperties;
31 boolean allowRoaming, int reason, in LinkProperties linkProperties, in setupDataCall()

1234