summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/binder/benchmarks/binderAddInts.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/binder/benchmarks/binderAddInts.cpp b/tests/binder/benchmarks/binderAddInts.cpp
index 19513316..d2a905ed 100644
--- a/tests/binder/benchmarks/binderAddInts.cpp
+++ b/tests/binder/benchmarks/binderAddInts.cpp
@@ -81,7 +81,6 @@ class AddIntsService : public BBinder
static bool server(void);
static void BM_addInts(benchmark::State& state);
static void bindCPU(unsigned int cpu);
-static ostream &operator<<(ostream &stream, const String16& str);
static ostream &operator<<(ostream &stream, const cpu_set_t& set);
static bool server(void)
@@ -218,19 +217,6 @@ static void bindCPU(unsigned int cpu)
}
}
-static ostream &operator<<(ostream &stream, const String16& str)
-{
- for (unsigned int n1 = 0; n1 < str.size(); n1++) {
- if ((str[n1] > 0x20) && (str[n1] < 0x80)) {
- stream << (char) str[n1];
- } else {
- stream << '~';
- }
- }
-
- return stream;
-}
-
static ostream &operator<<(ostream &stream, const cpu_set_t& set)
{
for (unsigned int n1 = 0; n1 < CPU_SETSIZE; n1++) {