Loading apct-tests/perftests/core/src/android/libcore/regression/CipherPerfTest.java +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.libcore.regression; import android.perftests.utils.BenchmarkState; import android.perftests.utils.PerfStatusReporter; import android.util.Log; import androidx.test.filters.LargeTest; Loading Loading @@ -47,6 +48,8 @@ import javax.crypto.spec.IvParameterSpec; @RunWith(JUnitParamsRunner.class) @LargeTest public class CipherPerfTest { private static final String TAG = "android.libcore.regression.CipherPerfTest"; @Rule public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter(); public static Collection getCases() { Loading @@ -71,6 +74,10 @@ public class CipherPerfTest { } for (int keySize : keySizes) { for (int inputSize : inputSizes) { Log.i(TAG, "param[" + params.size() + "] = " + mode.name() + ", " + padding.name() + ", " + keySize + ", " + inputSize + ", " + implementation.name()); params.add( new Object[] { mode, padding, keySize, inputSize, implementation Loading Loading
apct-tests/perftests/core/src/android/libcore/regression/CipherPerfTest.java +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.libcore.regression; import android.perftests.utils.BenchmarkState; import android.perftests.utils.PerfStatusReporter; import android.util.Log; import androidx.test.filters.LargeTest; Loading Loading @@ -47,6 +48,8 @@ import javax.crypto.spec.IvParameterSpec; @RunWith(JUnitParamsRunner.class) @LargeTest public class CipherPerfTest { private static final String TAG = "android.libcore.regression.CipherPerfTest"; @Rule public PerfStatusReporter mPerfStatusReporter = new PerfStatusReporter(); public static Collection getCases() { Loading @@ -71,6 +74,10 @@ public class CipherPerfTest { } for (int keySize : keySizes) { for (int inputSize : inputSizes) { Log.i(TAG, "param[" + params.size() + "] = " + mode.name() + ", " + padding.name() + ", " + keySize + ", " + inputSize + ", " + implementation.name()); params.add( new Object[] { mode, padding, keySize, inputSize, implementation Loading