Searched refs:cmdRet (Results 1 – 4 of 4) sorted by relevance
49 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)85 cmdRet = exec_cmd(hdcPath + " shell \"ls -l /data/log/faultlog/temp/\" ", waitOut=True)86 splitlines = cmdRet.strip('\n\t\r').split("\n")[all …]
34 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")
55 cmdRet is 1501003847544634520655ef935dc72756 cmdRet is start ability successfully.
110 std::string cmdRet = ExecuteCmd(cmd); in SaveCmdOutput() local111 fstr << cmdRet; in SaveCmdOutput()