summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2017-03-10 16:31:54 -0600
committerMark Salyzyn2017-03-13 12:31:09 -0500
commit501c373916e292764400dbae735f44b33378400f (patch)
tree56946d23a00461d2a462658f36689faa1d9d71a3 /logd/FlushCommand.h
parent488525b47ba23b2548f3bf6aa2f4ce6267b2d9b5 (diff)
downloadplatform-system-core-501c373916e292764400dbae735f44b33378400f.tar.gz
platform-system-core-501c373916e292764400dbae735f44b33378400f.tar.xz
platform-system-core-501c373916e292764400dbae735f44b33378400f.zip
logd: specify clang format
Switch _all_ file's coding style to match to ease all future changes. SideEffects: None Test: compile Bug: 35373582 Change-Id: I470cb17f64fa48f14aafc02f574e296bffe3a3f3
Diffstat (limited to 'logd/FlushCommand.h')
-rw-r--r--logd/FlushCommand.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/logd/FlushCommand.h b/logd/FlushCommand.h
index 1e7818a97..45cb9c509 100644
--- a/logd/FlushCommand.h
+++ b/logd/FlushCommand.h
@@ -26,7 +26,7 @@ class LogBufferElement;
26class LogReader; 26class LogReader;
27 27
28class FlushCommand : public SocketClientCommand { 28class FlushCommand : public SocketClientCommand {
29 LogReader &mReader; 29 LogReader& mReader;
30 bool mNonBlock; 30 bool mNonBlock;
31 unsigned long mTail; 31 unsigned long mTail;
32 unsigned int mLogMask; 32 unsigned int mLogMask;
@@ -34,18 +34,15 @@ class FlushCommand : public SocketClientCommand {
34 uint64_t mStart; 34 uint64_t mStart;
35 uint64_t mTimeout; 35 uint64_t mTimeout;
36 36
37public: 37 public:
38 explicit FlushCommand(LogReader &mReader, 38 explicit FlushCommand(LogReader& mReader, bool nonBlock = false,
39 bool nonBlock = false, 39 unsigned long tail = -1, unsigned int logMask = -1,
40 unsigned long tail = -1, 40 pid_t pid = 0, uint64_t start = 1,
41 unsigned int logMask = -1, 41 uint64_t timeout = 0);
42 pid_t pid = 0, 42 virtual void runSocketCommand(SocketClient* client);
43 uint64_t start = 1, 43
44 uint64_t timeout = 0); 44 static bool hasReadLogs(SocketClient* client);
45 virtual void runSocketCommand(SocketClient *client); 45 static bool hasSecurityLogs(SocketClient* client);
46
47 static bool hasReadLogs(SocketClient *client);
48 static bool hasSecurityLogs(SocketClient *client);
49}; 46};
50 47
51#endif 48#endif