Home
last modified time | relevance | path

Searched defs:spec (Results 1 – 25 of 37) sorted by relevance

12

/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationSpecTest.java45 …final TranslationSpec spec = new TranslationSpec(ULocale.ENGLISH, TranslationSpec.DATA_FORMAT_TEXT… in testSpec_validSpec() local
53 …final TranslationSpec spec = new TranslationSpec(ULocale.ENGLISH, TranslationSpec.DATA_FORMAT_TEXT… in testParceledSpec() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java47 KeyProtection spec = new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in testDefaults() local
81 KeyProtection spec = new KeyProtection.Builder( in testSettersReflectedInGetters() local
130 KeyProtection spec = new KeyProtection.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
191 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaSetterParams() local
243 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaGetterReturnValues() local
DKeyGenParameterSpecTest.java57 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testDefaults() local
112 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSettersReflectedInGetters() local
192 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
257 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testImmutabilityViaSetterParams() local
319 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testImmutabilityViaGetterReturnValues() local
DKeyFactoryTest.java265 ECPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
272 RSAPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
380 PKCS8EncodedKeySpec spec = new PKCS8EncodedKeySpec(pkcs8EncodedForm); in testGeneratePrivateRejectsPKCS8EncodedKeySpec() local
409 X509EncodedKeySpec spec = new X509EncodedKeySpec(x509EncodedForm); in testGeneratePublicRejectsX509EncodedKeySpec() local
438 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePrivateRejectsTransparentKeySpec() local
468 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePublicRejectsTransparentKeySpec() local
DAESCBCCipherTestBase.java56 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DAESCTRCipherTestBase.java54 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DDESedeCBCPKCS7PaddingCipherTest.java20 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DDESedeCBCNoPaddingCipherTest.java20 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DKeyPairGeneratorSpecTest.java59 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Unencrypted_Success() local
DNoAttestKeyTest.java132 private Certificate[] generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DKeyAttestationTest.java301 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_NoChallenge() local
489 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId() local
520 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_UniqueIdWorksWithCorrectPermission() local
672 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_NoChallenge() local
763 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, in testAesAttestation() local
787 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testHmacAttestation() local
1564 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey()
1572 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DAESGCMCipherTestBase.java66 GCMParameterSpec spec = params.getParameterSpec(GCMParameterSpec.class); in getIv() local
DKeyGeneratorTest.java296 KeyGenParameterSpec spec; in testAesKeySupportedSizesHelper() local
344 KeyGenParameterSpec spec; in testDESKeySupportedSizes() local
394 KeyGenParameterSpec spec; in testHmacKeySupportedSizesHelper() local
DBlockCipherTestBase.java1540 protected void init(int opmode, Key key, AlgorithmParameters spec) in init()
1546 protected void init(int opmode, Key key, AlgorithmParameters spec, SecureRandom random) in init()
1552 protected void init(int opmode, Key key, AlgorithmParameterSpec spec) in init()
1558 protected void init(int opmode, Key key, AlgorithmParameterSpec spec, SecureRandom random) in init()
1773 IvParameterSpec spec = new IvParameterSpec(iv); in assertInitRejectsIvParameterSpec() local
DImportWrappedKeyTest.java358 AlgorithmParameterSpec spec = new KeyGenParameterSpec.Builder(wrappingKeyAlias, in importWrappedKey() local
394 …OAEPParameterSpec spec = new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA1, PSource.… in wrapKey() local
DAttestKeyTest.java279 private Certificate[] generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DKeyAgreementTest.java248 private static KeyPair generateEphemeralAndroidKeyPair(ECGenParameterSpec spec) in generateEphemeralAndroidKeyPair()
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeInfo.java26 public final int spec; field in ThemeInfo
31 ThemeInfo(int spec, int id, int apiLevel, String name) { in ThemeInfo()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DKeystoreAttestationDeviceInfo.java77 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
119 KeyGenParameterSpec spec = in loadCertAndCollectAttestation() local
/cts/hostsidetests/appsecurity/test-apps/AuthBoundKeyApp/src/com/android/cts/authboundkey/
DAuthBoundKeyAppTest.java55 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testGenerateAuthBoundKey() local
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DInlinePresentationTest.java88 InlinePresentationSpec spec = createSpec ? new InlinePresentationSpec.Builder( in createInlinePresentation() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java365 KeyGenParameterSpec spec = specBuilder.build(); in generateKeyAndCheckAttestation() local
671 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testCanSetKeyPairCert() local
703 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testCanSetKeyPairCertChain() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java171 KeyGenParameterSpec spec = in onClick() local
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCredentialManagementAppTest.java252 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, in setKeyPairCertificate_isCredentialManagementApp_success() local
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java642 KeyProtection spec, Integer newPurposes) { in buildUponInternal()
662 public static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon()
666 public static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon()
681 KeyGenParameterSpec spec, Integer newPurposes) { in buildUponInternal()

12