Home
last modified time | relevance | path

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

/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/netd/server/
DNdcDispatcher.cpp57 cli->sendMsg(ResponseCode::OperationFailed, errMsg, addErrno); \
66 cli->sendMsg(ResponseCode::OperationFailed, errMsg, addErrno); \
150 mNdc.sendMsg(500, "Command too long", false); in dispatchCommand()
156 mNdc.sendMsg(500, "Handler error", true); in dispatchCommand()
161 mNdc.sendMsg(500, "Command not recognized", false); in dispatchCommand()
169 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
179 cli->sendMsg(ResponseCode::OperationFailed, "Failed to get interface list", true); in runCommand()
183 cli->sendMsg(ResponseCode::InterfaceListResult, iface.c_str(), false); in runCommand()
186 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); in runCommand()
193 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
[all …]
DMDnsSdListener.cpp80 cli->sendMsg(ResponseCode::CommandParameterError, in discover()
93 cli->sendMsg(ResponseCode::CommandParameterError, in discover()
99 cli->sendMsg(ResponseCode::CommandOkay, "Discover operation started", false); in discover()
141 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in stop()
149 cli->sendMsg(ResponseCode::CommandParameterError, "Unknown requestId", false); in stop()
157 cli->sendMsg(ResponseCode::CommandOkay, msg, false); in stop()
173 cli->sendMsg(ResponseCode::CommandParameterError, in serviceRegister()
186 cli->sendMsg(ResponseCode::CommandParameterError, in serviceRegister()
192 cli->sendMsg(ResponseCode::CommandOkay, "serviceRegister started", false); in serviceRegister()
228 cli->sendMsg(ResponseCode::CommandParameterError, in resolveService()
[all …]
DNdcDispatcher.h37 int sendMsg(int code, const char* msg, bool addErrno) { in sendMsg() function
/system/core/libsysutils/src/
DFrameworkListener.cpp66 c->sendMsg(500, "Command too large for buffer", false); in onDataAvailable()
128 cli->sendMsg(500, "Unsupported escape sequence", false); in dispatchCommand()
154 cli->sendMsg(500, "Invalid sequence number", false); in dispatchCommand()
182 cli->sendMsg(500, "Unclosed quotes error", false); in dispatchCommand()
200 cli->sendMsg(500, "Command not recognized", false); in dispatchCommand()
208 cli->sendMsg(500, "Command too long", false); in dispatchCommand()
DSocketClient.cpp73 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() function in SocketClient
74 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
77 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() function in SocketClient
96 ret = sendMsg(buf); in sendMsg()
164 int SocketClient::sendMsg(const char *msg) { in sendMsg() function in SocketClient
DSocketListener_test.cpp108 cli->sendMsg(42, reply.c_str(), /*addErrno=*/false, /*useCmdNum=*/false); in runCommand()
DSocketListener.cpp263 if (c->sendMsg(code, msg, addErrno, false)) { in sendBroadcast()
/system/core/libsysutils/include/sysutils/
DSocketClient.h46 int sendMsg(int code, const char *msg, bool addErrno);
47 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum);
48 int sendMsg(const char *msg);
/system/netd/resolv/
DDnsProxyListener.cpp101 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in tryThreadOrError()
716 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
959 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
1086 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
1105 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in runCommand()