summaryrefslogtreecommitdiff
path: root/src/android/net/dhcp/DhcpServingParams.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2020-06-08 15:34:22 +0900
committerRemi NGUYEN VAN <reminv@google.com>2020-06-12 18:46:54 +0900
commitc628adc6763aa9a4b08e7c65305236f853d58d20 (patch)
tree0d3a347532d0e0150fe302cec36c83a5117c3cd3 /src/android/net/dhcp/DhcpServingParams.java
parentb9364f50bc10ffb539cc773fa5d78d49e205033d (diff)
Move Inet[4]AddressUtils to libs/net
The classes should not be picked up from frameworks/base, as they are part of several mainline modules. Bug: 151052811 Test: m; manual: flashed, wifi and telephony working Test: atest NetworkStackCoverageTests Change-Id: I62da3419408b7eb71ea5319e8717fbb22c76a94e
Diffstat (limited to 'src/android/net/dhcp/DhcpServingParams.java')
-rw-r--r--src/android/net/dhcp/DhcpServingParams.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/android/net/dhcp/DhcpServingParams.java b/src/android/net/dhcp/DhcpServingParams.java
index 77cdf7a..97db6ae 100644
--- a/src/android/net/dhcp/DhcpServingParams.java
+++ b/src/android/net/dhcp/DhcpServingParams.java
@@ -16,9 +16,8 @@
package android.net.dhcp;
-import static android.net.shared.Inet4AddressUtils.getPrefixMaskAsInet4Address;
-import static android.net.shared.Inet4AddressUtils.intToInet4AddressHTH;
-
+import static com.android.net.module.util.Inet4AddressUtils.getPrefixMaskAsInet4Address;
+import static com.android.net.module.util.Inet4AddressUtils.intToInet4AddressHTH;
import static com.android.server.util.NetworkStackConstants.INFINITE_LEASE;
import static com.android.server.util.NetworkStackConstants.IPV4_MAX_MTU;
import static com.android.server.util.NetworkStackConstants.IPV4_MIN_MTU;
@@ -27,12 +26,13 @@ import static java.lang.Integer.toUnsignedLong;
import android.net.IpPrefix;
import android.net.LinkAddress;
-import android.net.shared.Inet4AddressUtils;
import android.util.ArraySet;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
+import com.android.net.module.util.Inet4AddressUtils;
+
import java.net.Inet4Address;
import java.util.Arrays;
import java.util.Collections;