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";
67 const string HDC_HOST_DAEMON_BUF_SEPARATOR = "\f";
70 const string WHITE_SPACES = " \t\n\r";
71 const string UT_TMP_PATH = "/tmp/hdc-ut";
72 const string LOG_FILE_NAME = "hdc.log";
73 const string LOG_BAK_NAME = "hdclast.log";
74 const string LOG_CACHE_NAME = ".hdc.cache.log";
76 const string SERVER_NAME = "HDCServer";
77 const string STRING_EMPTY = "";
78 const string HANDSHAKE_MESSAGE = "OHOS HDC"; // sep not char '-', not more than 11 bytes
79 const string HANDSHAKE_FAILED = "HS FAILED";
80 const string PACKET_FLAG = "HW"; // must 2bytes
81 const string EMPTY_ECHO = "[Empty]";
82 const string MESSAGE_INFO = "[Info]";
83 const string MESSAGE_FAIL = "[Fail]";
84 const string MESSAGE_SUCCESS = "[Success]";
86 const string CMDSTR_SOFTWARE_VERSION = "version";
87 const string CMDSTR_SOFTWARE_HELP = "help";
88 const string CMDSTR_TARGET_DISCOVER = "discover";
89 const string CMDSTR_SERVICE_START = "start";
90 const string CMDSTR_SERVICE_KILL = "kill";
91 const string CMDSTR_GENERATE_KEY = "keygen";
92 const string CMDSTR_KILL_SERVER = "kserver";
93 const string CMDSTR_KILL_DAEMON = "kdaemon";
94 const string CMDSTR_LIST_TARGETS = "list targets";
95 const string CMDSTR_CHECK_SERVER = "checkserver";
96 const string CMDSTR_CHECK_DEVICE = "checkdevice";
97 const string CMDSTR_WAIT_FOR = "wait";
98 const string CMDSTR_CONNECT_TARGET = "tconn";
99 const string CMDSTR_CONNECT_ANY = "any";
100 const string CMDSTR_SHELL = "shell";
101 const string CMDSTR_TARGET_REBOOT = "target boot";
102 const string CMDSTR_TARGET_MOUNT = "target mount";
103 const string CMDSTR_STARTUP_MODE = "smode";
104 const string CMDSTR_TARGET_MODE = "tmode";
105 const string CMDSTR_BUGREPORT = "bugreport";
106 const string CMDSTR_HILOG = "hilog";
107 const string CMDSTR_TMODE_USB = "usb";
109 const string HILOG_NAME = "hilog.exe";
110 const string SPLIT = "\\";
113 const string CMDSTR_TMODE_UART = "uart";
114 const string UART_HDC_NODE = "/dev/ttyS4";
115 const string CONSOLE_ACTIVE_NODE = "/sys/class/tty/console/active";
120 const string CMDSTR_TMODE_TCP = "tcp";
121 const string CMDSTR_FILE_SEND = "file send";
122 const string CMDSTR_FILE_RECV = "file recv";
123 const string CMDSTR_REMOTE_PARAMETER = "remote";
124 const string CMDSTR_FORWARD_FPORT = "fport";
125 const string CMDSTR_FORWARD_RPORT = "rport";
126 const string CMDSTR_APP_INSTALL = "install";
127 const string CMDSTR_APP_UNINSTALL = "uninstall";
128 const string CMDSTR_APP_SIDELOAD = "sideload";
129 const string CMDSTR_LIST_JDWP = "jpid";
130 const string CMDSTR_TRACK_JDWP = "track-jpid";
131 const string CMDSTR_INNER_ENABLE_KEEPALIVE = "alive";
132 const string CMDSTR_FLASHD_UPDATE = "update";
133 const string CMDSTR_FLASHD_FLASH = "flash";
134 const string CMDSTR_FLASHD_ERASE = "erase";
135 const string CMDSTR_FLASHD_FORMAT = "format";