Home | History | Annotate | Download | only in logd

Lines Matching refs:client

41 // runSocketCommand is called once for every open client on the
43 // client tracking and log region locks LastLogTimes list of
44 // LogTimeEntrys, and spawn a transitory per-client thread to
50 void FlushCommand::runSocketCommand(SocketClient* client) {
58 if (entry->mClient == client) {
90 entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask,
95 client->incRef();
97 // release client and entry reference counts once done
102 bool FlushCommand::hasReadLogs(SocketClient* client) {
103 return clientHasLogCredentials(client);
106 static bool clientHasSecurityCredentials(SocketClient* client) {
107 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM);
110 bool FlushCommand::hasSecurityLogs(SocketClient* client) {
111 return clientHasSecurityCredentials(client);