Home
last modified time | relevance | path

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

/build/tools/releasetools/
Dedify_generator.py42 def WordWrap(cmd, linelen=80): argument
47 indent = cmd.index("(")+1
55 m = x.search(cmd)
57 parts = cmd.split("\0", 1)
62 cmd = parts[1]
65 cmd = cmd[m.end():]
80 cmd = ('file_getprop("/oem/oem.prop", "{name}") == "{value}" || '
85 self.script.append(cmd)
91 cmd = (' ||\n '.join([('getprop("ro.build.fingerprint") == "%s"') % i
96 self.script.append(cmd)
[all …]
Dbuild_image.py37 def RunCommand(cmd): argument
45 print "Running: ", " ".join(cmd)
46 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
52 cmd = "build_verity_tree -s %d"
53 cmd %= partition_size
54 status, output = commands.getstatusoutput(cmd)
61 cmd = "system/extras/verity/build_verity_metadata.py -s %d"
62 cmd %= partition_size
64 status, output = commands.getstatusoutput(cmd)
88 cmd = "build_verity_tree -A %s %s %s" % (
[all …]
Dcommon.py322 cmd = ["mkbootfs", "-f", fs_config_file, os.path.join(sourcedir, "RAMDISK")]
324 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
325 p1 = Run(cmd, stdout=subprocess.PIPE)
337 cmd = [mkbootimg, "--kernel", os.path.join(sourcedir, "kernel")]
341 cmd.append("--second")
342 cmd.append(fn)
346 cmd.append("--cmdline")
347 cmd.append(open(fn).read().rstrip("\n"))
351 cmd.append("--base")
352 cmd.append(open(fn).read().rstrip("\n"))
[all …]
Dblockimgdiff.py588 for cmd in replaced_cmds:
591 for idx, sr in cmd.use_stash:
597 cmd.ConvertToNew()
/build/tools/atree/
Dfs.cpp179 char* cmd = strdup(strip_cmd); in strip_file() local
183 char* s = cmd; in strip_file()
202 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":