public bool excuteCmdFlashBoot(String s) { CmdResult result = new CmdResult(); bool exist = File.Exists(s); if (exist) { result = excuteCmd(Enums.CmdType.CMD_FASTBOOT, "flash boot " + s, true); } else { s += " is not exist"; s += "\r\n"; if ((mIntfShow != null)) { mIntfShow.showText(s); } } return(exist & result.getResult()); }
public bool excuteCmdPull(String file) { CmdResult result = excuteCmd(Enums.CmdType.CMD_ADB, " pull " + file + " " + Enums.Path.CACHE, true); return(result.getResult()); }
public bool excuteCmdSearch(String file) { CmdResult result = excuteCmd(Enums.CmdType.CMD_ADB, " shell busybox find . -name " + file, true); return(result.getResult()); }
/// /// public bool excuteCmdExistFile(String s) { CmdResult res = excuteCmd(Enums.CmdType.CMD_ADB, " shell ls " + s, true); return(res.getResult()); }