Home
last modified time | relevance | path

Searched refs:xmlFiles (Results 1 – 6 of 6) 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.java64 final List<File> xmlFiles = getVaildXmlFiles(); in generateHtmlFromDefaultXmlFiles() local
65 if (xmlFiles.isEmpty()) { in generateHtmlFromDefaultXmlFiles()
71 if (!isCachedHtmlFileOutdated(xmlFiles, cachedHtmlFile) in generateHtmlFromDefaultXmlFiles()
72 || generateHtmlFile(mContext, xmlFiles, cachedHtmlFile)) { in generateHtmlFromDefaultXmlFiles()
80 final List<File> xmlFiles = new ArrayList(); in getVaildXmlFiles() local
84 xmlFiles.add(file); in getVaildXmlFiles()
87 return xmlFiles; in getVaildXmlFiles()
94 private boolean isCachedHtmlFileOutdated(List<File> xmlFiles, File cachedHtmlFile) { in isCachedHtmlFileOutdated() argument
98 for (File file : xmlFiles) { in isCachedHtmlFileOutdated()
108 private boolean generateHtmlFile(Context context, List<File> xmlFiles, File htmlFile) { in generateHtmlFile() argument
[all …]
DLicenseHtmlGeneratorFromXml.java117 private LicenseHtmlGeneratorFromXml(List<File> xmlFiles) { in LicenseHtmlGeneratorFromXml() argument
118 mXmlFiles = xmlFiles; in LicenseHtmlGeneratorFromXml()
121 public static boolean generateHtml(List<File> xmlFiles, File outputFile, in generateHtml() argument
123 LicenseHtmlGeneratorFromXml genertor = new LicenseHtmlGeneratorFromXml(xmlFiles); in generateHtml()
/frameworks/av/media/libmedia/tests/codeclist/
DCodecListTest.cpp88 const std::vector<std::string> &xmlFiles = MediaCodecsXmlParser::getDefaultXmlNames(); in TEST() local
90 status = parser.parseXmlFilesInSearchDirs(xmlFiles, searchDirsApex); in TEST()
/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(),