Home
last modified time | relevance | path

Searched refs:sendMsg (Results 1 – 10 of 10) sorted by relevance

/system/netd/server/
DCommandListener.cpp132 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
140 cli->sendMsg(ResponseCode::OperationFailed, "Failed to get interface list", true); in runCommand()
144 cli->sendMsg(ResponseCode::InterfaceListResult, ifacePair.first.c_str(), false); in runCommand()
147 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); in runCommand()
154 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
168 cli->sendMsg(ResponseCode::OperationFailed, "Interface not found", true); in runCommand()
196 cli->sendMsg(ResponseCode::InterfaceGetCfgResult, msg, false); in runCommand()
207 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
222 cli->sendMsg(ResponseCode::OperationFailed, "Failed to clear address", true); in runCommand()
228 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set address", true); in runCommand()
[all …]
DMDnsSdListener.cpp76 cli->sendMsg(ResponseCode::CommandParameterError, in discover()
89 cli->sendMsg(ResponseCode::CommandParameterError, in discover()
95 cli->sendMsg(ResponseCode::CommandOkay, "Discover operation started", false); in discover()
137 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in stop()
145 cli->sendMsg(ResponseCode::CommandParameterError, "Unknown requestId", false); in stop()
153 cli->sendMsg(ResponseCode::CommandOkay, msg, false); in stop()
169 cli->sendMsg(ResponseCode::CommandParameterError, in serviceRegister()
182 cli->sendMsg(ResponseCode::CommandParameterError, in serviceRegister()
188 cli->sendMsg(ResponseCode::CommandOkay, "serviceRegister started", false); in serviceRegister()
224 cli->sendMsg(ResponseCode::CommandParameterError, in resolveService()
[all …]
DDnsProxyListener.cpp100 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in tryThreadOrError()
455 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
532 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
675 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
694 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in runCommand()
/system/core/logd/
DCommandListener.cpp88 cli->sendMsg("Missing Argument"); in runCommand()
94 cli->sendMsg("Range Error"); in runCommand()
98 cli->sendMsg(mBuf.clear((log_id_t)id, uid) ? "busy" : "success"); in runCommand()
110 cli->sendMsg("Missing Argument"); in runCommand()
116 cli->sendMsg("Range Error"); in runCommand()
123 cli->sendMsg(buf); in runCommand()
135 cli->sendMsg("Permission Denied"); in runCommand()
140 cli->sendMsg("Missing Argument"); in runCommand()
146 cli->sendMsg("Range Error"); in runCommand()
152 cli->sendMsg("Range Error"); in runCommand()
[all …]
/system/core/libsysutils/src/
DFrameworkClient.cpp32 int FrameworkClient::sendMsg(const char *msg) { in sendMsg() function in FrameworkClient
48 int FrameworkClient::sendMsg(const char *msg, const char *data) { in sendMsg() function in FrameworkClient
56 return sendMsg(buffer); in sendMsg()
DFrameworkListener.cpp69 c->sendMsg(500, "Command too large for buffer", false); in onDataAvailable()
132 cli->sendMsg(500, "Unsupported escape sequence", false); in dispatchCommand()
158 cli->sendMsg(500, "Invalid sequence number", false); in dispatchCommand()
186 cli->sendMsg(500, "Unclosed quotes error", false); in dispatchCommand()
206 cli->sendMsg(500, "Command not recognized", false); in dispatchCommand()
214 cli->sendMsg(500, "Command too long", false); in dispatchCommand()
DSocketClient.cpp71 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() function in SocketClient
72 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
75 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() function in SocketClient
94 ret = sendMsg(buf); in sendMsg()
161 int SocketClient::sendMsg(const char *msg) { in sendMsg() function in SocketClient
DSocketListener.cpp293 if (c->sendMsg(code, msg, addErrno, false)) { in sendBroadcast()
/system/core/libsysutils/include/sysutils/
DSocketClient.h48 int sendMsg(int code, const char *msg, bool addErrno);
49 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum);
50 int sendMsg(const char *msg);
DFrameworkClient.h16 int sendMsg(const char *msg);
17 int sendMsg(const char *msg, const char *data);