Lines Matching defs:map

33         let mut map = HashMap::new();
35 map.insert("version", HdcCommand::ClientVersion);
36 map.insert("help", HdcCommand::KernelHelp);
37 map.insert("discover", HdcCommand::KernelTargetDiscover);
38 map.insert("start", HdcCommand::KernelServerStart);
39 map.insert("kill", HdcCommand::KernelServerKill);
40 map.insert("keygen", HdcCommand::ClientKeyGenerate);
41 map.insert("list targets", HdcCommand::KernelTargetList);
42 map.insert("checkserver", HdcCommand::KernelCheckServer);
43 map.insert("checkdevice", HdcCommand::KernelCheckDevice);
44 map.insert("wait", HdcCommand::KernelWaitFor);
45 map.insert("tconn", HdcCommand::KernelTargetConnect);
46 map.insert("any", HdcCommand::KernelTargetAny);
47 map.insert("shell", HdcCommand::UnityExecute);
48 map.insert("target boot", HdcCommand::UnityReboot);
49 map.insert("target mount", HdcCommand::UnityRemount);
50 map.insert("smode", HdcCommand::UnityRootrun);
51 map.insert("tmode", HdcCommand::UnityRunmode);
52 map.insert("bugreport", HdcCommand::UnityBugreportInit);
53 map.insert("hilog", HdcCommand::UnityHilog);
54 map.insert("file send", HdcCommand::FileInit);
55 map.insert("file recv", HdcCommand::FileRecvInit);
56 map.insert("fport", HdcCommand::ForwardInit);
57 map.insert("rport", HdcCommand::ForwardRportInit);
58 map.insert("rport ls", HdcCommand::ForwardRportList);
59 map.insert("fport ls", HdcCommand::ForwardList);
60 map.insert("fport rm", HdcCommand::ForwardRemove);
61 map.insert("rport rm", HdcCommand::ForwardRportRemove);
62 map.insert("install", HdcCommand::AppInit);
63 map.insert("uninstall", HdcCommand::AppUninstall);
64 map.insert("sideload", HdcCommand::AppSideload);
65 map.insert("jpid", HdcCommand::JdwpList);
66 map.insert("track-jpid", HdcCommand::JdwpTrack);
67 map.insert("alive", HdcCommand::KernelEnableKeepalive);
68 map.insert("update", HdcCommand::FlashdUpdateInit);
69 map.insert("flash", HdcCommand::FlashdFlashInit);
70 map.insert("erase", HdcCommand::FlashdErase);
71 map.insert("format", HdcCommand::FlashdFormat);
73 map