diff --git a/tests/anomaly-tester/Android.mk b/tests/anomaly-tester/Android.mk index 9a0a8755163..4dffeab0500 100644 --- a/tests/anomaly-tester/Android.mk +++ b/tests/anomaly-tester/Android.mk @@ -7,7 +7,7 @@ LOCAL_CERTIFICATE := platform LOCAL_JAVA_LIBRARIES := android.test.runner LOCAL_STATIC_JAVA_LIBRARIES := \ - android-support-test \ + androidx.test.rules \ mockito-target \ ub-uiautomator \ truth-prebuilt \ diff --git a/tests/anomaly-tester/AndroidManifest.xml b/tests/anomaly-tester/AndroidManifest.xml index 7893b866bfa..d6f68a892c1 100644 --- a/tests/anomaly-tester/AndroidManifest.xml +++ b/tests/anomaly-tester/AndroidManifest.xml @@ -44,7 +44,7 @@ diff --git a/tests/anomaly-tester/src/com/android/settings/anomaly/tests/BluetoothAnomalyTest.java b/tests/anomaly-tester/src/com/android/settings/anomaly/tests/BluetoothAnomalyTest.java index 3630ce420dd..0477e094228 100644 --- a/tests/anomaly-tester/src/com/android/settings/anomaly/tests/BluetoothAnomalyTest.java +++ b/tests/anomaly-tester/src/com/android/settings/anomaly/tests/BluetoothAnomalyTest.java @@ -19,13 +19,14 @@ import static com.google.common.truth.Truth.assertWithMessage; import android.app.Instrumentation; import android.content.Context; import android.content.Intent; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; import android.support.test.uiautomator.By; import android.support.test.uiautomator.UiDevice; import android.support.test.uiautomator.Until; import android.text.format.DateUtils; +import androidx.test.InstrumentationRegistry; +import androidx.test.runner.AndroidJUnit4; + import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/tests/anomaly-tester/src/com/android/settings/anomaly/tests/WakelockAnomalyTest.java b/tests/anomaly-tester/src/com/android/settings/anomaly/tests/WakelockAnomalyTest.java index a2f38048977..c44e2eaf712 100644 --- a/tests/anomaly-tester/src/com/android/settings/anomaly/tests/WakelockAnomalyTest.java +++ b/tests/anomaly-tester/src/com/android/settings/anomaly/tests/WakelockAnomalyTest.java @@ -19,13 +19,14 @@ import static com.google.common.truth.Truth.assertWithMessage; import android.app.Instrumentation; import android.content.Context; import android.content.Intent; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; import android.support.test.uiautomator.By; import android.support.test.uiautomator.UiDevice; import android.support.test.uiautomator.Until; import android.text.format.DateUtils; +import androidx.test.InstrumentationRegistry; +import androidx.test.runner.AndroidJUnit4; + import org.junit.After; import org.junit.Before; import org.junit.Test; diff --git a/tests/uitests/Android.mk b/tests/uitests/Android.mk index 89f9133cd69..fb7258ce792 100644 --- a/tests/uitests/Android.mk +++ b/tests/uitests/Android.mk @@ -27,7 +27,7 @@ LOCAL_JAVA_LIBRARIES := \ android.test.base LOCAL_STATIC_JAVA_LIBRARIES := \ - android-support-test \ + androidx.test.rules \ app-helpers-core \ launcher-helper-lib \ metrics-helper-lib \ diff --git a/tests/uitests/AndroidManifest.xml b/tests/uitests/AndroidManifest.xml index 49a2fd110aa..dc6fc15d1cd 100644 --- a/tests/uitests/AndroidManifest.xml +++ b/tests/uitests/AndroidManifest.xml @@ -31,7 +31,7 @@ diff --git a/tests/uitests/AndroidTest.xml b/tests/uitests/AndroidTest.xml index 4162207fa80..50c6a758010 100644 --- a/tests/uitests/AndroidTest.xml +++ b/tests/uitests/AndroidTest.xml @@ -24,7 +24,7 @@