Lines Matching refs:path

126 _VTS_PUSH_DIR = os.path.join(os.environ.get(constants.ANDROID_BUILD_TOP, ''),
193 cls = os.path.splitext(os.path.split(test_path)[1])[0]
246 if not os.path.isfile(test_path):
372 out_dirs.append(os.path.dirname(out_file.strip()))
377 if os.path.isabs(custom_out_dir):
380 user_out_dir = os.path.join(build_top, custom_out_dir)
423 if not os.path.isdir(search_dir):
428 if os.path.isfile(FIND_INDEXES[ref_type]):
440 out = [path for path in _dict.get(target) if search_dir in path]
489 parent_dir = os.path.realpath(parent_dir)
490 sub_dir = os.path.realpath(sub_dir)
491 if not os.path.isdir(sub_dir) or not os.path.isdir(parent_dir):
493 return os.path.commonprefix([sub_dir, parent_dir]) == parent_dir
519 rel_dir = os.path.relpath(current_dir, root_dir)
521 if os.path.isfile(os.path.join(current_dir, constants.MODULE_CONFIG)):
528 if os.path.isfile(os.path.join(root_dir, test_config)):
535 current_dir = os.path.dirname(current_dir)
654 full_push_file_path = os.path.join(_VTS_PUSH_DIR, push_file)
669 targets.add(os.path.join(rel_out_dir, sanitized_target))
713 target = os.path.join(rel_out_dir, match.group('target'))
717 target = os.path.join(rel_out_dir, target)
732 if not os.path.exists(xml_file):
745 xml_dir = os.path.dirname(xml_file)
748 plans |= get_plans_from_vts_xml(os.path.join(xml_dir, name + ".xml"))
798 targets.add(os.path.join(
800 targets.add(os.path.join(
803 targets.add(os.path.join(rel_out_dir, push_target))
811 target = os.path.join(rel_out_dir, value)
814 head, _ = os.path.split(value)
816 target = os.path.join(rel_out_dir, _VTS_OUT_DATA_APP_PATH,
820 targets.add(os.path.join(rel_out_dir, value))
825 def get_dir_path_and_filename(path): argument
834 if os.path.isfile(path):
835 dir_path, file_path = os.path.split(path)
837 dir_path, file_path = path, None
873 abs_path = os.path.join(root_dir, integration_dir)
881 def get_int_dir_from_path(path, int_dirs): argument
892 if not os.path.exists(path):
894 dir_path, file_name = get_dir_path_and_filename(path)
897 abs_int_dir = os.path.join(root_dir, possible_dir)
907 int_dir, path)
923 for path in installed_paths:
924 if _HOST_PATH_RE.match(path):
926 elif _DEVICE_PATH_RE.match(path):
990 if not os.path.exists(xml_file):