Lines Matching refs:command
24 def WaitUntillOutputAppear(command, targetStr, second):
26 command = None
28 command = "hdc shell \"ls -l /data/log/faultlog/temp |grep jsheap\""
30 command = "hdc shell \"ls -l /data/log/reliability/resource_leak/memory_leak |grep jsheap\""
31 output = subprocess.check_output(command, shell=True, text=True, encoding="utf-8").strip()
89 command = f"hidumper --mem"
91 CheckCmd(command, CheckHidumperMemoryWithoutPidOutput)
93 CheckCmdRedirect(command, CheckHidumperMemoryWithoutPidOutput)
95 CheckCmdZip(command, CheckHidumperMemoryWithoutPidOutput)
101 command = f"hidumper --mem {pid}"
103 CheckCmd(command, CheckHidumperMemoryWithPidOutput)
105 CheckCmdRedirect(command, CheckHidumperMemoryWithPidOutput)
107 CheckCmdZip(command, CheckHidumperMemoryWithPidOutput)
138 command = f"hdc shell \"hidumper --mem-jsheap {pid}\""
140 subprocess.check_call(command, shell=True)
157 command = f"hdc shell \"hidumper --mem-jsheap {pid} -T {pid}\""
159 subprocess.check_call(command, shell=True)
176 command = f"hdc shell \"hidumper --mem-jsheap {pid} --gc\""
178 subprocess.check_call(command, shell=True)
192 command = f"hdc shell \"hidumper --mem-jsheap {pid} -T {pid} --gc\""
194 subprocess.check_call(command, shell=True)