Track rename from base/ to android-base/.
Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
diff --git a/iotop/iotop.cpp b/iotop/iotop.cpp
index a7d569b..828fb32 100644
--- a/iotop/iotop.cpp
+++ b/iotop/iotop.cpp
@@ -22,7 +22,7 @@
#include <unordered_map>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "tasklist.h"
#include "taskstats.h"
diff --git a/iotop/tasklist.cpp b/iotop/tasklist.cpp
index c1041a4..f81143f 100644
--- a/iotop/tasklist.cpp
+++ b/iotop/tasklist.cpp
@@ -23,7 +23,7 @@
#include <string>
#include <vector>
-#include <base/stringprintf.h>
+#include <android-base/stringprintf.h>
#include "tasklist.h"
diff --git a/iotop/taskstats.cpp b/iotop/taskstats.cpp
index 34e91e0..60c933d 100644
--- a/iotop/taskstats.cpp
+++ b/iotop/taskstats.cpp
@@ -20,7 +20,7 @@
#include <algorithm>
#include <memory>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "taskstats.h"
diff --git a/libfec/fec_verity.cpp b/libfec/fec_verity.cpp
index 8de25ef..ca4572c 100644
--- a/libfec/fec_verity.cpp
+++ b/libfec/fec_verity.cpp
@@ -16,7 +16,7 @@
#include <ctype.h>
#include <stdlib.h>
-#include <base/strings.h>
+#include <android-base/strings.h>
#include "fec_private.h"
/* converts a hex nibble into an int */
diff --git a/memory_replay/tests/LineBufferTest.cpp b/memory_replay/tests/LineBufferTest.cpp
index 56bdb91..29d1b53 100644
--- a/memory_replay/tests/LineBufferTest.cpp
+++ b/memory_replay/tests/LineBufferTest.cpp
@@ -18,7 +18,7 @@
#include <string>
-#include <base/test_utils.h>
+#include <android-base/test_utils.h>
#include "LineBuffer.h"
diff --git a/memory_replay/tests/NativeInfoTest.cpp b/memory_replay/tests/NativeInfoTest.cpp
index e527e46..59dbbd9 100644
--- a/memory_replay/tests/NativeInfoTest.cpp
+++ b/memory_replay/tests/NativeInfoTest.cpp
@@ -19,7 +19,7 @@
#include <string>
-#include <base/test_utils.h>
+#include <android-base/test_utils.h>
#include "NativeInfo.h"
diff --git a/perfprofd/configreader.cc b/perfprofd/configreader.cc
index 9c8d5ac..e9dbdec 100644
--- a/perfprofd/configreader.cc
+++ b/perfprofd/configreader.cc
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <sstream>
-#include <base/file.h>
+#include <android-base/file.h>
#include "configreader.h"
#include "perfprofdutils.h"
diff --git a/perfprofd/perfprofdcore.cc b/perfprofd/perfprofdcore.cc
index d9ed2b0..134c05c 100644
--- a/perfprofd/perfprofdcore.cc
+++ b/perfprofd/perfprofdcore.cc
@@ -34,8 +34,8 @@
#include <set>
#include <cctype>
-#include <base/file.h>
-#include <base/stringprintf.h>
+#include <android-base/file.h>
+#include <android-base/stringprintf.h>
#include <cutils/properties.h>
#include "perfprofdcore.h"
diff --git a/perfprofd/tests/perfprofd_test.cc b/perfprofd/tests/perfprofd_test.cc
index 666d987..3a32204 100644
--- a/perfprofd/tests/perfprofd_test.cc
+++ b/perfprofd/tests/perfprofd_test.cc
@@ -24,7 +24,7 @@
#include <sys/stat.h>
#include <fcntl.h>
-#include <base/stringprintf.h>
+#include <android-base/stringprintf.h>
#include "perfprofdcore.h"
#include "configreader.h"
diff --git a/simpleperf/build_id.h b/simpleperf/build_id.h
index 5d587f2..05c37d5 100644
--- a/simpleperf/build_id.h
+++ b/simpleperf/build_id.h
@@ -19,7 +19,7 @@
#include <string.h>
#include <algorithm>
-#include <base/stringprintf.h>
+#include <android-base/stringprintf.h>
constexpr size_t BUILD_ID_SIZE = 20;
diff --git a/simpleperf/callchain.cpp b/simpleperf/callchain.cpp
index 3093216..8fdafc4 100644
--- a/simpleperf/callchain.cpp
+++ b/simpleperf/callchain.cpp
@@ -20,7 +20,7 @@
#include <queue>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "sample_tree.h"
static bool MatchSampleByName(const SampleEntry* sample1, const SampleEntry* sample2) {
diff --git a/simpleperf/cmd_dumprecord.cpp b/simpleperf/cmd_dumprecord.cpp
index 5e31aa4..438f1e4 100644
--- a/simpleperf/cmd_dumprecord.cpp
+++ b/simpleperf/cmd_dumprecord.cpp
@@ -20,9 +20,9 @@
#include <string>
#include <vector>
-#include <base/logging.h>
-#include <base/stringprintf.h>
-#include <base/strings.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
+#include <android-base/strings.h>
#include "command.h"
#include "event_attr.h"
diff --git a/simpleperf/cmd_help.cpp b/simpleperf/cmd_help.cpp
index 72a4236..a29ef72 100644
--- a/simpleperf/cmd_help.cpp
+++ b/simpleperf/cmd_help.cpp
@@ -18,7 +18,7 @@
#include <string>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "command.h"
diff --git a/simpleperf/cmd_list.cpp b/simpleperf/cmd_list.cpp
index e65756a..01ac048 100644
--- a/simpleperf/cmd_list.cpp
+++ b/simpleperf/cmd_list.cpp
@@ -19,7 +19,7 @@
#include <string>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "command.h"
#include "event_attr.h"
diff --git a/simpleperf/cmd_record.cpp b/simpleperf/cmd_record.cpp
index 8cfbfdf..5ca0414 100644
--- a/simpleperf/cmd_record.cpp
+++ b/simpleperf/cmd_record.cpp
@@ -24,8 +24,8 @@
#include <unordered_map>
#include <vector>
-#include <base/logging.h>
-#include <base/strings.h>
+#include <android-base/logging.h>
+#include <android-base/strings.h>
#include "command.h"
#include "dwarf_unwind.h"
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index 72c871b..0a9dfde 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -16,7 +16,7 @@
#include <gtest/gtest.h>
-#include <base/stringprintf.h>
+#include <android-base/stringprintf.h>
#include "command.h"
#include "environment.h"
diff --git a/simpleperf/cmd_report.cpp b/simpleperf/cmd_report.cpp
index 9fe751f..8254c2a 100644
--- a/simpleperf/cmd_report.cpp
+++ b/simpleperf/cmd_report.cpp
@@ -24,9 +24,9 @@
#include <unordered_set>
#include <vector>
-#include <base/logging.h>
-#include <base/stringprintf.h>
-#include <base/strings.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
+#include <android-base/strings.h>
#include "command.h"
#include "dwarf_unwind.h"
diff --git a/simpleperf/cmd_stat.cpp b/simpleperf/cmd_stat.cpp
index 5e82ba8..fbc0caa 100644
--- a/simpleperf/cmd_stat.cpp
+++ b/simpleperf/cmd_stat.cpp
@@ -25,8 +25,8 @@
#include <string>
#include <vector>
-#include <base/logging.h>
-#include <base/strings.h>
+#include <android-base/logging.h>
+#include <android-base/strings.h>
#include "command.h"
#include "environment.h"
diff --git a/simpleperf/cmd_stat_test.cpp b/simpleperf/cmd_stat_test.cpp
index 8de50fc..3444806 100644
--- a/simpleperf/cmd_stat_test.cpp
+++ b/simpleperf/cmd_stat_test.cpp
@@ -16,7 +16,7 @@
#include <gtest/gtest.h>
-#include <base/stringprintf.h>
+#include <android-base/stringprintf.h>
#include "command.h"
#include "test_util.h"
diff --git a/simpleperf/command.cpp b/simpleperf/command.cpp
index 8889d7f..d4cfd65 100644
--- a/simpleperf/command.cpp
+++ b/simpleperf/command.cpp
@@ -21,7 +21,7 @@
#include <string>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) {
if (*pi + 1 == args.size()) {
diff --git a/simpleperf/command.h b/simpleperf/command.h
index e2c8453..e8fef45 100644
--- a/simpleperf/command.h
+++ b/simpleperf/command.h
@@ -22,7 +22,7 @@
#include <string>
#include <vector>
-#include <base/macros.h>
+#include <android-base/macros.h>
class Command {
public:
diff --git a/simpleperf/cpu_offline_test.cpp b/simpleperf/cpu_offline_test.cpp
index 2a66c21..311767d 100644
--- a/simpleperf/cpu_offline_test.cpp
+++ b/simpleperf/cpu_offline_test.cpp
@@ -28,9 +28,9 @@
#include <thread>
#include <unordered_map>
-#include <base/file.h>
-#include <base/logging.h>
-#include <base/stringprintf.h>
+#include <android-base/file.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
#include "command.h"
#include "event_attr.h"
diff --git a/simpleperf/darwin_support/darwin_support.cpp b/simpleperf/darwin_support/darwin_support.cpp
index cdfcdb1..a248995 100644
--- a/simpleperf/darwin_support/darwin_support.cpp
+++ b/simpleperf/darwin_support/darwin_support.cpp
@@ -15,7 +15,7 @@
*/
// Add fake functions to build successfully on darwin.
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "dwarf_unwind.h"
#include "environment.h"
diff --git a/simpleperf/dso.cpp b/simpleperf/dso.cpp
index 6f89525..6397eaa 100644
--- a/simpleperf/dso.cpp
+++ b/simpleperf/dso.cpp
@@ -23,7 +23,7 @@
#include <limits>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "environment.h"
#include "read_elf.h"
diff --git a/simpleperf/dwarf_unwind.cpp b/simpleperf/dwarf_unwind.cpp
index 1d0f7ae..fd84feb 100644
--- a/simpleperf/dwarf_unwind.cpp
+++ b/simpleperf/dwarf_unwind.cpp
@@ -19,7 +19,7 @@
#include <ucontext.h>
#include <backtrace/Backtrace.h>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "thread_tree.h"
diff --git a/simpleperf/environment.cpp b/simpleperf/environment.cpp
index 560fa89..4da624b 100644
--- a/simpleperf/environment.cpp
+++ b/simpleperf/environment.cpp
@@ -25,10 +25,10 @@
#include <unordered_map>
#include <vector>
-#include <base/file.h>
-#include <base/logging.h>
-#include <base/strings.h>
-#include <base/stringprintf.h>
+#include <android-base/file.h>
+#include <android-base/logging.h>
+#include <android-base/strings.h>
+#include <android-base/stringprintf.h>
#include "read_elf.h"
#include "utils.h"
diff --git a/simpleperf/environment_test.cpp b/simpleperf/environment_test.cpp
index 1257cd5..9a96530 100644
--- a/simpleperf/environment_test.cpp
+++ b/simpleperf/environment_test.cpp
@@ -17,7 +17,7 @@
#include <gtest/gtest.h>
#include <functional>
-#include <base/file.h>
+#include <android-base/file.h>
#include "environment.h"
diff --git a/simpleperf/event_attr.cpp b/simpleperf/event_attr.cpp
index d0b6613..6ac7494 100644
--- a/simpleperf/event_attr.cpp
+++ b/simpleperf/event_attr.cpp
@@ -21,7 +21,7 @@
#include <string>
#include <unordered_map>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "event_type.h"
#include "utils.h"
diff --git a/simpleperf/event_fd.cpp b/simpleperf/event_fd.cpp
index 6f9da38..205fa96 100644
--- a/simpleperf/event_fd.cpp
+++ b/simpleperf/event_fd.cpp
@@ -26,9 +26,9 @@
#include <atomic>
#include <memory>
-#include <base/file.h>
-#include <base/logging.h>
-#include <base/stringprintf.h>
+#include <android-base/file.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
#include "event_type.h"
#include "perf_event.h"
diff --git a/simpleperf/event_fd.h b/simpleperf/event_fd.h
index 4e123fb..c54af97 100644
--- a/simpleperf/event_fd.h
+++ b/simpleperf/event_fd.h
@@ -24,7 +24,7 @@
#include <string>
#include <vector>
-#include <base/macros.h>
+#include <android-base/macros.h>
#include "perf_event.h"
diff --git a/simpleperf/event_selection_set.cpp b/simpleperf/event_selection_set.cpp
index 1a9de63..02a1677 100644
--- a/simpleperf/event_selection_set.cpp
+++ b/simpleperf/event_selection_set.cpp
@@ -16,8 +16,8 @@
#include "event_selection_set.h"
-#include <base/logging.h>
-#include <base/stringprintf.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
#include "environment.h"
#include "event_attr.h"
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h
index fed3c0b..705bc35 100644
--- a/simpleperf/event_selection_set.h
+++ b/simpleperf/event_selection_set.h
@@ -22,7 +22,7 @@
#include <map>
#include <vector>
-#include <base/macros.h>
+#include <android-base/macros.h>
#include "event_fd.h"
#include "event_type.h"
diff --git a/simpleperf/event_type.cpp b/simpleperf/event_type.cpp
index 4f13979..ddec6f9 100644
--- a/simpleperf/event_type.cpp
+++ b/simpleperf/event_type.cpp
@@ -21,8 +21,8 @@
#include <string>
#include <vector>
-#include <base/file.h>
-#include <base/logging.h>
+#include <android-base/file.h>
+#include <android-base/logging.h>
#include "event_attr.h"
#include "event_fd.h"
diff --git a/simpleperf/gtest_main.cpp b/simpleperf/gtest_main.cpp
index 33ec32f..5de802a 100644
--- a/simpleperf/gtest_main.cpp
+++ b/simpleperf/gtest_main.cpp
@@ -16,7 +16,7 @@
#include <gtest/gtest.h>
-#include <base/logging.h>
+#include <android-base/logging.h>
int main(int argc, char** argv) {
InitLogging(argv, android::base::StderrLogger);
diff --git a/simpleperf/main.cpp b/simpleperf/main.cpp
index 6b204ec..7fdae42 100644
--- a/simpleperf/main.cpp
+++ b/simpleperf/main.cpp
@@ -19,7 +19,7 @@
#include <string>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "command.h"
diff --git a/simpleperf/perf_regs.cpp b/simpleperf/perf_regs.cpp
index 7efa01b..5450131 100644
--- a/simpleperf/perf_regs.cpp
+++ b/simpleperf/perf_regs.cpp
@@ -17,9 +17,9 @@
#include "perf_regs.h"
#include <unordered_map>
-#include <base/logging.h>
-#include <base/stringprintf.h>
-#include <base/strings.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
+#include <android-base/strings.h>
static ArchType current_arch = GetBuildArch();
diff --git a/simpleperf/read_elf.cpp b/simpleperf/read_elf.cpp
index 5ec289b..9a4f4b9 100644
--- a/simpleperf/read_elf.cpp
+++ b/simpleperf/read_elf.cpp
@@ -22,8 +22,8 @@
#include <algorithm>
#include <limits>
-#include <base/file.h>
-#include <base/logging.h>
+#include <android-base/file.h>
+#include <android-base/logging.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-parameter"
diff --git a/simpleperf/record.cpp b/simpleperf/record.cpp
index bd20c37..c8735e5 100644
--- a/simpleperf/record.cpp
+++ b/simpleperf/record.cpp
@@ -20,8 +20,8 @@
#include <algorithm>
#include <unordered_map>
-#include <base/logging.h>
-#include <base/stringprintf.h>
+#include <android-base/logging.h>
+#include <android-base/stringprintf.h>
#include "environment.h"
#include "perf_regs.h"
diff --git a/simpleperf/record_file.h b/simpleperf/record_file.h
index 2a2bc33..c0f53b1 100644
--- a/simpleperf/record_file.h
+++ b/simpleperf/record_file.h
@@ -25,7 +25,7 @@
#include <string>
#include <vector>
-#include <base/macros.h>
+#include <android-base/macros.h>
#include "perf_event.h"
#include "record.h"
diff --git a/simpleperf/record_file_reader.cpp b/simpleperf/record_file_reader.cpp
index 99037d1..0ee5c21 100644
--- a/simpleperf/record_file_reader.cpp
+++ b/simpleperf/record_file_reader.cpp
@@ -23,7 +23,7 @@
#include <set>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "perf_event.h"
#include "record.h"
diff --git a/simpleperf/record_file_writer.cpp b/simpleperf/record_file_writer.cpp
index 4ce7326..ca1845a 100644
--- a/simpleperf/record_file_writer.cpp
+++ b/simpleperf/record_file_writer.cpp
@@ -23,7 +23,7 @@
#include <set>
#include <vector>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "perf_event.h"
#include "record.h"
diff --git a/simpleperf/sample_tree.cpp b/simpleperf/sample_tree.cpp
index a55fd64..a34107b 100644
--- a/simpleperf/sample_tree.cpp
+++ b/simpleperf/sample_tree.cpp
@@ -16,7 +16,7 @@
#include "sample_tree.h"
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "environment.h"
diff --git a/simpleperf/thread_tree.cpp b/simpleperf/thread_tree.cpp
index 8f75fb4..3134874 100644
--- a/simpleperf/thread_tree.cpp
+++ b/simpleperf/thread_tree.cpp
@@ -18,7 +18,7 @@
#include <limits>
-#include <base/logging.h>
+#include <android-base/logging.h>
#include "environment.h"
#include "perf_event.h"
diff --git a/simpleperf/utils.cpp b/simpleperf/utils.cpp
index ee95b09..1c95c4e 100644
--- a/simpleperf/utils.cpp
+++ b/simpleperf/utils.cpp
@@ -26,7 +26,7 @@
#include <algorithm>
#include <string>
-#include <base/logging.h>
+#include <android-base/logging.h>
void OneTimeFreeAllocator::Clear() {
for (auto& p : v_) {
diff --git a/simpleperf/workload.cpp b/simpleperf/workload.cpp
index 56870a7..35617fd 100644
--- a/simpleperf/workload.cpp
+++ b/simpleperf/workload.cpp
@@ -21,7 +21,7 @@
#include <sys/wait.h>
#include <unistd.h>
-#include <base/logging.h>
+#include <android-base/logging.h>
std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) {
std::unique_ptr<Workload> workload(new Workload(args));
diff --git a/simpleperf/workload.h b/simpleperf/workload.h
index 4bb0ee5..60b9ee8 100644
--- a/simpleperf/workload.h
+++ b/simpleperf/workload.h
@@ -22,7 +22,7 @@
#include <string>
#include <vector>
-#include <base/macros.h>
+#include <android-base/macros.h>
class Workload {
private:
diff --git a/verity/build_verity_tree.cpp b/verity/build_verity_tree.cpp
index 5a6a6ee..c50e449 100644
--- a/verity/build_verity_tree.cpp
+++ b/verity/build_verity_tree.cpp
@@ -16,7 +16,7 @@
#include <string.h>
#include <unistd.h>
-#include <base/file.h>
+#include <android-base/file.h>
struct sparse_hash_ctx {
unsigned char *hashes;
diff --git a/verity/fec/image.cpp b/verity/fec/image.cpp
index 4101815..95bc88e 100644
--- a/verity/fec/image.cpp
+++ b/verity/fec/image.cpp
@@ -22,7 +22,7 @@
}
#include <assert.h>
-#include <base/file.h>
+#include <android-base/file.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
diff --git a/verity/fec/main.cpp b/verity/fec/main.cpp
index 07b3666..ee844f5 100644
--- a/verity/fec/main.cpp
+++ b/verity/fec/main.cpp
@@ -28,7 +28,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
-#include <base/file.h>
+#include <android-base/file.h>
#include <fec/io.h>
#include <fec/ecc.h>
#include "image.h"