logd: logcat: Replace log/log.h with android/log.h
Should use android/log.h instead of log/log.h as a good example to all others. Test: Compile Bug: 26552300 Bug: 31289077 Change-Id: If4c9711eb57267d4707b03d54a932af9de241b13
This commit is contained in:
parent
23ed4c242a
commit
0dd4431072
9 changed files with 13 additions and 14 deletions
|
@ -25,13 +25,13 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <android-base/file.h>
|
||||
#include <android-base/stringprintf.h>
|
||||
#include <android-base/strings.h>
|
||||
#include <cutils/sched_policy.h>
|
||||
#include <cutils/sockets.h>
|
||||
#include <log/event_tag_map.h>
|
||||
#include <log/log.h>
|
||||
#include <log/logger.h>
|
||||
#include <log/logprint.h>
|
||||
#include <system/thread_defs.h>
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <log/log.h>
|
||||
#include <log/logger.h>
|
||||
|
||||
#define BIG_BUFFER (5 * 1024)
|
||||
|
|
|
@ -22,10 +22,9 @@
|
|||
#include <list>
|
||||
#include <string>
|
||||
|
||||
#include <log/log.h>
|
||||
#include <sysutils/SocketClient.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <private/android_filesystem_config.h>
|
||||
#include <sysutils/SocketClient.h>
|
||||
|
||||
#include "LogBufferElement.h"
|
||||
#include "LogTimes.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <sysutils/SocketClient.h>
|
||||
#include <log/log.h>
|
||||
#include <log/logger.h>
|
||||
|
||||
class LogBuffer;
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#include <string> // std::string
|
||||
#include <unordered_map>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <android-base/stringprintf.h>
|
||||
#include <log/log.h>
|
||||
#include <private/android_filesystem_config.h>
|
||||
|
||||
#include "LogBufferElement.h"
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
#include <list>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <sysutils/SocketClient.h>
|
||||
#include <log/log.h>
|
||||
|
||||
class LogReader;
|
||||
class LogBufferElement;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <log/log.h>
|
||||
#include <android/log.h>
|
||||
#include <sysutils/SocketClient.h>
|
||||
|
||||
// Hijack this header as a common include file used by most all sources
|
||||
|
|
|
@ -18,12 +18,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define LOG_TAG "libaudit"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define LOG_TAG "libaudit"
|
||||
#include <log/log.h>
|
||||
#include <android/log.h>
|
||||
|
||||
#include "libaudit.h"
|
||||
|
||||
|
|
|
@ -23,11 +23,10 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <android/log.h>
|
||||
#include <android-base/stringprintf.h>
|
||||
#include <cutils/sockets.h>
|
||||
#include <log/log.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <log/logger.h>
|
||||
|
||||
#include "../LogReader.h" // pickup LOGD_SNDTIMEO
|
||||
|
|
Loading…
Reference in a new issue