Home
last modified time | relevance | path

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

12

/test/xts/acts/pcs/pcs_py/
DtestBundleInstallVerify.py42 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/bundle_first.hap…
46 dumpResult = self.device1.execute_shell_command("bm dump -n com.pcs.software.bundle.first")
50 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/bundle_second.ha…
54 dumpResult = self.device1.execute_shell_command("bm dump -n com.pcs.software.bundle.first")
58 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/bundle_third.hap…
62 dumpResult = self.device1.execute_shell_command("bm dump -n com.pcs.software.bundle.first")
69 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/bundle_fourth.ha…
73 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/feature_first.ha…
77 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/feature_second.h…
81 …installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/feature_third.ha…
DtestSDCardMount.py34 mountResult = self.device1.execute_shell_command("df -h")
40 rmountResult = self.device1.execute_shell_command("umount " + mountItem.split()[-1])
42 mountResult = self.device1.execute_shell_command("df -h")
45 rebootResult = self.device1.execute_shell_command("reboot")
46 mountResult = self.device1.execute_shell_command("df -h")
DtestAppSignatureVerify.py34 …installHapResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/unsigned.hap")
36 bundleNames = self.device1.execute_shell_command("bm dump -a").strip()
38 … installHapResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/signed.hap")
40 bundleNames = self.device1.execute_shell_command("bm dump -a").strip()
DtestRealRandomGenerate.py34 randomFile = self.device1.execute_shell_command("ls /dev/random | wc -l").strip()
36 urandomFile = self.device1.execute_shell_command("ls /dev/urandom | wc -l").strip()
40 …randomNumber = self.device1.execute_shell_command("cat /dev/random | head -n 10 | md5sum | head -c…
44 …randomNumber = self.device1.execute_shell_command("cat /dev/urandom | head -n 10 | md5sum | head -…
DtestInstallSignedHap.py35 … installHapResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/signed.hap")
38 … installHspResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/signed.hsp")
41 …installHqfResult = self.device1.execute_shell_command("bm quickfix -a -f /data/local/tmp/signed.hq…
DtestCommandWukong.py34 sysCapsStr = self.device1.execute_shell_command("cat /system/etc/param/syscap.para")
37 wukongOutput = self.device1.execute_shell_command("wukong help")
DtestSelinuxFileLable.py35 …fileContextFile = self.device1.execute_shell_command("ls /system/etc/selinux/targeted/contexts/fil…
48 …fileContextFile = self.device1.execute_shell_command("cat /system/etc/selinux/targeted/contexts/fi…
DtestSystemCoreInternetPermission.py39 initFileList = self.device1.execute_shell_command("ls /system/etc/init").strip().split()
42 … cfgInfo = self.device1.execute_shell_command("cat /system/etc/init/" + initFile).strip()
DtestJsConfiguration.py33 … installResult = self.device1.execute_shell_command("bm install -p /data/local/tmp/errorjs.hap")
DtestTrustedRootCaExist.py34 …rootCa = self.device1.execute_shell_command("ls /system/etc/security/trusted_root_ca.json | wc -l"…
DtestPermissionName.py34 … permissionBundleInfo = self.device1.execute_shell_command("bm dump -n ohos.global.systemres")
DtestPermissionsNotMissing.py34 … permissionBundleInfo = self.device1.execute_shell_command("bm dump -n ohos.global.systemres")
DtestMinimumComponentSet.py35 deviceSysCapsStr = self.device1.execute_shell_command("cat /system/etc/param/syscap.para")
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice.py233 self.execute_shell_command("mount -o rw,remount /")
275 out = self.execute_shell_command(
318 stdout = self.execute_shell_command(command, timeout=5 * 1000,
357 def execute_shell_command(self, command, timeout=TIMEOUT, member in Device
361 HdcHelper.execute_shell_command(
366 return HdcHelper.execute_shell_command(
372 status = HdcHelper.execute_shell_command(self, command,
427 ret = self.execute_shell_command("test -d %s && echo 0" % remote)
430 self.execute_shell_command("mkdir -p %s" % remote)
459 output = self.execute_shell_command("ls -ld {}".format(path))
[all …]
Ddmlib.py449 HdcHelper.execute_shell_command(self.device, "ls %s" % remote,
531 HdcHelper.execute_shell_command(
776 HdcHelper.execute_shell_command(device, cmd, INSTALL_TIMEOUT, receiver)
790 HdcHelper.execute_shell_command(device, "rm %s " % remote_file_path)
798 HdcHelper.execute_shell_command(device, command, INSTALL_TIMEOUT,
812 def execute_shell_command(device, command, timeout=DEFAULT_TIMEOUT, member in HdcHelper
/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/developer_test/src/core/driver/
Ddrivers.py218 device.execute_shell_command("svc power stayon true")
223 device.execute_shell_command("input keyevent 82")
225 device.execute_shell_command("wm dismiss-keyguard")
230 device.execute_shell_command("svc power stayon false")
446 stdout_info = self.device.execute_shell_command(command)
479 self.config.device.execute_shell_command(
499 self.config.device.execute_shell_command(command)
612 self.config.device.execute_shell_command(
614 self.config.device.execute_shell_command(
616 self.config.device.execute_shell_command(
[all …]
/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/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py153 device.execute_shell_command(command_value)
397 device.execute_shell_command("rm -rf {}".format(
576 device.execute_shell_command("svc wifi enable")
583 if device.execute_shell_command(connect_wifi_cmd):
593 device.execute_shell_command("svc wifi disable")
684 device.execute_shell_command(
690 device.execute_shell_command(
837 device.execute_shell_command("rm -r %s" % pushed_file)
849 device.execute_shell_command("rm -rf " + push_dest_dir,
874 output = device.execute_shell_command("bm install -p " + push_dest)
[all …]
/test/testfwk/xdevice/plugins/devicetest/utils/
Dutil.py203 ret = _ad.execute_shell_command("test -f %s && echo 0" % remote_file)
215 ret = _ad.execute_shell_command(
243 ret = device.execute_shell_command(cmd)
/test/testfwk/xdevice/plugins/devicetest/controllers/tools/
Dscreen_agent.py124 _device.execute_shell_command(
130 _device.execute_shell_command("rm -f {}".format(remote))
135 _device.execute_shell_command("rm -f {}".format(remote))
188 phone_time = _device.execute_shell_command("date '+%Y%m%d_%H%M%S'").strip()
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Dopenharmony.py227 self.config.device.execute_shell_command(
311 self.config.device.execute_shell_command(command="hilog -r")
629 self.config.device.execute_shell_command(
637 self.config.device.execute_shell_command(
771 self.config.device.execute_shell_command(
800 self.config.device.execute_shell_command(
948 self.security_patch = self.config.device.execute_shell_command(
950 self.system_version = self.config.device.execute_shell_command(
1132 cmd_result = self.config.device.execute_shell_command(f"ls -al {affected_file}").strip()
1135 affected_file = self.config.device.execute_shell_command("find /dev/block/platform "
[all …]
Ddrivers.py192 stdout_info = self.device.execute_shell_command(command)
457 self.config.device.execute_shell_command(
471 self.config.device.execute_shell_command(
489 self.config.device.execute_shell_command(
570 exe_out = device.execute_shell_command(
828 self.config.device.execute_shell_command(
1027 device.execute_shell_command("svc power stayon false")
/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/developer_test/src/core/config/
Dresource_manager.py178 device.execute_shell_command("mkdir -p %s" % dst)
189 device.execute_shell_command(command)

12