Home
last modified time | relevance | path

Searched refs:generator (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/keystore/src/android/keystore/cts/performance/
DRsaKeyGenPerformanceTest.java55 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()
DHmacMacPerformanceTest.java91 KeystoreKeyGenerator generator, int keySize, int messageSize) throws Exception { in KeystoreHmacMacMeasurable() argument
92 super(generator, "sign", keySize, messageSize); in KeystoreHmacMacMeasurable()
DPerformanceTestBase.java169 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/
DKeyPairGeneratorTest.java265 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 …]
DECCurves.java116 ECPoint generator = new ECPoint(gx, gy); in createNistPCurveSpec() local
119 generator, in createNistPCurveSpec()
DECDSASignatureTest.java199 KeyPairGenerator generator = KeyPairGenerator.getInstance("EC", "AndroidKeyStore"); in generateKeyPairForNonceReuse_Helper() local
200 generator.initialize( in generateKeyPairForNonceReuse_Helper()
206 KeyPair kp = generator.generateKeyPair(); in generateKeyPairForNonceReuse_Helper()
DRSACipherTest.java302 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/
DAndroid.bp20 name: "compatibility-manifest-generator-tests",
25 "compatibility-manifest-generator",
/cts/tools/manifest-generator/
DMANIFEST.mf2 Main-Class: com.android.compatibility.common.generator.ManifestGenerator
DAndroid.bp20 name: "compatibility-manifest-generator",
/cts/hostsidetests/packagemanager/parsing/processing/api/src/android/content/pm/parsing/cts/generator/api/
DAndroidManifestXml.kt17 package android.content.pm.parsing.cts.generator.api
DApkGenerator.kt17 package android.content.pm.parsing.cts.generator.api in <lambda>()
/cts/
Drun_unit_tests.sh71 ${CTS_DIR}/../test/suite_harness/common/host-side/manifest-generator/tests/run_tests.sh
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java143 Random generator = new Random(seed); in order() local
145 int j = generator.nextInt(i + 1); in order()
/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPickerProviderMediaGenerator.java404 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()
DRemoteVideoPreviewTest.java390 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()
DPhotoPickerCloudUtils.java127 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/
DUsesSdkTest.kt19 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/
DManifestGeneratorTest.java17 package com.android.compatibility.common.generator;
/cts/tools/cts-device-info/
DAndroid.bp90 ":compatibility-manifest-generator",
93 cmd: "$(location :compatibility-manifest-generator) " +
/cts/build/
Ddevice_info_package.mk70 MANIFEST_GENERATOR_JAR := $(HOST_OUT_JAVA_LIBRARIES)/compatibility-manifest-generator.jar
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java127 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/
DManifestGenerator.java17 package com.android.compatibility.common.generator;
/cts/tests/tests/database/src/android/database/cts/
DCursorWindowTest.java509 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/
DSecurityLoggingTest.java648 final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "AndroidKeyStore"); in generateKey() local
649 generator.initialize( in generateKey()
651 final KeyPair keyPair = generator.generateKeyPair(); in generateKey()

12