Home
last modified time | relevance | path

Searched defs:spec (Results 1 – 25 of 40) 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/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/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java46 KeyProtection spec = new KeyProtection.Builder(KeyProperties.PURPOSE_ENCRYPT) in testDefaults() local
107 KeyProtection spec = specBuilder.build(); in testSettersReflectedInGetters() local
143 KeyProtection spec = new KeyProtection.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
220 KeyProtection spec = specBuilder.build(); in testImmutabilityViaSetterParams() local
286 KeyProtection spec = specBuilder.build(); in testImmutabilityViaGetterReturnValues() local
DKeyGenParameterSpecTest.java58 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testDefaults() local
147 KeyGenParameterSpec spec = specBuilder.build(); in testSettersReflectedInGetters() local
207 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testSetKeyValidityEndDateAppliesToBothEndDates() local
290 KeyGenParameterSpec spec = specBuilder.build(); in testImmutabilityViaSetterParams() local
366 KeyGenParameterSpec spec = specBuilder.build(); in testImmutabilityViaGetterReturnValues() local
DKeyFactoryTest.java269 ECPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
276 RSAPublicKeySpec spec = in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec() local
384 PKCS8EncodedKeySpec spec = new PKCS8EncodedKeySpec(pkcs8EncodedForm); in testGeneratePrivateRejectsPKCS8EncodedKeySpec() local
413 X509EncodedKeySpec spec = new X509EncodedKeySpec(x509EncodedForm); in testGeneratePublicRejectsX509EncodedKeySpec() local
442 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePrivateRejectsTransparentKeySpec() local
472 KeySpec spec = anotherKeyFactory.getKeySpec(key, keySpecClass); in testGeneratePublicRejectsTransparentKeySpec() local
DAESCTRCipherTestBase.java54 IvParameterSpec spec = params.getParameterSpec(IvParameterSpec.class); in getIv() local
DAESCBCCipherTestBase.java56 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.java377 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_NoChallenge() local
556 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId() local
601 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testEcAttestation_UniqueIdWorksWithCorrectPermission() local
805 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_NoChallenge() local
844 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testRsaAttestation_DeviceLocked() local
904 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, in testAesAttestation() local
940 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(keystoreAlias, PURPOSE_SIGN) in testHmacAttestation() local
1898 private void generateKey(KeyGenParameterSpec spec, String algorithm) in generateKey()
1906 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DAESGCMCipherTestBase.java66 GCMParameterSpec spec = params.getParameterSpec(GCMParameterSpec.class); in getIv() local
DKeyGeneratorTest.java299 KeyGenParameterSpec spec; in testAesKeySupportedSizesHelper() local
347 KeyGenParameterSpec spec; in testDESKeySupportedSizes() local
397 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
DAttestKeyTest.java282 private Certificate[] generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
DKeyAgreementTest.java259 private static KeyPair generateEphemeralAndroidKeyPair(ECGenParameterSpec spec) in generateEphemeralAndroidKeyPair()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/
DEnterpriseContactsDeviceTest.java188 SearchSpec spec = new SearchSpec.Builder() in testHasEnterpriseAccess() local
205 SearchSpec spec = new SearchSpec.Builder() in testDoesNotHaveEnterpriseAccess() local
297 SearchSpec spec = new SearchSpec.Builder() in testSearchEnterpriseContacts() local
329 SearchSpec spec = new SearchSpec.Builder() in testSearchEnterpriseContacts_withProjection() local
364 SearchSpec spec = new SearchSpec.Builder() in testSearchEnterpriseContacts_withFilter() local
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DKeystoreAttestationDeviceInfo.java79 private void generateKeyPair(String algorithm, KeyGenParameterSpec spec) in generateKeyPair()
121 KeyGenParameterSpec spec = in loadCertAndCollectAttestation() local
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DInlinePresentationTest.java88 InlinePresentationSpec spec = createSpec ? new InlinePresentationSpec.Builder( in createInlinePresentation() local
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/
DGlobalSearchSessionShim.java160 @NonNull ObserverSpec spec, in registerObserverCallback()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DGlobalSearchSessionShimImpl.java130 @NonNull ObserverSpec spec, in registerObserverCallback()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java357 KeyGenParameterSpec spec = specBuilder.build(); in generateKeyAndCheckAttestation() local
667 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder( in testCanSetKeyPairCert() local
699 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

12