Searched refs:xmlFile (Results 1 – 8 of 8) 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()
380 private void verifyReadXmlReturnsExpectedSignatures(String xmlFile, int expectedSchemeVersion, in verifyReadXmlReturnsExpectedSignatures() argument382 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignatures()397 private void verifyReadXmlReturnsExpectedSignaturesAndLineage(String xmlFile, in verifyReadXmlReturnsExpectedSignaturesAndLineage() argument399 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignaturesAndLineage()452 private TypedXmlPullParser getXMLFromResources(String xmlFile) throws Exception { in getXMLFromResources() argument454 TEST_RESOURCES_FOLDER + "/" + xmlFile); in getXMLFromResources()
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()
107 File xmlFile = writeToXml(CREDENTIAL_MANAGEMENT_APP); in writeToXmlAndReadFromXml() local109 CredentialManagementApp loadedCredentialManagementApp = readFromXml(xmlFile); in writeToXmlAndReadFromXml()
742 const char* xmlFile = nullptr; in getInstance() local745 xmlFile = f; in getInstance()749 if (xmlFile == nullptr) { in getInstance()754 sInstance = createInstanceFromXmlFile(xmlFile); in getInstance()991 bool MediaProfiles::checkXmlFile(const char* xmlFile) { in checkXmlFile() argument993 return stat(xmlFile, &fStat) == 0 && S_ISREG(fStat.st_mode); in checkXmlFile()
522 void restore(File xmlFile, TypedXmlPullParser parser) { in restore() argument548 mTimestamp = xmlFile.lastModified(); in restore()
473 static bool checkXmlFile(const char* xmlFile);