Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java139 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlRootNode_succeeds()
145 assertThrows(CertParsingException.class, () -> CertUtils.getXmlRootNode(new byte[0])); in getXmlRootNode_throwsIfEmptyInput()
150 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_singleLevel_succeeds()
157 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_multipleLevels_succeeds()
164 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistFalse_succeedsIfNotExist()
173 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistAtLeastOne_throwsIfNotExist()
186 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistExactlyOne_throwsIfNotExist()
199 Element root = CertUtils.getXmlRootNode(XML_STR.getBytes(UTF_8)); in getXmlNodeContents_mustExistExactlyOne_throwsIfMultipleExist()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXml.java81 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse()
DCertXml.java109 Element rootNode = CertUtils.getXmlRootNode(bytes); in parse()
DCertUtils.java122 static Element getXmlRootNode(byte[] xmlBytes) throws CertParsingException { in getXmlRootNode() method in CertUtils