summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/hotspot2
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@google.com>2018-12-19 23:09:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-12-19 23:09:56 +0000
commit3bbabd6569d15a2ff6a6feea755f13ed42ee5d2c (patch)
tree358695d74fab0f5dc11473c985f5780ab74db6e5 /tests/wifitests/src/com/android/server/wifi/hotspot2
parent6edea79f086a14dc44d6c661296e409b48746e01 (diff)
parent3f8595baf0a2f5ea417445714149fe0d2ab16ff5 (diff)
downloadandroid_frameworks_opt_net_wifi-3bbabd6569d15a2ff6a6feea755f13ed42ee5d2c.tar.gz
android_frameworks_opt_net_wifi-3bbabd6569d15a2ff6a6feea755f13ed42ee5d2c.tar.bz2
android_frameworks_opt_net_wifi-3bbabd6569d15a2ff6a6feea755f13ed42ee5d2c.zip
Merge "Revert "Migrate frameworks/opt/net/wifi to androidx.test""
Diffstat (limited to 'tests/wifitests/src/com/android/server/wifi/hotspot2')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPDataTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPMatcherTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPNetworkKeyTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPRequestManagerTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/AnqpCacheTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/DomainMatcherTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/LegacyPasspointConfigParserTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/OsuNetworkConnectionTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/OsuServerConnectionTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigSharedStoreDataTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigUserStoreDataTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointEventHandlerTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkEvaluatorTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkScoreTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointXmlUtilsTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/ServiceProviderVerifierTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/SystemInfoTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ANQPParserTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/CellularNetworkTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/DomainNameElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSConnectionCapabilityElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSFriendlyNameElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSIconFileElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSOsuProvidersElementTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSWanMetricsElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/I18NameTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IPAddressTypeAvailabilityElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IconInfoTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmDataTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmElementTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/OsuProviderInfoTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ProtocolPortTupleTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RawByteElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RoamingConsortiumElementTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ThreeGPPNetworkElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/CredentialTypeTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/EAPMethodTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ExpandedEAPMethodTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/InnerAuthEAPTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/NonEAPInnerAuthTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/VendorSpecificAuthTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevDetailMoTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevInfoMoTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/MoSerializerTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ExchangeCompleteMessageTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsServiceConnectionTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsTransportTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataMessageTest.java3
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataResponseTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/RedirectListenerTest.java4
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SoapParserTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SppResponseMessageTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/UpdateResponseMessageTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/BrowserUriTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/PpsMoDataTest.java2
-rw-r--r--tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/SppCommandTest.java2
60 files changed, 61 insertions, 87 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPDataTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPDataTest.java
index addb9b5b5..e96a9ce62 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPDataTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPDataTest.java
@@ -21,7 +21,7 @@ import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.Clock;
import com.android.server.wifi.hotspot2.anqp.ANQPElement;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPMatcherTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPMatcherTest.java
index 7225c2abf..101fe16f6 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPMatcherTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPMatcherTest.java
@@ -21,8 +21,7 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import android.net.wifi.EAPConstants;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.IMSIParameter;
import com.android.server.wifi.hotspot2.anqp.CellularNetwork;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPNetworkKeyTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPNetworkKeyTest.java
index 74a884d7b..aeeffc0a0 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPNetworkKeyTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPNetworkKeyTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPRequestManagerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPRequestManagerTest.java
index b252f817e..b957bdd02 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPRequestManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/ANQPRequestManagerTest.java
@@ -27,7 +27,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.Clock;
import com.android.server.wifi.hotspot2.anqp.Constants;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/AnqpCacheTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/AnqpCacheTest.java
index 3084e064a..e697df2d8 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/AnqpCacheTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/AnqpCacheTest.java
@@ -22,7 +22,7 @@ import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.Clock;
import com.android.server.wifi.hotspot2.ANQPData;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/DomainMatcherTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/DomainMatcherTest.java
index 1671507bf..3681e6790 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/DomainMatcherTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/DomainMatcherTest.java
@@ -20,10 +20,9 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
+import android.support.test.filters.SmallTest;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import org.junit.Test;
import java.util.Arrays;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/LegacyPasspointConfigParserTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/LegacyPasspointConfigParserTest.java
index c3004f537..f184f128e 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/LegacyPasspointConfigParserTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/LegacyPasspointConfigParserTest.java
@@ -19,8 +19,7 @@ package com.android.server.wifi.hotspot2;
import static org.junit.Assert.*;
import android.os.FileUtils;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuNetworkConnectionTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuNetworkConnectionTest.java
index 5fb0cc0a4..f94c43976 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuNetworkConnectionTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuNetworkConnectionTest.java
@@ -44,8 +44,7 @@ import android.net.wifi.WifiManager;
import android.net.wifi.WifiSsid;
import android.os.Handler;
import android.os.test.TestLooper;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.TestUtil;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuServerConnectionTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuServerConnectionTest.java
index c238d0417..eb08000e4 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuServerConnectionTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/OsuServerConnectionTest.java
@@ -30,10 +30,9 @@ import static org.mockito.Mockito.when;
import android.net.Network;
import android.os.test.TestLooper;
+import android.support.test.filters.SmallTest;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import com.android.dx.mockito.inline.extended.ExtendedMockito;
import com.android.org.conscrypt.TrustManagerImpl;
import com.android.server.wifi.hotspot2.soap.HttpsServiceConnection;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigSharedStoreDataTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigSharedStoreDataTest.java
index c76e2c878..6c2ab7bd5 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigSharedStoreDataTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigSharedStoreDataTest.java
@@ -19,10 +19,9 @@ package com.android.server.wifi.hotspot2;
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
+import android.support.test.filters.SmallTest;
import android.util.Xml;
-import androidx.test.filters.SmallTest;
-
import com.android.internal.util.FastXmlSerializer;
import com.android.server.wifi.WifiConfigStore;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigUserStoreDataTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigUserStoreDataTest.java
index bf814c45e..7ab29c972 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigUserStoreDataTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointConfigUserStoreDataTest.java
@@ -24,10 +24,9 @@ import android.net.wifi.hotspot2.pps.Credential;
import android.net.wifi.hotspot2.pps.HomeSp;
import android.net.wifi.hotspot2.pps.Policy;
import android.net.wifi.hotspot2.pps.UpdateParameter;
+import android.support.test.filters.SmallTest;
import android.util.Xml;
-import androidx.test.filters.SmallTest;
-
import com.android.internal.util.FastXmlSerializer;
import com.android.server.wifi.SIMAccessor;
import com.android.server.wifi.WifiConfigStore;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointEventHandlerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointEventHandlerTest.java
index d958f5a8c..b70738436 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointEventHandlerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointEventHandlerTest.java
@@ -24,7 +24,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.WifiNative;
import com.android.server.wifi.hotspot2.anqp.Constants;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
index cf51b1e53..d2f623009 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointManagerTest.java
@@ -67,11 +67,10 @@ import android.net.wifi.hotspot2.pps.HomeSp;
import android.os.Looper;
import android.os.UserHandle;
import android.os.test.TestLooper;
+import android.support.test.filters.SmallTest;
import android.util.Base64;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.Clock;
import com.android.server.wifi.FakeKeys;
import com.android.server.wifi.IMSIParameter;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkEvaluatorTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkEvaluatorTest.java
index dc7e9bb3b..b6c7d8bcb 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkEvaluatorTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkEvaluatorTest.java
@@ -33,11 +33,10 @@ import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.hotspot2.PasspointConfiguration;
import android.net.wifi.hotspot2.pps.HomeSp;
+import android.support.test.filters.SmallTest;
import android.util.LocalLog;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.NetworkUpdateResult;
import com.android.server.wifi.ScanDetail;
import com.android.server.wifi.WifiConfigManager;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkScoreTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkScoreTest.java
index 14815beb3..82f737cf8 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkScoreTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointNetworkScoreTest.java
@@ -21,8 +21,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import android.net.wifi.ScanResult;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.ScanDetail;
import com.android.server.wifi.hotspot2.anqp.ANQPElement;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
index f9c686eec..82b0b96f8 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProviderTest.java
@@ -29,10 +29,9 @@ import android.net.wifi.WifiEnterpriseConfig;
import android.net.wifi.hotspot2.PasspointConfiguration;
import android.net.wifi.hotspot2.pps.Credential;
import android.net.wifi.hotspot2.pps.HomeSp;
+import android.support.test.filters.SmallTest;
import android.util.Base64;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.FakeKeys;
import com.android.server.wifi.IMSIParameter;
import com.android.server.wifi.SIMAccessor;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
index dae3374fe..c677cac29 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointProvisionerTest.java
@@ -56,10 +56,9 @@ import android.os.Build;
import android.os.Handler;
import android.os.RemoteException;
import android.os.test.TestLooper;
+import android.support.test.filters.SmallTest;
import android.telephony.TelephonyManager;
-import androidx.test.filters.SmallTest;
-
import com.android.dx.mockito.inline.extended.ExtendedMockito;
import com.android.org.conscrypt.TrustManagerImpl;
import com.android.server.wifi.WifiNative;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointXmlUtilsTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointXmlUtilsTest.java
index 928a49168..46b2bb137 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointXmlUtilsTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/PasspointXmlUtilsTest.java
@@ -24,10 +24,9 @@ import android.net.wifi.hotspot2.pps.Credential;
import android.net.wifi.hotspot2.pps.HomeSp;
import android.net.wifi.hotspot2.pps.Policy;
import android.net.wifi.hotspot2.pps.UpdateParameter;
+import android.support.test.filters.SmallTest;
import android.util.Xml;
-import androidx.test.filters.SmallTest;
-
import com.android.internal.util.FastXmlSerializer;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/ServiceProviderVerifierTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/ServiceProviderVerifierTest.java
index e6ecb330e..ee0ac896f 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/ServiceProviderVerifierTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/ServiceProviderVerifierTest.java
@@ -28,10 +28,9 @@ import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
+import android.support.test.filters.SmallTest;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import com.android.org.bouncycastle.asn1.ASN1EncodableVector;
import com.android.org.bouncycastle.asn1.ASN1ObjectIdentifier;
import com.android.org.bouncycastle.asn1.DEROctetString;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/SystemInfoTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/SystemInfoTest.java
index 2de746e57..6fb12d0f2 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/SystemInfoTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/SystemInfoTest.java
@@ -22,10 +22,9 @@ import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
import android.content.Context;
+import android.support.test.filters.SmallTest;
import android.telephony.TelephonyManager;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.WifiNative;
import org.junit.Before;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ANQPParserTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ANQPParserTest.java
index 016e32261..806360ba7 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ANQPParserTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ANQPParserTest.java
@@ -19,8 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import android.net.wifi.WifiSsid;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/CellularNetworkTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/CellularNetworkTest.java
index 3b47ab4f0..11dbd90f4 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/CellularNetworkTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/CellularNetworkTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/DomainNameElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/DomainNameElementTest.java
index e293a4a9f..6ba02f029 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/DomainNameElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/DomainNameElementTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSConnectionCapabilityElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSConnectionCapabilityElementTest.java
index 62a2b7f7c..962a6f9bf 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSConnectionCapabilityElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSConnectionCapabilityElementTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSFriendlyNameElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSFriendlyNameElementTest.java
index dffb5a563..106c7ea49 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSFriendlyNameElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSFriendlyNameElementTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSIconFileElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSIconFileElementTest.java
index a1a9aba4a..1369c15d9 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSIconFileElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSIconFileElementTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSOsuProvidersElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSOsuProvidersElementTest.java
index de89ff980..0aa18b749 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSOsuProvidersElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSOsuProvidersElementTest.java
@@ -19,8 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import android.net.wifi.WifiSsid;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSWanMetricsElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSWanMetricsElementTest.java
index c90282509..c37a0b956 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSWanMetricsElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/HSWanMetricsElementTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/I18NameTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/I18NameTest.java
index e495b8417..dcee1f05f 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/I18NameTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/I18NameTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IPAddressTypeAvailabilityElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IPAddressTypeAvailabilityElementTest.java
index 9c2862708..aae49d892 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IPAddressTypeAvailabilityElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IPAddressTypeAvailabilityElementTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IconInfoTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IconInfoTest.java
index df99fbd52..08bd0c0fe 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IconInfoTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/IconInfoTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmDataTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmDataTest.java
index aa342d4af..27d8b1a02 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmDataTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmDataTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmElementTest.java
index 553f0ee83..82cb1f155 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/NAIRealmElementTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
@@ -28,6 +28,7 @@ import java.nio.ByteOrder;
import java.util.ArrayList;
import java.util.List;
+
/**
* Unit tests for {@link com.android.server.wifi.hotspot2.anqp.NAIRealmElement}.
*/
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/OsuProviderInfoTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/OsuProviderInfoTest.java
index 2855db9d7..18ad717d7 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/OsuProviderInfoTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/OsuProviderInfoTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ProtocolPortTupleTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ProtocolPortTupleTest.java
index fc0942a7e..5a55ffe2e 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ProtocolPortTupleTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ProtocolPortTupleTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RawByteElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RawByteElementTest.java
index 3032210eb..1395ed672 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RawByteElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RawByteElementTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RoamingConsortiumElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RoamingConsortiumElementTest.java
index dad7c2bc4..0d044f6ed 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RoamingConsortiumElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/RoamingConsortiumElementTest.java
@@ -19,10 +19,9 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
+import android.support.test.filters.SmallTest;
import android.util.Pair;
-import androidx.test.filters.SmallTest;
-
import org.junit.Test;
import java.io.ByteArrayOutputStream;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ThreeGPPNetworkElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ThreeGPPNetworkElementTest.java
index 4add83769..8ef2bd340 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ThreeGPPNetworkElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ThreeGPPNetworkElementTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java
index 006ebac36..9cad5774e 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/VenueNameElementTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.anqp;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/CredentialTypeTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/CredentialTypeTest.java
index 160029b63..994502de0 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/CredentialTypeTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/CredentialTypeTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/EAPMethodTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/EAPMethodTest.java
index 8ddd9a8f1..c5dbc3210 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/EAPMethodTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/EAPMethodTest.java
@@ -19,8 +19,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
import android.net.wifi.EAPConstants;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ExpandedEAPMethodTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ExpandedEAPMethodTest.java
index 1c112dfaa..d704100f2 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ExpandedEAPMethodTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ExpandedEAPMethodTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/InnerAuthEAPTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/InnerAuthEAPTest.java
index d7087d94d..8e2531c1a 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/InnerAuthEAPTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/InnerAuthEAPTest.java
@@ -19,8 +19,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
import android.net.wifi.EAPConstants;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/NonEAPInnerAuthTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/NonEAPInnerAuthTest.java
index 3a4b6ed3a..5a43bb84f 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/NonEAPInnerAuthTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/NonEAPInnerAuthTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/VendorSpecificAuthTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/VendorSpecificAuthTest.java
index 491077e3b..1535333d9 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/VendorSpecificAuthTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/VendorSpecificAuthTest.java
@@ -18,7 +18,7 @@ package com.android.server.wifi.hotspot2.anqp.eap;
import static org.junit.Assert.assertEquals;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevDetailMoTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevDetailMoTest.java
index bb08ee5ac..ff3d86ff5 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevDetailMoTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevDetailMoTest.java
@@ -25,10 +25,9 @@ import static org.mockito.MockitoAnnotations.initMocks;
import android.content.Context;
import android.os.Build;
+import android.support.test.filters.SmallTest;
import android.telephony.TelephonyManager;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.hotspot2.SystemInfo;
import org.junit.Before;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevInfoMoTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevInfoMoTest.java
index d0a538ed5..065159587 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevInfoMoTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/DevInfoMoTest.java
@@ -21,8 +21,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import android.os.Build;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.hotspot2.SystemInfo;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/MoSerializerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/MoSerializerTest.java
index 2c28ed22c..983976331 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/MoSerializerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/MoSerializerTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ExchangeCompleteMessageTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ExchangeCompleteMessageTest.java
index 933a20602..dcddb5380 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ExchangeCompleteMessageTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ExchangeCompleteMessageTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.soap;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
import org.ksoap2.serialization.SoapObject;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsServiceConnectionTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsServiceConnectionTest.java
index 3d5dae847..c975be236 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsServiceConnectionTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsServiceConnectionTest.java
@@ -24,8 +24,7 @@ import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
import android.net.Network;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsTransportTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsTransportTest.java
index 6975765d8..0f189242f 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsTransportTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/HttpsTransportTest.java
@@ -22,8 +22,7 @@ import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
import android.net.Network;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataMessageTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataMessageTest.java
index 2f1afd7dd..179ac68a6 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataMessageTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataMessageTest.java
@@ -26,10 +26,9 @@ import static org.mockito.MockitoAnnotations.initMocks;
import android.content.Context;
import android.os.Build;
+import android.support.test.filters.SmallTest;
import android.telephony.TelephonyManager;
-import androidx.test.filters.SmallTest;
-
import com.android.server.wifi.hotspot2.SystemInfo;
import com.android.server.wifi.hotspot2.omadm.DevDetailMo;
import com.android.server.wifi.hotspot2.omadm.DevInfoMo;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataResponseTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataResponseTest.java
index 0b48a73ef..d5b827d8f 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataResponseTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/PostDevDataResponseTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import com.android.server.wifi.hotspot2.soap.command.SppCommand;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/RedirectListenerTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/RedirectListenerTest.java
index 8270cad9d..c4fb3fd71 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/RedirectListenerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/RedirectListenerTest.java
@@ -25,8 +25,7 @@ import static org.mockito.MockitoAnnotations.initMocks;
import android.os.Looper;
import android.os.test.TestLooper;
-
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
@@ -38,7 +37,6 @@ import java.net.URL;
import fi.iki.elonen.NanoHTTPD;
/**
- *
* Unit tests for {@link RedirectListener}.
*/
@SmallTest
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SoapParserTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SoapParserTest.java
index 2445caba5..3bb63a157 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SoapParserTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SoapParserTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SppResponseMessageTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SppResponseMessageTest.java
index 4169868f1..5e6ed070c 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SppResponseMessageTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/SppResponseMessageTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/UpdateResponseMessageTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/UpdateResponseMessageTest.java
index 9098c2297..edda5273e 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/UpdateResponseMessageTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/UpdateResponseMessageTest.java
@@ -19,7 +19,7 @@ package com.android.server.wifi.hotspot2.soap;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Test;
import org.ksoap2.SoapEnvelope;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/BrowserUriTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/BrowserUriTest.java
index 2fe5e752f..88925cb8c 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/BrowserUriTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/BrowserUriTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/PpsMoDataTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/PpsMoDataTest.java
index cc56b06ef..e4f2a1521 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/PpsMoDataTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/PpsMoDataTest.java
@@ -24,7 +24,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;
diff --git a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/SppCommandTest.java b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/SppCommandTest.java
index 52d4615ad..bf1d4f653 100644
--- a/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/SppCommandTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/SppCommandTest.java
@@ -20,7 +20,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.mockito.MockitoAnnotations.initMocks;
-import androidx.test.filters.SmallTest;
+import android.support.test.filters.SmallTest;
import org.junit.Before;
import org.junit.Test;