/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 209 final int[] purposes = { in testEcAttestation() local 243 for (int purposeIndex = 0; purposeIndex < purposes.length; ++purposeIndex) { in testEcAttestation() 249 purposes[purposeIndex], devicePropertiesAttestation, in testEcAttestation() 669 final int[] purposes = { in testRsaAttestation() local 738 for (int purpose : purposes) { in testRsaAttestation() 1122 int purposes, String[] paddingModes, boolean devicePropertiesAttestation, in testRsaAttestation() argument 1126 " / purposes " + purposes + " / paddingModes " + Arrays.toString(paddingModes) + in testRsaAttestation() 1134 new KeyGenParameterSpec.Builder(keystoreAlias, purposes) in testRsaAttestation() 1146 if (isEncryptionPurpose(purposes)) { in testRsaAttestation() 1151 if (isSignaturePurpose(purposes)) { in testRsaAttestation() [all …]
|
D | SecretKeyFactoryTest.java | 112 int purposes; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local 116 purposes = KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 119 purposes = KeyProperties.PURPOSE_DECRYPT; in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 123 keyGenerator.init(new KeyGenParameterSpec.Builder("test1", purposes) in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 135 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyGeneratorTest.java | 731 int purposes; in testGenerateHonorsRequestedAuthorizationsHelper() local 736 purposes = KeyProperties.PURPOSE_SIGN; in testGenerateHonorsRequestedAuthorizationsHelper() 739 purposes = KeyProperties.PURPOSE_DECRYPT; in testGenerateHonorsRequestedAuthorizationsHelper() 742 keyGenerator.init(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizationsHelper() 755 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper() 915 private static KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() argument 916 return new KeyGenParameterSpec.Builder("test1", purposes); in getWorkingSpec()
|
D | KeyFactoryTest.java | 133 int purposes = KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_SIGN; in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() local 136 keyGenerator.initialize(new KeyGenParameterSpec.Builder("test1", purposes) in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations() 148 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | CipherTest.java | 2015 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importDefaultKatKey() argument 2018 transformation, purposes, ivProvidedWhenEncrypting); in importDefaultKatKey() 2023 String transformation, int purposes, boolean ivProvidedWhenEncrypting) in importKatKeys() argument 2025 return importKatKeys(transformation, purposes, ivProvidedWhenEncrypting, false, false); in importKatKeys() 2029 String transformation, int purposes, boolean ivProvidedWhenEncrypting, in importKatKeys() argument 2032 transformation, purposes, ivProvidedWhenEncrypting, isUnlockedDeviceRequired, in importKatKeys()
|
D | KeyPairGeneratorTest.java | 378 int purposes = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT; in testGenerateHonorsRequestedAuthorizationsHelper() local 380 generator.initialize(getWorkingSpec(purposes) in testGenerateHonorsRequestedAuthorizationsHelper() 393 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper() 2150 private KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { in getWorkingSpec() argument 2151 return new KeyGenParameterSpec.Builder(TEST_ALIAS_1, purposes); in getWorkingSpec()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 175 private Set<Integer> purposes; field in AuthorizationList 241 purposes = Asn1Utils.getIntegersFromAsn1Set(value); in AuthorizationList() 371 purposes = CborUtils.getIntSet(submodMap, key); in AuthorizationList() 508 public static String purposesToString(Set<Integer> purposes) { in purposesToString() argument 509 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); in purposesToString() 570 return purposes; in getPurposes() 804 if (purposes != null && !purposes.isEmpty()) { in toString() 805 s.append("\nPurposes: ").append(purposesToString(purposes)); in toString()
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 721 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local 722 KeyProtection.Builder result = new KeyProtection.Builder(purposes); in buildUponInternal() 760 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() local 762 new KeyGenParameterSpec.Builder(spec.getKeystoreAlias(), purposes); in buildUponInternal() 1171 String transformation, int purposes) { in getMinimalWorkingImportParametersForCipheringWith() argument 1172 return getMinimalWorkingImportParametersForCipheringWith(transformation, purposes, false); in getMinimalWorkingImportParametersForCipheringWith() 1176 String transformation, int purposes, boolean ivProvidedWhenEncrypting) { in getMinimalWorkingImportParametersForCipheringWith() argument 1177 return getMinimalWorkingImportParametersForCipheringWith(transformation, purposes, in getMinimalWorkingImportParametersForCipheringWith() 1182 String transformation, int purposes, boolean ivProvidedWhenEncrypting, in getMinimalWorkingImportParametersForCipheringWith() argument 1193 && ((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0)) { in getMinimalWorkingImportParametersForCipheringWith() [all …]
|
/cts/tests/framework/base/windowmanager/appPrereleaseSdk/fake-framework/ |
D | Android.bp | 17 // A fake framework that mimics an older, pre-release SDK for the purposes of
|
/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,
|