Add a binder RPC for tethering stats.

Bug: 32163131
Bug: 64995262
Test: netd_{unit,integration}_test pass
Change-Id: I9c7dfdaf6b823840b1691761930b53c30a4dcbc3
diff --git a/server/TetherControllerTest.cpp b/server/TetherControllerTest.cpp
index b363093..c13758c 100644
--- a/server/TetherControllerTest.cpp
+++ b/server/TetherControllerTest.cpp
@@ -291,7 +291,6 @@
     clearIptablesRestoreOutput();
 
     // But if interfaces aren't paired, it's always an error.
-    err = "";
     counterLines.resize(3);
     counters = Join(counterLines, "\n") + "\n";
     addIptablesRestoreOutput(counters, counters);
@@ -302,7 +301,8 @@
     // Token unit test of the fact that we return the stats in the error message which the caller
     // ignores.
     std::string expectedError = counters;
-    EXPECT_EQ(expectedError, err);
+    ASSERT_LE(expectedError.size(), err.size());
+    EXPECT_TRUE(std::equal(expectedError.rbegin(), expectedError.rend(), err.rbegin()));
 }
 
 }  // namespace net