Loading packages/MtpDocumentsProvider/perf_tests/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_STATIC_JAVA_LIBRARIES := android-support-test LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_PACKAGE_NAME := MtpDocumentsProviderPerfTests LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_INSTRUMENTATION_FOR := MtpDocumentsProvider Loading packages/MtpDocumentsProvider/perf_tests/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <uses-library android:name="android.test.runner" /> </application> <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.mtp" android:label="Performance tests for MtpDocumentsProvider." /> </manifest> packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/AppFusePerfTest.java +7 −9 Original line number Diff line number Diff line Loading @@ -23,17 +23,15 @@ import android.os.ParcelFileDescriptor; import android.os.ProxyFileDescriptorCallback; import android.os.storage.StorageManager; import android.system.ErrnoException; import android.system.Os; import android.support.test.filters.LargeTest; import android.support.test.InstrumentationRegistry; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Arrays; import libcore.io.IoUtils; import androidx.test.InstrumentationRegistry; import androidx.test.filters.LargeTest; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.junit.Test; import java.io.IOException; @RunWith(JUnit4.class) public class AppFusePerfTest { Loading Loading
packages/MtpDocumentsProvider/perf_tests/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_STATIC_JAVA_LIBRARIES := android-support-test LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_PACKAGE_NAME := MtpDocumentsProviderPerfTests LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_INSTRUMENTATION_FOR := MtpDocumentsProvider Loading
packages/MtpDocumentsProvider/perf_tests/AndroidManifest.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <uses-library android:name="android.test.runner" /> </application> <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" android:targetPackage="com.android.mtp" android:label="Performance tests for MtpDocumentsProvider." /> </manifest>
packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/AppFusePerfTest.java +7 −9 Original line number Diff line number Diff line Loading @@ -23,17 +23,15 @@ import android.os.ParcelFileDescriptor; import android.os.ProxyFileDescriptorCallback; import android.os.storage.StorageManager; import android.system.ErrnoException; import android.system.Os; import android.support.test.filters.LargeTest; import android.support.test.InstrumentationRegistry; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Arrays; import libcore.io.IoUtils; import androidx.test.InstrumentationRegistry; import androidx.test.filters.LargeTest; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.junit.Test; import java.io.IOException; @RunWith(JUnit4.class) public class AppFusePerfTest { Loading