/system/vold/ |
H A D | CommandListener.cpp | 82 int CommandListener::DumpCmd::runCommand(SocketClient *cli, argument 84 cli->sendMsg(0, "Dumping loop status", false); 85 if (Loop::dumpState(cli)) { 86 cli->sendMsg(ResponseCode::CommandOkay, "Loop dump failed", true); 88 cli->sendMsg(0, "Dumping DM status", false); 89 if (Devmapper::dumpState(cli)) { 90 cli->sendMsg(ResponseCode::CommandOkay, "Devmapper dump failed", true); 92 cli->sendMsg(0, "Dumping mounted filesystems", false); 98 cli->sendMsg(0, line, false);; 103 cli 112 runCommand(SocketClient *cli, int argc, char **argv) argument 204 runCommand(SocketClient *cli, int argc, char **argv) argument 237 runCommand(SocketClient *cli, int argc, char **argv) argument 288 runCommand(SocketClient *cli, int argc, char **argv) argument 405 runCommand(SocketClient *cli, int argc, char **argv) argument 469 runCommand(SocketClient *cli, int argc, char **argv) argument [all...] |
H A D | VolumeManager.h | 82 int listVolumes(SocketClient *cli); 103 int listMountedObbs(SocketClient* cli);
|
H A D | VolumeManager.cpp | 234 int VolumeManager::listVolumes(SocketClient *cli) { argument 242 cli->sendMsg(ResponseCode::VolumeListResult, buffer, false); 245 cli->sendMsg(ResponseCode::CommandOkay, "Volumes listed.", false); 920 int VolumeManager::listMountedObbs(SocketClient* cli) { argument 953 cli->sendMsg(ResponseCode::AsecListResult,
|
/system/netd/ |
H A D | CommandListener.cpp | 82 int CommandListener::InterfaceCmd::runCommand(SocketClient *cli, argument 85 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); 94 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open sysfs dir", true); 101 cli->sendMsg(ResponseCode::InterfaceListResult, de->d_name, false); 104 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); 108 cli->sendMsg(ResponseCode::CommandSyntaxError, 114 cli->sendMsg(ResponseCode::OperationFailed, "Failed to read counters", true); 120 cli->sendMsg(ResponseCode::InterfaceRxCounterResult, msg, false); 126 cli->sendMsg(ResponseCode::CommandSyntaxError, 132 cli 318 runCommand(SocketClient *cli, int argc, char **argv) argument 335 runCommand(SocketClient *cli, int argc, char **argv) argument 373 runCommand(SocketClient *cli, int argc, char **argv) argument 471 runCommand(SocketClient *cli, int argc, char **argv) argument 502 runCommand(SocketClient *cli, int argc, char **argv) argument 554 runCommand(SocketClient *cli, int argc, char **argv) argument 593 runCommand(SocketClient *cli, int argc, char **argv) argument 640 runCommand(SocketClient *cli, int argc, char **argv) argument [all...] |
/system/core/nexus/ |
H A D | CommandListener.cpp | 56 int CommandListener::WifiCreateNetworkCmd::runCommand(SocketClient *cli, argument 63 cli->sendMsg(ResponseCode::OperationFailed, "Failed to create network", true); 67 cli->sendMsg(ResponseCode::CommandOkay, tmp, false); 76 int CommandListener::WifiRemoveNetworkCmd::runCommand(SocketClient *cli, argument 82 cli->sendMsg(ResponseCode::OperationFailed, "Failed to remove network", true); 84 cli->sendMsg(ResponseCode::CommandOkay, "Network removed.", false); 93 int CommandListener::WifiScanResultsCmd::runCommand(SocketClient *cli, argument 106 cli->sendMsg(ResponseCode::WifiScanResult, buffer, false); 112 cli->sendMsg(ResponseCode::CommandOkay, "Scan results complete.", false); 120 int CommandListener::WifiListNetworksCmd::runCommand(SocketClient *cli, argument 151 runCommand(SocketClient *cli, int argc, char **argv) argument 177 runCommand(SocketClient *cli, int argc, char **argv) argument 195 runCommand(SocketClient *cli, int argc, char **argv) argument [all...] |
H A D | DhcpListener.h | 35 bool onDataAvailable(SocketClient *cli);
|
H A D | TiwlanEventListener.cpp | 32 bool TiwlanEventListener::onDataAvailable(SocketClient *cli) { argument 40 if (recv(cli->getSocket(), data, sizeof(struct ipc_ev_data), 0) < 0) {
|
H A D | DhcpListener.cpp | 40 bool DhcpListener::onDataAvailable(SocketClient *cli) { argument 44 if ((rc = read(cli->getSocket(), buffer, sizeof(buffer))) < 0) {
|
H A D | SupplicantListener.cpp | 44 bool SupplicantListener::onDataAvailable(SocketClient *cli) { argument
|
/system/core/include/sysutils/ |
H A D | NetlinkListener.h | 31 virtual bool onDataAvailable(SocketClient *cli);
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 58 void FrameworkListener::dispatchCommand(SocketClient *cli, char *data) { argument 86 cli->sendMsg(500, "Unsupported escape sequence", false); 122 cli->sendMsg(500, "Unclosed quotes error", false); 130 if (c->runCommand(cli, argc, argv)) { 137 cli->sendMsg(500, "Command not recognized", false);
|
H A D | NetlinkListener.cpp | 33 bool NetlinkListener::onDataAvailable(SocketClient *cli) argument 35 int socket = cli->getSocket();
|