Lines Matching refs:shell
83 subprocess.check_call("hdc shell aa start -a EntryAbility -b com.example.myapplication", shell=True)
88 subprocess.check_call("hdc shell aa force-stop -b com.example.myapplication", shell=True)
163 output = subprocess.check_output("hdc shell \"hidumper -h |grep mem\"", shell=True, text=True, encoding="utf-8")
169 output = subprocess.check_output("hdc shell \"hidumper -p 1\"", shell=True, text=True, encoding="utf-8")
175 command = "hdc shell \"hidumper --mem 1 >> /data/log/hidumper.log\""
177 subprocess.check_call(command, shell=True)
178 output = subprocess.check_output("hdc shell ls -l /data/log/hidumper.log", shell=True).decode()
186 command = "hdc shell \"hidumper --net\""
187 subprocess.check_call(command, shell=True)
188 output = subprocess.check_output("hdc shell ls -l /data/log/hidumper.log", shell=True).decode()