Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 47) sorted by relevance

12

/test/framework/harnesses/host_controller/build/
Dbuild_provider.py95 def _IsImageFile(self, file_path): argument
104 return any(file_path.endswith(ext)
271 file_path, argument
287 file_name = os.path.basename(file_path)
288 if os.path.isdir(file_path):
289 self.SetFetchedDirectory(file_path, root_dir, full_device_images)
290 elif self._IsImageFile(file_path):
291 self.SetDeviceImage(file_name, file_path)
294 self.SetTestSuitePackage(test_suite, file_path)
296 self.SetHostControllerPackage("vtslab", file_path)
[all …]
/test/vts/utils/native/trace_processor/
DVtsCoverageProcessor.cpp48 if (ref_msg.file_path() == msg_to_be_updated->file_path()) { in UpdateCoverageData()
95 if (merged_coverage_report.coverage(i).file_path() == in MergeCoverage()
96 cov.file_path()) { in MergeCoverage()
120 if (ref_coverage_msg.file_path() != merged_coverage_msg->file_path()) { in MergeCoverageMsg()
161 if (new_coverage.file_path() == ref_coverage.file_path()) { in CompareCoverage()
166 if (new_coverage_map.find(new_coverage.file_path()) != in CompareCoverage()
168 new_coverage_map[new_coverage.file_path()].push_back(line); in CompareCoverage()
171 new_coverage.file_path(), vector<int>{line})); in CompareCoverage()
188 std::pair<string, vector<int>>(new_coverage.file_path(), new_line)); in CompareCoverage()
211 if (coverage.file_path() == ref_coverage.file_path()) { in GetSubsetCoverage()
[all …]
/test/vts-testcase/hal/script/build/
Dbuild_rule_gen_utils.py30 def WriteBuildRule(file_path, build_rule): argument
44 dir_path = os.path.dirname(file_path)
48 elif not os.path.isfile(file_path):
52 with open(file_path, 'r') as existing_file:
54 print 'Skipping %s' % file_path
57 print 'Updating %s' % file_path
58 with open(file_path, 'w') as bp_file:
Dbuild_rule_gen.py98 file_path = os.path.join(hal_dir, 'build', 'Android.bp')
99 updated = utils.WriteBuildRule(file_path, self._VtsBuildRuleFromTemplate(
101 checked_file_paths.append(file_path)
103 updated_file_paths.append(file_path)
/test/framework/harnesses/host_controller/acloud/
Dacloud_config.py60 def Load(self, file_path): argument
66 if not os.path.isfile(file_path):
67 logging.error('Failed to read acloud config file %s' % file_path)
73 with open(file_path, 'r') as f:
84 'acloud config file %s' % (line, file_path))
93 def Save(self, file_path): argument
101 with open(file_path, 'w') as f:
Dacloud_client.py134 def PrepareConfig(self, file_path): argument
141 config.Load(file_path)
/test/vts/drivers/hal/common/component_loader/
DDllLoader.cpp34 void* DllLoader::Load(const char* file_path) { in Load() argument
35 if (!file_path) { in Load()
41 handle_ = dlopen(file_path, RTLD_LAZY); in Load()
43 LOG(ERROR) << "Can't load a shared library, " << file_path in Load()
47 LOG(DEBUG) << "DLL loaded " << file_path; in Load()
/test/vts/utils/python/common/
Dlist_utils.py99 def LoadListFromCommentedTextFile(file_path, argument
138 if not os.path.isfile(file_path):
140 file_path)
143 with open(file_path, 'r') as f:
/test/vts/utils/native/libprofiling/
DVtsProfilingInterface.cpp93 string file_path = trace_file_path_prefix_ + package + "_" + version + "_" + in CreateTraceFile() local
98 LOG(INFO) << "Creating new trace file: " << file_path; in CreateTraceFile()
99 int fd = open(file_path.c_str(), O_RDWR | O_CREAT | O_EXCL, in CreateTraceFile()
102 PLOG(ERROR) << "Can not open trace file: " << file_path; in CreateTraceFile()
/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp36 bool ParseInterfaceSpec(const char* file_path, in ParseInterfaceSpec() argument
38 ifstream in_file(file_path); in ParseInterfaceSpec()
41 LOG(ERROR) << "Unable to open file. " << file_path; in ParseInterfaceSpec()
50 LOG(ERROR) << "Can't parse a given proto file " << file_path; in ParseInterfaceSpec()
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp515 int vts_fs_mkdirs(char* file_path, mode_t mode) { in vts_fs_mkdirs() argument
518 for (p = strchr(file_path + 1, '/'); p; p = strchr(p + 1, '/')) { in vts_fs_mkdirs()
520 if (mkdir(file_path, mode) == -1) { in vts_fs_mkdirs()
555 string RemoveBaseDir(const string& file_path, const string& base_path) { in RemoveBaseDir() argument
557 strncmp(file_path.c_str(), base_path.c_str(), base_path.length())) { in RemoveBaseDir()
558 return file_path; in RemoveBaseDir()
561 result = &file_path.c_str()[base_path.length()]; in RemoveBaseDir()
DVtsCompilerUtils.h55 extern int vts_fs_mkdirs(char* file_path, mode_t mode);
65 string RemoveBaseDir(const string& file_path, const string& base_path);
/test/app_compat/csuite/tools/script/
Dgenerate_module.py76 file_path = os.path.join(path, filename)
77 if os.path.isdir(file_path) and not os.listdir(file_path):
78 os.rmdir(file_path)
/test/vts/runners/adapters/acts/
Dacts_adapter.py160 file_path = file_util.FindFile(self.result_path, RESULT_FILE_NAME)
162 if file_path:
163 logging.debug('ACTS test result path: %s', file_path)
164 self.ParseJsonResults(file_path)
/test/vts/drivers/libdrivercomm/
DVtsDriverFileUtil.cpp28 string ReadFile(const string& file_path) { in ReadFile() argument
29 ifstream ifs(file_path); in ReadFile()
DVtsDriverFileUtil.h30 extern string ReadFile(const string& file_path);
/test/vts-testcase/fuzz/script/config/
Dconfig_gen.py84 file_path = os.path.join(base_dir, file_name)
86 old_config[file_path] = self._GetPlansFromConfig(file_path)
88 os.remove(file_path)
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py198 file_path=None, argument
228 logging.debug("file_path: %s", file_path)
236 file_path=file_path,
632 file_path=None, argument
706 if file_path is not None:
707 command_msg.file_path = file_path
/test/vts/utils/python/gcs/
Dgcs_api_utils.py153 def FileExists(self, file_path): argument
166 blob = bucket.blob(file_path)
319 def DeleteFile(self, file_path): argument
334 blob = bucket.blob(file_path)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_repack.py93 for file_path in additional_file_list:
94 file_name = os.path.basename(file_path)
99 file_path,
Dcommand_release.py46 file_path = "android-vtslab/testcases/DATA/ak/.%s.ak" % version variable
47 _REPACKAGE_ADDITIONAL_FILE_LIST.append(file_path)
48 file_path += ".pub"
49 _REPACKAGE_ADDITIONAL_FILE_LIST.append(file_path)
Dcommand_upload.py118 file_path = src_path.strip()
119 if os.path.isfile(file_path):
120 src_path_list.append(file_path)
122 logging.error("Cannot find a file: {}".format(file_path))
/test/vts/utils/python/fuzzer/
Dcorpus_manager.py672 file_path = os.path.join(
675 return file_path
678 file_path = os.path.join(
681 return file_path
684 file_path = os.path.join(
686 return file_path
/test/vts/testcases/template/mobly/
Dmobly_test.py170 file_path = file_util.FindFile(self.mobly_dir, pair[0])
172 if file_path:
173 logging.debug('Mobly test yaml result path: %s', file_path)
174 pair[1](file_path)
/test/vts-testcase/hal/treble/vintf/
Dutils.cpp136 string file_path = kDataDir + PackageRoot(fq_iface_name) + kHashFileName; in ReleasedHashes() local
137 auto hashes = Hash::lookupHash(file_path, fq_iface_name.string(), &err); in ReleasedHashes()

12