Home
last modified time | relevance | path

Searched refs:cmdRet (Results 1 - 3 of 3) sorted by relevance

/test/xts/tools/lite/reliability/
H A DNativePressTest.py49 cmdRet = exec_cmd(hdcPath + " shell \"ps -elf | grep "
51 print("cmdRet is :" + cmdRet)
52 splitlines = cmdRet.strip('\n\t\r').split("\n")
66 cmdRet = exec_cmd(hdcPath + " shell \"cat /proc/" + pid + "/cmdline\"", waitOut=True)
67 if cmdRet.find(testFile) == -1:
71 print("cmdRet is " + cmdRet)
78 cmdRet = exec_cmd(hdcPath + " shell " + " kill " + pid, waitOut=True)
79 print(cmdRet)
[all...]
H A DRebootPressTest.py34 cmdRet = exec_cmd(hdcPath + " list targets", waitOut=True)
35 print("cmdRet is " + str(cmdRet))
36 if str(cmdRet).find(DeviceKey) != -1:
37 cmdRet = exec_cmd(hdcPath + " -t " + DeviceKey + " shell " +
39 print("cmdRet is " + str(cmdRet))
40 if str(cmdRet).find(abilitySuccess) != -1:
43 cmdRet = exec_cmd(hdcPath + " -t " + DeviceKey + " shell reboot")
/test/xts/acts/hiviewdfx/utils/native/
H A Dfile_utils.cpp110 std::string cmdRet = ExecuteCmd(cmd); in SaveCmdOutput() local
111 fstr << cmdRet; in SaveCmdOutput() local

Completed in 2 milliseconds