Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java74 @IntDef({MUST_EXIST_UNENFORCED, MUST_EXIST_EXACTLY_ONE, MUST_EXIST_AT_LEAST_ONE})
76 static final int MUST_EXIST_UNENFORCED = 0; field in CertUtils
175 if ((children.size() == 0 && mustExist != MUST_EXIST_UNENFORCED) in getXmlNodeContents()
DSigXml.java97 CertUtils.MUST_EXIST_UNENFORCED, in parseIntermediateCerts()
DCertXml.java129 CertUtils.MUST_EXIST_UNENFORCED, in parseIntermediateCerts()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java151 assertThat(CertUtils.getXmlNodeContents(CertUtils.MUST_EXIST_UNENFORCED, root, "node1")) in getXmlNodeContents_singleLevel_succeeds()
158 … assertThat(CertUtils.getXmlNodeContents(CertUtils.MUST_EXIST_UNENFORCED, root, "node2", "node1")) in getXmlNodeContents_multipleLevels_succeeds()
167 CertUtils.MUST_EXIST_UNENFORCED, root, "node2", "node-not-exist")) in getXmlNodeContents_mustExistFalse_succeedsIfNotExist()