/build/tools/ |
D | generate-notice-files.py | 64 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 …]
|
D | java-layers.py | 38 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 …]
|
D | event_log_tags.py | 23 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))
|
D | post_process_props.py | 66 filename = argv[1] 67 f = open(filename) 72 if filename.endswith("/build.prop"): 74 elif filename.endswith("/default.prop"): 80 f = open(filename, 'w+')
|
D | findleaves.py | 26 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)))
|
D | diff_package_overlays.py | 48 def load_overlay_config(filename): argument 49 f = open(filename)
|
D | merge-event-log-tags.py | 108 (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),
|
D | parsedeps.py | 89 filename = args[0] 90 print "Reading %s" % filename 93 f = open(filename)
|
/build/tools/releasetools/ |
D | check_target_files_signatures | 147 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 …]
|
D | sign_target_files_apks | 114 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 …]
|
D | edify_generator.py | 121 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,) +
|
D | common.py | 347 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,
|
D | ota_from_target_files | 316 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 …]
|
D | build_image.py | 138 def LoadGlobalDict(filename): argument 141 f = open(filename)
|
/build/tools/atree/ |
D | files.cpp | 178 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 …]
|
D | files.h | 40 int read_list_file(const string& filename, 46 string dir_part(const string& filename);
|
/build/core/ |
D | multi_prebuilt.mk | 61 $(if $(word 3,$(tw)),$(error $(LOCAL_PATH): Bad prebuilt filename '$(t)')) \
|
/build/tools/droiddoc/templates-ds/assets/ |
D | android-developer-docs.css | 1121 div.download-box p.filename {
|
/build/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-docs.css | 1121 div.download-box p.filename {
|
/build/tools/droiddoc/templates-sdk/assets/css/ |
D | default.css | 1858 #tb .download-box .filename, 1859 #qv .download-box .filename {
|
/build/tools/droiddoc/templates-sdk/assets/ |
D | android-developer-docs.css | 2313 div.download-box p.filename {
|
/build/tools/droiddoc/templates-sac/assets/ |
D | android-developer-docs.css | 2313 div.download-box p.filename {
|
/build/tools/droiddoc/templates-sac/assets/css/ |
D | default.css | 1848 #tb .download-box .filename {
|
/build/tools/droiddoc/templates-ds/assets/css/ |
D | default.css | 1780 #tb .download-box .filename {
|