From 4f71319df011d796a60a43fc1bc68e16fbf7d321 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 4 Dec 2015 22:00:26 -0800 Subject: [PATCH] Track rename of base/ to android-base/. Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf --- adb/adb.cpp | 8 ++++---- adb/adb.h | 2 +- adb/adb_auth_host.cpp | 2 +- adb/adb_client.cpp | 4 ++-- adb/adb_io.cpp | 2 +- adb/adb_io_test.cpp | 4 ++-- adb/adb_listeners.cpp | 2 +- adb/adb_trace.cpp | 4 ++-- adb/adb_trace.h | 4 ++-- adb/adb_utils.cpp | 6 +++--- adb/adb_utils_test.cpp | 4 ++-- adb/client/main.cpp | 6 +++--- adb/commandline.cpp | 6 +++--- adb/console.cpp | 6 +++--- adb/daemon/main.cpp | 4 ++-- adb/fdevent.cpp | 4 ++-- adb/file_sync_client.cpp | 6 +++--- adb/file_sync_service.cpp | 4 ++-- adb/services.cpp | 6 +++--- adb/shell_service.cpp | 4 ++-- adb/shell_service.h | 2 +- adb/shell_service_test.cpp | 2 +- adb/sysdeps.h | 2 +- adb/sysdeps_win32.cpp | 8 ++++---- adb/sysdeps_win32_test.cpp | 2 +- adb/test_track_devices.cpp | 2 +- adb/transport.cpp | 6 +++--- adb/transport_local.cpp | 2 +- adb/usb_linux.cpp | 6 +++--- adb/usb_osx.cpp | 4 ++-- base/file.cpp | 6 +++--- base/file_test.cpp | 4 ++-- base/include/base/logging.h | 2 +- base/include/base/test_utils.h | 2 +- base/include/base/unique_fd.h | 2 +- base/logging.cpp | 6 +++--- base/logging_test.cpp | 8 ++++---- base/parseint_test.cpp | 2 +- base/stringprintf.cpp | 2 +- base/stringprintf_test.cpp | 2 +- base/strings.cpp | 2 +- base/strings_test.cpp | 2 +- base/test_main.cpp | 2 +- base/test_utils.cpp | 4 ++-- base/utf8.cpp | 4 ++-- base/utf8_test.cpp | 4 ++-- debuggerd/elf_utils.cpp | 2 +- debuggerd/test/dump_memory_test.cpp | 2 +- debuggerd/test/log_fake.cpp | 2 +- debuggerd/test/tombstone_test.cpp | 2 +- debuggerd/tombstone.cpp | 2 +- debuggerd/utility.cpp | 4 ++-- fastboot/fastboot.cpp | 8 ++++---- fastboot/transport.h | 2 +- fs_mgr/fs_mgr_verity.cpp | 2 +- gatekeeperd/SoftGateKeeper.h | 3 +-- include/ziparchive/zip_writer.h | 2 +- init/action.cpp | 4 ++-- init/bootchart.cpp | 2 +- init/builtins.cpp | 2 +- init/init.cpp | 6 +++--- init/init_parser.cpp | 2 +- init/keyword_map.h | 2 +- init/log.cpp | 2 +- init/property_service.cpp | 2 +- init/service.cpp | 4 ++-- init/signal_handler.cpp | 2 +- init/ueventd.cpp | 2 +- init/util.cpp | 6 +++--- libbacktrace/Backtrace.cpp | 2 +- libbacktrace/backtrace_test.cpp | 3 +-- libziparchive/zip_archive.cc | 6 +++--- libziparchive/zip_archive_common.h | 2 +- libziparchive/zip_archive_test.cc | 2 +- libziparchive/zip_writer_test.cc | 2 +- logcat/logcat.cpp | 4 ++-- logd/CommandListener.cpp | 2 +- logd/LogStatistics.h | 2 +- logd/LogWhiteBlackList.cpp | 2 +- tzdatacheck/tzdatacheck.cpp | 2 +- 80 files changed, 136 insertions(+), 138 deletions(-) diff --git a/adb/adb.cpp b/adb/adb.cpp index c39c1781b..c03d7dbbf 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp @@ -33,10 +33,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include "adb_auth.h" #include "adb_io.h" diff --git a/adb/adb.h b/adb/adb.h index 5187c8198..be29f2936 100644 --- a/adb/adb.h +++ b/adb/adb.h @@ -22,7 +22,7 @@ #include -#include +#include #include "adb_trace.h" #include "fdevent.h" diff --git a/adb/adb_auth_host.cpp b/adb/adb_auth_host.cpp index e11bff000..facacefef 100644 --- a/adb/adb_auth_host.cpp +++ b/adb/adb_auth_host.cpp @@ -43,7 +43,7 @@ #include "mincrypt/rsa.h" #undef RSA_verify -#include +#include #include #include diff --git a/adb/adb_client.cpp b/adb/adb_client.cpp index ddeb5f133..cb5e48806 100644 --- a/adb/adb_client.cpp +++ b/adb/adb_client.cpp @@ -31,8 +31,8 @@ #include #include -#include -#include +#include +#include #include #include "adb_io.h" diff --git a/adb/adb_io.cpp b/adb/adb_io.cpp index a37fbc086..176b7bd44 100644 --- a/adb/adb_io.cpp +++ b/adb/adb_io.cpp @@ -20,7 +20,7 @@ #include -#include +#include #include "adb_trace.h" #include "adb_utils.h" diff --git a/adb/adb_io_test.cpp b/adb/adb_io_test.cpp index 6928a9063..21a82e823 100644 --- a/adb/adb_io_test.cpp +++ b/adb/adb_io_test.cpp @@ -27,8 +27,8 @@ #include -#include "base/file.h" -#include "base/test_utils.h" +#include +#include // All of these tests fail on Windows because they use the C Runtime open(), // but the adb_io APIs expect file descriptors from adb_open(). This could diff --git a/adb/adb_listeners.cpp b/adb/adb_listeners.cpp index 1b75090a9..d7b892c9c 100644 --- a/adb/adb_listeners.cpp +++ b/adb/adb_listeners.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include "sysdeps.h" diff --git a/adb/adb_trace.cpp b/adb/adb_trace.cpp index cf99df7ac..62900c0bf 100644 --- a/adb/adb_trace.cpp +++ b/adb/adb_trace.cpp @@ -21,8 +21,8 @@ #include #include -#include -#include +#include +#include #include "adb.h" diff --git a/adb/adb_trace.h b/adb/adb_trace.h index 78b2deb9e..d50f94799 100644 --- a/adb/adb_trace.h +++ b/adb/adb_trace.h @@ -17,8 +17,8 @@ #ifndef __ADB_TRACE_H #define __ADB_TRACE_H -#include -#include +#include +#include /* IMPORTANT: if you change the following list, don't * forget to update the corresponding 'tags' table in diff --git a/adb/adb_utils.cpp b/adb/adb_utils.cpp index 42f1c7de7..3ed2a7d86 100644 --- a/adb/adb_utils.cpp +++ b/adb/adb_utils.cpp @@ -26,9 +26,9 @@ #include -#include -#include -#include +#include +#include +#include #include "adb_trace.h" #include "sysdeps.h" diff --git a/adb/adb_utils_test.cpp b/adb/adb_utils_test.cpp index 93c20cb00..4508bca2b 100644 --- a/adb/adb_utils_test.cpp +++ b/adb/adb_utils_test.cpp @@ -30,8 +30,8 @@ #include "sysdeps.h" -#include -#include +#include +#include #ifdef _WIN32 static std::string subdir(const char* parent, const char* child) { diff --git a/adb/client/main.cpp b/adb/client/main.cpp index 04b9882e5..3ce524284 100644 --- a/adb/client/main.cpp +++ b/adb/client/main.cpp @@ -27,9 +27,9 @@ #include #endif -#include "base/file.h" -#include "base/logging.h" -#include "base/stringprintf.h" +#include +#include +#include #include "adb.h" #include "adb_auth.h" diff --git a/adb/commandline.cpp b/adb/commandline.cpp index bd3813ecf..d244f7d12 100644 --- a/adb/commandline.cpp +++ b/adb/commandline.cpp @@ -35,9 +35,9 @@ #include #include -#include -#include -#include +#include +#include +#include #if !defined(_WIN32) #include diff --git a/adb/console.cpp b/adb/console.cpp index 5a9c6ab69..15c6abdf1 100644 --- a/adb/console.cpp +++ b/adb/console.cpp @@ -18,9 +18,9 @@ #include -#include -#include -#include +#include +#include +#include #include #include "adb.h" diff --git a/adb/daemon/main.cpp b/adb/daemon/main.cpp index f4e054e3c..10c5296cd 100644 --- a/adb/daemon/main.cpp +++ b/adb/daemon/main.cpp @@ -25,8 +25,8 @@ #include #include -#include "base/logging.h" -#include "base/stringprintf.h" +#include +#include #include "cutils/properties.h" #include "private/android_filesystem_config.h" #include "selinux/selinux.h" diff --git a/adb/fdevent.cpp b/adb/fdevent.cpp index 46547b91f..25e8376a0 100644 --- a/adb/fdevent.cpp +++ b/adb/fdevent.cpp @@ -31,8 +31,8 @@ #include #include -#include -#include +#include +#include #include "adb_io.h" #include "adb_trace.h" diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 9ad7bad1e..463c1c0d1 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -41,9 +41,9 @@ #include "file_sync_service.h" #include "line_printer.h" -#include -#include -#include +#include +#include +#include struct syncsendbuf { unsigned id; diff --git a/adb/file_sync_service.cpp b/adb/file_sync_service.cpp index 945fa5a58..781968bce 100644 --- a/adb/file_sync_service.cpp +++ b/adb/file_sync_service.cpp @@ -35,8 +35,8 @@ #include "adb_utils.h" #include "private/android_filesystem_config.h" -#include -#include +#include +#include static bool should_use_fs_config(const std::string& path) { // TODO: use fs_config to configure permissions on /data. diff --git a/adb/services.cpp b/adb/services.cpp index 41da4b801..523353a46 100644 --- a/adb/services.cpp +++ b/adb/services.cpp @@ -31,9 +31,9 @@ #include #endif -#include -#include -#include +#include +#include +#include #include #if !ADB_HOST diff --git a/adb/shell_service.cpp b/adb/shell_service.cpp index 2e41fe649..3fc70b026 100644 --- a/adb/shell_service.cpp +++ b/adb/shell_service.cpp @@ -89,8 +89,8 @@ #include -#include -#include +#include +#include #include #include "adb.h" diff --git a/adb/shell_service.h b/adb/shell_service.h index 6f8ea9b01..e3d676a5b 100644 --- a/adb/shell_service.h +++ b/adb/shell_service.h @@ -27,7 +27,7 @@ #include -#include +#include #include "adb.h" diff --git a/adb/shell_service_test.cpp b/adb/shell_service_test.cpp index a012f3e90..c85232b4c 100644 --- a/adb/shell_service_test.cpp +++ b/adb/shell_service_test.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include "adb.h" #include "adb_io.h" diff --git a/adb/sysdeps.h b/adb/sysdeps.h index 22c9b3969..2190c61f7 100644 --- a/adb/sysdeps.h +++ b/adb/sysdeps.h @@ -29,7 +29,7 @@ #include // Include this before open/unlink are defined as macros below. -#include +#include /* * TEMP_FAILURE_RETRY is defined by some, but not all, versions of diff --git a/adb/sysdeps_win32.cpp b/adb/sysdeps_win32.cpp index 81dcb415a..0a2a8f690 100644 --- a/adb/sysdeps_win32.cpp +++ b/adb/sysdeps_win32.cpp @@ -32,10 +32,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include "adb.h" diff --git a/adb/sysdeps_win32_test.cpp b/adb/sysdeps_win32_test.cpp index 55b5eb462..81923cb60 100755 --- a/adb/sysdeps_win32_test.cpp +++ b/adb/sysdeps_win32_test.cpp @@ -18,7 +18,7 @@ #include "sysdeps.h" -#include "base/test_utils.h" +#include TEST(sysdeps_win32, adb_getenv) { // Insert all test env vars before first call to adb_getenv() which will diff --git a/adb/test_track_devices.cpp b/adb/test_track_devices.cpp index 6f658f63d..b10f8ee25 100644 --- a/adb/test_track_devices.cpp +++ b/adb/test_track_devices.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include static void panic( const char* msg ) diff --git a/adb/transport.cpp b/adb/transport.cpp index 2f18f2011..d20eaff67 100644 --- a/adb/transport.cpp +++ b/adb/transport.cpp @@ -29,9 +29,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "adb.h" #include "adb_utils.h" diff --git a/adb/transport_local.cpp b/adb/transport_local.cpp index bf0cc3c67..2c1a71d36 100644 --- a/adb/transport_local.cpp +++ b/adb/transport_local.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #if !ADB_HOST diff --git a/adb/usb_linux.cpp b/adb/usb_linux.cpp index 0358b6203..ed5d2d67e 100644 --- a/adb/usb_linux.cpp +++ b/adb/usb_linux.cpp @@ -39,9 +39,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "adb.h" #include "transport.h" diff --git a/adb/usb_osx.cpp b/adb/usb_osx.cpp index e0dcc756a..148be1d78 100644 --- a/adb/usb_osx.cpp +++ b/adb/usb_osx.cpp @@ -29,8 +29,8 @@ #include #include -#include -#include +#include +#include #include "adb.h" #include "transport.h" diff --git a/base/file.cpp b/base/file.cpp index 7b5e7b13d..f444c0c64 100644 --- a/base/file.cpp +++ b/base/file.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/file.h" +#include "android-base/file.h" #include #include @@ -23,8 +23,8 @@ #include -#include "base/macros.h" // For TEMP_FAILURE_RETRY on Darwin. -#include "base/utf8.h" +#include "android-base/macros.h" // For TEMP_FAILURE_RETRY on Darwin. +#include "android-base/utf8.h" #define LOG_TAG "base.file" #include "cutils/log.h" #include "utils/Compat.h" diff --git a/base/file_test.cpp b/base/file_test.cpp index 77b92681a..1bf83a49f 100644 --- a/base/file_test.cpp +++ b/base/file_test.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/file.h" +#include "android-base/file.h" #include @@ -24,7 +24,7 @@ #include -#include "base/test_utils.h" +#include "android-base/test_utils.h" TEST(file, ReadFileToString_ENOENT) { std::string s("hello"); diff --git a/base/include/base/logging.h b/base/include/base/logging.h index 30f690657..cd526d03d 100644 --- a/base/include/base/logging.h +++ b/base/include/base/logging.h @@ -29,7 +29,7 @@ #include #include -#include "base/macros.h" +#include "android-base/macros.h" namespace android { namespace base { diff --git a/base/include/base/test_utils.h b/base/include/base/test_utils.h index 402e0a5cd..3f6872c3b 100644 --- a/base/include/base/test_utils.h +++ b/base/include/base/test_utils.h @@ -19,7 +19,7 @@ #include -#include +#include class TemporaryFile { public: diff --git a/base/include/base/unique_fd.h b/base/include/base/unique_fd.h index 411777507..d3b27cae3 100644 --- a/base/include/base/unique_fd.h +++ b/base/include/base/unique_fd.h @@ -19,7 +19,7 @@ #include -#include +#include /* Container for a file descriptor that automatically closes the descriptor as * it goes out of scope. diff --git a/base/logging.cpp b/base/logging.cpp index 85f8b3fad..a385902e8 100644 --- a/base/logging.cpp +++ b/base/logging.cpp @@ -18,7 +18,7 @@ #include #endif -#include "base/logging.h" +#include "android-base/logging.h" #include @@ -40,8 +40,8 @@ #include #endif -#include "base/macros.h" -#include "base/strings.h" +#include "android-base/macros.h" +#include "android-base/strings.h" #include "cutils/threads.h" // Headers for LogMessage::LogLine. diff --git a/base/logging_test.cpp b/base/logging_test.cpp index 70f9952dd..3de42b774 100644 --- a/base/logging_test.cpp +++ b/base/logging_test.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/logging.h" +#include "android-base/logging.h" #include @@ -25,9 +25,9 @@ #include #include -#include "base/file.h" -#include "base/stringprintf.h" -#include "base/test_utils.h" +#include "android-base/file.h" +#include "android-base/stringprintf.h" +#include "android-base/test_utils.h" #include diff --git a/base/parseint_test.cpp b/base/parseint_test.cpp index 8a11d293f..6a3ba316d 100644 --- a/base/parseint_test.cpp +++ b/base/parseint_test.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/parseint.h" +#include "android-base/parseint.h" #include diff --git a/base/stringprintf.cpp b/base/stringprintf.cpp index d55ff5219..78e1e8d14 100644 --- a/base/stringprintf.cpp +++ b/base/stringprintf.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/stringprintf.h" +#include "android-base/stringprintf.h" #include diff --git a/base/stringprintf_test.cpp b/base/stringprintf_test.cpp index 5cc20864f..fc009b1d7 100644 --- a/base/stringprintf_test.cpp +++ b/base/stringprintf_test.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/stringprintf.h" +#include "android-base/stringprintf.h" #include diff --git a/base/strings.cpp b/base/strings.cpp index d687e3cf6..b8775df21 100644 --- a/base/strings.cpp +++ b/base/strings.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/strings.h" +#include "android-base/strings.h" #include #include diff --git a/base/strings_test.cpp b/base/strings_test.cpp index 5f675750c..30ae29e71 100644 --- a/base/strings_test.cpp +++ b/base/strings_test.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "base/strings.h" +#include "android-base/strings.h" #include diff --git a/base/test_main.cpp b/base/test_main.cpp index 546923d9b..7fa6a8425 100644 --- a/base/test_main.cpp +++ b/base/test_main.cpp @@ -16,7 +16,7 @@ #include -#include "base/logging.h" +#include "android-base/logging.h" int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); diff --git a/base/test_utils.cpp b/base/test_utils.cpp index 22641e79d..337ba7c44 100644 --- a/base/test_utils.cpp +++ b/base/test_utils.cpp @@ -14,8 +14,8 @@ * limitations under the License. */ -#include "base/logging.h" -#include "base/test_utils.h" +#include "android-base/logging.h" +#include "android-base/test_utils.h" #include "utils/Compat.h" // For OS_PATH_SEPARATOR. #include diff --git a/base/utf8.cpp b/base/utf8.cpp index 99f0f5444..3cca70026 100755 --- a/base/utf8.cpp +++ b/base/utf8.cpp @@ -16,13 +16,13 @@ #include -#include "base/utf8.h" +#include "android-base/utf8.h" #include #include -#include "base/logging.h" +#include "android-base/logging.h" namespace android { namespace base { diff --git a/base/utf8_test.cpp b/base/utf8_test.cpp index 13f6431d9..dde7490ad 100755 --- a/base/utf8_test.cpp +++ b/base/utf8_test.cpp @@ -14,11 +14,11 @@ * limitations under the License. */ -#include "base/utf8.h" +#include "android-base/utf8.h" #include -#include "base/macros.h" +#include "android-base/macros.h" namespace android { namespace base { diff --git a/debuggerd/elf_utils.cpp b/debuggerd/elf_utils.cpp index 5ea03e752..3f0dbde35 100644 --- a/debuggerd/elf_utils.cpp +++ b/debuggerd/elf_utils.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include "elf_utils.h" diff --git a/debuggerd/test/dump_memory_test.cpp b/debuggerd/test/dump_memory_test.cpp index 75e70284c..2addd5dd6 100644 --- a/debuggerd/test/dump_memory_test.cpp +++ b/debuggerd/test/dump_memory_test.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include "BacktraceMock.h" #include "log_fake.h" diff --git a/debuggerd/test/log_fake.cpp b/debuggerd/test/log_fake.cpp index d584a5e28..e27e9f661 100644 --- a/debuggerd/test/log_fake.cpp +++ b/debuggerd/test/log_fake.cpp @@ -19,7 +19,7 @@ #include -#include +#include #include #include diff --git a/debuggerd/test/tombstone_test.cpp b/debuggerd/test/tombstone_test.cpp index d945d27ba..96b3a7aae 100644 --- a/debuggerd/test/tombstone_test.cpp +++ b/debuggerd/test/tombstone_test.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include "utility.h" diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp index e283923d2..5f422e37b 100644 --- a/debuggerd/tombstone.cpp +++ b/debuggerd/tombstone.cpp @@ -37,7 +37,7 @@ #include -#include +#include #include #include #include diff --git a/debuggerd/utility.cpp b/debuggerd/utility.cpp index f5d6ec158..ce214f921 100644 --- a/debuggerd/utility.cpp +++ b/debuggerd/utility.cpp @@ -25,9 +25,9 @@ #include #include +#include +#include #include -#include -#include #include const int SLEEP_TIME_USEC = 50000; // 0.05 seconds diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index a16d7dd23..cc9f06c8c 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -44,13 +44,13 @@ #include #include -#include -#include +#include +#include #include #include -#include -#include +#include +#include #include "bootimg_utils.h" #include "fastboot.h" diff --git a/fastboot/transport.h b/fastboot/transport.h index 55a5abbc0..67d01f95e 100644 --- a/fastboot/transport.h +++ b/fastboot/transport.h @@ -17,7 +17,7 @@ #ifndef TRANSPORT_H_ #define TRANSPORT_H_ -#include +#include // General interface to allow the fastboot protocol to be used over different // types of transports. diff --git a/fs_mgr/fs_mgr_verity.cpp b/fs_mgr/fs_mgr_verity.cpp index 6983b72f6..928d56c42 100644 --- a/fs_mgr/fs_mgr_verity.cpp +++ b/fs_mgr/fs_mgr_verity.cpp @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include #include diff --git a/gatekeeperd/SoftGateKeeper.h b/gatekeeperd/SoftGateKeeper.h index c8010ca17..8b15d72e2 100644 --- a/gatekeeperd/SoftGateKeeper.h +++ b/gatekeeperd/SoftGateKeeper.h @@ -25,7 +25,7 @@ extern "C" { #include } -#include +#include #include #include @@ -180,4 +180,3 @@ private: } #endif // SOFT_GATEKEEPER_H_ - diff --git a/include/ziparchive/zip_writer.h b/include/ziparchive/zip_writer.h index d996c4a3d..0efade80a 100644 --- a/include/ziparchive/zip_writer.h +++ b/include/ziparchive/zip_writer.h @@ -17,7 +17,7 @@ #ifndef LIBZIPARCHIVE_ZIPWRITER_H_ #define LIBZIPARCHIVE_ZIPWRITER_H_ -#include "base/macros.h" +#include "android-base/macros.h" #include #include diff --git a/init/action.cpp b/init/action.cpp index c6cbc2ed6..510ea897f 100644 --- a/init/action.cpp +++ b/init/action.cpp @@ -18,8 +18,8 @@ #include -#include -#include +#include +#include #include "builtins.h" #include "error.h" diff --git a/init/bootchart.cpp b/init/bootchart.cpp index e1e0c48a5..5704d28fb 100644 --- a/init/bootchart.cpp +++ b/init/bootchart.cpp @@ -33,7 +33,7 @@ #include #include -#include +#include #define LOG_ROOT "/data/bootchart" #define LOG_STAT LOG_ROOT"/proc_stat.log" diff --git a/init/builtins.cpp b/init/builtins.cpp index 36ecbb8e9..58dbce1eb 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -39,7 +39,7 @@ #include #include -#include +#include #include #include #include diff --git a/init/init.cpp b/init/init.cpp index 958db3611..9f4f6254d 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -40,9 +40,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/init/init_parser.cpp b/init/init_parser.cpp index 5b8e27b82..b44ca59d5 100644 --- a/init/init_parser.cpp +++ b/init/init_parser.cpp @@ -25,7 +25,7 @@ #include "service.h" #include "util.h" -#include +#include Parser::Parser() { } diff --git a/init/keyword_map.h b/init/keyword_map.h index dc2357b1b..693d82a11 100644 --- a/init/keyword_map.h +++ b/init/keyword_map.h @@ -20,7 +20,7 @@ #include #include -#include +#include template class KeywordMap { diff --git a/init/log.cpp b/init/log.cpp index eb5ec4207..a72906b4e 100644 --- a/init/log.cpp +++ b/init/log.cpp @@ -22,7 +22,7 @@ #include -#include +#include static void init_klog_vwrite(int level, const char* fmt, va_list ap) { static const char* tag = basename(getprogname()); diff --git a/init/property_service.cpp b/init/property_service.cpp index 66e46f8eb..6e5823390 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -47,7 +47,7 @@ #include #include -#include +#include #include "bootimg.h" #include "property_service.h" diff --git a/init/service.cpp b/init/service.cpp index a3c5ca41c..1af3e60dd 100644 --- a/init/service.cpp +++ b/init/service.cpp @@ -24,8 +24,8 @@ #include -#include -#include +#include +#include #include #include diff --git a/init/signal_handler.cpp b/init/signal_handler.cpp index 867abbc08..e7d42cb9b 100644 --- a/init/signal_handler.cpp +++ b/init/signal_handler.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include #include diff --git a/init/ueventd.cpp b/init/ueventd.cpp index 75924cbb9..249739b1e 100644 --- a/init/ueventd.cpp +++ b/init/ueventd.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include diff --git a/init/util.cpp b/init/util.cpp index c7d031404..aefdf8fee 100644 --- a/init/util.cpp +++ b/init/util.cpp @@ -32,12 +32,12 @@ #include #include -#include -#include +#include +#include /* for ANDROID_SOCKET_* */ #include -#include +#include #include diff --git a/libbacktrace/Backtrace.cpp b/libbacktrace/Backtrace.cpp index 555e8cf20..df94280f6 100644 --- a/libbacktrace/Backtrace.cpp +++ b/libbacktrace/Backtrace.cpp @@ -22,7 +22,7 @@ #include -#include +#include #include #include diff --git a/libbacktrace/backtrace_test.cpp b/libbacktrace/backtrace_test.cpp index ce04817db..23636db0d 100644 --- a/libbacktrace/backtrace_test.cpp +++ b/libbacktrace/backtrace_test.cpp @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include @@ -1461,4 +1461,3 @@ TEST(libbacktrace, check_for_leak_remote) { ASSERT_EQ(waitpid(pid, nullptr, 0), pid); } #endif - diff --git a/libziparchive/zip_archive.cc b/libziparchive/zip_archive.cc index 3d18f7c67..07ef6cd19 100644 --- a/libziparchive/zip_archive.cc +++ b/libziparchive/zip_archive.cc @@ -30,9 +30,9 @@ #include #include -#include "base/file.h" -#include "base/macros.h" // TEMP_FAILURE_RETRY may or may not be in unistd -#include "base/memory.h" +#include "android-base/file.h" +#include "android-base/macros.h" // TEMP_FAILURE_RETRY may or may not be in unistd +#include "android-base/memory.h" #include "log/log.h" #include "utils/Compat.h" #include "utils/FileMap.h" diff --git a/libziparchive/zip_archive_common.h b/libziparchive/zip_archive_common.h index 7f20d51c6..ca4250942 100644 --- a/libziparchive/zip_archive_common.h +++ b/libziparchive/zip_archive_common.h @@ -17,7 +17,7 @@ #ifndef LIBZIPARCHIVE_ZIPARCHIVECOMMON_H_ #define LIBZIPARCHIVE_ZIPARCHIVECOMMON_H_ -#include "base/macros.h" +#include "android-base/macros.h" #include diff --git a/libziparchive/zip_archive_test.cc b/libziparchive/zip_archive_test.cc index 32b1a38b1..cb0f41050 100644 --- a/libziparchive/zip_archive_test.cc +++ b/libziparchive/zip_archive_test.cc @@ -23,7 +23,7 @@ #include #include -#include +#include #include static std::string test_data_dir; diff --git a/libziparchive/zip_writer_test.cc b/libziparchive/zip_writer_test.cc index f752b7e6e..b7d145833 100644 --- a/libziparchive/zip_writer_test.cc +++ b/libziparchive/zip_writer_test.cc @@ -17,7 +17,7 @@ #include "ziparchive/zip_archive.h" #include "ziparchive/zip_writer.h" -#include +#include #include #include #include diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 4d7adf139..22645f56e 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -24,8 +24,8 @@ #include #include -#include -#include +#include +#include #include #include #include diff --git a/logd/CommandListener.cpp b/logd/CommandListener.cpp index eafa28fb4..c45111aa5 100644 --- a/logd/CommandListener.cpp +++ b/logd/CommandListener.cpp @@ -27,7 +27,7 @@ #include -#include +#include #include #include #include diff --git a/logd/LogStatistics.h b/logd/LogStatistics.h index 41f8b9581..28810d9d5 100644 --- a/logd/LogStatistics.h +++ b/logd/LogStatistics.h @@ -25,7 +25,7 @@ #include // std::string #include -#include +#include #include #include diff --git a/logd/LogWhiteBlackList.cpp b/logd/LogWhiteBlackList.cpp index c71beb547..29e637e8e 100644 --- a/logd/LogWhiteBlackList.cpp +++ b/logd/LogWhiteBlackList.cpp @@ -16,7 +16,7 @@ #include -#include +#include #include #include "LogWhiteBlackList.h" diff --git a/tzdatacheck/tzdatacheck.cpp b/tzdatacheck/tzdatacheck.cpp index 31f7b55c4..c1ab2ac47 100644 --- a/tzdatacheck/tzdatacheck.cpp +++ b/tzdatacheck/tzdatacheck.cpp @@ -27,7 +27,7 @@ #include #include -#include "base/logging.h" +#include "android-base/logging.h" static const char* TZDATA_FILENAME = "/tzdata"; // tzdata file header (as much as we need for the version):