/cts/tests/tests/keystore/src/android/keystore/cts/performance/ |
D | RsaKeyGenPerformanceTest.java | 55 private void measureKeyGen(KeystoreKeyGenerator generator, int keySize) throws Exception { in measureKeyGen() argument 56 measure(new KeystoreKeyPairGenMeasurable(generator, keySize)); in measureKeyGen() 60 AndroidKeystoreKeyGenerator generator = new AndroidKeystoreKeyGenerator("RSA") { in measureKeyGenWithAndroidProvider() local 62 generator.getKeyPairGenerator() in measureKeyGenWithAndroidProvider() 64 generator.getKeyGenParameterSpecBuilder( in measureKeyGenWithAndroidProvider() 69 measureKeyGen(generator, keySize); in measureKeyGenWithAndroidProvider()
|
D | HmacMacPerformanceTest.java | 91 KeystoreKeyGenerator generator, int keySize, int messageSize) throws Exception { in KeystoreHmacMacMeasurable() argument 92 super(generator, "sign", keySize, messageSize); in KeystoreHmacMacMeasurable()
|
D | PerformanceTestBase.java | 169 KeystoreKeyGenerator generator, String operation, int keySize, int messageSize) in KeystoreMeasurable() argument 172 mGenerator = generator; in KeystoreMeasurable() 187 KeystoreMeasurable(KeystoreKeyGenerator generator, String operation, int keySize) in KeystoreMeasurable() argument 189 this(generator, operation, keySize, -1); in KeystoreMeasurable()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 265 KeyPairGenerator generator = getGenerator(algorithm); in testDefaultKeySize() local 266 generator.initialize(getWorkingSpec().build()); in testDefaultKeySize() 267 KeyPair keyPair = generator.generateKeyPair(); in testDefaultKeySize() 281 KeyPairGenerator generator = getGenerator(algorithm); in testInitWithUnknownBlockModeFails() local 283 generator.initialize(getWorkingSpec().setBlockModes("weird").build()); in testInitWithUnknownBlockModeFails() 296 KeyPairGenerator generator = getGenerator(algorithm); in testInitWithUnknownEncryptionPaddingFails() local 298 generator.initialize(getWorkingSpec().setEncryptionPaddings("weird").build()); in testInitWithUnknownEncryptionPaddingFails() 311 KeyPairGenerator generator = getGenerator(algorithm); in testInitWithUnknownSignaturePaddingFails() local 313 generator.initialize(getWorkingSpec().setSignaturePaddings("weird").build()); in testInitWithUnknownSignaturePaddingFails() 326 KeyPairGenerator generator = getGenerator(algorithm); in testInitWithUnknownDigestFails() local [all …]
|
D | ECCurves.java | 116 ECPoint generator = new ECPoint(gx, gy); in createNistPCurveSpec() local 119 generator, in createNistPCurveSpec()
|
D | ECDSASignatureTest.java | 199 KeyPairGenerator generator = KeyPairGenerator.getInstance("EC", "AndroidKeyStore"); in generateKeyPairForNonceReuse_Helper() local 200 generator.initialize( in generateKeyPairForNonceReuse_Helper() 206 KeyPair kp = generator.generateKeyPair(); in generateKeyPairForNonceReuse_Helper()
|
D | RSACipherTest.java | 302 KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in testRsaOaepDecryptWithWrongMGF1DigestFails() local 303 generator.initialize(new KeyGenParameterSpec.Builder("test_1", in testRsaOaepDecryptWithWrongMGF1DigestFails() 310 KeyPair keyPair = generator.generateKeyPair(); in testRsaOaepDecryptWithWrongMGF1DigestFails()
|
/cts/tools/manifest-generator/tests/ |
D | Android.bp | 20 name: "compatibility-manifest-generator-tests", 25 "compatibility-manifest-generator",
|
/cts/tools/manifest-generator/ |
D | MANIFEST.mf | 2 Main-Class: com.android.compatibility.common.generator.ManifestGenerator
|
D | Android.bp | 20 name: "compatibility-manifest-generator",
|
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/ |
D | AndroidManifestXml.kt | 17 package android.content.pm.parsing.cts.generator.api
|
D | ApkGenerator.kt | 17 package android.content.pm.parsing.cts.generator.api in <lambda>()
|
/cts/ |
D | run_unit_tests.sh | 71 ${CTS_DIR}/../test/suite_harness/common/host-side/manifest-generator/tests/run_tests.sh
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 143 Random generator = new Random(seed); in order() local 145 int j = generator.nextInt(i + 1); in order()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PickerProviderMediaGenerator.java | 404 MediaGenerator generator = sMediaGeneratorMap.get(authority); in getMediaGenerator() local 405 if (generator == null) { in getMediaGenerator() 406 generator = new MediaGenerator(context); in getMediaGenerator() 407 sMediaGeneratorMap.put(authority, generator); in getMediaGenerator() 409 return generator; in getMediaGenerator()
|
D | RemoteVideoPreviewTest.java | 390 private void addImage(MediaGenerator generator, String localId, String cloudId) in addImage() argument 392 generator.addMedia(localId, cloudId, /* albumId */ null, "image/jpeg", in addImage() 406 private void addVideo(MediaGenerator generator, String localId, String cloudId) in addVideo() argument 408 generator.addMedia(localId, cloudId, /* albumId */ null, "video/mp4", in addVideo()
|
D | PhotoPickerCloudUtils.java | 127 public static void addImage(PickerProviderMediaGenerator.MediaGenerator generator, in addImage() argument 131 generator.addMedia(localId, cloudId, /* albumId */ null, "image/jpeg", in addImage()
|
/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/ |
D | UsesSdkTest.kt | 19 import android.content.pm.parsing.cts.generator.api.AndroidManifestXml 20 import android.content.pm.parsing.cts.generator.api.ApkGenerator
|
/cts/tools/manifest-generator/tests/src/com/android/compatibility/common/generator/ |
D | ManifestGeneratorTest.java | 17 package com.android.compatibility.common.generator;
|
/cts/tools/cts-device-info/ |
D | Android.bp | 90 ":compatibility-manifest-generator", 93 cmd: "$(location :compatibility-manifest-generator) " +
|
/cts/build/ |
D | device_info_package.mk | 70 MANIFEST_GENERATOR_JAR := $(HOST_OUT_JAVA_LIBRARIES)/compatibility-manifest-generator.jar
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 127 final Random generator = new Random(); in generateRandomBitmap() local 130 bmp.setPixel(x, y, generator.nextInt(Integer.MAX_VALUE)); in generateRandomBitmap()
|
/cts/tools/manifest-generator/src/com/android/compatibility/common/generator/ |
D | ManifestGenerator.java | 17 package com.android.compatibility.common.generator;
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorWindowTest.java | 509 Random generator = new Random(); in createTestList() local 516 col.add(j == 0 ? i : generator.nextInt()); in createTestList()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | SecurityLoggingTest.java | 648 final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in generateKey() local 649 generator.initialize( in generateKey() 651 final KeyPair keyPair = generator.generateKeyPair(); in generateKey()
|