Home
last modified time | relevance | path

Searched refs:xmlFiles (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlLoader.java60 final List<File> xmlFiles = getVaildXmlFiles(); in generateHtmlFromDefaultXmlFiles() local
61 if (xmlFiles.isEmpty()) { in generateHtmlFromDefaultXmlFiles()
67 if (!isCachedHtmlFileOutdated(xmlFiles, cachedHtmlFile) in generateHtmlFromDefaultXmlFiles()
68 || generateHtmlFile(xmlFiles, cachedHtmlFile)) { in generateHtmlFromDefaultXmlFiles()
76 final List<File> xmlFiles = new ArrayList(); in getVaildXmlFiles() local
80 xmlFiles.add(file); in getVaildXmlFiles()
83 return xmlFiles; in getVaildXmlFiles()
90 private boolean isCachedHtmlFileOutdated(List<File> xmlFiles, File cachedHtmlFile) { in isCachedHtmlFileOutdated() argument
94 for (File file : xmlFiles) { in isCachedHtmlFileOutdated()
104 private boolean generateHtmlFile(List<File> xmlFiles, File htmlFile) { in generateHtmlFile() argument
[all …]
DLicenseHtmlGeneratorFromXml.java103 private LicenseHtmlGeneratorFromXml(List<File> xmlFiles) { in LicenseHtmlGeneratorFromXml() argument
104 mXmlFiles = xmlFiles; in LicenseHtmlGeneratorFromXml()
107 public static boolean generateHtml(List<File> xmlFiles, File outputFile) { in generateHtml() argument
108 LicenseHtmlGeneratorFromXml genertor = new LicenseHtmlGeneratorFromXml(xmlFiles); in generateHtml()