summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2020-02-10 17:40:59 -0800
committerSteven Moreland <smoreland@google.com>2020-02-10 17:40:59 -0800
commit185adebbf706990471f92fac24812483ab0b3877 (patch)
tree7efbbacb05403363f2d68e42740fb059bd508b2f /tests
parent0e3245fdb39ccf2e8a5364084706ce5d6065c5a0 (diff)
downloadextras-185adebbf706990471f92fac24812483ab0b3877.tar.gz
Remove String16 operator<<, now provided in header
Bug: N/A Test: binderAddInts Change-Id: I331be78c9b29b93894a6667d8357e3d36efa827a
Diffstat (limited to 'tests')
-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++) {