Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 984fb52f authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by android-build-merger
Browse files

Merge "Use the test lib for NetworkStackIntegrationTests"

am: 8ead488f

Change-Id: I81bfa845444d66eb4854860bd78671aad87cbfbf
parents 208db850 8ead488f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ android_library {
    name: "TestNetworkStackLib",
    defaults: ["NetworkStackAppDefaults", "NetworkStackApiCurrentLevel"],
    static_libs: ["NetworkStackApiCurrentLib"],
    manifest: "AndroidManifest.xml",
    manifest: "AndroidManifestBase.xml",
}

cc_library_shared {
+1 −1
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ android_test {
        "androidx.test.rules",
        "mockito-target-extended-minus-junit4",
        "net-tests-utils",
        "NetworkStackApiCurrentLib",
        "testables",
        "TestNetworkStackLib",
    ],
    libs: [
        "android.test.runner",
+2 −2
Original line number Diff line number Diff line
@@ -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;