• Home
  • Raw
  • Download

Lines Matching refs:HdcCommand

17 use hdc::config::{self, HdcCommand};
26 pub command: Option<HdcCommand>,
31 static ref CMD_MAP: HashMap<&'static str, HdcCommand> = {
34 map.insert("version", HdcCommand::ClientVersion);
35 map.insert("help", HdcCommand::KernelHelp);
36 map.insert("discover", HdcCommand::KernelTargetDiscover);
37 map.insert("start", HdcCommand::KernelServerStart);
38 map.insert("kill", HdcCommand::KernelServerKill);
39 map.insert("keygen", HdcCommand::ClientKeyGenerate);
40 map.insert("list targets", HdcCommand::KernelTargetList);
41 map.insert("checkserver", HdcCommand::KernelCheckServer);
42 map.insert("checkdevice", HdcCommand::KernelCheckDevice);
43 map.insert("wait", HdcCommand::KernelWaitFor);
44 map.insert("tconn", HdcCommand::KernelTargetConnect);
45 map.insert("any", HdcCommand::KernelTargetAny);
46 map.insert("shell", HdcCommand::UnityExecute);
47 map.insert("target boot", HdcCommand::UnityReboot);
48 map.insert("target mount", HdcCommand::UnityRemount);
49 map.insert("smode", HdcCommand::UnityRootrun);
50 map.insert("tmode", HdcCommand::UnityRunmode);
51 map.insert("bugreport", HdcCommand::UnityBugreportInit);
52 map.insert("hilog", HdcCommand::UnityHilog);
53 map.insert("file send", HdcCommand::FileInit);
54 map.insert("file recv", HdcCommand::FileInit);
55 map.insert("fport", HdcCommand::ForwardInit);
56 map.insert("rport", HdcCommand::ForwardInit);
57 map.insert("fport ls", HdcCommand::ForwardList);
58 map.insert("fport rm", HdcCommand::ForwardRemove);
59 map.insert("install", HdcCommand::AppInit);
60 map.insert("uninstall", HdcCommand::AppUninstall);
61 map.insert("sideload", HdcCommand::AppSideload);
62 map.insert("jpid", HdcCommand::JdwpList);
63 map.insert("track-jpid", HdcCommand::JdwpTrack);
64 map.insert("alive", HdcCommand::KernelEnableKeepalive);
65 map.insert("update", HdcCommand::FlashdUpdateInit);
66 map.insert("flash", HdcCommand::FlashdFlashInit);
67 map.insert("erase", HdcCommand::FlashdErase);
68 map.insert("format", HdcCommand::FlashdFormat);
78 let mut cmd_opt: Option<HdcCommand> = None; in split_opt_and_cmd()
126 pub command: Option<HdcCommand>,