Searched refs:xmlFile (Results 1 – 6 of 6) sorted by relevance
135 for (File xmlFile : mXmlFiles) { in generateHtml()136 parse(xmlFile); in generateHtml()163 private void parse(File xmlFile) { in parse() argument164 if (xmlFile == null || !xmlFile.exists() || xmlFile.length() == 0) { in parse()170 if (xmlFile.getName().endsWith(".gz")) { in parse()171 in = new InputStreamReader(new GZIPInputStream(new FileInputStream(xmlFile))); in parse()173 in = new FileReader(xmlFile); in parse()180 Log.e(TAG, "Failed to parse " + xmlFile, e); in parse()185 Log.w(TAG, "Failed to close " + xmlFile); in parse()
379 private void verifyReadXmlReturnsExpectedSignatures(String xmlFile, int expectedSchemeVersion, in verifyReadXmlReturnsExpectedSignatures() argument381 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignatures()396 private void verifyReadXmlReturnsExpectedSignaturesAndLineage(String xmlFile, in verifyReadXmlReturnsExpectedSignaturesAndLineage() argument398 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignaturesAndLineage()451 private TypedXmlPullParser getXMLFromResources(String xmlFile) throws Exception { in getXMLFromResources() argument453 TEST_RESOURCES_FOLDER + "/" + xmlFile); in getXMLFromResources()
107 File xmlFile = writeToXml(CREDENTIAL_MANAGEMENT_APP); in writeToXmlAndReadFromXml() local109 CredentialManagementApp loadedCredentialManagementApp = readFromXml(xmlFile); in writeToXmlAndReadFromXml()
81 protected WatchlistSettings(File xmlFile) { in WatchlistSettings() argument82 mXmlFile = new AtomicFile(xmlFile, "net-watchlist"); in WatchlistSettings()
98 protected WatchlistConfig(File xmlFile) { in WatchlistConfig() argument99 mXmlFile = xmlFile; in WatchlistConfig()
522 void restore(File xmlFile, TypedXmlPullParser parser) { in restore() argument548 mTimestamp = xmlFile.lastModified(); in restore()