Searched refs:exec_cmd (Results 1 - 12 of 12) sorted by relevance
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 35 exec_cmd(hdcPath + " file send " + testFilePath + test_fileset + " /data/local/tmp/" + test_fileset) 37 exec_cmd(hdcPath + " shell chmod +x /data/local/tmp/" + test_fileset) 43 exec_cmd(testCmd) 49 cmdRet = exec_cmd(hdcPath + " shell \"ps -elf | grep " 66 cmdRet = exec_cmd(hdcPath + " shell \"cat /proc/" + pid + "/cmdline\"", waitOut=True) 78 cmdRet = exec_cmd(hdcPath + " shell " + " kill " + pid, waitOut=True) 84 exec_cmd("md " + testScriptPath + "\\faultlog") 85 cmdRet = exec_cmd(hdcPath + " shell \"ls -l /data/log/faultlog/temp/\" ", waitOut=True) 96 cmdRet = exec_cmd(hdcPath + " file recv /data/log/faultlog/temp/" +
|
H A D | RebootPressTest.py | 34 cmdRet = exec_cmd(hdcPath + " list targets", waitOut=True) 37 cmdRet = exec_cmd(hdcPath + " -t " + DeviceKey + " shell " + 43 cmdRet = exec_cmd(hdcPath + " -t " + DeviceKey + " shell reboot")
|
H A D | utils.py | 41 def exec_cmd(cmd, timeout=10, error_print=True, join_result=False, waitOut=False): function
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | __init__.py | 49 from xdevice import exec_cmd namespace
|
H A D | oh_yara_driver.py | 235 result = exec_cmd(cmd)
|
H A D | oh_jsunit_driver.py | 486 result = exec_cmd(command, join_result=True) 903 result = exec_cmd(command, join_result=True)
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | device_lite.py | 34 from xdevice import exec_cmd namespace 194 result = exec_cmd([hdc])
|
H A D | dmlib.py | 36 from xdevice import exec_cmd namespace 300 exec_cmd([connector, "kill"]) 302 exec_cmd(
|
H A D | device.py | 42 from xdevice import exec_cmd namespace 407 result = exec_cmd(cmd, timeout, error_print, join_result)
|
/test/testfwk/xdevice/src/xdevice/ |
H A D | __init__.py | 104 from _core.utils import exec_cmd namespace 267 "exec_cmd",
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 165 def exec_cmd(cmd, timeout=5 * 60, error_print=True, join_result=False, redirect=False): function
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
H A D | kit.py | 40 from xdevice import exec_cmd namespace 816 exec_out = exec_cmd(real_command)
|
Completed in 12 milliseconds