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.java53 List<Boolean> bootState = null; in EatAttestation() local
90 bootState = CborUtils.getBooleanList(extension, key); in EatAttestation()
109 if (bootState != null) { in EatAttestation()
111 eatBootStateTypeToVerifiedBootState(bootState, officialBuild)); in EatAttestation()
160 static int eatBootStateTypeToVerifiedBootState(List<Boolean> bootState, Boolean officialBuild) { in eatBootStateTypeToVerifiedBootState() argument
161 if (bootState.size() != 5) { in eatBootStateTypeToVerifiedBootState()
162 throw new RuntimeException("Boot state map has unexpected size: " + bootState.size()); in eatBootStateTypeToVerifiedBootState()
164 if (bootState.get(4)) { in eatBootStateTypeToVerifiedBootState()
165 throw new RuntimeException("debug-permanent-disable must never be true: " + bootState); in eatBootStateTypeToVerifiedBootState()
167 boolean verifiedOrSelfSigned = bootState.get(0); in eatBootStateTypeToVerifiedBootState()
[all …]