Home
last modified time | relevance | path

Searched refs:getPurposes (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/
DDataType.java146 public List<Purpose> getPurposes() { in getPurposes() method in DataType
177 if (!this.getPurposes().isEmpty()) { in toOdDomElements()
183 this.getPurposes().stream() in toOdDomElements()
DDataLabels.java139 dataType.getPurposes().stream() in maybeAppendHrDataUsages()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyPairGeneratorSpi.java319 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()
323 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
388 if ((spec.getPurposes() & KeyProperties.PURPOSE_ATTEST_KEY) != 0 in checkAttestKeyPurpose()
389 && spec.getPurposes() != KeyProperties.PURPOSE_ATTEST_KEY) { in checkAttestKeyPurpose()
405 && spec.getPurposes() != KeyProperties.PURPOSE_AGREE_KEY) { in checkCorrectKeyPurposeForCurve()
409 && !hasOnlyAllowedPurposeForEd25519(spec.getPurposes())) { in checkCorrectKeyPurposeForCurve()
712 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPair()
1060 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
DAndroidKeyStoreKeyGeneratorSpi.java195 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit()
203 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()
361 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
DAndroidKeyStoreSpi.java495 KeyStore2ParameterUtils.forEachSetFlag(spec.getPurposes(), (purpose) -> { in setPrivateKeyEntry()
518 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()
804 KeyStore2ParameterUtils.forEachSetFlag(params.getPurposes(), (purpose) -> { in setSecretKeyEntry()
812 if ((params.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) { in setSecretKeyEntry()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java94 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()
153 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java54 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
/frameworks/base/keystore/java/android/security/keystore/
DKeyGenParameterSpec.java574 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec
1010 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()
1021 mPurposes = sourceSpec.getPurposes(); in Builder()
DKeyInfo.java215 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
DParcelableKeyGenParameterSpec.java65 out.writeInt(mSpec.getPurposes()); in writeToParcel()
DKeyProtection.java334 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java138 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()
180 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt39742 method public int getPurposes();
39803 method public int getPurposes();
39888 method public int getPurposes();
/frameworks/base/boot/
Dboot-image-profile.txt13395 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I
/frameworks/base/config/
Dboot-image-profile.txt13398 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I