Searched defs:os (Results 1 - 17 of 17) sorted by relevance

/build/tools/
H A Dfileslist.py18 import operator, os, sys namespace
21 st = os.lstat(path)
28 base = len(root[:root.rfind(os.path.sep)])
29 for dir, dirs, files in os.walk(root):
34 get_file_size(os.path.sep.join((dir, f))),
35 os.path.sep.join((relative, f)),
38 except os.error:
H A Dfindleaves.py23 import os namespace
28 pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
31 for root, dirs, files in os.walk(rootdir, followlinks=True):
52 result.append(os.path.join(root, filename))
65 "progName": os.path.split(sys.argv[0])[1],
H A Dcompare_fileslist.py18 import cgi, os, string, sys namespace
85 combo = input.split(os.path.sep)[1]
H A Dcheck_radio_versions.py18 import os namespace
H A Dadbs17 import os namespace
36 stream = os.popen(cmd)
46 stream = os.popen(cmd)
64 uname = os.uname()[0]
66 proc = os.uname()[-1]
79 stream = os.popen(cmd)
113 path = os.environ['ANDROID_PRODUCT_OUT'] + "/symbols"
118 stream = os.popen(cmd)
123 if (not os.path.exists(path)):
138 uname = os
[all...]
H A Dgenerate-notice-files.py27 import os namespace
28 import os.path namespace
172 input_dir = os.path.normpath(args[3])
174 for root, dir, files in os.walk(input_dir):
177 filename = os.path.join(root, file)
H A Dproduct_debug.py17 import os namespace
H A Djava-event-log-tags.py28 import os namespace
29 import os.path namespace
98 basename, _ = os.path.splitext(os.path.basename(fn))
148 output_dir = os.path.dirname(output_file)
149 if not os.path.exists(output_dir):
150 os.makedirs(output_dir)
H A Djava-layers.py3 import os namespace
179 for root, dirs, files in os.walk(d):
180 result.extend([os.sep.join((root,f)) for f in files
/build/tools/releasetools/
H A Dbuild_image.py23 import os namespace
24 import os.path namespace
82 unsparse_image = os.path.join(
83 os.path.dirname(out_file), "unsparse_" + os.path.basename(out_file))
87 os.remove(unsparse_image)
94 os.remove(unsparse_image)
162 image_filename = os.path.basename(out_file)
H A Dimg_from_target_files39 import os namespace
47 if not hasattr(os, "SEEK_SET"):
48 os.SEEK_SET = 0
68 os.symlink(os.path.join(OPTIONS.input_tmp, "SYSTEM"),
69 os.path.join(OPTIONS.input_tmp, "system"))
73 # os.path.join(OPTIONS.input_tmp, "system"))
83 succ = build_image.BuildImage(os.path.join(OPTIONS.input_tmp, "system"),
87 img.seek(os.SEEK_SET, 0)
113 if not os
[all...]
H A Dsign_target_files_apks78 import os namespace
115 name = os.path.basename(info.filename)
143 maxsize = max([len(os.path.basename(i.filename))
151 name = os.path.basename(info.filename)
286 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")]
312 devkeydir = os.path.dirname(devkey)
H A Dcheck_target_files_signatures48 import os namespace
130 for dirpath, dirnames, filenames in os.walk(top):
131 certs = [os.path.join(dirpath, i)
140 name, _ = os.path.splitext(i)
141 name, _ = os.path.splitext(name)
241 for dirpath, dirnames, filenames in os.walk(d):
244 fullname = os.path.join(dirpath, fn)
248 self.apks_by_basename[os.path.basename(apk.filename)] = apk
H A Dedify_generator.py15 import os namespace
296 data = open(os.path.join(input_path, "updater")).read()
H A Dota_from_target_files70 import os namespace
156 self.parent = Item.Get(os.path.dirname(name), dir=True)
371 path = os.path.join(input_tmp, "SYSTEM", "etc", "recovery-resource.dat")
372 if os.path.exists(path):
535 basename = os.path.basename(file_context)
1007 OPTIONS.info_dict["selinux_fc"] = os.path.join(OPTIONS.input_tmp, "BOOT", "RAMDISK",
1017 OPTIONS.device_specific = os.path.normpath(OPTIONS.device_specific)
H A Dcommon.py20 import os namespace
38 if not hasattr(os, "SEEK_SET"):
39 os.SEEK_SET = 0
78 stat = os.fstat(d)
82 os.close(d)
267 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
268 not os.access(os
[all...]
/build/core/
H A Dchecktree3 import sys, os, re namespace
53 fd = os.popen(command);
80 cwd = os.getcwd()

Completed in 58 milliseconds