Loading logd/FlushCommand.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -72,7 +72,7 @@ void FlushCommand::runSocketCommand(SocketClient *client) { return; return; } } entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); times.push_back(entry); times.push_front(entry); } } client->incRef(); client->incRef(); Loading logd/LogTimes.h +5 −3 Original line number Original line Diff line number Diff line Loading @@ -20,8 +20,10 @@ #include <pthread.h> #include <pthread.h> #include <time.h> #include <time.h> #include <sys/types.h> #include <sys/types.h> #include <list> #include <sysutils/SocketClient.h> #include <sysutils/SocketClient.h> #include <utils/List.h> #include <log/log.h> #include <log/log.h> class LogReader; class LogReader; Loading Loading @@ -107,6 +109,6 @@ public: static int FilterSecondPass(const LogBufferElement *element, void *me); static int FilterSecondPass(const LogBufferElement *element, void *me); }; }; typedef android::List<LogTimeEntry *> LastLogTimes; typedef std::list<LogTimeEntry *> LastLogTimes; #endif #endif // _LOGD_LOG_TIMES_H__ Loading
logd/FlushCommand.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -72,7 +72,7 @@ void FlushCommand::runSocketCommand(SocketClient *client) { return; return; } } entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); entry = new LogTimeEntry(mReader, client, mNonBlock, mTail, mLogMask, mPid, mStart); times.push_back(entry); times.push_front(entry); } } client->incRef(); client->incRef(); Loading
logd/LogTimes.h +5 −3 Original line number Original line Diff line number Diff line Loading @@ -20,8 +20,10 @@ #include <pthread.h> #include <pthread.h> #include <time.h> #include <time.h> #include <sys/types.h> #include <sys/types.h> #include <list> #include <sysutils/SocketClient.h> #include <sysutils/SocketClient.h> #include <utils/List.h> #include <log/log.h> #include <log/log.h> class LogReader; class LogReader; Loading Loading @@ -107,6 +109,6 @@ public: static int FilterSecondPass(const LogBufferElement *element, void *me); static int FilterSecondPass(const LogBufferElement *element, void *me); }; }; typedef android::List<LogTimeEntry *> LastLogTimes; typedef std::list<LogTimeEntry *> LastLogTimes; #endif #endif // _LOGD_LOG_TIMES_H__