Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java32 KeyProtection spec = new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in testDefaults() local
59 KeyProtection spec = new KeyProtection.Builder( in testSettersReflectedInGetters() local
96 KeyProtection spec = new KeyProtection.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
155 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaSetterParams() local
206 KeyProtection spec = new KeyProtection.Builder( in testImmutabilityViaGetterReturnValues() local
DKeyGenParameterSpecTest.java43 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testDefaults() local
81 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSettersReflectedInGetters() local
145 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
208 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testImmutabilityViaSetterParams() local
269 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
DKeyAttestationTest.java186 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_NoChallenge() local
281 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_NoChallenge() local
307 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_ENCRYPT) in testAesAttestation() local
325 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testHmacAttestation() local
808 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey()
816 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DAESGCMCipherTestBase.java61 GCMParameterSpec spec = params.getParameterSpec(GCMParameterSpec.class); in getIv() local
DKeyGeneratorTest.java222 KeyGenParameterSpec spec; in testAesKeySupportedSizes() local
263 KeyGenParameterSpec spec; in testHmacKeySupportedSizes() local
DBlockCipherTestBase.java1340 protected void init(int opmode, Key key, AlgorithmParameters spec) in init()
1346 protected void init(int opmode, Key key, AlgorithmParameters spec, SecureRandom random) in init()
1352 protected void init(int opmode, Key key, AlgorithmParameterSpec spec) in init()
1358 protected void init(int opmode, Key key, AlgorithmParameterSpec spec, SecureRandom random) in init()
1605 IvParameterSpec spec = new IvParameterSpec(iv); in assertInitRejectsIvParameterSpec() local
DTestUtils.java486 KeyProtection spec, Integer newPurposes) { in buildUponInternal()
505 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon()
509 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon()
524 KeyGenParameterSpec spec, Integer newPurposes) { in buildUponInternal()
DKeyPairGeneratorTest.java158 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext()) in testInitialize_LegacySpec() local
173 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testInitialize_ModernSpec() local
1269 RSAKeyGenParameterSpec spec) throws Exception { in assertKeyGenUsingRSAKeyGenParameterSpecSupported()
DSignatureTest.java829 KeyProtection spec = new KeyProtection.Builder(0).build(); in testInitVerifySucceedsDespiteMissingAuthorizations() local
DCipherTest.java442 OAEPParameterSpec spec = params.getParameterSpec(OAEPParameterSpec.class); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java188 public final int spec; field in ThemeDeviceActivity.Theme
193 private Theme(int spec, int id, int apiLevel, String name) { in Theme()
/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java187 int spec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in testWeightDistribution() local
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java753 int spec = 1; in testGetChildMeasureSpec() local