Lines Matching refs:os
22 import os
29 LOGS_ROOT = os.path.join(ANDROID_REPOSITORY_ROOT, 'out', 'host', 'linux-x86',
31 CTS_LOGS_PATTERN = os.path.join(LOGS_ROOT, '*', '*',
33 LIBCORE_DIR = os.path.join(ANDROID_REPOSITORY_ROOT, 'libcore')
34 DESTINATION_DIR = os.path.join(LIBCORE_DIR, 'smoketest')
39 if not os.path.isdir(LIBCORE_DIR):
41 if not os.path.isdir(DESTINATION_DIR):
44 os.mkdir(DESTINATION_DIR, 0o755)
69 return sorted(sources, key=os.path.getmtime, reverse=True)
74 return os.path.relpath(source, LOGS_ROOT)
81 (head, tail) = os.path.split(name)
89 assert not os.path.dirname(name)
90 return os.path.join(DESTINATION_DIR, name)
124 if os.path.exists(destination):