Home
last modified time | relevance | path

Searched refs:getKeymasterVersion (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java505 int kmVersion = attestation.getKeymasterVersion(); in checkAttestationApplicationId()
577 if (attestation.getKeymasterVersion() != 0) { in checkOrigin()
585 } else if (attestation.getKeymasterVersion() == 0) { in checkOrigin()
627 if (attestation.getKeymasterVersion() == 2) { in checkValidityPeriod()
683 || attestation.getKeymasterVersion() == 0) { in checkDigests()
687 switch (attestation.getKeymasterVersion()) { in checkDigests()
711 || attestation.getKeymasterVersion() == 0) { in checkPurposes()
741 assertThat(attestation.getKeymasterVersion(), either(is(2)).or(is(3)).or(is(4))); in checkAttestationSecurityLevelDependentParams()
752 attestation.getKeymasterVersion(), either(is(0)).or(is(1))); in checkAttestationSecurityLevelDependentParams()
754 assertThat("Software KM is version 3", attestation.getKeymasterVersion(), in checkAttestationSecurityLevelDependentParams()
[all …]
/cts/tests/security/src/android/keystore/cts/
DAttestation.java98 public int getKeymasterVersion() { in getKeymasterVersion() method in Attestation