HomeSort by relevance Sort by last modified time
    Searched refs:xmlFile (Results 1 - 25 of 34) sorted by null

1 2

  /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...]
  /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...]
CtsTest.java 797 InputStream createXmlStream(File xmlFile) throws FileNotFoundException {
798 return new BufferedInputStream(new FileInputStream(xmlFile));
  /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);
  /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 {
PreferenceLoader.java 34 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception {
37 prefNodesByResourceName.put( "xml/" + xmlFile.getName().replace(".xml", ""), topLevelNode.getChildren().get(0));
ViewLoader.java 40 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception {
43 String layoutName = xmlFile.getParentFile().getName() + "/" + xmlFile.getName().replace(".xml", "");
AttrResourceLoader.java 26 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception {
  /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);
  /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);
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
ExifTestRunner.java 76 File xmlFile = new File(xmlDir, xmlName);
77 if (xmlFile.exists()) {
79 mTestXmlPath.add(xmlFile.getAbsolutePath());
  /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/src/org/eclipse/releng/generators/
VersionTrackerTask.java 88 public void parse(String xmlFile,DefaultHandler handler){
90 parser.parse(xmlFile,handler);
TestVersionTracker.java 102 public void parse(String xmlFile,DefaultHandler handler){
104 parser.parse(xmlFile,handler);
TestResultsGenerator.java 586 private static String extractXmlRelativeFileName(String rootCanonicalPath, File xmlFile) {
590 xmlFileCanonicalPath = xmlFile.getCanonicalPath();
    [all...]
  /libcore/benchmarks/src/benchmarks/
XmlParseBenchmark.java 42 @Param String xmlFile;
74 FileInputStream fileIn = new FileInputStream(xmlFile);
  /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
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutCanvas.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
buildTools.jar 
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
CtsTestTest.java 87 InputStream createXmlStream(File xmlFile) throws FileNotFoundException {

Completed in 1033 milliseconds

1 2