Lines Matching full:path
42 # path to EMMA host jar, relative to Android build root
43 _EMMA_JAR = os.path.join("external", "emma", "lib", "emma.jar")
45 # root path of generated coverage report files, relative to Android build root
48 _CORE_TARGET_PATH = os.path.join("development", "testrunner",
50 # vendor glob file path patterns to tests, relative to android
52 _VENDOR_TARGET_PATH = os.path.join("vendor", "*", "tests", "testinfo",
55 # path to root of target build intermediates
56 _TARGET_INTERMEDIATES_BASE_PATH = os.path.join("target", "common",
62 self._output_root_path = os.path.join(self._out_path,
64 self._emma_jar_path = os.path.join(self._root_path, self._EMMA_JAR)
81 output_path: path to place output files in. If None will use
87 absolute file path string of generated html report file.
93 output_path = os.path.join(self._out_path,
100 coverage_local_path = os.path.join(output_path,
104 report_path = os.path.join(output_path,
115 report_path: absolute file path of output file, without extension
116 coverage_file_path: absolute file path of code coverage result file
123 absolute file path to generated report file.
150 input_metadata = os.path.join(self._GetBuildIntermediatePath(target),
156 return os.path.join(
161 """Builds the emma input source path arguments from provided targets.
166 source path arguments string
171 for path in target_srcs:
172 src_list.append("-sp %s" % os.path.join(self._root_path, path))
180 dest_path: absolute file path of destination file
201 combined_coverage = os.path.join(self._output_root_path,
204 report_path = os.path.join(self._output_root_path, "android")
213 output_path = os.path.join(self._output_root_path, target_name)
215 if os.path.isdir(output_path) and target is not None:
217 combined_coverage = os.path.join(output_path, "%s.%s" %
220 report_path = os.path.join(output_path, target_name)
229 root_path: absolute file path string to search from
231 list of absolute file path strings of coverage files
233 file_pattern = os.path.join(root_path, "*", "*.%s" %
246 core_target_path = os.path.join(self._root_path, self._CORE_TARGET_PATH)
250 vendor_targets_pattern = os.path.join(self._root_path,
263 Assumes tidy is on current PATH.
270 html_file_pattern = os.path.join(dir_path, "*.html")
276 sub_dir_path = os.path.join(dir_path, sub_dir_name)
277 if os.path.isdir(sub_dir_path):
294 def GetCoverageTargetForPath(self, path):
295 """Find the CoverageTarget for given file system path"""
296 android_mk_path = os.path.join(path, "Android.mk")
297 if os.path.exists(android_mk_path):
298 android_mk_parser = android_mk.CreateAndroidMK(path)
300 target.SetBuildPath(os.path.join(path, "src"))
305 msg = "No Android.mk found at %s" % path
322 "android root path")