Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DEatAttestation.java52 List<Boolean> bootState = null; in EatAttestation() local
89 bootState = CborUtils.getBooleanList(extension, key); in EatAttestation()
107 if (bootState != null) { in EatAttestation()
109 eatBootStateTypeToVerifiedBootState(bootState, officialBuild)); in EatAttestation()
158 static int eatBootStateTypeToVerifiedBootState(List<Boolean> bootState, Boolean officialBuild) { in eatBootStateTypeToVerifiedBootState() argument
159 if (bootState.size() != 5) { in eatBootStateTypeToVerifiedBootState()
160 throw new RuntimeException("Boot state map has unexpected size: " + bootState.size()); in eatBootStateTypeToVerifiedBootState()
162 if (bootState.get(4)) { in eatBootStateTypeToVerifiedBootState()
163 throw new RuntimeException("debug-permanent-disable must never be true: " + bootState); in eatBootStateTypeToVerifiedBootState()
165 boolean verifiedOrSelfSigned = bootState.get(0); in eatBootStateTypeToVerifiedBootState()
[all …]