Home
last modified time | relevance | path

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

12

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java33 KeyProtection spec = new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in testDefaults() local
62 KeyProtection spec = new KeyProtection.Builder( in testSettersReflectedInGetters() local
103 KeyProtection spec = new KeyProtection.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
162 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaSetterParams() local
213 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaGetterReturnValues() local
DKeyGenParameterSpecTest.java43 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testDefaults() local
82 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSettersReflectedInGetters() local
148 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
211 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testImmutabilityViaSetterParams() local
272 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testImmutabilityViaGetterReturnValues() local
DKeyPairGeneratorSpecTest.java43 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Unencrypted_Success() local
65 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testBuilder_Encrypted_Success() local
DKeyFactoryTest.java240 ECPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
247 RSAPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
349 PKCS8EncodedKeySpec spec = new PKCS8EncodedKeySpec(pkcs8EncodedForm); in testGeneratePrivateRejectsPKCS8EncodedKeySpec() local
377 X509EncodedKeySpec spec = new X509EncodedKeySpec(x509EncodedForm); in testGeneratePublicRejectsX509EncodedKeySpec() local
405 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePrivateRejectsTransparentKeySpec() local
434 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePublicRejectsTransparentKeySpec() local
DDESedeCBCPKCS7PaddingCipherTest.java20 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DDESedeCBCNoPaddingCipherTest.java20 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DAESCTRCipherTestBase.java54 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DAESCBCCipherTestBase.java54 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DKeyAttestationTest.java215 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_NoChallenge() local
281 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId() local
384 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_NoChallenge() local
452 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, in testAesAttestation() local
475 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testHmacAttestation() local
1161 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey()
1169 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DKeyGeneratorTest.java266 KeyGenParameterSpec spec; in testAesKeySupportedSizesHelper() local
309 KeyGenParameterSpec spec; in testDESKeySupportedSizes() local
358 KeyGenParameterSpec spec; in testHmacKeySupportedSizesHelper() local
DAESGCMCipherTestBase.java61 GCMParameterSpec spec = params.getParameterSpec(GCMParameterSpec.class); in getIv() local
DImportWrappedKeyTest.java292 AlgorithmParameterSpec spec = new KeyGenParameterSpec.Builder(wrappingKeyAlias, in importWrappedKey() local
323 …OAEPParameterSpec spec = new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA1, PSource.… in wrapKey() local
DBlockCipherTestBase.java1361 protected void init(int opmode, Key key, AlgorithmParameters spec) in init()
1367 protected void init(int opmode, Key key, AlgorithmParameters spec, SecureRandom random) in init()
1373 protected void init(int opmode, Key key, AlgorithmParameterSpec spec) in init()
1379 protected void init(int opmode, Key key, AlgorithmParameterSpec spec, SecureRandom random) in init()
1626 IvParameterSpec spec = new IvParameterSpec(iv); in assertInitRejectsIvParameterSpec() local
DTestUtils.java507 KeyProtection spec, Integer newPurposes) { in buildUponInternal()
527 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon()
531 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon()
546 KeyGenParameterSpec spec, Integer newPurposes) { in buildUponInternal()
DKeyPairGeneratorTest.java160 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testInitialize_LegacySpec() local
175 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testInitialize_ModernSpec() local
1621 RSAKeyGenParameterSpec spec) throws Exception { in assertKeyGenUsingRSAKeyGenParameterSpecSupported()
DSignatureTest.java829 KeyProtection spec = new KeyProtection.Builder(0).build(); in testInitVerifySucceedsDespiteMissingAuthorizations() local
DCipherTest.java686 OAEPParameterSpec spec = params.getParameterSpec(OAEPParameterSpec.class); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local
/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/hostsidetests/securitybulletin/securityPatch/pac/
Dpac.cpp24 const char16_t* spec = u""; variable
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java458 KeyGenParameterSpec spec = specBuilder.build(); in generateKeyAndCheckAttestation() local
663 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testCanSetKeyPairCert() local
694 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testCanSetKeyPairCertChain() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java176 KeyGenParameterSpec spec = in onClick() local
/cts/tests/tests/widget/src/android/widget/cts/
DTabHostTest.java406 TabSpec spec = tabHost.newTabSpec("Tab 1"); in testKeyboardNavigation() local
DLinearLayoutTest.java224 int spec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in testWeightDistribution() local
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java959 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testGenerateKeyPair_failIfNotProfileOwner() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareRendererTests.kt117 val spec = RendererTest() in rendererTest() constant

12