Lines Matching refs:os
18 import os
46 if not os.path.isdir(dir):
61 value = os.environ.get('ANDROID_BUILD_TOP')
64 current_path = os.path.abspath(os.getcwd())
65 while current_path and os.path.isdir(current_path):
66 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH)
67 if os.path.isfile(soong_ui_bash_path):
72 parent_path = os.path.abspath(os.path.join(current_path, os.pardir))
85 value = os.environ.get('ANDROID_HOST_OUT')
88 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',…
99 value = os.environ.get('DIST_DIR')
103 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist')
104 if not os.path.isdir(value):
105 if os.path.exists(value):
108 os.makedirs(value)
114 test_root = os.path.join(android_host_out, 'nativetest64')
115 if not os.path.isdir(test_root):
116 test_root = os.path.join(android_host_out, 'nativetest')
117 if not os.path.isdir(test_root):
125 test_path = os.path.join(os.path.join(test_root, test_name), test_name)
126 if not os.path.isfile(test_path):
132 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'.format(test_name))
146 p = subprocess.Popen(build_cmd, cwd=ANDROID_BUILD_TOP, env=os.environ.copy())
195 log_output_path = os.path.join(dist_dir, 'gtest/coverage')
196 cmd_path = os.path.join(get_android_root_or_die(), 'system/bt/test')
199 os.path.join(cmd_path, 'gen_coverage.py'),