/system/netd/server/ |
D | CommandListener.cpp | 255 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 …]
|
D | MDnsSdListener.cpp | 76 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 …]
|
D | DnsProxyListener.cpp | 242 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()
|
D | BandwidthController.cpp | 1176 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/ |
D | CommandListener.cpp | 90 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/ |
D | CommandListener.cpp | 102 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 …]
|
D | CryptCommandListener.cpp | 95 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 …]
|
D | Loop.cpp | 77 c->sendMsg(0, tmp, false); in dumpState()
|
D | Devmapper.cpp | 106 c->sendMsg(0, tmp, false); in dumpState()
|
D | VolumeManager.cpp | 1840 cli->sendMsg(ResponseCode::AsecListResult, in listMountedObbs()
|
/system/core/libsysutils/src/ |
D | FrameworkClient.cpp | 16 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()
|
D | FrameworkListener.cpp | 120 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()
|
D | SocketClient.cpp | 54 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
|
D | SocketListener.cpp | 301 if (c->sendMsg(code, msg, addErrno, false)) { in sendBroadcast()
|
/system/core/include/sysutils/ |
D | SocketClient.h | 48 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);
|
D | FrameworkClient.h | 16 int sendMsg(const char *msg); 17 int sendMsg(const char *msg, const char *data);
|