Searched refs:xmlFile (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/ |
D | LicenseHtmlGeneratorFromXml.java | 135 for (File xmlFile : mXmlFiles) { in generateHtml() 136 parse(xmlFile); in generateHtml() 163 private void parse(File xmlFile) { in parse() argument 164 if (xmlFile == null || !xmlFile.exists() || xmlFile.length() == 0) { in parse() 170 if (xmlFile.getName().endsWith(".gz")) { in parse() 171 in = new InputStreamReader(new GZIPInputStream(new FileInputStream(xmlFile))); in parse() 173 in = new FileReader(xmlFile); in parse() 180 Log.e(TAG, "Failed to parse " + xmlFile, e); in parse() 185 Log.w(TAG, "Failed to close " + xmlFile); in parse()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageSignaturesTest.java | 379 private void verifyReadXmlReturnsExpectedSignatures(String xmlFile, int expectedSchemeVersion, in verifyReadXmlReturnsExpectedSignatures() argument 381 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignatures() 396 private void verifyReadXmlReturnsExpectedSignaturesAndLineage(String xmlFile, in verifyReadXmlReturnsExpectedSignaturesAndLineage() argument 398 TypedXmlPullParser parser = getXMLFromResources(xmlFile); in verifyReadXmlReturnsExpectedSignaturesAndLineage() 451 private TypedXmlPullParser getXMLFromResources(String xmlFile) throws Exception { in getXMLFromResources() argument 453 TEST_RESOURCES_FOLDER + "/" + xmlFile); in getXMLFromResources()
|
/frameworks/base/core/tests/coretests/src/android/security/ |
D | CredentialManagementAppTest.java | 107 File xmlFile = writeToXml(CREDENTIAL_MANAGEMENT_APP); in writeToXmlAndReadFromXml() local 109 CredentialManagementApp loadedCredentialManagementApp = readFromXml(xmlFile); in writeToXmlAndReadFromXml()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistSettings.java | 81 protected WatchlistSettings(File xmlFile) { in WatchlistSettings() argument 82 mXmlFile = new AtomicFile(xmlFile, "net-watchlist"); in WatchlistSettings()
|
D | WatchlistConfig.java | 98 protected WatchlistConfig(File xmlFile) { in WatchlistConfig() argument 99 mXmlFile = xmlFile; in WatchlistConfig()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 958 const char* xmlFile = nullptr; in getInstance() local 961 xmlFile = f; in getInstance() 965 if (xmlFile == nullptr) { in getInstance() 970 sInstance = createInstanceFromXmlFile(xmlFile); in getInstance() 1207 bool MediaProfiles::checkXmlFile(const char* xmlFile) { in checkXmlFile() argument 1209 return stat(xmlFile, &fStat) == 0 && S_ISREG(fStat.st_mode); in checkXmlFile()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchParamsPersister.java | 522 void restore(File xmlFile, TypedXmlPullParser parser) { in restore() argument 548 mTimestamp = xmlFile.lastModified(); in restore()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 510 static bool checkXmlFile(const char* xmlFile);
|
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | gen_vulkan.go | 93 xmlFile, err := os.Open(vk_xml_filename) 97 defer xmlFile.Close() 99 byteValue, _ := ioutil.ReadAll(xmlFile)
|