Searched refs:getPurposes (Results 1 – 12 of 12) sorted by relevance
185 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit()193 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()294 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
460 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec767 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()778 mPurposes = sourceSpec.getPurposes(); in Builder()
316 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()320 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()479 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPair()764 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
199 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
316 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
474 @KeyProperties.PurposeEnum int purposes = spec.getPurposes(); in setPrivateKeyEntry()677 @KeyProperties.PurposeEnum int purposes = params.getPurposes(); in setSecretKeyEntry()
51 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
85 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()139 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
110 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()152 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
39234 Landroid/security/keystore/KeyGenParameterSpec;->getPurposes()I39256 Landroid/security/keystore/KeyInfo;->getPurposes()I39338 Landroid/security/keystore/KeyProtection;->getPurposes()I
38604 method public int getPurposes();38657 method public int getPurposes();38726 method public int getPurposes();