Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 5 of 5) sorted by relevance

/build/tools/releasetools/
Dedify_generator.py39 def _WordWrap(cmd, linelen=80): argument
44 indent = cmd.index("(")+1
52 m = x.search(cmd)
54 parts = cmd.split("\0", 1)
59 cmd = parts[1]
62 cmd = cmd[m.end():]
77 cmd = ('file_getprop("/oem/oem.prop", "%s") == "%s" || '
82 self.script.append(cmd)
88 cmd = (
94 self.script.append(cmd)
[all …]
Dbuild_image.py33 def RunCommand(cmd): argument
41 print "Running: ", " ".join(cmd)
42 p = subprocess.Popen(cmd)
47 cmd = "build_verity_tree -s %d"
48 cmd %= partition_size
49 status, output = commands.getstatusoutput(cmd)
56 cmd = "system/extras/verity/build_verity_metadata.py -s %d"
57 cmd %= partition_size
58 status, output = commands.getstatusoutput(cmd)
82 cmd = ("build_verity_tree -A %s %s %s" % (FIXED_SALT, sparse_image_path, verity_image_path))
[all …]
Dcommon.py299 cmd = ["mkbootfs", "-f", fs_config_file, os.path.join(sourcedir, "RAMDISK")]
301 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
302 p1 = Run(cmd, stdout=subprocess.PIPE)
314 cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
318 cmd.append("--second")
319 cmd.append(fn)
323 cmd.append("--cmdline")
324 cmd.append(open(fn).read().rstrip("\n"))
328 cmd.append("--base")
329 cmd.append(open(fn).read().rstrip("\n"))
[all …]
/build/tools/atree/
Dfs.cpp186 char* cmd = strdup(strip_cmd); in strip_file() local
190 char* s = cmd; in strip_file()
209 free(cmd); in strip_file()
/build/tools/
Dparsedeps.py115 cmd = split[0]
116 if len(split) == 2 and cmd == "dep":
122 elif len(split) == 3 and cmd == "trace":