Searched refs:xmlFile (Results 1 – 6 of 6) sorted by relevance
119 for (File xmlFile : mXmlFiles) { in generateHtml()120 parse(xmlFile); in generateHtml()147 private void parse(File xmlFile) { in parse() argument148 if (xmlFile == null || !xmlFile.exists() || xmlFile.length() == 0) { in parse()154 if (xmlFile.getName().endsWith(".gz")) { in parse()155 in = new InputStreamReader(new GZIPInputStream(new FileInputStream(xmlFile))); in parse()157 in = new FileReader(xmlFile); in parse()164 Log.e(TAG, "Failed to parse " + xmlFile, e); in parse()169 Log.w(TAG, "Failed to close " + xmlFile); in parse()
378 private void verifyReadXmlReturnsExpectedSignatures(String xmlFile, int expectedSchemeVersion, in verifyReadXmlReturnsExpectedSignatures() argument380 XmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignatures()395 private void verifyReadXmlReturnsExpectedSignaturesAndLineage(String xmlFile, in verifyReadXmlReturnsExpectedSignaturesAndLineage() argument397 XmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignaturesAndLineage()450 private XmlPullParser getXMLFromResources(String xmlFile) throws Exception { in getXMLFromResources() argument452 TEST_RESOURCES_FOLDER + "/" + xmlFile); in getXMLFromResources()
79 protected WatchlistSettings(File xmlFile) { in WatchlistSettings() argument80 mXmlFile = new AtomicFile(xmlFile, "net-watchlist"); in WatchlistSettings()
99 protected WatchlistConfig(File xmlFile) { in WatchlistConfig() argument100 mXmlFile = xmlFile; in WatchlistConfig()
658 const char* xmlFile = nullptr; in getInstance() local661 xmlFile = f; in getInstance()665 if (xmlFile == nullptr) { in getInstance()670 sInstance = createInstanceFromXmlFile(xmlFile); in getInstance()908 bool MediaProfiles::checkXmlFile(const char* xmlFile) { in checkXmlFile() argument910 return stat(xmlFile, &fStat) == 0 && S_ISREG(fStat.st_mode); in checkXmlFile()
360 static bool checkXmlFile(const char* xmlFile);