/build/make/tools/ |
H A D | warn.py | 85 import os namespace 2349 if os.path.exists(root_path + '/build/tools/warn.py'): 2366 path = os.path.normpath(path)
|
H A D | fat16copy.py | 17 import os namespace 56 f.seek(n, os.SEEK_CUR) 83 if direction == os.SEEK_CUR: 85 elif direction == os.SEEK_END: 222 data.seek(0, os.SEEK_END) 404 f.seek(-self.fs.bytes_per_cluster, os.SEEK_CUR) 414 f.seek(-(record_count * 32), os.SEEK_CUR) 755 if os.path.isdir(item): 756 base = os.path.basename(item) 758 base = os [all...] |
/build/soong/cc/ |
H A D | gen_stub_libs.py | 20 import os namespace 345 'symbol_file', type=os.path.realpath, help='Path to symbol file.') 347 'stub_src', type=os.path.realpath, 350 'version_script', type=os.path.realpath,
|
/build/tools/releasetools/ |
H A D | add_img_to_target_files | 56 import os namespace 80 self.input_name = os.path.join(input_dir, prefix, name) 83 self._zip_name = os.path.join(prefix, name) 85 root, suffix = os.path.splitext(name) 121 if os.path.exists(img.input_name): 126 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w") 147 if os.path.exists(img.input_name): 160 if os.path.exists(img.input_name): 179 os.symlink(os [all...] |
H A D | add_img_to_target_files.py | 56 import os namespace 80 self.input_name = os.path.join(input_dir, prefix, name) 83 self._zip_name = os.path.join(prefix, name) 85 root, suffix = os.path.splitext(name) 121 if os.path.exists(img.input_name): 126 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w") 147 if os.path.exists(img.input_name): 160 if os.path.exists(img.input_name): 179 os.symlink(os [all...] |
H A D | build_image.py | 23 import os namespace 24 import os.path namespace 267 img_dir = os.path.dirname(sparse_image_path) 268 unsparse_image_path = "unsparse_" + os.path.basename(sparse_image_path) 269 unsparse_image_path = os.path.join(img_dir, unsparse_image_path) 270 if os.path.exists(unsparse_image_path): 272 os.unlink(unsparse_image_path) 278 os.remove(unsparse_image_path) 306 verity_image_path = os.path.join(tempdir_name, "verity.img") 307 verity_metadata_path = os [all...] |
H A D | check_target_files_signatures | 48 import os namespace 124 for dirpath, _, filenames in os.walk(top): 125 certs = [os.path.join(dirpath, i) 134 name, _ = os.path.splitext(i) 135 name, _ = os.path.splitext(name) 242 for dirpath, _, filenames in os.walk(d): 245 fullname = os.path.join(dirpath, fn) 249 self.apks_by_basename[os.path.basename(apk.filename)] = apk
|
H A D | check_target_files_signatures.py | 48 import os namespace 124 for dirpath, _, filenames in os.walk(top): 125 certs = [os.path.join(dirpath, i) 134 name, _ = os.path.splitext(i) 135 name, _ = os.path.splitext(name) 242 for dirpath, _, filenames in os.walk(d): 245 fullname = os.path.join(dirpath, fn) 249 self.apks_by_basename[os.path.basename(apk.filename)] = apk
|
H A D | sign_target_files_apks | 93 import os namespace 136 name = os.path.basename(info.filename) 187 maxsize = max([len(os.path.basename(i.filename)) 199 fn = os.path.join(tmpdir, fn) 201 fn = os.path.join(tmpdir, fn) 202 os.mkdir(fn) 204 d = os.path.dirname(fn) 205 if d and not os.path.exists(d): 206 os.makedirs(d) 209 os [all...] |
H A D | sign_target_files_apks.py | 93 import os namespace 136 name = os.path.basename(info.filename) 187 maxsize = max([len(os.path.basename(i.filename)) 199 fn = os.path.join(tmpdir, fn) 201 fn = os.path.join(tmpdir, fn) 202 os.mkdir(fn) 204 d = os.path.dirname(fn) 205 if d and not os.path.exists(d): 206 os.makedirs(d) 209 os [all...] |
H A D | blockimgdiff.py | 23 import os namespace 24 import os.path namespace 1276 b = os.path.basename(tgt_fn) 1299 b = os.path.basename(k)
|
H A D | ota_from_target_files | 145 import os.path namespace 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) and os.path.exists(mappath) 544 common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) 989 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1437 from_input = os [all...] |
H A D | ota_from_target_files.py | 145 import os.path namespace 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) and os.path.exists(mappath) 544 common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) 989 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1437 from_input = os [all...] |
H A D | common.py | 22 import os namespace 125 stat = os.fstat(d) 129 os.close(d) 142 path = os.path.join(input_file, *fn.split("/")) 169 fc_basename = os.path.basename(d.get("selinux_fc", "file_contexts")) 170 fc_config = os.path.join(input_dir, "META", fc_basename) 172 assert os.path.exists(fc_config) 173 if not os.path.exists(fc_config): 174 fc_config = os.path.join(input_dir, "BOOT", "RAMDISK", fc_basename) 175 if not os [all...] |
/build/tools/ |
H A D | warn.py | 85 import os namespace 2349 if os.path.exists(root_path + '/build/tools/warn.py'): 2366 path = os.path.normpath(path)
|
H A D | fat16copy.py | 17 import os namespace 56 f.seek(n, os.SEEK_CUR) 83 if direction == os.SEEK_CUR: 85 elif direction == os.SEEK_END: 222 data.seek(0, os.SEEK_END) 404 f.seek(-self.fs.bytes_per_cluster, os.SEEK_CUR) 414 f.seek(-(record_count * 32), os.SEEK_CUR) 755 if os.path.isdir(item): 756 base = os.path.basename(item) 758 base = os [all...] |
/build/core/ |
H A D | aux_config.mk | 116 # MAintains list of valiants that reference this os config in OS "indexed" var 121 define aux-import-os-config 180 $(call aux-import-os-config,$(v)) \
|
/build/make/core/ |
H A D | aux_config.mk | 116 # MAintains list of valiants that reference this os config in OS "indexed" var 121 define aux-import-os-config 180 $(call aux-import-os-config,$(v)) \
|
/build/make/tools/releasetools/ |
H A D | blockimgdiff.py | 23 import os namespace 24 import os.path namespace 1276 b = os.path.basename(tgt_fn) 1299 b = os.path.basename(k)
|
H A D | ota_from_target_files | 145 import os.path namespace 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) and os.path.exists(mappath) 544 common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) 989 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1437 from_input = os [all...] |
H A D | ota_from_target_files.py | 145 import os.path namespace 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) and os.path.exists(mappath) 544 common.ZipWrite(output_zip, file_name, os.path.basename(file_name)) 989 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1437 from_input = os [all...] |
H A D | common.py | 22 import os namespace 125 stat = os.fstat(d) 129 os.close(d) 142 path = os.path.join(input_file, *fn.split("/")) 169 fc_basename = os.path.basename(d.get("selinux_fc", "file_contexts")) 170 fc_config = os.path.join(input_dir, "META", fc_basename) 172 assert os.path.exists(fc_config) 173 if not os.path.exists(fc_config): 174 fc_config = os.path.join(input_dir, "BOOT", "RAMDISK", fc_basename) 175 if not os [all...] |