Home
last modified time | relevance | path

Searched refs:execute_shell_command (Results 1 – 25 of 37) 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…
DtestPowerShell.py37 suspendStr = self.device1.execute_shell_command("power-shell suspend")
40 wakeUpStr = self.device1.execute_shell_command("power-shell wakeup")
45 setModeStr = self.device1.execute_shell_command("power-shell setmode 603")
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"…
DtestPowerWakeUp.py37 suspendStr = self.device1.execute_shell_command("power-shell suspend")
DtestSysCapNameOnly.py36 sysCapsStr = self.device1.execute_shell_command("cat ./system/etc/param/syscap.para")
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.py36 deviceSysCapsStr = self.device1.execute_shell_command("cat /system/etc/param/syscap.para")
/test/testfwk/xdevice/src/xdevice/_core/testkit/
Dkit.py51 device.execute_shell_command("remount")
52 device.execute_shell_command("mount -o rw,remount /")
53 device.execute_shell_command("mount -o rw,remount /sys_prod")
54 device.execute_shell_command("mount -o rw,remount /chip_prod")
55 device.execute_shell_command("mount -o rw,remount /preload")
56 device.execute_shell_command("mount -o rw,remount /patch_hw")
57 device.execute_shell_command("mount -o rw,remount /vendor")
58 device.execute_shell_command("mount -o rw,remount /cust")
59 device.execute_shell_command("mount -o rw,remount /product")
60 device.execute_shell_command("mount -o rw,remount /hw_product")
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice.py314 out = self.execute_shell_command(
364 stdout = self.execute_shell_command(command, timeout=5 * 1000,
380 stdout = self.execute_shell_command(command, timeout=5 * 1000,
418 def execute_shell_command(self, command, timeout=TIMEOUT, member in Device
422 HdcHelper.execute_shell_command(
427 return HdcHelper.execute_shell_command(
433 status = HdcHelper.execute_shell_command(self, command,
486 ret = self.execute_shell_command("test -d %s && echo 0" % remote, retry=0)
489 self.execute_shell_command("mkdir -p %s" % remote, retry=0)
519 ret = self.execute_shell_command("whoami")
[all …]
/test/xts/acts/pcs/pcs_syscap/
DtestSyscapMinSetTest.py39 …SystemCapability_json_data = self.device1.execute_shell_command("cat /system/etc/SystemCapability.…
45 … device_type = self.device1.execute_shell_command("param get const.product.devicetype").strip()
51 …syscap_json_data = self.device1.execute_shell_command(f"cat /data/local/tmp/syscap/{device_type}.j…
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py243 device.execute_shell_command("svc power stayon true")
248 device.execute_shell_command("input keyevent 82")
250 device.execute_shell_command("wm dismiss-keyguard")
255 device.execute_shell_command("svc power stayon false")
471 stdout_info = self.device.execute_shell_command(command)
504 self.config.device.execute_shell_command(
524 self.config.device.execute_shell_command(command)
642 self.config.device.execute_shell_command(
644 self.config.device.execute_shell_command(
646 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/
Dexception.py131 ret = device.execute_shell_command("uitest --version")
138 status = device.execute_shell_command("param get const.security.developermode.state")
147 ret = device.execute_shell_command("free -h")
/test/testfwk/xdevice/plugins/devicetest/utils/
Dutil.py226 ret = _ad.execute_shell_command("test -f %s && echo 0" % remote_file)
238 ret = _ad.execute_shell_command(
266 ret = device.execute_shell_command(cmd)
321 device_md5 = device.execute_shell_command(
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Doh_yara_driver.py170 self.security_patch = self.config.device.execute_shell_command(
172 self.system_version = self.config.device.execute_shell_command(
367 result = self.config.device.execute_shell_command(
373 result = self.config.device.execute_shell_command(
376 self.config.device.execute_shell_command(
379 self.config.device.execute_shell_command(
384 self.system_version = self.config.device.execute_shell_command(
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py150 device.execute_shell_command(command_value)
406 device.execute_shell_command("rm -rf {}".format(
602 device.execute_shell_command(
608 device.execute_shell_command(
756 device.execute_shell_command("rm -r %s" % pushed_file)
768 device.execute_shell_command("rm -rf " + push_dest_dir,
791 … output = device.execute_shell_command("bm install -p {} {}".format(push_dest, self.ex_args))
852 result = device.execute_shell_command(command)
938 out = device.execute_shell_command(command)
947 content = device.execute_shell_command(dum_command)
[all …]

12