Home
last modified time | relevance | path

Searched refs:xml_file (Results 1 – 14 of 14) sorted by relevance

/aosp12/system/testing/gtest_extras/
H A DOptions.cpp163 std::string xml_file(value.substr(4)); in SetXmlFile() local
164 if (xml_file.empty()) { in SetXmlFile()
169 if (xml_file[0] != '/') { in SetXmlFile()
178 xml_file = std::string(cwd) + '/' + xml_file; in SetXmlFile()
183 if (xml_file.back() == '/') { in SetXmlFile()
184 xml_file += "test_details.xml"; in SetXmlFile()
186 strings_.find("xml_file")->second = xml_file; in SetXmlFile()
H A DOptions.h51 const std::string& xml_file() const { return strings_.at("xml_file"); } in xml_file() function
H A DIsolate.cpp673 FILE* fp = fopen(options_.xml_file().c_str(), "w"); in WriteXmlResults()
675 printf("Cannot open xml file '%s': %s\n", options_.xml_file().c_str(), strerror(errno)); in WriteXmlResults()
805 if (!options_.xml_file().empty()) { in Run()
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp333 for (auto xml_file : files_) { in Dump() local
337 auto xml = apk->LoadXml(xml_file, GetDiagnostics()); in Dump()
358 io::IFile* file = apk->GetFileCollection()->FindFile(xml_file); in Dump()
360 GetDiagnostics()->Error(DiagMessage(xml_file) in Dump()
361 << "File '" << xml_file << "' not found in APK"); in Dump()
368 GetDiagnostics()->Error(DiagMessage() << "Failed to open " << xml_file); in Dump()
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
H A DIPACM_Xml.h288 char *xml_file, /* Filename and path */
295 char *xml_file, /* Filename and path */
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
H A DIPACM_Xml.h288 char *xml_file, /* Filename and path */
295 char *xml_file, /* Filename and path */
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
H A DIPACM_Xml.h288 char *xml_file, /* Filename and path */
295 char *xml_file, /* Filename and path */
/aosp12/bionic/benchmarks/tests/
H A Dinterface_test.cpp60 static std::string GetBionicXmlArg(const char* xml_file) { in GetBionicXmlArg() argument
61 return "--bionic_xml=" + android::base::GetExecutableDirectory() + "/test_suites/" + xml_file; in GetBionicXmlArg()
/aosp12/system/testing/gtest_extras/tests/
H A DOptionsTest.cpp95 EXPECT_EQ("", options.xml_file()); in TEST_F()
480 EXPECT_EQ("/file.xml", options.xml_file()); in TEST_F()
486 EXPECT_EQ("/directory/test_details.xml", options.xml_file()); in TEST_F()
496 EXPECT_EQ(expected_file, options.xml_file()); in TEST_F()
663 EXPECT_EQ("", options.xml_file()); in TEST_F()
835 EXPECT_EQ("/file.xml", options.xml_file()); in TEST_F()
H A DSystemTests.cpp919 FILE* xml_file = fopen(tf.path, "r"); in TEST_F() local
920 ASSERT_TRUE(xml_file != nullptr) << "Failed to find xml file:\n" << raw_output_; in TEST_F()
925 while ((bytes = fread(buffer.data(), 1, buffer.size(), xml_file)) > 0) { in TEST_F()
928 fclose(xml_file); in TEST_F()
/aosp12/art/test/utils/
H A Dregen-test-files722 for xml_file in included_xml_files:
724 include.setAttribute("name", xml_file)
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_Xml.cpp115 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument
122 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in ipacm_read_cfg_xml()
454 int IPACM_read_firewall_xml(char *xml_file, IPACM_firewall_conf_t *config) in IPACM_read_firewall_xml() argument
460 IPACM_ASSERT(xml_file != NULL); in IPACM_read_firewall_xml()
464 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in IPACM_read_firewall_xml()
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
H A DIPACM_Xml.cpp115 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument
122 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in ipacm_read_cfg_xml()
454 int IPACM_read_firewall_xml(char *xml_file, IPACM_firewall_conf_t *config) in IPACM_read_firewall_xml() argument
460 IPACM_ASSERT(xml_file != NULL); in IPACM_read_firewall_xml()
464 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in IPACM_read_firewall_xml()
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
H A DIPACM_Xml.cpp124 int ipacm_read_cfg_xml(char *xml_file, IPACM_conf_t *config) in ipacm_read_cfg_xml() argument
131 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in ipacm_read_cfg_xml()
463 int IPACM_read_firewall_xml(char *xml_file, IPACM_firewall_conf_t *config) in IPACM_read_firewall_xml() argument
469 IPACM_ASSERT(xml_file != NULL); in IPACM_read_firewall_xml()
473 doc = xmlReadFile(xml_file, "UTF-8", XML_PARSE_NOBLANKS); in IPACM_read_firewall_xml()