Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 24 of 24) sorted by relevance

/test/vts/utils/python/gcs/
Dgcs_api_utils_test.py32 def simple_ListFilesWithPrefix(dir_path): argument
34 '%s/file1' % dir_path,
35 '%s/file2' % dir_path,
36 '%s/file3' % dir_path,
37 '%s/file4' % dir_path
49 def simple_PrefixExists(dir_path): argument
50 if dir_path is 'valid_source_dir':
Dgcs_api_utils.py69 def ListFilesWithPrefix(self, dir_path, strict=True): argument
112 if strict and not dir_path.endswith('/'):
113 dir_path += '/'
116 dir_list = list(bucket.list_blobs(prefix=dir_path))
119 def CountFiles(self, dir_path): argument
133 return len(self.ListFilesWithPrefix(dir_path))
135 def PrefixExists(self, dir_path): argument
151 return self.CountFiles(dir_path) is not 0
/test/vts/agents/hal/
DVtsAgentMain.cpp126 char* dir_path; in main() local
127 dir_path = (char*)malloc(strlen(argv[0]) + 1); in main()
128 strcpy(dir_path, argv[0]); in main()
130 if (dir_path[index] == '/') { in main()
131 dir_path[index] = '\0'; in main()
135 chdir(dir_path); in main()
/test/vts-testcase/hal/script/build/
Dbuild_rule_gen_utils.py44 dir_path = os.path.dirname(file_path)
45 if not os.path.exists(dir_path):
46 os.makedirs(dir_path)
81 def RemoveFilesInDirIf(dir_path, condition): argument
93 for base, _, files in os.walk(dir_path):
/test/vts/utils/python/fuzzer/
Dcorpus_manager.py620 dir_path = ''
624 dir_path = os.path.join(self._gcs_path, test_name,
628 dir_path = os.path.join(self._gcs_path, test_name,
632 dir_path = os.path.join(self._gcs_path, test_name,
636 dir_path = os.path.join(self._gcs_path, test_name,
640 dir_path = os.path.join(self._gcs_path, test_name, 'incoming',
644 dir_path = os.path.join(self._gcs_path, test_name, 'incoming',
649 dir_path = os.path.join(local_temp_dir,
653 dir_path = os.path.join(local_temp_dir,
656 return dir_path
/test/vts/utils/python/coverage/
Dcoverage_report_test.py35 dir_path = os.path.dirname(os.path.realpath(__file__))
36 gcno_path = os.path.join(dir_path, cls.GOLDEN_GCNO_PATH)
39 gcda_path = os.path.join(dir_path, cls.GOLDEN_GCDA_PATH)
Dgcda_parser_test.py125 dir_path = os.path.dirname(os.path.realpath(__file__))
126 gcno_path = os.path.join(dir_path, self.GOLDEN_GCNO_PATH)
127 gcda_path = os.path.join(dir_path, self.GOLDEN_GCDA_PATH)
Dgcno_parser_test.py191 dir_path = os.path.dirname(os.path.realpath(__file__))
192 file_path = os.path.join(dir_path, self.GOLDEN_GCNO_PATH)
/test/vts-testcase/vndk/files/
DVtsVndkFilesTest.py56 def _ListFiles(self, dir_path): argument
65 if not target_file_utils.Exists(dir_path, self._shell):
66 logging.info("%s not found", dir_path)
68 return target_file_utils.FindFiles(self._shell, dir_path, "*",
Dvts_vndk_files_test.py53 def _ListFiles(self, dir_path): argument
62 if not self._dut.Exists(dir_path):
63 logging.info("%s not found", dir_path)
65 return self._dut.FindFiles(dir_path, "*", "!", "-type", "d")
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerUtils.cpp86 for (const auto &dir_path : dirs) { in ExtractCompSpecs() local
89 if (!(dir = opendir(dir_path.c_str()))) { in ExtractCompSpecs()
90 cerr << "Could not open directory: " << dir_path << endl; in ExtractCompSpecs()
96 string vts_spec_path = dir_path + "/" + vts_spec_name; in ExtractCompSpecs()
/test/vts/utils/python/library/vtable/
Dvtable_dumper_test.py54 dir_path = os.path.dirname(os.path.realpath(__file__))
55 self.elf_file_path = os.path.join(dir_path, 'testing', 'libtest.so')
/test/framework/harnesses/host_controller/build/
Dbuild_provider.py252 dir_path, argument
264 for dir_name, file_name in utils.iterate_files(dir_path):
267 if root_path else dir_path),
/test/vts/utils/python/library/
Delf_parser_test.py59 dir_path = os.path.dirname(os.path.realpath(__file__))
60 self.elf_file_path = os.path.join(dir_path, 'elf', 'testing',
/test/vts/utils/python/reporting/
Dreport_file_utils.py108 dir_path = os.path.dirname(src_path)
117 os.path.relpath(dir_path, root_dir), relative_path)
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp538 string PathJoin(const char* dir_path, const char* file_name) { in PathJoin() argument
540 if (dir_path) { in PathJoin()
541 result = dir_path; in PathJoin()
DVtsCompilerUtils.h62 string PathJoin(const char* dir_path, const char* file_name);
/test/mlts/benchmark/tools/
Dtensor_utils.py203 dir_path = model_dir + useNNAPIDir + "/"
204 self[useNNAPIDir] = self.read_tensors_from_dir(dir_path)
224 def read_tensors_from_dir(self, dir_path): argument
226 for tensor_file in os.listdir(dir_path):
227 tensor = self.bytes_to_numpy_tensor(dir_path + tensor_file)
/test/vts/drivers/hal/common/component_loader/
DHalDriverLoader.cpp35 HalDriverLoader::HalDriverLoader(const string dir_path, int epoch_count, in HalDriverLoader() argument
37 : dir_path_(dir_path), in HalDriverLoader()
/test/vts/drivers/hal/common/include/component_loader/
DHalDriverLoader.h36 HalDriverLoader(const string dir_path, int epoch_count,
/test/vts/runners/host/
Dutils.py202 def iterate_files(dir_path): argument
212 for root_dir, dir_names, file_names in os.walk(dir_path):
/test/vts-testcase/vndk/dependency/
Dvts_vndk_dependency_test.py360 for dir_path, libs in vendor_namespace.items():
361 logging.info("%s: %s", dir_path, ",".join(libs.keys()))
DVtsVndkDependencyTest.py355 for dir_path, libs in vendor_namespace.iteritems():
356 logging.info("%s: %s", dir_path, ",".join(libs.iterkeys()))
/test/vts/proto/
DVtsReportMessage.proto209 optional bytes dir_path = 1 [deprecated=true]; field