Searched refs:parent_dir (Results 1 – 7 of 7) sorted by relevance
/tools/acloud/internal/lib/ |
D | local_instance_lock.py | 103 parent_dir = os.path.dirname(self._file_path) 104 if not os.path.exists(parent_dir): 105 os.makedirs(parent_dir)
|
D | ota_tools_test.py | 93 parent_dir = os.path.dirname(path) 94 if not os.path.exists(parent_dir): 95 os.makedirs(parent_dir)
|
D | utils.py | 1411 for parent_dir, _, file_names in os.walk(dir_path): 1413 SetExecutable(os.path.join(parent_dir, name))
|
/tools/asuite/atest-py2/test_finders/ |
D | test_finder_utils.py | 467 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/ |
D | native_util.py | 58 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/ |
D | test_finder_utils.py | 531 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/ |
D | goldfish_local_image_local_instance_test.py | 66 parent_dir = os.path.dirname(path) 67 if not os.path.exists(parent_dir): 68 os.makedirs(parent_dir)
|