summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-11-11 21:54:10 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-11-11 21:54:10 -0800
commit1642b64c31961315263b5039a694543e58ad296d (patch)
tree75fc9acedf79d5ec7293ad82b228c3d503bafe37
parent14959904afee24de90273c11fcbeeedae3a9dae1 (diff)
parent8eeaefaf9126cae805947978bc6a83821beed788 (diff)
Merge "Use the test lib for NetworkStackIntegrationTests" am: 8ead488fb7 am: 984fb52f6a
am: 8eeaefaf91 Change-Id: I67f595e890ffc3ff43281c35772aa4a5ece3e7f3
-rw-r--r--Android.bp2
-rw-r--r--tests/integration/Android.bp2
-rw-r--r--tests/integration/src/android/net/ip/IpClientIntegrationTest.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 6ae6453..2d57c35 100644
--- a/Android.bp
+++ b/Android.bp
@@ -185,7 +185,7 @@ android_library {
name: "TestNetworkStackLib",
defaults: ["NetworkStackAppDefaults", "NetworkStackApiCurrentLevel"],
static_libs: ["NetworkStackApiCurrentLib"],
- manifest: "AndroidManifest.xml",
+ manifest: "AndroidManifestBase.xml",
}
cc_library_shared {
diff --git a/tests/integration/Android.bp b/tests/integration/Android.bp
index 89b3968..fdc9a53 100644
--- a/tests/integration/Android.bp
+++ b/tests/integration/Android.bp
@@ -24,8 +24,8 @@ android_test {
"androidx.test.rules",
"mockito-target-extended-minus-junit4",
"net-tests-utils",
- "NetworkStackApiCurrentLib",
"testables",
+ "TestNetworkStackLib",
],
libs: [
"android.test.runner",
diff --git a/tests/integration/src/android/net/ip/IpClientIntegrationTest.java b/tests/integration/src/android/net/ip/IpClientIntegrationTest.java
index f34c26e..0ee49c5 100644
--- a/tests/integration/src/android/net/ip/IpClientIntegrationTest.java
+++ b/tests/integration/src/android/net/ip/IpClientIntegrationTest.java
@@ -24,8 +24,8 @@ import static android.net.dhcp.DhcpPacket.DHCP_SERVER;
import static android.net.dhcp.DhcpPacket.ENCAP_L2;
import static android.net.dhcp.DhcpPacket.INFINITE_LEASE;
import static android.net.ipmemorystore.Status.SUCCESS;
-import static android.net.shared.Inet4AddressUtils.getBroadcastAddress;
-import static android.net.shared.Inet4AddressUtils.getPrefixMaskAsInet4Address;
+import static android.net.networkstack.shared.Inet4AddressUtils.getBroadcastAddress;
+import static android.net.networkstack.shared.Inet4AddressUtils.getPrefixMaskAsInet4Address;
import static android.system.OsConstants.ETH_P_IPV6;
import static android.system.OsConstants.IPPROTO_ICMPV6;
import static android.system.OsConstants.IPPROTO_TCP;