/frameworks/base/core/java/android/net/ |
LinkProperties.aidl | 20 parcelable LinkProperties;
|
LinkProperties.java | 49 public final class LinkProperties implements Parcelable { 67 private Hashtable<String, LinkProperties> mStackedLinks = 68 new Hashtable<String, LinkProperties>(); 99 * Compare the provisioning states of two LinkProperties instances. 104 LinkProperties before, LinkProperties after) { 139 public LinkProperties() { 145 public LinkProperties(LinkProperties source) { 154 for (LinkProperties l: source.mStackedLinks.values()) [all...] |
NetworkState.java | 30 public final LinkProperties linkProperties; 36 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, 40 this.linkProperties = linkProperties; 49 linkProperties = in.readParcelable(null); 64 out.writeParcelable(linkProperties, flags);
|
IConnectivityManager.aidl | 20 import android.net.LinkProperties; 58 LinkProperties getActiveLinkProperties(); 59 LinkProperties getLinkPropertiesForType(int networkType); 60 LinkProperties getLinkProperties(in Network network); 135 int registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp,
|
IpReachabilityMonitor.java | 22 import android.net.LinkProperties; 23 import android.net.LinkProperties.ProvisioningChange; 83 private LinkProperties mLinkProperties = new LinkProperties(); 212 public void updateLinkProperties(LinkProperties lp) { 215 Log.wtf(TAG, "requested LinkProperties interface '" + lp.getInterfaceName() + 221 mLinkProperties = new LinkProperties(lp); 259 LinkProperties whatIfLp = new LinkProperties(mLinkProperties); 275 delta = LinkProperties.compareProvisioning(mLinkProperties, whatIfLp) [all...] |
NetworkAgent.java | 159 NetworkCapabilities nc, LinkProperties lp, int score) { 164 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 176 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); 273 * Called by the bearer code when it has new LinkProperties data. 275 public void sendLinkProperties(LinkProperties linkProperties) { 276 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
|
StaticIpConfiguration.java | 31 * 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();
|
ConnectivityManager.java | 812 * @return a {@link LinkProperties} object describing the IP info 818 public LinkProperties getActiveLinkProperties() { 832 * @return a {@link LinkProperties} object describing the IP inf [all...] |
DnsPinger.java | 245 LinkProperties curLinkProps = getCurrentLinkProperties(); 288 private LinkProperties getCurrentLinkProperties() {
|
/frameworks/base/core/tests/coretests/src/android/net/ |
LinkPropertiesTest.java | 21 import android.net.LinkProperties; 22 import android.net.LinkProperties.ProvisioningChange; 50 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { 83 LinkProperties source = new LinkProperties(); 84 LinkProperties target = new LinkProperties(); 93 LinkProperties source = new LinkProperties(); [all...] |
StaticIpConfigurationTest.java | 148 LinkProperties expected = new LinkProperties();
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Nat464Xlat.java | 27 import android.net.LinkProperties; 51 // ConnectivityService Handler for LinkProperties updates. 90 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false; 122 if (mNetwork.linkProperties == null) { 123 Slog.e(TAG, "startClat: Can't start clat with null LinkProperties"); 134 mBaseIface = mNetwork.linkProperties.getInterfaceName(); 168 private void updateConnectivityService(LinkProperties lp) { 176 * Copies the stacked clat link in oldLp, if any, to the LinkProperties in mNetwork. 177 * This is necessary because the LinkProperties in mNetwork come from the transport layer, whic [all...] |
NetworkAgentInfo.java | 22 import android.net.LinkProperties; 107 public LinkProperties linkProperties; 167 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 173 linkProperties = lp; 247 linkProperties + "} nc{" +
|
Vpn.java | 47 import android.net.LinkProperties; 357 private LinkProperties makeLinkProperties() { 361 LinkProperties lp = new LinkProperties(); 413 LinkProperties lp = makeLinkProperties(); [all...] |
NetworkDiagnostics.java | 21 import android.net.LinkProperties; 97 private final LinkProperties mLinkProperties; 156 public NetworkDiagnostics(Network network, LinkProperties lp, long timeoutMs) { 167 // to check whether the LinkProperties already contains these DNS servers because 168 // LinkProperties#addDnsServer checks for duplicates.
|
/frameworks/base/telephony/java/android/telephony/ |
PreciseDataConnectionState.java | 22 import android.net.LinkProperties; 48 private LinkProperties mLinkProperties = null; 58 LinkProperties linkProperties, String failCause) { 64 mLinkProperties = linkProperties; 85 mLinkProperties = (LinkProperties)in.readParcelable(null); 150 public LinkProperties getDataConnectionLinkProperties() {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
BluetoothTetheringNetworkFactory.java | 23 import android.net.LinkProperties; 59 private LinkProperties mLinkProperties; 69 mLinkProperties = new LinkProperties(); 83 LinkProperties linkProperties; 85 linkProperties = mLinkProperties; 86 if (linkProperties.getInterfaceName() == null) { 90 log("dhcpThread(+" + linkProperties.getInterfaceName() + 100 if (!NetworkUtils.runDhcp(linkProperties.getInterfaceName(), dhcpResults)) { 110 linkProperties.getInterfaceName()) [all...] |
/frameworks/base/core/java/com/android/server/net/ |
NetlinkTracker.java | 20 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(); 175 * Returns a copy of this object's LinkProperties. 177 public synchronized LinkProperties getLinkProperties() { 178 return new LinkProperties(mLinkProperties); 282 /** Sets the DNS servers of the provided LinkProperties object to the current servers. * [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 20 import android.net.LinkProperties; 51 String reason, String apn, String apnType, in LinkProperties linkProperties, 54 String reason, String apn, String apnType, in LinkProperties linkProperties,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcAsyncChannel.java | 24 import android.net.LinkProperties; 242 * Request the connections LinkProperties. 254 * @return LinkProperties, maybe null. 256 public LinkProperties rspLinkProperties(Message response) { 257 LinkProperties retVal = (LinkProperties) response.obj; 263 * Get the connections LinkProperties. 265 * @return LinkProperties or null if an error 267 public LinkProperties getLinkPropertiesSync() { 268 LinkProperties value [all...] |
DataCallResponse.java | 21 import android.net.LinkProperties; 117 public SetupResult setLinkProperties(LinkProperties linkProperties, 123 if (linkProperties == null) 124 linkProperties = new LinkProperties(); 126 linkProperties.clear(); 133 linkProperties.setInterfaceName(ifname); 163 linkProperties.addLinkAddress(la); 182 linkProperties.addDnsServer(ia) [all...] |
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
EthernetNetworkFactory.java | 28 import android.net.LinkProperties; 102 private LinkProperties mLinkProperties; 106 mLinkProperties = new LinkProperties(); 220 mLinkProperties = new LinkProperties(); 266 LinkProperties linkProperties; 275 linkProperties = config.getStaticIpConfiguration().toLinkProperties(mIface); 295 linkProperties = dhcpResults.toLinkProperties(mIface); 299 linkProperties.setHttpProxy(config.getHttpProxy()); 305 linkProperties.setTcpBufferSizes(tcpBufferSizes) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 55 import android.net.LinkProperties; 56 import android.net.LinkProperties.CompareResult; [all...] |
/cts/tests/tests/netlegacy22/api/src/android/net/cts/legacy/api22/ |
ConnectivityManagerLegacyTest.java | 26 import android.net.LinkProperties; 97 LinkProperties lp = mCm.getLinkProperties(networks[i]);
|
/frameworks/base/services/core/java/com/android/server/net/ |
LockdownVpnTracker.java | 32 import android.net.LinkProperties; 126 final LinkProperties egressProp = mConnService.getActiveLinkProperties();
|