/test/testfwk/developer_test/src/core/config/ |
D | config_manager.py | 36 def __init__(self, filepath=""): argument 37 if filepath == "": 40 self.filepath = os.path.abspath(os.path.join( 43 self.filepath = filepath 49 if os.path.exists(self.filepath): 52 tree = ET.parse(self.filepath) 66 LOG.error(("Parse %s fail!" % self.filepath) + xml_exception.args) 73 if os.path.exists(self.filepath): 74 tree = ET.parse(self.filepath) 84 LOG.error("The %s file does not exist." % self.filepath) [all …]
|
D | resource_manager.py | 56 def _parse_resource_test_xml_file(self, filepath, targetname): argument 59 node = self.find_node_by_target(filepath, targetname) 116 def _get_file_name_extension(cls, filepath): argument 117 _, fullname = os.path.split(filepath) 119 LOG.debug("file path:{}".format(filepath))
|
/test/testfwk/developer_test/src/core/command/ |
D | gen.py | 44 filepath = os.path.join(sys.source_code_root_path, "test", 46 LOG.info("The fuzzer list file path: %s" % filepath) 47 if os.path.exists(filepath): 48 os.remove(filepath) 49 with os.fdopen(os.open(filepath, FLAGS, MODES), 'w') as gn_file:
|
/test/testfwk/xdevice/src/xdevice/_core/config/ |
D | resource_manager.py | 39 def _parse_test_xml_file(self, filepath, targetname): argument 42 node = self._find_node_by_target(filepath, targetname) 77 def _find_node_by_target(filepath, targetname): argument 80 if os.path.exists(filepath): 81 tree = ElementTree.parse(filepath) 94 def _get_filename_extension(filepath): argument 95 _, fullname = os.path.split(filepath)
|
/test/testfwk/developer_test/localCoverage/ |
D | utils.py | 168 def is_elffile(filepath: str) -> bool: 174 if not os.path.exists(filepath): 175 logger("{} not exists.".format(filepath), "ERROR") 179 file_states = os.stat(filepath) 183 with open(filepath, "rb") as f:
|
/test/testfwk/developer_test/src/core/build/ |
D | select_targets.py | 37 def _get_mlf_data_from_file(cls, filepath): argument 39 if os.path.exists(filepath): 40 with open(filepath, 'r') as mlf_file: 43 LOG.warning("The %s file load error." % filepath) 92 for filepath in mlf_file_list: 94 mlf_info_list = self._get_mlf_data_from_file(filepath)
|
D | build_manager.py | 43 def _make_gn_file(cls, filepath, target_list): argument 44 LOG.info("The gn file path: %s" % filepath) 45 if os.path.exists(filepath): 46 os.remove(filepath) 47 with os.fdopen(os.open(filepath, FLAGS, MODES), 'w') as gn_file:
|
/test/testfwk/developer_test/localCoverage/resident_service/ |
D | public_method.py | 25 def get_config_ip(filepath): argument 31 if os.path.exists(filepath): 32 tree = ET.parse(filepath)
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
D | spawnndk.cpp | 62 char filepath[] = "/data/storage/el2/base/files/fzl.txt"; in PosixSpawn() local 63 int fileDescribe = open(filepath, O_CREAT); in PosixSpawn() 64 posix_spawn(&Pid, filepath, nullptr, &spawnAttributes, (char *const *)argv, Environ); in PosixSpawn() 85 char filepath[] = "/data/storage/el2/base/files/fzl.txt"; in PosixSpawnP() local 86 int fileDescribe = open(filepath, O_CREAT); in PosixSpawnP() 87 posix_spawnp(&Pid, filepath, nullptr, &spawnAttributes, (char *const *)argv, Environ); in PosixSpawnP()
|
/test/testfwk/developer_test/src/core/driver/ |
D | drivers.py | 193 def _create_empty_result_file(filepath, filename, error_message): argument 201 if not os.path.exists(filepath): 202 with os.fdopen(os.open(filepath, FLAGS, MODES), 'w') as file_desc: 247 def _create_fuzz_crash_file(filepath, filename): argument 248 if not os.path.exists(filepath): 249 with os.fdopen(os.open(filepath, FLAGS, MODES), 'w') as file_desc: 273 def _create_fuzz_pass_file(filepath, filename): argument 274 if not os.path.exists(filepath): 275 with os.fdopen(os.open(filepath, FLAGS, MODES), 'w') as file_desc: 294 def _create_fuzz_result_file(filepath, filename, error_message): argument [all …]
|
/test/testfwk/developer_test/localCoverage/interfaceCoverage/ |
D | interfaceCoverage_gcov_lcov.py | 45 def create_coverage_result_outpath(filepath): argument 46 if os.path.exists(filepath): 47 shutil.rmtree(filepath) 48 os.makedirs(filepath) 114 def is_need_to_be_parsed(filepath): argument 116 if -1 != filepath.find(item):
|
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/ |
D | VDecEncNdkSample.h | 95 void SetReadPath(std::string filepath); 96 void SetSavePath(std::string filepath);
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
D | drivers.py | 117 def _create_empty_result_file(filepath, filename, error_message): argument 125 if not os.path.exists(filepath): 126 file_open = os.open(filepath, os.O_WRONLY | os.O_CREAT | os.O_APPEND, 161 filepath = self.obtain_test_result_file() 162 if not os.path.exists(filepath): 163 _create_empty_result_file(filepath, self.testsuite_name, 170 return filepath 176 filepath = os.path.join(result_savepath, "%s.xml" % str( 190 filepath) 195 filepath = os.path.join(result_savepath, "%s.xml" % [all …]
|
D | drivers_lite.py | 477 filepath = report_path + report_xml 479 sftp.get(remotepath=filepath, 489 filepath = report_path + report_xml 490 shutil.copy(filepath, 593 filepath = "{}{}".format(report_path, report_xml) 595 sftp.remove(filepath)
|
/test/testfwk/developer_test/third_party/lib/cpp/ |
D | BUILD.gn | 49 "//third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h", 61 "//third_party/googletest/googletest/src/gtest-filepath.cc",
|
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/ |
D | VDecEncNdkSample.cpp | 130 void VDecEncNdkSample::SetReadPath(std::string filepath) in SetReadPath() argument 132 inFile_ = filepath; in SetReadPath() 139 void VDecEncNdkSample::SetSavePath(std::string filepath) in SetSavePath() argument 141 outFile_ = filepath; in SetSavePath()
|
/test/xts/tools/lite/hcpptest/ |
D | BUILD.gn | 55 "//third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h", 67 "//third_party/googletest/googletest/src/gtest-filepath.cc",
|