Home
last modified time | relevance | path

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

/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
DAESCBCCipherTestBase.java54 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
DKeyAttestationTest.java198 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_NoChallenge() local
225 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId() local
317 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_NoChallenge() local
343 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_ENCRYPT) in testAesAttestation() local
361 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testHmacAttestation() local
877 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey()
885 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
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.java505 KeyProtection spec, Integer newPurposes) { in buildUponInternal()
525 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon()
529 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon()
544 KeyGenParameterSpec spec, Integer newPurposes) { in buildUponInternal()
DImportWrappedKeyTest.java291 AlgorithmParameterSpec spec = new KeyGenParameterSpec.Builder(wrappingKeyAlias, in importWrappedKey() local
DKeyPairGeneratorTest.java158 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testInitialize_LegacySpec() local
173 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testInitialize_ModernSpec() local
1561 RSAKeyGenParameterSpec spec) throws Exception { in assertKeyGenUsingRSAKeyGenParameterSpecSupported()
DSignatureTest.java829 KeyProtection spec = new KeyProtection.Builder(0).build(); in testInitVerifySucceedsDespiteMissingAuthorizations() local
DCipherTest.java627 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/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.java960 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
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java870 int spec = 1; in testGetChildMeasureSpec() local