Home
last modified time | relevance | path

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

/system/netd/server/
DCommandListener.cpp255 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
264 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open sysfs dir", true); in runCommand()
271 cli->sendMsg(ResponseCode::InterfaceListResult, de->d_name, false); in runCommand()
274 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); in runCommand()
281 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
295 cli->sendMsg(ResponseCode::OperationFailed, "Interface not found", true); in runCommand()
323 cli->sendMsg(ResponseCode::InterfaceGetCfgResult, msg, false); in runCommand()
334 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
349 cli->sendMsg(ResponseCode::OperationFailed, "Failed to clear address", true); in runCommand()
355 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.cpp242 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
318 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
430 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand()
448 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in runCommand()
DBandwidthController.cpp1176 cli->sendMsg(ResponseCode::TetheringStatsResult, msg, false); in parseForwardChainStats()
1179 cli->sendMsg(ResponseCode::TetheringStatsListResult, msg, false); in parseForwardChainStats()
1193 cli->sendMsg(ResponseCode::CommandOkay, "Tethering stats list completed", false); in parseForwardChainStats()
/system/core/logd/
DCommandListener.cpp90 cli->sendMsg("Missing Argument"); in runCommand()
96 cli->sendMsg("Range Error"); in runCommand()
100 cli->sendMsg(mBuf.clear((log_id_t) id, uid) ? "busy" : "success"); in runCommand()
113 cli->sendMsg("Missing Argument"); in runCommand()
119 cli->sendMsg("Range Error"); in runCommand()
126 cli->sendMsg(buf); in runCommand()
139 cli->sendMsg("Permission Denied"); in runCommand()
144 cli->sendMsg("Missing Argument"); in runCommand()
150 cli->sendMsg("Range Error"); in runCommand()
156 cli->sendMsg("Range Error"); in runCommand()
[all …]
/system/vold/
DCommandListener.cpp102 return cli->sendMsg(ResponseCode::CommandOkay, "Command succeeded", false); in sendGenericOkFail()
104 return cli->sendMsg(ResponseCode::OperationFailed, "Command failed", false); in sendGenericOkFail()
114 cli->sendMsg(0, "Dumping loop status", false); in runCommand()
116 cli->sendMsg(ResponseCode::CommandOkay, "Loop dump failed", true); in runCommand()
118 cli->sendMsg(0, "Dumping DM status", false); in runCommand()
120 cli->sendMsg(ResponseCode::CommandOkay, "Devmapper dump failed", true); in runCommand()
122 cli->sendMsg(0, "Dumping mounted filesystems", false); in runCommand()
128 cli->sendMsg(0, line, false);; in runCommand()
133 cli->sendMsg(ResponseCode::CommandOkay, "dump complete", false); in runCommand()
146 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing Argument", false); in runCommand()
[all …]
DCryptCommandListener.cpp95 return cli->sendMsg(ResponseCode::CommandOkay, "Command succeeded", false); in sendGenericOkFailOnBool()
97 return cli->sendMsg(ResponseCode::OperationFailed, "Command failed", false); in sendGenericOkFailOnBool()
144 cli->sendMsg(ResponseCode::CommandSyntaxError, message.c_str(), false); in check_argc()
175 … cli->sendMsg(ResponseCode::CommandNoPermission, "No permission to run cryptfs commands", false); in runCommand()
180 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing subcommand", false); in runCommand()
248 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, false); in runCommand()
272 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, false); in runCommand()
277 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, false); in runCommand()
297 cli->sendMsg(ResponseCode::OperationFailed, "Failed to allocate memory", false); in runCommand()
308 cli->sendMsg(ResponseCode::CryptfsGetfieldResult, valbuf, false); in runCommand()
[all …]
DLoop.cpp77 c->sendMsg(0, tmp, false); in dumpState()
DDevmapper.cpp106 c->sendMsg(0, tmp, false); in dumpState()
DVolumeManager.cpp1840 cli->sendMsg(ResponseCode::AsecListResult, in listMountedObbs()
/system/core/libsysutils/src/
DFrameworkClient.cpp16 int FrameworkClient::sendMsg(const char *msg) { in sendMsg() function in FrameworkClient
32 int FrameworkClient::sendMsg(const char *msg, const char *data) { in sendMsg() function in FrameworkClient
40 return sendMsg(buffer); in sendMsg()
DFrameworkListener.cpp120 cli->sendMsg(500, "Unsupported escape sequence", false); in dispatchCommand()
146 cli->sendMsg(500, "Invalid sequence number", false); in dispatchCommand()
174 cli->sendMsg(500, "Unclosed quotes error", false); in dispatchCommand()
194 cli->sendMsg(500, "Command not recognized", false); in dispatchCommand()
203 cli->sendMsg(500, "Command too long", false); in dispatchCommand()
DSocketClient.cpp54 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() function in SocketClient
55 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
58 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() function in SocketClient
77 ret = sendMsg(buf); in sendMsg()
144 int SocketClient::sendMsg(const char *msg) { in sendMsg() function in SocketClient
DSocketListener.cpp301 if (c->sendMsg(code, msg, addErrno, false)) { in sendBroadcast()
/system/core/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);