/cts/suite/audio_quality/test/ |
ModelBuilderTest.cpp | 28 android::String8 xmlFile("test_description/test/no_attrib.xml"); 29 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 36 android::String8 xmlFile("test_description/host_speaker_calibration.xml"); 37 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 44 android::String8 xmlFile("test_description/all_playback.xml"); 45 TaskGeneric* testBatch = mModelBuilder.parseTestDescriptionXml(xmlFile); 52 android::String8 xmlFile("test_description/all_playback.xml"); 53 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile, true); 60 android::String8 xmlFile("test_description/test/missing_mandatory.xml"); 61 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile); [all...] |
/sdk/eclipse/sites/external/ |
index.html | 8 var stylesheet, xmlFile, cache, doc; 13 xmlFile = document.implementation.createDocument("", "", null); 15 if (xmlFile.load){ 16 xmlFile.load("site.xml"); 21 xmlFile.addEventListener("load", transform, false); 26 xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0"); 27 xmlFile.async = false; 28 xmlFile.load("site.xml"); 40 processor.input = xmlFile; 50 doc = processor.transformToDocument(xmlFile); [all...] |
/sdk/eclipse/sites/internal/ |
index.html | 8 var stylesheet, xmlFile, cache, doc; 13 xmlFile = document.implementation.createDocument("", "", null); 15 if (xmlFile.load){ 16 xmlFile.load("site.xml"); 21 xmlFile.addEventListener("load", transform, false); 26 xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0"); 27 xmlFile.async = false; 28 xmlFile.load("site.xml"); 40 processor.input = xmlFile; 50 doc = processor.transformToDocument(xmlFile); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
XTagXmlResourceLoader.java | 38 protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exception { 40 String resourceName = toResourceName( xmlFile ); 56 * @param xmlFile 60 private String toResourceName( File xmlFile ) { 62 return xmlFile.getCanonicalPath().replaceAll( "[/\\\\\\\\]", "/" ).replaceAll( "^.*?/res/", "" )
|
XmlLoader.java | 15 protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception;
|
DocumentLoader.java | 62 private Document parse(File xmlFile) throws Exception { 64 return documentBuilder.parse(xmlFile);
|
DrawableResourceLoader.java | 93 * @param xmlFile Xml file 101 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 102 String name = toResourceName(xmlFile); 114 * @param xmlFile Xml File 117 private String toResourceName(File xmlFile) { 119 return xmlFile.getCanonicalPath().replaceAll("[/\\\\\\\\]", "/")
|
MenuLoader.java | 33 protected void processResourceXml(File xmlFile, Document document, boolean ignored) throws Exception { 38 throw new RuntimeException("Expected only one top-level item in menu file " + xmlFile.getName()); 40 throw new RuntimeException("Expected a top-level item called 'menu' in menu file " + xmlFile.getName()); 43 menuNodesByMenuName.put("menu/" + xmlFile.getName().replace(".xml", ""), topLevelNode);
|
XpathResourceXmlLoader.java | 21 @Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception {
|
ViewLoader.java | 40 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 43 String layoutName = xmlFile.getParentFile().getName() + "/" + xmlFile.getName().replace(".xml", "");
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPackageRepo.java | 65 for (File xmlFile : xmlFiles) { 66 parseTestFromXml(xmlFile); 70 private void parseTestFromXml(File xmlFile) { 73 parser.parse(createStreamFromFile(xmlFile)); 79 xmlFile.getAbsolutePath())); 83 xmlFile.getAbsolutePath())); 87 xmlFile.getAbsolutePath())); 97 * @param xmlFile 101 InputStream createStreamFromFile(File xmlFile) throws FileNotFoundException { 102 return new BufferedInputStream(new FileInputStream(xmlFile)); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/tools/ |
TestVersionTracker.java | 29 private String xmlFile; 57 public void parse(String xmlFile){ 58 this.xmlFile = xmlFile; 61 parser.parse(this.xmlFile); 85 File thisFile = new File(xmlFile);
|
/external/expat/tests/ |
xmltest.sh | 99 for xmlfile in *.xml ; do 100 RunXmlwfWF "$xmlfile" "$xmldir/" 108 for xmlfile in *pass*.xml ; do 109 RunXmlwfWF "$xmlfile" "oasis/" 127 for xmlfile in *.xml ; do 128 RunXmlwfNotWF "$xmlfile" "$xmldir/" 135 for xmlfile in *fail*.xml ; do 136 RunXmlwfNotWF "$xmlfile" "oasis/"
|
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/ |
SampleGenProperties.groovy | 180 def xmlFile = project.file(templateXml()) 181 if (xmlFile.exists()) { 182 def xml = new XmlSlurper().parse(xmlFile) 197 def xmlFile = project.file(templateXml()) 198 if (xmlFile.exists()) { 199 def xml = new XmlSlurper().parse(xmlFile) 223 def xmlFile = project.file(templateXml()) 224 if (xmlFile.exists()) { 226 def params = freemarker.ext.dom.NodeModel.parse(xmlFile) 261 def xmlFile = project.file(templateXml() [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
ElementParser.java | 57 public void parse(String xmlFile){ 61 parser.parse(xmlFile,this); 72 String xmlFile=null; 75 xmlFile=install+"/features/"+id+"/"+"feature.xml"; 77 xmlFile=install+"/plugins/"+id+"/"+"plugin.xml"; 79 xmlFile=install+"/plugins/"+"/"+id+"/"+"fragment.xml"; 81 if (new File(xmlFile).exists()) 82 parse(xmlFile);
|
/cts/suite/audio_quality/executable/src/ |
main.cpp | 85 android::String8 xmlFile(argv[optind]); 133 UniquePtr<TaskGeneric> topTask(modelBuilder.parseTestDescriptionXml(xmlFile)); 135 LOGE("Parsing of %x failed", xmlFile.string()); 138 Settings::Instance()->addSetting(Settings::ETEST_XML, xmlFile);
|
/cts/tools/utils/ |
android_api_description_splitter.py | 21 # android_api_description.py xmlfile tagname
85 def __init__(self, xmlfile, outPath):
86 self.doc = xml.dom.minidom.parse(xmlfile)
148 print "Usage: splitxml.py xmlfile outpath tagname"
|
/external/bzip2/ |
xmlproc.sh | 36 xmlfile=$1; shift 38 if !(test -f $xmlfile); then 39 echo "No such file: $xmlfile"; 47 basename=$xmlfile 56 # first process the xmlfile with CDATA tags 57 ./format.pl $xmlfile $xmlfmtfile
|
/libcore/luni/src/main/java/java/util/prefs/ |
XMLParser.java | 441 * Returns the preferences from {@code xmlFile}. Returns empty properties if 444 static Properties readXmlPreferences(File xmlFile) { 446 if (!xmlFile.exists()) { 447 xmlFile.getParentFile().mkdirs(); 448 } else if (xmlFile.canRead()) { 451 reader = new InputStreamReader(new FileInputStream(xmlFile), "UTF-8"); 468 xmlFile.delete(); 474 * Writes the preferences to {@code xmlFile}. 476 static void writeXmlPreferences(File xmlFile, Properties properties) throws IOException { 477 File parent = xmlFile.getParentFile() [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_rss/ |
feedValidate.xml | 26 XMLFile="../data/builds-emf.xml" >
|
/cts/tests/tests/sax/src/android/sax/cts/ |
ElementTest.java | 41 private static final String XMLFILE = "<feed xmlns='http://www.w3.org/2005/Atom'>" 124 InputSource source = new InputSource(new StringReader(XMLFILE));
|
/external/chromium_org/third_party/expat/files/ |
MANIFEST | 120 xmlwf/xmlfile.c 121 xmlwf/xmlfile.h
|
/external/doclava/src/com/google/doclava/ |
SinceTagger.java | 60 String xmlFile = versionSpec.getKey(); 65 specApi = new ApiCheck().parseApi(xmlFile); 69 Errors.error(Errors.BROKEN_SINCE_FILE, null, "Failed to parse " + xmlFile
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
iphoto_data_provider_browsertest.cc | 97 base::FilePath XmlFile() const { 126 XmlFile(), 144 file_util::WriteFile(XmlFile(), xml.c_str(), xml.size())); 454 EXPECT_EQ(1L, file_util::WriteFile(XmlFile(), " ", 1));
|
itunes_data_provider_browsertest.cc | 111 base::FilePath XmlFile() const { 157 XmlFile(), 196 file_util::WriteFile(XmlFile(), xml.c_str(), xml.size())); 346 ASSERT_EQ(1L, file_util::WriteFile(XmlFile(), " ", 1));
|