/frameworks/base/core/java/android/net/ |
NetworkState.java | 34 public final LinkProperties linkProperties; 40 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, 44 this.linkProperties = linkProperties; 63 linkProperties = in.readParcelable(null); 78 out.writeParcelable(linkProperties, flags);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 46 import android.net.LinkProperties; 261 LinkProperties linkProperties) 265 cArgs[1] = LinkProperties.class; 268 return (SetupResult) method.invoke(mDc, response, linkProperties); 529 LinkProperties linkProperties = new LinkProperties(); 530 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties)); 531 logd(linkProperties.toString()) [all...] |
DcTrackerTest.java | 49 import android.net.LinkProperties; 546 LinkProperties linkProperties = mDct.getLinkProperties(PhoneConstants.APN_TYPE_DEFAULT); 547 assertEquals(FAKE_IFNAME, linkProperties.getInterfaceName()); 548 assertEquals(1, linkProperties.getAddresses().size()); 549 assertEquals(FAKE_ADDRESS, linkProperties.getAddresses().get(0).getHostAddress()); 550 assertEquals(1, linkProperties.getDnsServers().size()); 551 assertEquals(FAKE_DNS, linkProperties.getDnsServers().get(0).getHostAddress()); 552 assertEquals(FAKE_GATEWAY, linkProperties.getRoutes().get(0).getGateway().getHostAddress()); [all...] |
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
IpConnectivityMetricsTest.java | 36 import android.net.LinkProperties; 633 nai.linkProperties = new LinkProperties(); 640 nai.linkProperties.addLinkAddress(new LinkAddress("192.0.2.12/24")); 641 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0"))); 644 nai.linkProperties.addLinkAddress(new LinkAddress("2001:db8:dead:beef:f00::a0/64")); 645 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0")));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 27 import android.net.LinkProperties; 252 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network); 253 for (LinkAddress linkAddress : linkProperties.getLinkAddresses()) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareDataPathStateManager.java | 28 import android.net.LinkProperties; 510 LinkProperties linkProperties = new LinkProperties(); 533 networkInfo, networkCapabilities, linkProperties)) { 540 networkCapabilities, linkProperties, NETWORK_FACTORY_SCORE_AVAIL, [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 22 import android.net.LinkProperties; 126 public LinkProperties linkProperties; 249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 255 linkProperties = lp; 477 new LinkProperties(linkProperties), 601 "lp{" + linkProperties + "} " +
|
/frameworks/base/telephony/java/android/telephony/data/ |
DataService.java | 25 import android.net.LinkProperties; 150 * @param linkProperties If {@code reason} is {@link #REQUEST_REASON_HANDOVER}, this is the 157 @Nullable LinkProperties linkProperties, 169 * int, DataProfile, boolean, boolean, int, LinkProperties, DataServiceCallback)}. 265 public final LinkProperties linkProperties; 268 boolean allowRoaming, int reason, LinkProperties linkProperties, 274 this.linkProperties = linkProperties [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
DefaultPhoneNotifier.java | 19 import android.net.LinkProperties; 169 LinkProperties linkProperties = null; 174 linkProperties = sender.getLinkProperties(apnType); 187 linkProperties,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataServiceManager.java | 31 import android.net.LinkProperties; 357 * @param linkProperties If {@code reason} is {@link DataService#REQUEST_REASON_HANDOVER}, this 363 boolean allowRoaming, int reason, LinkProperties linkProperties, 379 isRoaming, allowRoaming, reason, linkProperties, callback); 395 * boolean, boolean, int, LinkProperties, Message)}
|
DataConnection.java | 28 import android.net.LinkProperties; 180 private LinkProperties mLinkProperties = new LinkProperties(); 298 LinkProperties getCopyLinkProperties() { 299 return new LinkProperties(mLinkProperties); 332 public LinkProperties oldLp; 333 public LinkProperties newLp; 334 public UpdateLinkPropertyResult(LinkProperties curLp) { 402 result.newLp = new LinkProperties(); 437 private void checkSetMtu(ApnSetting apn, LinkProperties lp) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 40 import android.net.LinkProperties; 361 LinkProperties linkProperties = mCm.getLinkProperties(network); 367 assertContains(linkProperties.getAddresses(), address); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetherInterfaceStateMachine.java | 29 import android.net.LinkProperties; 121 private final LinkProperties mLinkProperties; 135 private LinkProperties mLastIPv6LinkProperties; 153 mLinkProperties = new LinkProperties(); 179 public LinkProperties linkProperties() { return new LinkProperties(mLinkProperties); } 297 // LinkProperties. These have extraneous data filtered out and only the 302 private void updateUpstreamIPv6LinkProperties(LinkProperties v6only) { 466 TetherInterfaceStateMachine.this, new LinkProperties(mLinkProperties)) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 61 import android.net.LinkProperties; 62 import android.net.LinkProperties.CompareResult; [all...] |
/external/robolectric/v3/runtime/ |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
android-all-6.0.0_r1-robolectric-0.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-7.0.0_r1-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |
/prebuilts/sdk/21/ |
android.jar | |