Searched refs:device (Results 1 - 6 of 6) sorted by relevance
/build/ohos/images/mkimage/ |
H A D | mkimages.py | 84 def sparse_img2simg(is_sparse: str, device: str): 87 tmp_device = "%s.tmp" % device 88 run_cmd(" ".join(["img2simg ", device, " ", tmp_device])) 89 os.rename(tmp_device, device) 92 def mk_system_img(mkfs_tools: str, mk_configs: str, device: str, src_dir: str, is_sparse: str): 94 mk_configs = " ".join([src_dir, device, mk_configs]) 97 sparse_img2simg(is_sparse, device) 102 def mk_ramdisk_img(mkfs_tools: str, mk_configs: str, device: str, src_dir: str, is_sparse: str): 106 " ".join([src_dir, device, ramdisk_size]) 111 def mk_other_img(mkfs_tools: str, mk_configs: str, device [all...] |
H A D | mkcpioimage.py | 30 parser.add_argument("device", help="The device for mkfs.") 66 if args.device == "ramdisk.img": 67 output_path = os.path.join("%s/../images" % os.getcwd(), args.device) 68 elif args.device == "updater_ramdisk.img": 73 output_path = os.path.join(work_dir, args.device) 98 if "ramdisk.img" == args.device: 101 elif "updater_ramdisk.img" == args.device: 119 if "updater_ramdisk.img" in args.device:
|
H A D | mkf2fsimage.py | 26 parser.add_argument("device", help="The device for mkfs.") 76 " " + args.device) 111 sloadf2fs_cmd += ("sload.f2fs " + sloadf2fs_opts + " " + args.device) 124 trunc_cmd = "truncate -s " + args.fs_size + " " + args.device 135 os.remove(args.device)
|
H A D | mkextimage.py | 29 parser.add_argument("device", help="The device for mkfs.") 85 + str(BLOCKSIZE) + " " + args.device + " " + str(blocks)) 112 " " + args.device) 130 os.remove(args.device)
|
/build/tools/ |
H A D | product_config_version_convert.py | 24 device_dir = "../../productdefine/common/device" 30 device = data["product_device"] 31 device_path = os.path.join(device_dir, f"{device}.json") 53 readjson(new_file_name, device) 56 def readjson(path, device): 80 data.update({"board": device})
|
/build/hb/ |
H A D | main.py | 260 device = check_device.stdout.strip() 262 device = sys.argv[4] 263 if device not in check_device.stdout: 264 print("Error: Wrong device number") 266 subprocess.run(["hdc", "-t", str(device), "shell", "mount", "-o", "rw,remount", "/"], check=True, 283 ["hdc", "-t", str(device), "file", "send", os.path.join(CURRENT_OHOS_ROOT, one_push.get("src")),
|
Completed in 3 milliseconds