Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 22 of 22) sorted by relevance

/test/vts/utils/python/coverage/
Dcoverage_report.py50 file_name = func.src_file_name
51 if GEN_TAG in file_name:
52 logging.debug("Skip generated source file %s.", file_name)
56 if file_name.startswith(path):
60 logging.debug("Skip excluded source file %s.", file_name)
63 src_lines_counts = coverage_dict[file_name] if file_name in coverage_dict else []
72 coverage_dict[file_name] = src_lines_counts
Dcoverage_utils.py337 file_name = os.path.join(self.local_coverage_path, basename)
340 "adb -s %s pull %s %s " % (serial, gcda, file_name))
346 dut.adb.pull("%s %s" % (gcda, file_name))
347 gcda_content = open(file_name, "rb").read()
431 file_name = gcda_name.rsplit(".", 1)[0]
437 gcno_summary = self._FindGcnoSummary(file_name, gcno_file_parsers)
560 file_name = os.path.basename(file_name_path)
571 gcda_name = file_name + GCDA_SUFFIX
577 gcno_summary, file_name)
Dsancov_parser.py93 def ParseSancovFile(file_name): argument
102 with open(file_name, 'rb') as stream:
Dgcda_parser.py168 def ParseGcdaFile(file_name, file_summary): argument
183 with open(file_name, 'rb') as stream:
Dgcno_parser.py221 def ParseGcnoFile(file_name): argument
235 with open(file_name, 'rb') as stream:
/test/vts/utils/python/archive/
Darchive_parser_test.py53 file_name = 'test_file'
54 content += file_name + ' ' * (archive_parser.Archive.FILE_ID_LENGTH -
55 len(file_name))
69 self.assertIn(file_name, archive.files)
70 self.assertEquals(archive.files[file_name], message)
/test/vts-testcase/vndk/golden/
Ddump_abi.py111 for file_name in file_names:
112 if file_name.endswith(".so"):
113 lib_names.append(file_name)
115 with open(file_name, "r") as txt_file:
Dextract_lsdump.py65 def _OpenFileOrGzipped(file_name): argument
80 if file_name.endswith('.gz'):
81 return gzip.open(file_name, 'rt')
82 return open(file_name, 'r')
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.cpp538 string PathJoin(const char* dir_path, const char* file_name) { in PathJoin() argument
542 if (!file_name) return result; in PathJoin()
543 } else if (!file_name) return result; in PathJoin()
545 if (file_name[0] != '.') { in PathJoin()
550 result += file_name; in PathJoin()
DVtsCompilerUtils.h62 string PathJoin(const char* dir_path, const char* file_name);
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py79 file_name = ltp_configs.LTP_CONFIG_TEMPLATE_FILE_NAME
80 … file_path = os.path.join(self._android_build_top, ltp_configs.LTP_CONFIG_TEMPLATE_DIR, file_name)
/test/vts/runners/host/
Dutils.py213 for file_name in file_names:
214 yield root_dir, file_name
Dbase_test.py1503 file_name = (_BUG_REPORT_FILE_PREFIX
1508 file_path = os.path.join(parent_dir, file_name)
1591 file_name = (_LOGCAT_FILE_PREFIX
1597 file_path = os.path.join(parent_dir, file_name)
/test/vts-testcase/vndk/dependency/
Dvts_vndk_dependency_test.py221 for file_name in file_names:
222 yield os.path.join(root_dir, file_name)
DVtsVndkDependencyTest.py227 for root_dir, file_name in utils.iterate_files(host_dir):
228 full_path = os.path.join(root_dir, file_name)
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp1161 string file_name = fd_val.file_name(); in CallFunction() local
1168 while((pos=file_name.find_first_of('/', pre)) != string::npos){ in CallFunction()
1169 dir = file_name.substr(0, pos++); in CallFunction()
1177 … int fd = open(file_name.c_str(), fd_val.flags() | O_CREAT, fd_val.mode()); in CallFunction()
1179 … LOG(ERROR) << "Failed to open file: " << file_name << " error: " << errno; in CallFunction()
1188 if (!stat(file_name.c_str(), &st)) { in CallFunction()
1189 mkdir(file_name.c_str(), fd_val.mode()); in CallFunction()
1191 … handle->data[fd_index] = open(file_name.c_str(), O_DIRECTORY, fd_val.mode()); in CallFunction()
1196 if(file_name == "/dev/ashmem") { in CallFunction()
/test/vts/utils/python/controllers/
Dandroid_device.py1298 map(lambda file_name: 'chmod 755 {path}/{bit}/{file_name}{bit};'.format(
1301 file_name=file_name),
/test/vts/utils/python/mirror/
Dresource_mirror.py700 fd_message.file_name = filepath
/test/vts/proto/
DVtsReportMessage.proto213 optional bytes file_name = 2 [deprecated=true]; field
DComponentSpecificationMessage.proto374 optional bytes file_name = 4; field
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp67 string filepath = file_desc_info.file_name(); in ProcessHidlHandleCommand()
/test/vts/runners/target/gtest/
Dgtest_main.cpp253 printf("%s:(%d) Failure in test %s.%s\n%s\n", result.file_name(), in OnTestPartResult()