Searched refs:LinkProperties (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/net/
H A DLinkProperties.aidl20 parcelable LinkProperties;
H A DLinkProperties.java48 public final class LinkProperties implements Parcelable { class in inherits:Parcelable
69 private Hashtable<String, LinkProperties> mStackedLinks =
70 new Hashtable<String, LinkProperties>();
116 * Compare the provisioning states of two LinkProperties instances.
121 LinkProperties before, LinkProperties after) {
160 public LinkProperties() { method in class:LinkProperties
166 public LinkProperties(LinkProperties source) { method in class:LinkProperties
180 for (LinkProperties
[all...]
H A DNetworkState.java34 public final LinkProperties linkProperties;
40 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties,
H A DIConnectivityManager.aidl20 import android.net.LinkProperties;
59 LinkProperties getActiveLinkProperties();
60 LinkProperties getLinkPropertiesForType(int networkType);
61 LinkProperties getLinkProperties(in Network network);
144 int registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp,
H A DNetworkAgent.java195 NetworkCapabilities nc, LinkProperties lp, int score) {
200 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
212 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc);
345 * Called by the bearer code when it has new LinkProperties data.
347 public void sendLinkProperties(LinkProperties linkProperties) {
348 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
H A DStaticIpConfiguration.java31 * This class is different from LinkProperties because it represents
36 * In contrast, LinkProperties represents current state. It is much more
38 * stacked interfaces, and so on. Because LinkProperties is so expressive,
99 * Returns a LinkProperties object expressing the data in this object. Note that the information
100 * contained in the LinkProperties will not be a complete picture of the link's configuration,
104 public LinkProperties toLinkProperties(String iface) {
105 LinkProperties lp = new LinkProperties();
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DIControlsTethering.java19 import android.net.LinkProperties;
58 * Notify that |who| has new LinkProperties.
63 * @param newLp the new LinkProperties to report
65 public void updateLinkProperties(TetherInterfaceStateMachine who, LinkProperties newLp) {}
H A DIPv6TetheringCoordinator.java22 import android.net.LinkProperties;
148 new LinkProperties(ns.linkProperties),
160 final LinkProperties lp = getInterfaceIPv6LinkProperties(sm);
166 private LinkProperties getInterfaceIPv6LinkProperties(TetherInterfaceStateMachine sm) {
192 final LinkProperties lp = getIPv6OnlyLinkProperties(
209 private static LinkProperties getIPv6OnlyLinkProperties(LinkProperties lp) {
210 final LinkProperties v6only = new LinkProperties();
259 private static LinkProperties getUniqueLocalConfi
[all...]
H A DTetheringInterfaceUtils.java20 import android.net.LinkProperties;
43 final LinkProperties lp = ns.linkProperties;
84 private static String getInterfaceForDestination(LinkProperties lp, InetAddress dst) {
H A DOffloadController.java30 import android.net.LinkProperties;
85 private final HashMap<String, LinkProperties> mDownstreams;
88 private LinkProperties mUpstreamLinkProperties;
361 public void setUpstreamLinkProperties(LinkProperties lp) {
366 mUpstreamLinkProperties = (lp != null) ? new LinkProperties(lp) : null;
386 public void notifyDownstreamLinkProperties(LinkProperties lp) {
388 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp));
395 private void pushDownstreamState(LinkProperties oldLp, LinkProperties newL
[all...]
/frameworks/base/tests/net/java/android/net/
H A DLinkPropertiesTest.java26 import android.net.LinkProperties;
27 import android.net.LinkProperties.CompareResult;
28 import android.net.LinkProperties.ProvisioningChange;
72 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) {
114 LinkProperties source = new LinkProperties();
115 LinkProperties target = new LinkProperties();
123 LinkProperties sourc
[all...]
/frameworks/base/telephony/java/android/telephony/data/
H A DIDataService.aidl19 import android.net.LinkProperties;
31 boolean allowRoaming, int reason, in LinkProperties linkProperties,
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java22 import android.net.LinkProperties;
196 Slog.e(TAG, "startClat: Can't start clat with null LinkProperties");
227 * Copies the stacked clat link in oldLp, if any, to the passed LinkProperties.
228 * This is necessary because the LinkProperties in mNetwork come from the transport layer, which
231 public void fixupLinkProperties(LinkProperties oldLp, LinkProperties lp) {
240 for (LinkProperties stacked: oldLp.getStackedLinks()) {
248 private LinkProperties makeLinkProperties(LinkAddress clatAddress) {
249 LinkProperties stacked = new LinkProperties();
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DAbstractIpAddressPreferenceController.java21 import android.net.LinkProperties;
95 LinkProperties prop = cm.getActiveLinkProperties();
99 private static String formatIpAddresses(LinkProperties prop) {
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DDnsManagerTest.java36 import android.net.LinkProperties;
102 LinkProperties lp = new LinkProperties();
113 LinkProperties fixedLp = new LinkProperties(lp);
117 fixedLp = new LinkProperties(lp);
141 fixedLp = new LinkProperties(lp);
151 fixedLp = new LinkProperties(lp);
159 fixedLp = new LinkProperties(lp);
171 LinkProperties l
[all...]
H A DNat464XlatTest.java32 import android.net.LinkProperties;
76 mNai.linkProperties = new LinkProperties();
116 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class);
155 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class);
/frameworks/base/services/net/java/android/net/util/
H A DPrefixUtils.java21 import android.net.LinkProperties;
55 public static Set<IpPrefix> localPrefixesFrom(LinkProperties lp) {
/frameworks/base/telephony/java/android/telephony/
H A DPreciseDataConnectionState.java22 import android.net.LinkProperties;
48 private LinkProperties mLinkProperties = null;
58 LinkProperties linkProperties, String failCause) {
85 mLinkProperties = (LinkProperties)in.readParcelable(null);
150 public LinkProperties getDataConnectionLinkProperties() {
/frameworks/base/services/net/java/android/net/ip/
H A DIpReachabilityMonitor.java21 import android.net.LinkProperties;
22 import android.net.LinkProperties.ProvisioningChange;
76 * 1. The "on-link neighbours of interest" found in a given LinkProperties
177 private LinkProperties mLinkProperties = new LinkProperties();
257 public void updateLinkProperties(LinkProperties lp) {
260 Log.wtf(TAG, "requested LinkProperties interface '" + lp.getInterfaceName() +
265 mLinkProperties = new LinkProperties(lp);
295 final LinkProperties whatIfLp = new LinkProperties(mLinkPropertie
[all...]
H A DIpClient.java28 import android.net.LinkProperties.ProvisioningChange;
29 import android.net.LinkProperties;
162 public void onProvisioningSuccess(LinkProperties newLp) {}
163 public void onProvisioningFailure(LinkProperties newLp) {}
165 // Invoked on LinkProperties changes.
166 public void onLinkPropertiesChange(LinkProperties newLp) {}
195 private LinkProperties mCallbackLinkProperties;
197 public LinkProperties waitForProvisioning() {
203 public void onProvisioningSuccess(LinkProperties newLp) {
209 public void onProvisioningFailure(LinkProperties newL
[all...]
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java20 import android.net.LinkProperties;
43 * its local LinkProperties, and if something has changed, notifies its owner of
47 * what changed. If in the meantime the LinkProperties stored here have changed,
48 * this class will return the current LinkProperties. Because each change
77 private final LinkProperties mLinkProperties;
86 mLinkProperties = new LinkProperties();
108 // Our interface was removed. Clear our LinkProperties and tell our owner that they are
188 * Returns a copy of this object's LinkProperties.
190 public synchronized LinkProperties getLinkProperties() {
191 return new LinkProperties(mLinkPropertie
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl20 import android.net.LinkProperties;
50 String reason, String apn, String apnType, in LinkProperties linkProperties,
53 String reason, String apn, String apnType, in LinkProperties linkProperties,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcAsyncChannel.java19 import android.net.LinkProperties;
244 * Request the connections LinkProperties.
256 * @return LinkProperties, maybe null.
258 public LinkProperties rspLinkProperties(Message response) {
259 LinkProperties retVal = (LinkProperties) response.obj;
265 * Get the connections LinkProperties.
267 * @return LinkProperties or null if an error
269 public LinkProperties getLinkPropertiesSync() {
270 LinkProperties valu
[all...]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java25 import android.net.LinkProperties;
231 private LinkProperties mLinkProperties = new LinkProperties();
241 public void onProvisioningSuccess(LinkProperties newLp) {
246 public void onProvisioningFailure(LinkProperties newLp) {
251 public void onLinkPropertiesChange(LinkProperties newLp) {
303 void onIpLayerStarted(LinkProperties linkProperties) {
328 void onIpLayerStopped(LinkProperties linkProperties) {
335 void updateLinkProperties(LinkProperties linkProperties) {
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DOffloadControllerTest.java49 import android.net.LinkProperties;
254 // This LinkProperties value does not differ from the default upstream.
260 final LinkProperties lp = new LinkProperties();
330 final LinkProperties stacked = new LinkProperties();
366 // The relevant parts of the LinkProperties have not changed, but at the
367 // moment we do not de-dup upstream LinkProperties this carefully.
378 // Completely identical LinkProperties updates are de-duped.
380 // This LinkProperties valu
[all...]

Completed in 563 milliseconds

1234