HomeSort by relevance Sort by last modified time
    Searched refs:linkProperties (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DataCallResponseTest.java 19 import android.net.LinkProperties;
61 LinkProperties linkProperties = new LinkProperties();
63 mDcResponse.setLinkProperties(linkProperties, true));
64 logd(linkProperties.toString());
65 assertEquals(mDcResponse.ifname, linkProperties.getInterfaceName());
66 assertEquals(mDcResponse.addresses.length, linkProperties.getAddresses().size());
69 linkProperties.getLinkAddresses().get(i).getAddress().getHostAddress());
72 assertEquals(mDcResponse.dnses.length, linkProperties.getDnsServers().size())
    [all...]
DcTrackerTest.java 26 import android.net.LinkProperties;
388 LinkProperties linkProperties = mDct.getLinkProperties(PhoneConstants.APN_TYPE_DEFAULT);
389 assertEquals(FAKE_IFNAME, linkProperties.getInterfaceName());
390 assertEquals(1, linkProperties.getAddresses().size());
391 assertEquals(FAKE_ADDRESS, linkProperties.getAddresses().get(0).getHostAddress());
392 assertEquals(1, linkProperties.getDnsServers().size());
393 assertEquals(FAKE_DNS, linkProperties.getDnsServers().get(0).getHostAddress());
394 assertEquals(FAKE_GATEWAY, linkProperties.getRoutes().get(0).getGateway().getHostAddress());
    [all...]
  /frameworks/base/core/java/android/net/
NetworkState.java 31 public final LinkProperties linkProperties;
37 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties,
41 this.linkProperties = linkProperties;
50 linkProperties = in.readParcelable(null);
65 out.writeParcelable(linkProperties, flags);
NetworkAgent.java 209 NetworkCapabilities nc, LinkProperties lp, int score) {
214 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
226 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc);
359 * Called by the bearer code when it has new LinkProperties data.
361 public void sendLinkProperties(LinkProperties linkProperties) {
362 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
ConnectivityManager.java     [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
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);
169 linkProperties.addLinkAddress(la);
188 linkProperties.addDnsServer(ia)
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Nat464Xlat.java 25 import android.net.LinkProperties;
57 // ConnectivityService Handler for LinkProperties updates.
96 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false;
128 if (mNetwork.linkProperties == null) {
129 Slog.e(TAG, "startClat: Can't start clat with null LinkProperties");
140 mBaseIface = mNetwork.linkProperties.getInterfaceName();
174 private void updateConnectivityService(LinkProperties lp) {
182 * Copies the stacked clat link in oldLp, if any, to the LinkProperties in mNetwork.
183 * This is necessary because the LinkProperties in mNetwork come from the transport layer, whic
    [all...]
NetworkAgentInfo.java 22 import android.net.LinkProperties;
124 public LinkProperties linkProperties;
255 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
261 linkProperties = lp;
459 new LinkProperties(linkProperties),
557 "lp{" + linkProperties + "} " +
Tethering.java 38 import android.net.LinkProperties;
    [all...]
KeepaliveTracker.java 166 for (InetAddress address : mNai.linkProperties.getAddresses()) {
NetworkMonitor.java 656 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy();
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
IPv6TetheringCoordinator.java 22 import android.net.LinkProperties;
105 new LinkProperties(ns.linkProperties),
119 final LinkProperties lp = getInterfaceIPv6LinkProperties(sm);
125 private LinkProperties getInterfaceIPv6LinkProperties(TetherInterfaceStateMachine sm) {
140 final LinkProperties lp = getIPv6OnlyLinkProperties(
141 mUpstreamNetworkState.linkProperties);
168 (ns.linkProperties != null) && (ns.networkCapabilities != null) &&
170 ns.linkProperties.isProvisioned() &&
172 ns.linkProperties.hasIPv6DefaultRoute() &
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
BluetoothTetheringNetworkFactory.java 23 import android.net.LinkProperties;
93 LinkProperties linkProperties;
96 public void onLinkPropertiesChange(LinkProperties newLp) {
120 linkProperties = ipmCallback.waitForProvisioning();
121 if (linkProperties == null) {
136 mNetworkInfo, mNetworkCapabilities, linkProperties, NETWORK_SCORE) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
ITelephonyRegistry.aidl 20 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/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() {
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetNetworkFactory.java 28 import android.net.LinkProperties;
104 private LinkProperties mLinkProperties;
110 mLinkProperties = new LinkProperties();
239 mLinkProperties = new LinkProperties();
294 LinkProperties linkProperties;
303 linkProperties = config.getStaticIpConfiguration().toLinkProperties(mIface);
308 public void onLinkPropertiesChange(LinkProperties newLp) {
340 linkProperties = ipmCallback.waitForProvisioning();
341 if (linkProperties == null)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
DefaultPhoneNotifier.java 19 import android.net.LinkProperties;
171 LinkProperties linkProperties = null;
176 linkProperties = sender.getLinkProperties(apnType);
189 linkProperties,
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
TelephonyRegistryMock.java 19 import android.net.LinkProperties;
235 String reason, String apn, String apnType, LinkProperties linkProperties,
243 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
ConnectivityServiceMock.java 57 import android.net.LinkProperties;
58 import android.net.LinkProperties.CompareResult;
343 //updateClat(null, nai.linkProperties, nai);
545 public LinkProperties getActiveLinkProperties() {
550 public LinkProperties getLinkPropertiesForType(int networkType) {
555 public LinkProperties getLinkProperties(Network network) {
843 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
846 // new Network(reserveNetId()), new NetworkInfo(networkInfo), new LinkProperties(
847 // linkProperties), new NetworkCapabilities(networkCapabilities), currentScore
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 27 import android.net.LinkProperties;
163 private LinkProperties[] mDataConnectionLinkProperties;
311 mDataConnectionLinkProperties = new LinkProperties[numPhones];
    [all...]
ConnectivityService.java 60 import android.net.LinkProperties;
61 import android.net.LinkProperties.CompareResult;
399 * the latest LinkProperties or NetworkCapabilities.
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
ConnectivityListener.java 27 import android.net.LinkProperties;
207 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network);
208 for (LinkAddress linkAddress : linkProperties.getLinkAddresses()) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ConnectivityManagerFacade.java 27 import android.net.LinkProperties;
289 LinkProperties linkProperties) {
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsService.java 82 import android.net.LinkProperties;
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsServiceTest.java 65 import android.net.LinkProperties;
    [all...]

Completed in 909 milliseconds

1 2