Clat dump information improvement
This is a followup commit for aosp/2017317. 1. Reorder the NAT464 information in dumpsys connectivity 2. Reword message when clat not started Bug: 212345928 Test: dumpsys connectivity Change-Id: I31c7066787dc7db8e5fe225f3918368b25bb7f5e
This commit is contained in:
parent
080974233c
commit
c6e00ea74e
2 changed files with 5 additions and 5 deletions
|
|
@ -3428,6 +3428,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
for (NetworkAgentInfo nai : networksSortedById()) {
|
||||
pw.println(nai.toString());
|
||||
pw.increaseIndent();
|
||||
pw.println("Nat464Xlat:");
|
||||
pw.increaseIndent();
|
||||
nai.dumpNat464Xlat(pw);
|
||||
pw.decreaseIndent();
|
||||
pw.println(String.format(
|
||||
"Requests: REQUEST:%d LISTEN:%d BACKGROUND_REQUEST:%d total:%d",
|
||||
nai.numForegroundNetworkRequests(),
|
||||
|
|
@ -3443,10 +3447,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
pw.increaseIndent();
|
||||
nai.dumpInactivityTimers(pw);
|
||||
pw.decreaseIndent();
|
||||
pw.println("Nat464Xlat:");
|
||||
pw.increaseIndent();
|
||||
nai.dumpNat464Xlat(pw);
|
||||
pw.decreaseIndent();
|
||||
pw.decreaseIndent();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ public class Nat464Xlat {
|
|||
mClatCoordinator.dump(pw);
|
||||
pw.decreaseIndent();
|
||||
} else {
|
||||
pw.println("<not start>");
|
||||
pw.println("<not started>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue