• Home
  • Raw
  • Download

Lines Matching refs:string

29 const string IPV4_MAPPING_PREFIX = "::ffff:";
30 const string DEFAULT_SERVER_ADDR_IP = "::ffff:127.0.0.1";
31 const string DEFAULT_SERVER_ADDR = "::ffff:127.0.0.1:8710";
32 const string ENV_SERVER_PORT = "OHOS_HDC_SERVER_PORT";
62 const string WHITE_SPACES = " \t\n\r";
63 const string UT_TMP_PATH = "/tmp/hdc-ut";
64 const string LOG_FILE_NAME = "hdc.log";
65 const string LOG_BAK_NAME = "hdclast.log";
66 const string LOG_CACHE_NAME = ".hdc.cache.log";
68 const string SERVER_NAME = "HDCServer";
69 const string STRING_EMPTY = "";
70 const string HANDSHAKE_MESSAGE = "OHOS HDC"; // sep not char '-', not more than 11 bytes
71 const string HANDSHAKE_FAILED = "HS FAILED";
72 const string PACKET_FLAG = "HW"; // must 2bytes
73 const string EMPTY_ECHO = "[Empty]";
74 const string MESSAGE_INFO = "[Info]";
75 const string MESSAGE_FAIL = "[Fail]";
76 const string MESSAGE_SUCCESS = "[Success]";
78 const string CMDSTR_SOFTWARE_VERSION = "version";
79 const string CMDSTR_SOFTWARE_HELP = "help";
80 const string CMDSTR_TARGET_DISCOVER = "discover";
81 const string CMDSTR_SERVICE_START = "start";
82 const string CMDSTR_SERVICE_KILL = "kill";
83 const string CMDSTR_GENERATE_KEY = "keygen";
84 const string CMDSTR_KILL_SERVER = "kserver";
85 const string CMDSTR_KILL_DAEMON = "kdaemon";
86 const string CMDSTR_LIST_TARGETS = "list targets";
87 const string CMDSTR_CHECK_SERVER = "checkserver";
88 const string CMDSTR_CHECK_DEVICE = "checkdevice";
89 const string CMDSTR_WAIT_FOR = "wait";
90 const string CMDSTR_CONNECT_TARGET = "tconn";
91 const string CMDSTR_CONNECT_ANY = "any";
92 const string CMDSTR_SHELL = "shell";
93 const string CMDSTR_TARGET_REBOOT = "target boot";
94 const string CMDSTR_TARGET_MOUNT = "target mount";
95 const string CMDSTR_STARTUP_MODE = "smode";
96 const string CMDSTR_TARGET_MODE = "tmode";
97 const string CMDSTR_BUGREPORT = "bugreport";
98 const string CMDSTR_HILOG = "hilog";
99 const string CMDSTR_TMODE_USB = "usb";
101 const string HILOG_NAME = "hilog.exe";
102 const string SPLIT = "\\";
105 const string CMDSTR_TMODE_UART = "uart";
106 const string UART_HDC_NODE = "/dev/ttyS4";
107 const string CONSOLE_ACTIVE_NODE = "/sys/class/tty/console/active";
112 const string CMDSTR_TMODE_TCP = "tcp";
113 const string CMDSTR_FILE_SEND = "file send";
114 const string CMDSTR_FILE_RECV = "file recv";
115 const string CMDSTR_REMOTE_PARAMETER = "remote";
116 const string CMDSTR_FORWARD_FPORT = "fport";
117 const string CMDSTR_FORWARD_RPORT = "rport";
118 const string CMDSTR_APP_INSTALL = "install";
119 const string CMDSTR_APP_UNINSTALL = "uninstall";
120 const string CMDSTR_APP_SIDELOAD = "sideload";
121 const string CMDSTR_LIST_JDWP = "jpid";
122 const string CMDSTR_TRACK_JDWP = "track-jpid";
123 const string CMDSTR_INNER_ENABLE_KEEPALIVE = "alive";
124 const string CMDSTR_FLASHD_UPDATE = "update";
125 const string CMDSTR_FLASHD_FLASH = "flash";
126 const string CMDSTR_FLASHD_ERASE = "erase";
127 const string CMDSTR_FLASHD_FORMAT = "format";