Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 7 of 7) sorted by relevance

/tools/acloud/internal/lib/
Dlocal_instance_lock.py103 parent_dir = os.path.dirname(self._file_path)
104 if not os.path.exists(parent_dir):
105 os.makedirs(parent_dir)
Dota_tools_test.py93 parent_dir = os.path.dirname(path)
94 if not os.path.exists(parent_dir):
95 os.makedirs(parent_dir)
Dutils.py1411 for parent_dir, _, file_names in os.walk(dir_path):
1413 SetExecutable(os.path.join(parent_dir, name))
/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py467 def is_equal_or_sub_dir(sub_dir, parent_dir): argument
479 parent_dir = os.path.realpath(parent_dir)
481 if not os.path.isdir(sub_dir) or not os.path.isdir(parent_dir):
483 return os.path.commonprefix([sub_dir, parent_dir]) == parent_dir
/tools/asuite/aidegen/lib/
Dnative_util.py58 parent_dir, targets = _get_merged_native_target(cc_module_info, targets)
59 rel_path = os.path.relpath(parent_dir, common_util.get_android_root_dir())
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py531 def is_equal_or_sub_dir(sub_dir, parent_dir): argument
543 parent_dir = os.path.realpath(parent_dir)
545 if not os.path.isdir(sub_dir) or not os.path.isdir(parent_dir):
547 return os.path.commonprefix([sub_dir, parent_dir]) == parent_dir
/tools/acloud/create/
Dgoldfish_local_image_local_instance_test.py66 parent_dir = os.path.dirname(path)
67 if not os.path.exists(parent_dir):
68 os.makedirs(parent_dir)