Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/
DLicenseHtmlLoaderCompatTest.java60 ArrayList<File> xmlFiles = new ArrayList<>(); in testLoadInBackground() local
61 xmlFiles.add(new File("test.xml")); in testLoadInBackground()
64 setupFakeData(xmlFiles, cachedHtmlFile, true, true); in testLoadInBackground()
71 ArrayList<File> xmlFiles = new ArrayList<>(); in testLoadInBackgroundWithNoVaildXmlFiles() local
74 setupFakeData(xmlFiles, cachedHtmlFile, true, true); in testLoadInBackgroundWithNoVaildXmlFiles()
81 ArrayList<File> xmlFiles = new ArrayList<>(); in testLoadInBackgroundWithNonOutdatedCachedHtmlFile() local
82 xmlFiles.add(new File("test.xml")); in testLoadInBackgroundWithNonOutdatedCachedHtmlFile()
85 setupFakeData(xmlFiles, cachedHtmlFile, false, true); in testLoadInBackgroundWithNonOutdatedCachedHtmlFile()
92 ArrayList<File> xmlFiles = new ArrayList<>(); in testLoadInBackgroundWithGenerateHtmlFileFailed() local
93 xmlFiles.add(new File("test.xml")); in testLoadInBackgroundWithGenerateHtmlFileFailed()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlLoaderCompat.java61 final List<File> xmlFiles = getVaildXmlFiles(); in generateHtmlFromDefaultXmlFiles() local
62 if (xmlFiles.isEmpty()) { in generateHtmlFromDefaultXmlFiles()
68 if (!isCachedHtmlFileOutdated(xmlFiles, cachedHtmlFile) in generateHtmlFromDefaultXmlFiles()
69 || generateHtmlFile(mContext, xmlFiles, cachedHtmlFile)) { in generateHtmlFromDefaultXmlFiles()
77 final List<File> xmlFiles = new ArrayList(); in getVaildXmlFiles() local
81 xmlFiles.add(file); in getVaildXmlFiles()
84 return xmlFiles; in getVaildXmlFiles()
91 private boolean isCachedHtmlFileOutdated(List<File> xmlFiles, File cachedHtmlFile) { in isCachedHtmlFileOutdated() argument
95 for (File file : xmlFiles) { in isCachedHtmlFileOutdated()
105 private boolean generateHtmlFile(Context context, List<File> xmlFiles, File htmlFile) { in generateHtmlFile() argument
[all …]
DLicenseHtmlGeneratorFromXml.java108 private LicenseHtmlGeneratorFromXml(List<File> xmlFiles) { in LicenseHtmlGeneratorFromXml() argument
109 mXmlFiles = xmlFiles; in LicenseHtmlGeneratorFromXml()
112 public static boolean generateHtml(List<File> xmlFiles, File outputFile, in generateHtml() argument
114 LicenseHtmlGeneratorFromXml genertor = new LicenseHtmlGeneratorFromXml(xmlFiles); in generateHtml()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DOmxStore.h51 const std::vector<std::string> &xmlFiles =
/frameworks/av/media/libstagefright/xmlparser/include/media/stagefright/xmlparser/
DMediaCodecsXmlParser.h134 const std::vector<std::string> &xmlFiles = getDefaultXmlNames(),