Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 24 of 24) sorted by relevance

/build/tools/
Dgenerate-notice-files.py64 def md5sum(filename): argument
69 f = open(filename, "rb")
103 for filename in value:
104 id_table[filename] = id_count
122 for filename in sorted_filenames:
123 stripped_filename = SRC_DIR_STRIP_RE.sub(r"\1", filename)
124 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena…
134 for filename in sorted(value):
135 print >> output_file, "%s <br/>" % (SRC_DIR_STRIP_RE.sub(r"\1", filename))
160 for filename in sorted(value):
[all …]
Djava-layers.py38 def __init__(self, filename, lineno, lower, top, lowlevel, legacy): argument
39 self.filename = filename
60 % (dep.filename, dep.lineno))
63 % (v.filename, v.lineno, v.lower))
118 def parse_dependency_file(filename): argument
120 f = file(filename)
147 + " line %d.\n") % (filename, n, lower, deps[lower].lineno))
150 deps[lower] = Dependency(filename, n, lower, top, lowlevel, legacy)
158 + "'%s'\n") % (filename, n, lower))
161 dep = Dependency(filename, n, lower, False, False, False)
[all …]
Devent_log_tags.py23 def __init__(self, tagnum, tagname, description, filename, linenum): argument
27 self.filename = filename
36 self.errors.append((self.filename, linenum, msg))
41 self.warnings.append((self.filename, linenum, msg))
43 def __init__(self, filename, file_object=None): argument
52 self.filename = filename
57 file_object = open(filename, "rb")
102 self.filename, self.linenum))
Dpost_process_props.py66 filename = argv[1]
67 f = open(filename)
72 if filename.endswith("/build.prop"):
74 elif filename.endswith("/default.prop"):
80 f = open(filename, 'w+')
Dfindleaves.py26 def perform_find(mindepth, prune, dirlist, filename): argument
51 if filename in files:
52 result.append(os.path.join(root, filename))
91 filename = argv[-1]
92 results = list(set(perform_find(mindepth, prune, dirlist, filename)))
Ddiff_package_overlays.py48 def load_overlay_config(filename): argument
49 f = open(filename)
Dmerge-event-log-tags.py108 (t.tagname, t.tagnum, orig.filename, orig.linenum),
113 (t.tagname, orig.tagnum, orig.filename, orig.linenum),
123 (t.tagnum, orig.tagname, orig.filename, orig.linenum),
Dparsedeps.py89 filename = args[0]
90 print "Reading %s" % filename
93 f = open(filename)
/build/tools/releasetools/
Dcheck_target_files_signatures147 def CertFromPKCS7(data, filename): argument
150 Push(filename + ":")
173 def __init__(self, full_filename, filename): argument
174 self.filename = filename
175 Push(filename+":")
189 if info.filename.startswith("META-INF/") and \
190 (info.filename.endswith(".DSA") or info.filename.endswith(".RSA")):
191 pkcs7 = apk.read(info.filename)
192 cert = CertFromPKCS7(pkcs7, info.filename)
236 def LoadZipFile(self, filename): argument
[all …]
Dsign_target_files_apks114 if info.filename.endswith(".apk"):
115 name = os.path.basename(info.filename)
143 maxsize = max([len(os.path.basename(i.filename))
145 if i.filename.endswith('.apk')])
148 data = input_tf_zip.read(info.filename)
150 if info.filename.endswith(".apk"):
151 name = os.path.basename(info.filename)
161 elif info.filename in ("SYSTEM/build.prop",
163 print "rewriting %s:" % (info.filename,)
166 elif info.filename.endswith("mac_permissions.xml"):
[all …]
Dedify_generator.py121 def PatchCheck(self, filename, *sha1): argument
126 'apply_patch_check("%s"' % (filename,) +
128 ') || abort("\\"%s\\" has unexpected contents.");' % (filename,))
130 def FileCheck(self, filename, *sha1): argument
133 self.script.append('assert(sha1_check(read_file("%s")' % (filename,) +
Dcommon.py347 def UnzipTemp(filename, pattern=None): argument
360 def unzip_to_dir(filename, dirname): argument
361 cmd = ["unzip", "-o", "-q", filename, "-d", dirname]
368 (filename,))
370 m = re.match(r"^(.*[.]zip)\+(.*[.]zip)$", filename, re.IGNORECASE)
374 filename = m.group(1)
376 unzip_to_dir(filename, tmp)
378 return tmp, zipfile.ZipFile(filename, "r")
725 def ZipWriteStr(zip, filename, data, perms=0644): argument
727 zinfo = zipfile.ZipInfo(filename=filename,
Dota_from_target_files316 if info.filename.startswith("SYSTEM/"):
317 basefilename = info.filename[7:]
319 symlinks.append((input_zip.read(info.filename),
323 fn = info2.filename = "system/" + basefilename
330 data = input_zip.read(info.filename)
549 if info.filename.startswith("SYSTEM/") and not IsSymlink(info):
550 basefilename = info.filename[7:]
552 data = z.read(info.filename)
564 def AddToKnownPaths(filename, known_paths): argument
565 if filename[-1] == "/":
[all …]
Dbuild_image.py138 def LoadGlobalDict(filename): argument
141 f = open(filename)
/build/tools/atree/
Dfiles.cpp178 read_list_file(const string& filename, in read_list_file() argument
190 f = fopen(filename.c_str(), "r"); in read_list_file()
193 filename.c_str(), strerror(errno)); in read_list_file()
201 filename.c_str(), strerror(errno)); in read_list_file()
211 filename.c_str(), strerror(errno)); in read_list_file()
226 filename.c_str(), strerror(errno)); in read_list_file()
305 filename.c_str(), i+1, p, errstr.c_str()); in read_list_file()
313 add_file(files, op, filename, i+1, paths[0], paths[1]); in read_list_file()
383 dir_part(const string& filename) in dir_part() argument
385 int pos = filename.rfind('/'); in dir_part()
[all …]
Dfiles.h40 int read_list_file(const string& filename,
46 string dir_part(const string& filename);
/build/core/
Dmulti_prebuilt.mk61 $(if $(word 3,$(tw)),$(error $(LOCAL_PATH): Bad prebuilt filename '$(t)')) \
/build/tools/droiddoc/templates-ds/assets/
Dandroid-developer-docs.css1121 div.download-box p.filename {
/build/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.css1121 div.download-box p.filename {
/build/tools/droiddoc/templates-sdk/assets/css/
Ddefault.css1858 #tb .download-box .filename,
1859 #qv .download-box .filename {
/build/tools/droiddoc/templates-sdk/assets/
Dandroid-developer-docs.css2313 div.download-box p.filename {
/build/tools/droiddoc/templates-sac/assets/
Dandroid-developer-docs.css2313 div.download-box p.filename {
/build/tools/droiddoc/templates-sac/assets/css/
Ddefault.css1848 #tb .download-box .filename {
/build/tools/droiddoc/templates-ds/assets/css/
Ddefault.css1780 #tb .download-box .filename {