Searched defs:client (Results 1 - 5 of 5) sorted by relevance
/system/core/logd/ |
H A D | FlushCommand.cpp | 39 // runSocketCommand is called once for every open client on the 41 // client tracking and log region locks LastLogTimes list of 42 // LogTimeEntrys, and spawn a transitory per-client thread to 48 void FlushCommand::runSocketCommand(SocketClient *client) { argument 56 if (entry->mClient == client) { 74 entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); 78 client->incRef(); 80 // release client and entry reference counts once done 85 bool FlushCommand::hasReadLogs(SocketClient *client) { argument 86 return clientHasLogCredentials(client); [all...] |
H A D | LogTimes.cpp | 28 LogTimeEntry::LogTimeEntry(LogReader &reader, SocketClient *client, argument 43 , mClient(client) 82 SocketClient *client = me->mClient; local 99 reader.release(client); 102 if (client) { 103 client->decRef(); 119 SocketClient *client = me->mClient; local 120 if (!client) { 127 bool privileged = FlushCommand::hasReadLogs(client); 137 logbuf.flushTo(client, star [all...] |
/system/netd/server/ |
H A D | FwmarkServer.cpp | 31 bool FwmarkServer::onDataAvailable(SocketClient* client) { argument 33 int error = processClient(client, &socketFd); 39 // inadvertently cause the client to hang (which always waits for a response). 40 client->sendData(&error, sizeof(error)); 42 // Always close the client connection (by returning false). This prevents a DoS attack where 43 // the client issues multiple commands on the same connection, never reading the responses, 44 // causing its receive buffer to fill up, and thus causing our client->sendData() to block. 48 int FwmarkServer::processClient(SocketClient* client, int* socketFd) { argument 69 int messageLength = TEMP_FAILURE_RETRY(recvmsg(client->getSocket(), &message, 0)); 94 Permission permission = mNetworkController->getPermissionForUser(client [all...] |
H A D | CommandListener.cpp | 1377 int CommandListener::NetworkCommand::syntaxError(SocketClient* client, const char* message) { argument 1378 client->sendMsg(ResponseCode::CommandSyntaxError, message, false); 1382 int CommandListener::NetworkCommand::operationError(SocketClient* client, const char* message, argument 1385 client->sendMsg(ResponseCode::OperationFailed, message, true); 1389 int CommandListener::NetworkCommand::success(SocketClient* client) { argument 1390 client->sendMsg(ResponseCode::CommandOkay, "success", false); 1394 int CommandListener::NetworkCommand::runCommand(SocketClient* client, int argc, char** argv) { argument 1396 return syntaxError(client, "Missing argument"); 1406 return syntaxError(client, "Incorrect number of arguments"); 1422 return syntaxError(client, "Unknow [all...] |
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 22 * performed. The operation consists of the client sending a parcel 25 * the client. 29 * -c cpu - bind client to specified cpu (default: unbound) 93 static void client(void); 118 case 'c': // client CPU 166 cerr << " -c cpu - client CPU number" << endl; 191 // Fork client, use this process as server 195 client(); 239 static void client(void) function 246 // If needed bind to client CP [all...] |
Completed in 205 milliseconds