/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 150 int[] purposes = { in testEcAttestation() local 156 for (int purposeIndex = 0; purposeIndex < purposes.length; ++purposeIndex) { in testEcAttestation() 160 curves[curveIndex], keySizes[curveIndex], purposes[purposeIndex]); in testEcAttestation() 163 curves[curveIndex], keySizes[curveIndex], purposes[purposeIndex]); in testEcAttestation() 247 int[] purposes = { in testRsaAttestation() local 281 for (int purpose : purposes) { in testRsaAttestation() 392 int purposes, String[] paddingModes) throws Exception { in testRsaAttestation() argument 399 new KeyGenParameterSpec.Builder(keystoreAlias, purposes) in testRsaAttestation() 409 if (isEncryptionPurpose(purposes)) { in testRsaAttestation() 414 if (isSignaturePurpose(purposes)) { in testRsaAttestation() [all …]
|
D | AuthorizationList.java | 155 private Set<Integer> purposes; field in AuthorizationList 196 purposes = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList() 298 public static String purposesToString(Set<Integer> purposes) { in purposesToString() argument 299 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); in purposesToString() 356 return purposes; in getPurposes() 507 if (purposes != null && !purposes.isEmpty()) { in toString() 508 s.append("\nPurposes: ").append(purposesToString(purposes)); in toString()
|
D | SecretKeyFactoryTest.java | 94 int purposes; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local 98 purposes = KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 101 purposes = KeyProperties.PURPOSE_DECRYPT; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 105 keyGenerator.init(new KeyGenParameterSpec.Builder("test1", purposes) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 117 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyGeneratorTest.java | 473 int purposes; in testGenerateHonorsRequestedAuthorizations() local 478 purposes = KeyProperties.PURPOSE_SIGN; in testGenerateHonorsRequestedAuthorizations() 481 purposes = KeyProperties.PURPOSE_DECRYPT; in testGenerateHonorsRequestedAuthorizations() 484 keyGenerator.init(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizations() 496 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizations() 520 private static KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() argument 521 return new KeyGenParameterSpec.Builder("test1", purposes); in getWorkingSpec()
|
D | TestUtils.java | 487 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local 488 KeyProtection.Builder result = new KeyProtection.Builder(purposes); in buildUponInternal() 526 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local 528 new KeyGenParameterSpec.Builder(spec.getKeystoreAlias(), purposes); in buildUponInternal() 863 String transformation, int purposes) { in getMinimalWorkingImportParametersForCipheringWith() argument 864 return getMinimalWorkingImportParametersForCipheringWith(transformation, purposes, false); in getMinimalWorkingImportParametersForCipheringWith() 868 String transformation, int purposes, boolean ivProvidedWhenEncrypting) { in getMinimalWorkingImportParametersForCipheringWith() argument 877 && ((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0)) { in getMinimalWorkingImportParametersForCipheringWith() 881 purposes) in getMinimalWorkingImportParametersForCipheringWith() 892 purposes) in getMinimalWorkingImportParametersForCipheringWith()
|
D | KeyFactoryTest.java | 108 int purposes = KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local 111 keyGenerator.initialize(new KeyGenParameterSpec.Builder("test1", purposes) in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() 123 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyPairGeneratorTest.java | 316 int purposes = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT; in testGenerateHonorsRequestedAuthorizations() local 318 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizations() 330 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizations() 1537 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() argument 1538 return new KeyGenParameterSpec.Builder(TEST_ALIAS_1, purposes); in getWorkingSpec()
|
D | CipherTest.java | 1509 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importDefaultKatKey() argument 1512 transformation, purposes, ivProvidedWhenEncrypting); in importDefaultKatKey() 1517 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importKatKeys() argument 1520 transformation, purposes, ivProvidedWhenEncrypting); in importKatKeys()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | pixel_format_f32.rsh | 5 // following purposes in the refocus filter pipeline.
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 317 Of course, for experimental purposes, post-linkage optimization,
|