Home
last modified time | relevance | path

Searched refs:execute_shell_command (Results 1 – 12 of 12) sorted by relevance

/test/testfwk/xdevice/src/xdevice/_core/testkit/
Dkit.py50 device.execute_shell_command("remount")
51 device.execute_shell_command("mount -o rw,remount /cust")
52 device.execute_shell_command("mount -o rw,remount /product")
53 device.execute_shell_command("mount -o rw,remount /hw_product")
54 device.execute_shell_command("mount -o rw,remount /version")
55 device.execute_shell_command("mount -o rw,remount /%s" % "system")
114 device.execute_shell_command(
120 device.execute_shell_command(
308 device.execute_shell_command("svc power stayon true")
313 device.execute_shell_command("input keyevent 82")
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice.py240 stdout = self.execute_shell_command(command, timeout=5 * 1000,
279 def execute_shell_command(self, command, timeout=TIMEOUT, member in Device
283 HdcHelper.execute_shell_command(
288 return HdcHelper.execute_shell_command(
294 status = HdcHelper.execute_shell_command(self, command,
349 ret = self.execute_shell_command("test -d %s && echo 0" % remote)
352 self.execute_shell_command("mkdir -p %s" % remote)
381 output = self.execute_shell_command("ls -ld {}".format(path))
388 output = self.execute_shell_command("ls {}".format(file_path))
395 stdout = self.execute_shell_command(command, timeout=5 * 1000,
[all …]
Ddmlib.py446 HdcHelper.execute_shell_command(self.device, "ls %s" % remote,
528 HdcHelper.execute_shell_command(
773 HdcHelper.execute_shell_command(device, cmd, INSTALL_TIMEOUT, receiver)
787 HdcHelper.execute_shell_command(device, "rm %s " % remote_file_path)
795 HdcHelper.execute_shell_command(device, command, INSTALL_TIMEOUT,
809 def execute_shell_command(device, command, timeout=DEFAULT_TIMEOUT, member in HdcHelper
/test/testfwk/developer_test/src/core/command/
Ddistribute_utils.py115 output = device.execute_shell_command(command)
126 output = device.execute_shell_command("getprop ohos.boot.hardware")
131 output = device.execute_shell_command("ifconfig")
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py209 device.execute_shell_command("svc power stayon true")
214 device.execute_shell_command("input keyevent 82")
216 device.execute_shell_command("wm dismiss-keyguard")
221 device.execute_shell_command("svc power stayon false")
374 self.config.device.execute_shell_command(command)
466 stdout_info = self.device.execute_shell_command(command)
497 self.config.device.execute_shell_command(
575 self.config.device.execute_shell_command(
577 self.config.device.execute_shell_command(
579 self.config.device.execute_shell_command(
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py151 device.execute_shell_command(command_value)
376 device.execute_shell_command("rm -rf {}".format(
554 device.execute_shell_command("svc wifi enable")
561 if device.execute_shell_command(connect_wifi_cmd):
571 device.execute_shell_command("svc wifi disable")
662 device.execute_shell_command(
668 device.execute_shell_command(
815 device.execute_shell_command("rm -r %s" % pushed_file)
827 device.execute_shell_command("rm -rf " + push_dest_dir,
852 output = device.execute_shell_command("bm install -p " + push_dest)
[all …]
Dkit_lite.py638 device.execute_shell_command(command)
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py113 device.execute_shell_command("mkdir -p %s" % dst)
126 device.execute_shell_command(command)
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Dopenharmony.py224 self.config.device.execute_shell_command(
307 self.config.device.execute_shell_command(command="hilog -r")
624 self.config.device.execute_shell_command(
632 self.config.device.execute_shell_command(
766 self.config.device.execute_shell_command(
795 self.config.device.execute_shell_command(
937 self.security_patch = self.config.device.execute_shell_command(
939 self.system_version = self.config.device.execute_shell_command(
1123 result = self.config.device.execute_shell_command(
1129 result = self.config.device.execute_shell_command(
[all …]
Ddrivers.py210 stdout_info = self.device.execute_shell_command(command)
473 self.config.device.execute_shell_command(
483 self.config.device.execute_shell_command(
498 self.config.device.execute_shell_command(
577 exe_out = device.execute_shell_command(
836 self.config.device.execute_shell_command(
1025 device.execute_shell_command("svc power stayon false")
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py146 device.execute_shell_command("mkdir -p %s" % dst)
157 device.execute_shell_command(command)
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py388 device.execute_shell_command(" ".join(["chmod 644", target_prop_file]))
736 proc_running = device.execute_shell_command(cmd).strip()