Add forwarded stats dump in tethering hardware offload am: 11dee200f9
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2546751 Change-Id: I7c5a12cf43ee0935b40abf3e1404b68ace0bacfa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -762,6 +762,16 @@ public class OffloadController {
|
||||
String upstream = (lp != null) ? lp.getInterfaceName() : null;
|
||||
pw.println("Current upstream: " + upstream);
|
||||
pw.println("Exempt prefixes: " + mLastLocalPrefixStrs);
|
||||
pw.println("ForwardedStats:");
|
||||
pw.increaseIndent();
|
||||
if (mForwardedStats.isEmpty()) {
|
||||
pw.println("<empty>");
|
||||
} else {
|
||||
for (final Map.Entry<String, ForwardedStats> kv : mForwardedStats.entrySet()) {
|
||||
pw.println(kv.getKey() + ": " + kv.getValue());
|
||||
}
|
||||
}
|
||||
pw.decreaseIndent();
|
||||
pw.println("NAT timeout update callbacks received during the "
|
||||
+ (isStarted ? "current" : "last")
|
||||
+ " offload session: "
|
||||
|
||||
Reference in New Issue
Block a user