DO NOT MERGE: Add IP conn metrics to dumpsys and bug reports
Test: manually created a bug report and inspected content. (cherry picked from commit51d14cb607) (cherry picked from commit5635c270a1) Change-Id: I612b4ab9431633758d3a7048966c267d20cdfcbe
This commit is contained in:
committed by
Lorenzo Colitti
parent
d9409d3b60
commit
7a61361724
@@ -232,6 +232,7 @@ final public class IpConnectivityMetrics extends SystemService {
|
||||
static final String CMD_FLUSH = "flush";
|
||||
static final String CMD_LIST = "list";
|
||||
static final String CMD_STATS = "stats";
|
||||
static final String CMD_DUMPSYS = "-a"; // dumpsys.cpp dumps services with "-a" as arguments
|
||||
static final String CMD_DEFAULT = CMD_STATS;
|
||||
|
||||
@Override
|
||||
@@ -249,6 +250,8 @@ final public class IpConnectivityMetrics extends SystemService {
|
||||
case CMD_FLUSH:
|
||||
cmdFlush(fd, pw, args);
|
||||
return;
|
||||
case CMD_DUMPSYS:
|
||||
// Fallthrough to CMD_LIST when dumpsys.cpp dumps services states (bug reports)
|
||||
case CMD_LIST:
|
||||
cmdList(fd, pw, args);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user